|
M306H7MG-XXXFP Datasheet, PDF (118/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER | |||
|
◁ |
M306H7MG-XXXFP/MC-XXXFP/FGFP
10. SERIAL I/O
Table 10.10 Registers to Be Used and Settings in I2C Mode (1) (Continued)
Register
Bit
Master
Function
Slave
UiTB 0 to 7
Set transmission data
Set transmission data
(Note 3)
UiRB 0 to 7
Reception data can be read
Reception data can be read
(Note 3) 8
ACK or NACK is set in this bit
ACK or NACK is set in this bit
ABT
Arbitration lost detection flag
Invalid
OER
Overrun error flag
Overrun error flag
UiBRG 0 to 7
Set a transfer rate
Invalid
UiMR SMD2 to SMD0 Set to â0102â
Set to â0102â
(Note 3) CKDIR
Set to â0â
Set to â1â
IOPOL
Set to â0â
Set to â0â
UiC0 CLK1, CLK0
Select the count source for the UiBRG Invalid
register
CRS
Invalid because CRD = 1
Invalid because CRD = 1
TXEPT
Transmit buffer empty flag
Transmit buffer empty flag
CRD
Set to â1â
Set to â1â
NCH
Set to â1â (Note 2)
Set to â1â (Note 2)
CKPOL
Set to â0â
Set to â0â
UFORM
Set to â1â
Set to â1â
UiC1 TE
Set this bit to â1â to enable transmission Set this bit to â1â to enable transmission
TI
Transmit buffer empty flag
Transmit buffer empty flag
RE
Set this bit to â1â to enable reception
Set this bit to â1â to enable reception
RI
Reception complete flag
Reception complete flag
U2IRS (Note 1) Invalid
Invalid
U2RRM (Note 1), Set to â0â
Set to â0â
UiLCH, UiERE
UiSMR IICM
Set to â1â
Set to â1â
ABC
Select the timing at which arbitration-lost Invalid
is detected
BBS
Bus busy flag
Bus busy flag
3 to 7
Set to â0â
Set to â0â
UiSMR2 IICM2
Refer to Table 11.12
Refer to Table 11.12
CSC
Set this bit to â1â to enable clock
Set to â0â
synchronization
SWC
Set this bit to â1â to have SCLi output Set this bit to â1â to have SCLi output
fixed to âLâ at the falling edge of the 9th fixed to âLâ at the falling edge of the 9th
bit of clock
bit of clock
ALS
Set this bit to â1â to have SDAi output Set to â0â
stopped when arbitration-lost is detected
STAC
Set to â0â
Set this bit to â1â to initialize UARTi at
start condition detection
SWC2
Set this bit to â1â to have SCLi output Set this bit to â1â to have SCLi output
forcibly pulled low
forcibly pulled low
SDHI
Set this bit to â1â to disable SDAi output Set this bit to â1â to disable SDAi output
7
Set to â0â
Set to â0â
UiSMR3 0, 2, 4 and NODC Set to â0â
Set to â0â
CKPH
Refer to Table 11.12
Refer to Table 11.12
DL2 to DL0
Set the amount of SDAi digital delay
Set the amount of SDAi digital delay
i=0 to 2
Notes:
1. Set the U0C1 and U1C1 register bit 4 and bit 5 to â0â. The U0IRS, U1IRS, U0RRM and U1RRM bits are
in the UCON register.
2. TxD2 pin is N channel open-drain output. Set the NCH bit in the U2C0 register to â0â.
3. Not all register bits are described above. Set those bits to â0â when writing to the registers in I2C mode.
Rev.2.10 Oct 25, 2006 Page 118 of 326
REJ03B0152-0210
|
▷ |