I am performing PWM output using the PWM output/Diagnostic function of RH850 U2A.
When PWM output is performed using three channels, the three channels are synchronized.
I would like to output PWM on each channel with a fixed time delay.
I am thinking of outputting asynchronously.
However, I cannot find a register related to phase setting.
How can I generate a phase difference to enable PWM output?
Hi pistons7 (00u13o7h9fazHRVNd358), The RH850/U2A-EVA Group User’s Manual: Hardware (renesas.com)
provides detailed information on the Dead Time Module within the Generic Timer Module (GTM), as outlined in Section 38.18. This module offers the precise functionality you are seeking.
Additionally, I recommend reviewing the following application note: RH850/U2B UVW phase PWM output using GTM (renesas.cn). While the document specifically targets the U2B device, the GTM peripheral implementation is very similar and offers relevant insights into configuring UVW phase PWM generation using GTM.
I hope this answer helps
Best Regards
PC_Renesas
Thank you for your reply.So does that mean that it is impossible to achieve the function I am talking about with the PWM output/diagnostic function?
The GTM timer has a Monitoring unit, which can be used to monitor the timers outputs. Please see section 38.26 of the Groups user manual. Is that what you are looking for?
What I want is to produce a PWM output like the one in the attached diagram.I don't know how to set the phase shift.If possible, I would like to achieve this using the PWM output/diagnosis function (section 42).
Thanks for the diagram. It looks like you have a 3 phase motor control application - correct? If that is the case, the U2A comes with a dedicated timer for these applications (see section 35). With this module, you can simply configure a dedicated phase shift for every channel of the timer. The output/diagnostics function is not designed to be used for any phase delays/ phase shifts. Its purpose lies in providing integrated fault monitoring and protective gating of the PWM outputs—allowing the hardware to instantly blank or shut down all channels in response to comparator trips, overcurrent events, or other safety‑critical fault conditions.I hope this helps.
best regards PC_Renesas