| Electronic Components Datasheet Search |
|
TMP89FS60 Datasheet(PDF) 246 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP89FS60 Datasheet(HTML) 246 Page - Toshiba Semiconductor |
|
246 / 410 page ![]() Page 232 16. Asynchronous Serial Interface (UART) 16.13 Receiving Process TMP89FS60 RA001 16.13Receiving Process Figure 16-18 shows an example of the receiving process. Details of flag judgments in the processing are shown in Table 16-10 and Table 16-11. If any framing error or parity error is detected, the received data has erroneous value(s). Execute the error han- dling, for example, by discarding the received data read from RD0BUF and receiving the data again. If any overrun error is detected, the receiving of one or more pieces of data is unfinished. It is impossible to deter- mine the number of pieces of data that could not be received. Execute the error handling, for example, by receiving data again from the beginning of the transfer. Basically, an overrun error occurs when the internal software process- ing cannot follow the data transfer speed. It is recommended to slow the transfer baud rate or modify the software to execute flow control. Figure 16-18 Example of Receiving Process Note 1: If multiple interrupts are used in the INTRXD0 interrupt subroutine, the interrupt should be enabled after reading UART0SR and RD0BUF. Receiving process END When no receive interrupt is used When a receive interrupt is used Read UART0SR Read RD0BUF Error handling Error handling Error handling Error handling Data processing (Received data is valid) UART0SR<RBFL> 1 1 1 0 0 0 1 0 UART0SR<PERR> Parity error Framing error Overrun error Parity error Framing error Overrun error UART0SR<FERR> UART0SR<OERR> INTRXD0 interrupt subroutine RETI Read UART0SR Read RD0BUF Data processing (Received data is valid) 1 1 0 0 1 0 UART0SR<PERR> UART0SR<FERR> UART0SR<OERR> |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |