Sony CXD5602 User Manual page 215

Table of Contents

Advertisement

3.7.2.3 Clock Supply Start and Stop
3.7.2.3.1
Clock Supply Start
The following describes the method to start clock supply to the I2C0 and I2C1.
1. Clock supply start (internal circuit initialization)
SCU_CKEN.SCU_I2C0 = 1'b1
SCU_CKEN.SCU_I2C1 = 1'b1
Reads the address 0x0418D400 of I2C0 (dummy read to wait for completion of preceding setting)
Reads the address 0x0418D800 of I2C1 (dummy read to wait for completion of preceding setting)
2. Clock stop
SCU_CKEN.SCU_I2C0 = 1'b0
SCU_CKEN.SCU_I2C1 = 1'b0
Reads the address 0x0418D400 of I2C0 (dummy read to wait for completion of preceding setting)
Reads the address 0x0418D800 of I2C1 (dummy read to wait for completion of preceding setting)
3. Reset cancel
SWRESET_SCU.XRST_SCU_I2C0 = 1'b1
SWRESET_SCU.XRST_SCU_I2C1 = 1'b1
4. Clock supply start
SCU_CKEN.SCU_I2C0 = 1'b1
SCU_CKEN.SCU_I2C1 = 1'b1
3.7.2.3.2
Clock Supply Stop
The following describes the method to stop clock supply to the I2C0 and I2C1.
1. Clock stop
SCU_CKEN.SCU_I2C0 = 1'b0
SCU_CKEN.SCU_I2C1 = 1'b0
-215/1010-
CXD5602 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents