Tool/software:
Hi Team,
How to understand Highest possible value? If RXTOSEL = 0xF, how to calculate timeout value? It not clear it based on SYSCLK or UARTCLK?
Best Regards,
Zane
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi Team,
How to understand Highest possible value? If RXTOSEL = 0xF, how to calculate timeout value? It not clear it based on SYSCLK or UARTCLK?
Best Regards,
Zane
Hi Helic,
It too short for customer application, they want to set 1ms rx timeout at least. If use 32.768K as UART clock source, the max timeout value is 450ns. My customer use 4M UART clock source, do we have some methods to enlarge timeout value?
Thanks!
Best Regards,
Zane
Hi, Zane
If using 4MHz as UART clock source, maximum delay time is 250ns * 15 = 3.75us.
Customer can set a software-controlled 1ms timer.
Clear this timer when Rx is triggered.
Rx time out is triggered when timer zero interrupt is called.
Regards,
Helic