Hi Ikki,
I agree, that these internal signals descriptions in RM are quite confusing.
The pmf_reloada signal is routed into PTU module. Therefore:
"reload" signal = "pmf_reloada" signal
The "pmf_reload_is_async" signal is also routed into PTU module. Therefore:
"async_reload" signal = "pmf_reload_is_async" signal
The pmf_reloada signal is generated at specified PWM opportunity (see chapter 15.4.12.3 Load Frequency) = at a start of control loop cycle.
The pmf_reload_is_async signal is generated when async_event (named also “commutation_event”, generated by TIM0_OC0) is detected.
If the PTU is enabled the reload and async_reload events are immediately passed through to the ADC and GDU modules.
If the restart is enabled (RSTRTx=1), the commutation event generates both “PWM reload event” and “PWM reload-is-asynchronous event” simultaneously except the case when the asynchronous event and generated PWM reload event occur in the same cycle (only “PWM reload event” is generated).
The PWM restart at commutation event is used for BLDC Six-Step Commutation driving (for both Hall/sensorless).
For example:
PMFENCA_RSTRTA = 1;
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------