Sony CXD5602 User Manual page 309

Table of Contents

Advertisement

3.9.11.5.2
PWM Output Synchronization Initialization Procedures
Note 1: Do not set PWM_PASEn[15:0] to "0xffff" nor "0x0000".
Note 2: "0xffff" is a setting for clear, and actual phase setting is not permitted.
[1]PWM suspend setting
PWM0_EN = 0x00000000
PWM0_UPDATE = 0x00000001
[2]Phase Setting
PWM_PASEn[15:0] = 0xffff
[3]PWM another setting (if you want)
3.9.11.6
External Output Signal Combining Function
By combining the internal PWM signal, the waveform output from the external PWM terminal can be
combined. AND or OR can be used for the combining.
Setting example:
Terminal PWM0ch = PWM0 & PWM1 & PWM2 & PWM3 & PWM4 & PWM5 & PWM6 & PWM7
Terminal PWM1ch = PWM0 | PWM1 | PWM2 | PWM3 | PWM4 | PWM5 | PWM6 | PWM7
When setting the output terminal PWMm (m = 0, ..., 3), set the following registers in addition to the basic
operation settings.
PWM_FUCN2 register
PWM_SEL_DISm field ... selects the PWM channel used for the combining
PWM_FUNCSEL0 register
PWM_SEL_INVm field ... selects whether or not to invert the PWM polarity
PWM_FUNC4 register
PWM_SELm field
... "0" selects AND combining/"1" selects OR combining
-309/1010-
CXD5602 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents