3.7.3.3 Clock Supply Start and Stop
3.7.3.3.1
Clock Supply Start
The following describes the method to start clock supply to the I2C2.
1. Clock supply start of the AHB/APB Bus Bridge.
SYSIOP_SUB_CKEN.COM_BRG = 1'b1
SYSIOP_SUB_CKEN.AHB_BRG_COMIF = 1'b1
2. Clock supply start (internal circuit initialization).
SYSIOP_SUB_CKEN.I2CM_SUB = 1'b1
Reads the address 0x041AA000 of I2C2 (dummy read to wait for completion of preceding setting)
3. Clock stop
SYSIOP_SUB_CKEN.I2CM_SUB = 1'b0
Reads the address 0x041AA000 of I2C2 (dummy read to wait for completion of preceding setting)
4. Reset release
SWRESET_BUS.XRST_I2CM_SUB = 1'b1
5. Clock supply start
SYSIOP_SUB_CKEN.I2CM_SUB = 1'b1
3.7.3.3.2
Clock Supply Stop
The following describes the method to stop the clock supply to the I2C2.
1. Clock stop
SYSIOP_SUB_CKEN.I2CM_SUB = 1'b0
-217/1010-
CXD5602 User Manual