![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 66](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602066.webp)
Chapter 1 Device Overview MC9S12ZVM-Family
MC9S12ZVM Family Reference Manual Rev. 1.3
66
Freescale Semiconductor
The timing frame is the same as in dynamic timing case plus it can be asynchronously restarted at any time
within the control cycle.
At the asynchronous
commutation
_
event
•
the PMF actions are:
1. counter re-start, re-initialization
2. PWM configuration re-initialization according to the selected PWM settings (center/edge-aligned
pattern, normal/inverted type etc.)
3. re-initialization of the dead time generators (in case the commutation takes place at a time when
one of the dead times is being generated)
4. re-initialization of the PWM outputs according to pre-set PWM channel output settings in double
buffered registers (mask, swap, output control)
5. re-initialization of the automatic fault clearing
6. generates
async_reload
event for the PTU
7. optionally updates the PWM duty cycle values based on LDOK state
•
the PTU actions are:
1. abortion of the
trigger_x
event generation
2. re-initialization and re-start the PTU counter
3. update of the current list index TGxList based on the
glb_ldok
state
4. fetch first trigger time from updated TGxList
5. passes the
async_reload
event immediately to the ADC (if the PTU is enabled)
6. generates the
reload
event for the ADC
•
the ADC actions are:
1. the conversion in progress is completed
2. the ADC conversion sequence is aborted and the SEQA flag is set to indicate that the final
conversion occurred during the abortion process (potentially coinciding with a commutation and is
thus less precise than under normal conditions)
3. update of the current lists index ADxLists
4. re-start of the conversion sequencing upon successful abortion - fetches the first ADC command
from the ADC
x
_CSL, re-sets the result pointer to the top of the list
Note: in case the lists index ADxLists is not updated at the sequence abortion the new restarted A/D
conversions will overwrite the previously converted results.
•
the GDU actions are:
1. standard operation
1.13.3.8
Control Loop Startup Guidelines
The sequence for control loop start up is to firstly configure the signal measurement (inputs/feedback).
Once the measurement is properly configured (correct value is measured at defined time) the output
actuation (control action) is configured. The following modules are involved in signal measurements.
•
TIM (to identify asynchronous commutation) [BLDC applications only]