Direct connect the IoT Device via RS-232C

Carson Wu 1 Reputation point
2022-04-14T10:09:16.493+00:00

I have an IoT device with only Tx/Rx 2 pins and hope to get a connection via notebook PC PCH uart2 Tx/Rx 2 pins. I enabled the serial port 2 on BIOS, and I found the address 0x2f8 device here. Without any DCD and DSR pins connected. I can not get regular operation on Windows 10.

  1. I tried to Add legacy hardware on Device Manager.
  2. Select the Communication Port.
  3. Change the Resources (I/O Range 02F8 - 02FF) and IRQ 0x000003.
    Unfortunately, I got an abnormal device after steps 1~3 rebooted my netbook PC. Device status "This device cannot start. (Code10). A device which does not exist was specified.
    I don't know about DCD and DSR issues or others? Have any chance to communicate with this device via Tx/Rx RS232C?
    Or do I need to create a new serial driver for this device?

Thanks

Carson Wu

Windows 10 IoT Core
Windows 10 IoT Core
An Azure subscription offering that provides the essential services needed to commercialize a device on Windows 10 IoT Core.
246 questions
Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
277 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sean Liming 4,301 Reputation points MVP
    2022-04-14T15:28:01.057+00:00

    It sounds like you have a UART exposed to pin header that doesn't have the RS232 transceiver. I suggest that you try the MinComm sample in the IoT Core Samples: https://github.com/ms-iot/samples to get a list of ports and test the ports.

    0 comments No comments

  2. Carson Wu 1 Reputation point
    2022-04-15T02:06:23.607+00:00

    Sean,
    Thanks for your suggestion. That's right. I forgot the RS232 transceiver. I may need to connect a TTL for RS232. will check your suggestion MinComm code first or connect an external transceiver.