communication with a serial port

March 17th, 2004 at 4:07 pm

Today I’m having real fun at work :-)

We have a component that has a UART interface, and we want to test a circuit involving this component. Something should talk to it via the UART.

So, we use a PC COM port that has a UART inside and transmits/receives through RS232. I downoaded the SDK for this component – C code that interfaces the COM port and sends the component some commands. But first, we need to check that the code transmits stuff at all.

So, today I connected my PC to a laptop via a COM-cross-cable and send some data from C code (the laptop received it using Hyperterminal). It’s the first time I do something like this, and it’s really, REALLY cool (refer to my earlier hardware-geekiness post). It’s funny how I’m excited about it, I even feel a bit embarassed in-front of the coworkers :-P

Next, we’ll really build a small circuit and connect the component via a RS232 transceiver to the COM port of the PC, and the C code I’m going to write (based on their SDK) will talk to the component. This is even cooler :-)

Related posts:

  1. once again: perl, serial ports and what’s between them
  2. Setting up Python to work with the serial port
  3. perl master, C++ slave, bound for serial port programming
  4. Serial port monitor
  5. serial port saga – a C++ implementation

Comments are closed.