Sony CXD5602 User Manual page 883

Table of Contents

Advertisement

3.10.5.3
Clock Supply Start and Stop
3.10.5.3.1
Clock Supply Start
Perform the following control to start supplying the SSPCLK clock and PCLK clock to the SPI5.
1. Reset release
PWD_RESET0.PWD_APP=1'b1
RESET.xrs_img=1'b1
2. Supply the CK_APP (For details, refer to the APP Section (3.13))
3. Clock supply for SPI5 register and division ratio setting
GEAR_AHB.gear_m_ahb=(arbitrary: denominator setting of the division ratio)
GEAR_AHB.gear_n_ahb=(arbitrary: numerator setting of the division ratio)
CK_GATE_AHB.ck_gate_img=1'b1
4. SPI5 control clock supply and division ratio setting
GEAR_IMG_WSPI.gear_m_wspi=(arbitrary: denominator setting of the division ratio)
GEAR_IMG_WSPI.gear_n_wspi=1'b1
3.10.5.3.2
Clock Supply Stop
Perform the following control to stop supplying the SSPCLK clock and PCLK clock to the SPI5.
1. SPI5 control clock stop
GEAR_IMG_WSPI.gear_n_wspi=1'b0
2. SPI5 register's clock stop
CK_GATE_AHB.ck_gate_img=1'b0
-883/1010-
CXD5602 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents