EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 496

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 14 Serial interface IICA
www.mcu.com.cn 496 / 703
Figure 14-9 Format of IICA control register n1 (IICCTLn1) (2/2)
CLDn
Level detection of the SCLAn pin (valid only when the IICEn bit is 1).
0
A low SCLAn pin is detected.
1
A high SCLAn pin is detected.
Clear condition (CLDn=0).
Set condition (CLDn=1).
 SCLAn pin is low
 the IICEn bit is 0 (stop running).

 SCLAn pin is high
DADn
Level detection of the SDAAn pin (valid only when the IICEn bit is 1).
0
A low SDAAn pin is detected.
1
An SDAAn pin high is detected.
Clear condition (DADn=0).
Set condition (DADn=1).
 SDAAn pin is low
 the IICEn bit is 0 (stop running).

 SDAAn pin is high
SMCn
Switching of operating modes
0
Operates in standard mode (maximum transfer rate: 100kbps).
1
Operates in Fast Mode (Max Transfer Rate: 400kbps) or Enhanced Fast Mode (Max
Transfer Rate: 1Mbps).
DFCn
Operation control of digital filters
0
Digital filter OFF
1
Digital filter ON
Digital filters must be used in fast mode or enhanced
fast mode. Digital filters are used to remove noise.
Whether the DFCn bit is 1 or clear 0, the transmit clock remains unchanged.
PRSn
Operate the clock (f
MCK
) control
0
Select f
CLK
(
CLK
).
1
Select f
CLK
/2(20MHzf
CLK
).
Note 1.The maximum operating frequency of the IICA operating clock (f
MCK
) is 20MHz (Max.). IICA control register n1
(IICCTLn1) must only be used when the f
CLK
exceeds 20MHz bit0 (PRSn) is set to 1.
2. In the case of setting the transmission clock, it is necessary to pay attention to the minimum operating frequency
of f
CLK
. The minimum operating frequency of the f
CLK
for the serial interface IICA depends on the operating
mode.
Fast mode: f
CLK
= 3.5MHz (Min.)
Enhanced Fast Mode: f
CLK
= 10MHz (Min.)
Standard mode: f
CLK
= 1MHz (Min.)
Note 1. IICEn: IICA controls bit7 of register n0 (IICCTLn0).
2. n=0

Table of Contents

Related product manuals