You cann't have it all. Both software serial port and timeout. It is the way serial port works and software waits for the correct edge to come.
If you have hardware usart, then go for it.
Ioannis
You cann't have it all. Both software serial port and timeout. It is the way serial port works and software waits for the correct edge to come.
If you have hardware usart, then go for it.
Ioannis
Hi Ioannis,
Thank you. this is pitty, but still good to know - I probably can not go with HSERIN anyway because of negative signal levels in my application
Best regards,
Alexey
Some PIC have polarity option for their Built-in USART. From there you can detect Framing Error... problem solved.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thank you Mister_eIt looks like my micro has that feature. It always worth reading manual before doing something... but it is 500+ pages long...
Thanks again!
Alexey
Bookmarks