English
Language : 

W90N745CD Datasheet, PDF (365/422 Pages) Winbond – 16/32-bit ARM microcontroller
W90N745CD/W90N745CDG
6.16.3 Dead Zone Generator
W90N745 PWM is implemented with Dead Zone generator. They are built for power device protection.
This function enables generation of a programmable time gap at the rising of PWM output waveform.
User can program PWM_PPR [31:24] and PWM_PPR [23:16] to determine the Dead Zone interval.
Dead zone generator operation
PWM_out1
PWM_out1_n
PWM_out1_DZ
PWM_out1_n_DZ
Dead zone interval
6.16.4 PWM Timer Start Procedure
1. Setup clock selector (PWM_CSR)
2. Setup prescaler & dead zone interval (PWM_PPR)
3. Setup inverter on/off, dead zone generator on/off, toggle mode /one-shot mode, and PWM timer
off. (PWM_PCR)
4. Setup comparator register (PWM_CMR)
5. Setup counter register (PWM_CNR)
6. Setup interrupt enable register (PWM_PIER)
7. Enable PWM timer (PWM_PCR)
6.16.5 PWM Timer Stop Procedure
Method 1 : Set 16-bit down counter(PWM_CNR) as 0, and monitor PWM_PDR. When PWM_PDR
reaches to 0, disable PWM timer (PWM_PCR). (Recommended)
Method 2 : Set 16-bit down counter(PWM_CNR) as 0. When interrupt request happen, disable PWM
timer (PWM_PCR). (Recommended)
Method 3 : Disable PWM timer directly (PWM_PCR). (Not recommended)
- 360 -