15. Combination of USART, SPI, and I2C (USI)
A96G150 User's manual
186
The frame error (FEn) flag indicates the state of the first stop bit. The FEn flag is ‘0’ when the stop bit
was correctly detected as “1”, and the FEn flag is “1” when the stop bit was incorrect, i.e. detected as
“0”. This flag can
be used for detecting out-of-sync conditions between data frames.
The data overrun (DORn) flag indicates data loss due to a receive buffer full condition. DORn occurs
when the receive buffer is full, and another new data is presented in the receive shift register which are
to be stored into the receive buffer. After the DORn flag is set, all the incoming data are lost. To avoid
data loss or clear this flag, read the receive buffer.
The parity error (PEn) flag indicates that the frame in the receive buffer had a parity error when received.
If parity check function is not enabled (USInPM1=0), the PE bit is always read “0”.
15.9.3
USIn UART parity checker
If parity bit is enabled (USInPM1=1), the Parity Checker calculates the parity of the data bits in incoming
frame and compares the result with the parity bit from the received serial frame.
15.9.4
USIn UART disabling receiver
In contrast to transmitter, disabling the Receiver by clearing RXEn bit makes the Receiver inactive
immediately. When the receiver is disabled, the receiver flushes the receive buffer, the remaining data
in the buffer is all reset, and the RXDn pin can be used as a normal general purpose I/O (GPIO).
15.9.5
USIn Asynchronous data reception
To receive asynchronous data frame, the UART includes a clock and data recovery unit. The clock
recovery logic is used for synchronizing the internally generated baud-rate clock to the incoming
asynchronous serial frame on the RXDn pin.
The data recovery logic does sampling and low pass filtering the incoming bits, and removing the noise
of RXDn pin.
Содержание 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...