
M0A21/M0A23 Series
May 06, 2022
Page
568
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
6.15.3 Block Diagram
Peripheral
Device
User
Interface
Control Register
Data
Buffer
Data
Shift
Unit
Protocol
Processor
Unit
(I
2
C)
Input
Processor
Buffer
Control
Interrupt
Generation
USCI_DAT0
To Interrupt
Signal
USCI_CLK
Wake-up
Control
Baud Rate
Generation
f
PCLK
Output
Configuration
Figure 6.15-2 USCI I²C Mode Block Diagram
6.15.4 Basic Configuration
USCI0 I
2
C Basic Configurations
The basic configurations of USCI0_I2C are as follows:
Clock Source Configuration
–
Enable USCI0 peripheral clock in USCI0CKEN (CLK_APBCLK1[8]).
–
Enable USCI0_I2C function UI2C_CTL[2:0]) register, UI2C_
CTL[2:0]=3’b100
Reset Configuration
–
Reset USCI0 controller in USCI0RST (SYS_IPRST2[8]).
Pin Configuration
Group
Pin Name
GPIO
MFP
USCI0
USCI0_CLK
PA.5, PA.4, PC.5, PC.4, PC.3, PC.6, PC.7,
PB.7, PB.6, PB.5, PB.4, PC.2, PC.1, PC.0,
PA.2, PA.1, PA.0
MFP10
PD.4
MFP4
USCI0_DAT0
PA.5, PA.4, PC.5, PC.4, PC.3, PC.6, PC.7,
PB.7, PB.6, PB.5, PB.4, PC.2, PC.1, PC.0,
PA.2, PA.1, PA.0
MFP11
PD.5
MFP4
Functional Description USCI1 I
2
C Basic Configurations
The basic configurations of USCI1_I2C are as follows: