uart level_test fails (start bit is a glitch)
Posted: Tue Aug 04, 2015 10:03 am
Hi,
I am using the following github code for uart.
https://github.com/xcore/sc_uart/blob/m ... rx_impl.xc
I am probing the variable level_test (line 256), and I keep getting level_test = 1, which means the loop skips this iteration. I'm not sure why level_test remains 1 for me. I think this could be because my UART line is in idle high state during this time. But I'm definitely sending data into it. So, what exactly could be happening here?
Thanks,
Prasanna.
I am using the following github code for uart.
https://github.com/xcore/sc_uart/blob/m ... rx_impl.xc
I am probing the variable level_test (line 256), and I keep getting level_test = 1, which means the loop skips this iteration. I'm not sure why level_test remains 1 for me. I think this could be because my UART line is in idle high state during this time. But I'm definitely sending data into it. So, what exactly could be happening here?
Thanks,
Prasanna.