Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 19 I
2
C BUS
R01UH0042EJ0500 Rev.5.00 Page 814 of 1513
Aug 12, 2011
CHAPTER 19 I
2
C BUS
To use the I
2
C bus function, set the P36/SCL00, P37/SDA00, P40/SDA01, P41/SCL01, P90/SDA02, and
P91/SCL02 pins as alternate-function pins, and set them to N-ch open-drain output.
19.1 Mode Switching of I
2
C Bus and Other Serial Interfaces
19.1.1 UARTC3 and I
2
C00 mode switching
In the V850ES/JG3-H and V850ES/JH3-H, UARTC3 and I
2
C00 share the same pins and therefore cannot be used
simultaneously. Switching between UARTC3 and I
2
C00 must be set in advance, using the PMC3, PFC3, and PFCE3
registers.
Caution The transmit/receive operation of UARTC3 and I
2
C00 is not guaranteed if these functions are
switched during transmission or reception. Be sure to disable the one that is not used.
Figure 19-1. UARTC3 and I
2
C00 Mode Switch Settings
PMC37 PMC36 PMC35 PMC34 PMC33 PMC32 PMC31 PMC30
PMC3
After reset: 00H R/W Address: FFFFF446H
After reset: 00H R/W Address: FFFFF466H
PFC3
PFC37 PFC36 PFC35 PFC34 PFC33 PFC32 PFC31 PFC30
01234567
PFCE3
PFCE37 PFCE36 PFCE35 PFCE34 PFCE33 PFCE32 PFCE31 PFCE30
After reset: 00H R/W Address: FFFFF706H
Port I/O mode
UARTC3 mode
I
2
C00 mode
PFCE3n
×
0
0
Operation mode
PFC3n
×
0
1
PMC3n
0
1
1
Remarks 1. n = 6, 7
2. × = don’t care