kad_911
Member level 2
Hi
Im serially communicating with a device using a PIC18Fxx microcontroller.
the program initializes uart at the beginning of the code.
the pic continuously sends commands to the device and the device acknowledges with blinking LEDs.
the problem is, when I reboot the PIC, the serial communication stops. I have to unplug and replug the serial cable in order to make it communicate again.
I tried experimenting with the TX RX and GND. It seems that after rebooting, ANY connection (TX, RX or GND) will need to be disconnected and reconnected before the device to identify the incoming commands...
any idea why this happens?
How can I solve this?
Thanx.
Im serially communicating with a device using a PIC18Fxx microcontroller.
the program initializes uart at the beginning of the code.
the pic continuously sends commands to the device and the device acknowledges with blinking LEDs.
the problem is, when I reboot the PIC, the serial communication stops. I have to unplug and replug the serial cable in order to make it communicate again.
I tried experimenting with the TX RX and GND. It seems that after rebooting, ANY connection (TX, RX or GND) will need to be disconnected and reconnected before the device to identify the incoming commands...
any idea why this happens?
How can I solve this?
Thanx.