pepillo
Advanced Member level 4
Hello,
I´m communicating a PIC18 to a PC through a USB to serial converter (FT232BM).
I can see how the PIC sends/receives data using a serial port terminal software on the PC. However, when I receive data on the PIC it doesn´t receive the correct data, and when I send data from the PIC, the data I see on the PC is also corrupted.
I´m using the functions getc() and printf() on the PIC for receiving and sending data respectively.
I have checked baud rate, parity, etc is the same on both sides. What can be the problem? Thx
I´m communicating a PIC18 to a PC through a USB to serial converter (FT232BM).
I can see how the PIC sends/receives data using a serial port terminal software on the PC. However, when I receive data on the PIC it doesn´t receive the correct data, and when I send data from the PIC, the data I see on the PC is also corrupted.
I´m using the functions getc() and printf() on the PIC for receiving and sending data respectively.
I have checked baud rate, parity, etc is the same on both sides. What can be the problem? Thx