I am trying to send data to my GPS/GSM device using the serial port. My code that reads serial input works just fine if i enter the data manually using windows hyperterminal (data is properly read and processed).
I have another device(device X ) that generates some data and will send it to the GPS/GSM device by the serial port. This device is working properly(if i connect it to a PC i can see the data no problem) , generating new data every 2 seconds.
If i connect these two devices using the serial port no data is received by the GPS/GSM device. I’ve setup so that the RX from device X connects to pin no 2 (TX), TX from device X connects to pin no 6(Rx) and to pin 9 i’ve connected the GND. (baud rates used are the same for both devices)
So everything seems to be ok just that the two devices don’t communicate.
What am i doing wrong?