Renesas M16C/26A Series Hardware Manual page 186

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
13.1.3.7 ACK and NACK
If the STSPSEL bit in the U2SMR4 register is set to "0" (start and stop conditions not generated) and
the ACKC bit in the U2SMR4 register is set to "1" (ACK data output), the value of the ACKD bit in the
U2SMR4 register is output from the SDA
If the IICM2 bit is set to "0", a NACK interrupt request is generated if the SDA
rising edge of the 9th bit of transmit clock pulse. An ACK interrupt request is generated if the SDA
is low at the rising edge of the 9th bit of transmit clock pulse.
If ACK2 is selected for the cause of DMA1 request, a DMA transfer can be activated by detection of an
acknowledge.
13.1.3.8 Initialization of Transmission/Reception
If a start condition is detected while the STAC bit is set to "1" (UART2 initialization enabled), the serial
I/O operates as described below.
- The transmit shift register is initialized, and the content of the U2TB register is transferred to the
transmit shift register. In this way, the serial I/O starts sending data synchronously with the next
clock pulse applied. However, the UART2 output value does not change state and remains the
same as when a start condition was detected until the first bit of data is output synchronously with
the input clock.
- The receive shift register is initialized, and the serial I/O starts receiving data synchronously with the
next clock pulse applied.
- The SWC bit is set to "1" (SCL wait output enabled). Consequently, the SCL
falling edge of the ninth clock pulse.
Note that when UART2 transmission/reception is started using this function, the TI does not change
state. Note also that when using this function, the selected transfer clock should be an external clock.
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
page 167
f o
3
2
9
C
2 /
6
) T
pin.
2
13. Serial I/O
pin remains high at the
2
pin
2
pin is pulled low at the
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents