| Electronic Components Datasheet Search |
|
VN9D7D20F Datasheet(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VN9D7D20F Datasheet(HTML) 29 Page - STMicroelectronics |
|
29 / 92 page ![]() Example 3 Below, an example with a 65% duty cycle, PWM divider = 512 and a 45% phase is given with a PWM sampling mode on the rising edge (PWM_TRIG = 0): • 65% duty cycle results in a DUTYCRx register content equal to 665 = Ch (65% x 1023 = 665 - 299) • 45% phase results in a CHPA register content equal to 14 (45% x 31 = 14), equivalent to a content of 448 = 1C0h for a 10 bit register. • With an input frequency at PWM_CLK pin of 400 kHz, the output frequency is 781 Hz Figure 14. Resulting waveform 3 T = 1.2 ms 1 2 224 511 223 45 225 224 511 1 2 224 511 1 512 556 2 1 2 735 4095 Divider according to the PWM Internal Counter PWM Counter 10 bits Internal (internal) PWM_OUT 400KHz (external) PWM_CLK T = 0.5 ms Phase shift = 45% CHPA = 448 Duty cycle = 65% DUTYCR = 665 T=1.2 µs T=2.5 µs T=2.5 µs 1023 448 1023 448 1 1 90 2 3 4 1 2 1 2 Exceeded PWM max counter GADG311020171220MT Example 4 Below, an example with a 65% duty cycle, PWM divider = 512 and a 45% phase is given with a PWM sampling mode on the falling edge (PWM_TRIG = 1): • 65% duty cycle results in a DUTYCRx register content equal to 665 (65% x 1023 = 665) equivalent to a content of 299h. • 45% phase results in a CHPA register content equal to 14 (45% x 31 = 14), equivalent to a content of 448 = 1C0h for a 10 bit register. • With an input frequency at PWM_CLK pin of 400 kHz, the output frequency is 400/1024 = 390 Hz • Due to PWM sampling mode on the falling edge, the PWM window has a start at 3A6h (not (299h +1C0h)) and a stop at 23Fh (not 1C0h). VN9D7D20F SPI functional description DS13153 - Rev 8 page 29/92 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |