2025-03-17 9:59 AM
Is it possible to synchronize two separate pairs of HRTIMER channels using the HRTIMER Master?
My goal to is to synchronize HRTIMER_E with HRTIMER_C and HRTIMER_F with HRTIMER_A. Each HRTIMER pair needs to operate independently of each other.
The reason for this is as follows: HRTIMER_E1 and E2 control a resonant converter. A fault coming from COMP6 (hrtim_flt3) needs a blanking source, which can only come from HRTIMER_C, therefore these timers need to work in sync. HRTIMER_F1 and F2 control another resonant converter, where a fault coming COMP2 (hrtim_flt1) needs a blanking source that can only come from HRTIMER_A.
The two resonant converters work independently, so the syncing of the timer pairs needs to be independent.
A workaround is to use external event capture instead of the faults to keep the blanking source within the timers driving the converters. I like the faults because they can turn the outputs off in hardware.