Datasheet

78K0/Ix2 CHAPTER 14 SERIAL INTERFACE UART6/DALI
R01UH0010EJ0500 Rev.5.00 433
Feb 28, 2012
(1) UART receive buffer register 6 (RXB6)
This 8-bit register stores parallel data converted by UART/DALI receive shift register 6 (RXS6).
Each time 1 byte of data has been received, new receive data is transferred to this register from RXS6. If the data
length is set to 7 bits, data is transferred as follows.
In LSB-first reception, the receive data is transferred to bits 0 to 6 of RXB6 and the MSB of RXB6 is always 0.
In MSB-first reception, the receive data is transferred to bits 1 to 7 of RXB6 and the LSB of RXB6 is always 0.
If an overrun error (OVE6) occurs, the receive data is not transferred to RXB6.
RXB6 can be read by an 8-bit memory manipulation instruction. No data can be written to this register.
Reset signal generation sets this register to FFH.
Caution The data of RXB6 is undefined in DALI mode (UADLSEL = 1).
(2) DALI receive buffer register (RXBDL)
This register is used to store 2-byte data converted by UART/DALI receive shift register 6 (RXS6) via the Manchester
decoder during DALI slave reception.
Address information is stored in the higher 1 byte and data information in the lower 1 byte.
RXBDL can be read by a 16-bit memory manipulation instruction. No data can be written to this register.
Reset signal generation sets this register to FFFFH.
Caution The data of RXBDL is undefined in UART mode (UADLSEL = 0).
Remark Fixed to MSB-first during DALI communication.
(3) UART/DALI receive shift register 6 (RXS6)
This register converts the serial data input to the R
XD6 pin into parallel data.
RXS6 cannot be directly manipulated by a program.
(4) UART/DALI transmit buffer register 6 (TXB6)
This buffer register is used to set transmit data. Transmission is started when data is written to TXB6.
This register can be read or written by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
Cautions 1. Do not write data to TXB6 when bit 1 (TXBF6) of UART transmission status register 6 (ASIF6) is
1.
2. Do not refresh (write the same value to) TXB6 by software during a communication operation
(when bits 7 and 6 (POWER6, TXE6) of UART/DALI operation mode register 6 (ASIM6) are 1 or
when bits 7 and 5 (POWER6, RXE6) of ASIM6 are 1).
3. Set transmit data to TXB6 at least one base clock (f
XCLK6) after setting TXE6 = 1.
(5) UART/DALI transmit shift register 6 (TXS6)
This register transmits the data transferred from TXB6 from the T
XD6 pin as serial data. Data is transferred from
TXB6 immediately after TXB6 is written for the first transmission, or immediately before INTST6 occurs after one
frame was transmitted for continuous transmission. Data is transferred from TXB6 and transmitted from the T
XD6 pin
at the rising edge of the base clock.
TXS6 cannot be directly manipulated by a program.
Remark A signal modulated by the Manchester encoder is output from the TxD6 pin during DALI communication.