A96G150 User's manual
16. USART2
235
16.10
Receiver time out (RTO)
This USART2 system supports the time out function. This function is occur the interrupts when stop bit
are not in RX line during URTOC setting value. RTO count stops in RXD signal live state and RTO clear
and start is executed by stop bit recognition.
Example condition is listed in Table 36.
Table 36. Example Condition of RTO
Condition
sysclk = 16MHz
Baud rate = 115,200 bps
Asynchronous Normal Mode (U2X = 0)
Baud rate
sysclk / 16 x (UBAUD + 1)
Calculated UBAUD
(1000000 / Target Baud rate)
–
1 = 7.68
Error rate = 0.68
UBAUD = 8
Real baud rate at
sysclk 16Mhz
111,111 bps
1 bit time
9us
Maximum count time 9us * 65536(16bit count) = 589.8ms
USART RX
Start bit
Data bit
Parity bit
Stop bit
1 bit time
= 9us (@111111 bps)
1 Frame t ime (parity, 1 Stop)
= 99us (@111111 bps)
A96G150
USART RX
Data 0x00
Case1
RTO count stops in RXD signal Live state.
Even if it is set smaller than frame time, it does not count..
RTO Clear&St art is execut ed by st op bit
A96G150
USART RX
Frame Error
Case2
If a disconnect problem occurs , interrupt is
Generated after the internal buffer 2 data is
filled.
Frame error can be checked by Frame
Error State Flag.
Figure 106. Example for RTO in USART2
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...