![Freescale Semiconductor MC9S12ZVM series Скачать руководство пользователя страница 526](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602526.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
526
Freescale Semiconductor
NOTE
Because of the equals-comparator architecture of this PMF, the modulus
equals zero case is considered illegal in center-aligned mode. Therefore, the
modulus register does not return to zero, and a modulus value of zero will
result in waveforms inconsistent with the other modulus waveforms. If a
modulus of zero is loaded, the counter will continually count down from
0x7FFF. This operation will not be tested or guaranteed. Consider it illegal.
However, the deadtime constraints and fault conditions will still be
guaranteed.
In edge-aligned mode, the PWM counter is an up counter. The PWM output resolution is one core clock
cycle.
PWM period = PWM modulus
×
PWM clock period
Eqn. 14-5
Figure 14-45. Edge-Aligned PWM Period
NOTE
In edge-aligned mode the modulus equals zero and one cases are considered
illegal.
14.4.3.3
Duty Cycle
The signed 16-bit number written to the PMF value registers (PMFVAL
n
) is the pulse width in PWM clock
periods of the PWM generator output (or period minus the pulse width if CINV
n
=1).
NOTE
A PWM value less than or equal to zero deactivates the PWM output for the
entire PWM period. A PWM value greater than or equal to the modulus
activates the PWM output for the entire PWM period when CINV
n
=0, and
vice versa if CINV
n
=1.
UP COUNTERER
PWM CLOCK PERIOD
PWM PERIOD = 4 x PWM CLOCK PERIOD
MODULUS = 4
COUNTER
1
2
3
4
1
Duty cycle
PMFVAL
PMFMOD
----------------------------
100
×
=
Содержание MC9S12ZVM series
Страница 116: ...Chapter 2 Port Integration Module S12ZVMPIMV1 MC9S12ZVM Family Reference Manual Rev 1 3 116 Freescale Semiconductor ...
Страница 242: ...Chapter 7 ECC Generation Module SRAM_ECCV1 MC9S12ZVM Family Reference Manual Rev 1 3 242 Freescale Semiconductor ...
Страница 384: ...Chapter 10 Supply Voltage Sensor BATSV3 MC9S12ZVM Family Reference Manual Rev 1 3 384 Freescale Semiconductor ...
Страница 484: ...Chapter 13 Programmable Trigger Unit PTUV2 MC9S12ZVM Family Reference Manual Rev 1 3 484 Freescale Semiconductor ...
Страница 662: ...Chapter 17 Gate Drive Unit GDUV4 MC9S12ZVM Family Reference Manual Rev 1 3 662 Freescale Semiconductor ...
Страница 684: ...Chapter 18 LIN Physical Layer S12LINPHYV2 MC9S12ZVM Family Reference Manual Rev 1 3 684 Freescale Semiconductor ...
Страница 740: ...Chapter 19 128 KB Flash Module S12ZFTMRZ128K512V2 MC9S12ZVM Family Reference Manual Rev 1 3 740 Freescale Semiconductor ...
Страница 756: ...Appendix A MCU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 756 Freescale Semiconductor ...
Страница 772: ...Appendix D LINPHY Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 772 Freescale Semiconductor ...
Страница 776: ...Appendix E GDU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 776 Freescale Semiconductor ...
Страница 788: ...Appendix I MSCAN Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 788 Freescale Semiconductor ...
Страница 790: ...Appendix J Package Information MC9S12ZVM Family Reference Manual Rev 1 3 790 Freescale Semiconductor ...