| Electronic Components Datasheet Search |
|
EKTF6708 Datasheet(PDF) 123 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EKTF6708 Datasheet(HTML) 123 Page - ELAN Microelectronics Corp |
|
123 / 158 page ![]() eKTF6708 8-Bit Microcontroller IC Product Specification (V1.2) 03.12.2020 113 (This specification is subject to change without prior notice) 6.11.2 Transmitting In transmitting serial data, the UART operates as follows: 1. Set the TXE bit of the URCR1 register to enable the UART transmission function. 2. Write data into the URTD register and the UTBE bit of the URCR register will be cleared by hardware. 3. Then start transmitting. 4. Serially transmitted data are transmitted in the following order from the TX pin. 5. Start bit: one “0” bit is output. 6. Transmit data: 7, 8 or 9 bits’ data are outputs from the LSB to the MSB. 7. Parity bit: one parity bit (odd or even selectable) is output. 8. Stop bit: one “1” bit (stop bit) is output. Mark state: output “1” continues until the start bit of the next transmitted data. After transmitting the stop bit, the UART generates a UTSF interrupt (if enabled). 6.11.3 Receiving In receiving, the UART operates as follows: 1. Set the RXE bit of the URS register to enable the UART receiving function. The UART monitors the RX pin and synchronizes internally when it detects a start bit. 2. Received data is shifted into the URRD register in the order of LSB to MSB. 3. The parity bit and the stop bit are received. After one character is received, the URBF bit of the URS register will be set to “1”. This means UART interrupt will occur. 4. The UART conducts the following checks: (a) Parity check: The number of “1” of the received data must match the even or odd parity setting of the EVEN bit in the URS register. (b) Frame check: The start bit must be “0” and the stop bit must be “1”. (c) Overrun check: The URBF bit of the URS register must be cleared (that means the URRD register should be read out) before the next received data is loaded into the URRD register. If any checks failed, the UERRSF interrupt will be generated (if enabled), and an error flag is indicated in PRERR, OVERR or FMERR bit. The error flag should be cleared by software, otherwise, UERRSF interrupt will occur when the next byte is received. 5. Read received data from URRD register. And URBF bit will be set by hardware. |
|
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 |