Sony CXD5602 User Manual page 308

Table of Contents

Advertisement

[3] Ch0 suspend
PWM0_EN
= 0x00000010
PWM0_UPDATE = 0x00000001
[4] Ch1 suspend
PWM1_EN
= 0x00000000
PWM1_UPDATE = 0x00000001
[5] Ch0 suspend and then process
PWM_PASE0[15:0] = 0xffff
[6] PWM another setting (if you want)
The settings for the PWM you want to synchronize can be selected as follows:
Table SCU (Sensor Control Unit)-105 Settings for Synchronization between PWMs
PWM_SE
PWM0
LLn[5:3]
0
No
Synchroni
zation
1
PWM1
2
PWM2
3
PWM3
4
PWM4
5
PWM5
6
PWM6
7
PWM7
3.9.11.5.1
PWM Output Phase Calculation Formula
When prescaler is set to 1/1
Phase difference (number of SCU_CLOCK) = PWM_DELAYn + 1
When prescaler is set to 1/2 or higher
Phase difference (number of SCU_CLOCK) = PWM_DELAYn x (2^PWM_CNTENn) - α
Range which α may take
The maximum shift width of the Phase difference shift α is determined by the prescaler setting.
α minimum value = 0
α maximum value = (2^PWM_CNTENn) - 1
For the prescaler 1/2 setting, this is 1[clk]. For the prescaler 1/4 setting, it is 3[clk], and then, at the 1/256
setting, it is 255[clk].
Note: This shift occurs randomly and cannot be controlled.
PWM1
PWM2
PWM3
No
No
No
Synchroni
Synchroni
Synchroni
zation
zation
zation
PWM0
PWM0
PWM0
PWM2
PWM1
PWM1
PWM3
PWM3
PWM2
PWM4
PWM4
PWM4
PWM5
PWM5
PWM5
PWM6
PWM6
PWM6
PWM7
PWM7
PWM7
PMW4
PMW5
No
No
Synchroni
Synchroni
zation
zation
PWM0
PWM0
PWM1
PWM1
PWM2
PWM2
PWM3
PWM3
PWM5
PWM4
PWM6
PWM6
PWM7
PWM7
-308/1010-
CXD5602 User Manual
PWM6
PWM7
No
No
Synchroni
Synchroni
zation
zation
PWM0
PWM0
PWM1
PWM1
PWM2
PWM2
PWM3
PWM3
PWM4
PWM4
PWM5
PWM5
PWM7
PWM6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents