|
M16C26 Datasheet, PDF (152/239 Pages) Renesas Technology Corp – 16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES | |||
|
◁ |
Udenvdeelropment
Preliminary Specifications Rev.
Specifications in this manual are
UART2 Special Mode Register 2
0.9
tentative
and
subject to change.
SINGLE-CHIP 16-BIT
M16C/26 Group
CMOS MICROCOMPUTER
Bit 3 of the UARTi special mode register 2 are used as the SDAi output stop bit. Setting this bit to â1â
causes an arbitration loss to occur, and the SDAi pin turns to high-impedance state at the instant when
the arbitration lost detecting flag is set to â1â.
Bit 1 of the UART2 special mode register 2 are used as the clock synchronization bit. With this bit set to
â1â at the time when the internal SCL2 is set to âHâ, the internal SCL2 turns to âLâ if the falling edge is
found in the SCL2 pin; and the baud rate generator reloads the set value, and start counting within the âLâ
interval.
When the internal SCL2 changes from âLâ to âHâ with the SCL2 pin set to âLâ, stops counting the baud rate
generator, and starts counting it again when the SCL2 pin turns to âHâ. Due to this function, the UART2
transmission-reception clock becomes the logical product of the signal flowing through the internal SCL2
and that flowing through the SCL2 pin. This function operates over the period from the moment earlier by
a half cycle than falling edge of the UART2 first clock to the rising edge of the ninth bit. To use this
function, choose the internal clock for the transfer clock.
Bit 2 of the UART2 special mode register 2 are used as the SCL2 wait output bit. Setting this bit to â1â
causes the SCL2 pin to be fixed to âLâ at the falling edge of the ninth bit of the clock. Setting this bit to â0â
frees the output fixed to âLâ.
Bit 4 of the UART2 special mode register 2 are used as the UART2 initialization bit. Setting this bit to â1â,
and when the start condition is detected, the microcomputer operates as follows.
(1) The transmission shift register is initialized, and the content of the transmission register is transferred
to the transmission shift register. This starts transmission by dealing with the clock entered next as the
first bit. The UART2 output value, however, doesnât change until the first bit data is output after the
entrance of the clock, and remains unchanged from the value at the moment when the microcomputer
detected the start condition.
(2) The reception shift register is initialized, and the microcomputer starts reception by dealing with the
clock entered next as the first bit.
(3) The SCL2 wait output bit turns to â1â. This turns the SCL2 pin to âLâ at the falling edge of the ninth bit
of the clock.
Starting to transmit/receive signals to/from UART2 using this function doesnât change the value of the
transmission buffer empty flag. To use this function, choose the external clock for the transfer clock.
Bit 5 of the UART2 special mode register 2 are used as the SCL2 pin wait output bit 2. Setting this bit to
â1â with the serial I/O specified allows the user to forcibly output an â1â from the SCL2 pin even if UART2
is in operation. Setting this bit to â0â frees the âLâ output from the SCL2 pin, and the UART2 clock is input/
output.
Bit 6 of the UART2 special mode register 2 are used as the SDA2 output disable bit. Setting this bit to â1â
forces the SDA2 pin to turn to the high-impedance state. Refrain from changing the value of this bit at the
rising edge of the UART2 transfer clock. There can be instances in which arbitration lost detecting flag is
turned on.
146
Renesas Technology Corp.
|
▷ |