Dear Support Team,
We are using s32K148 device in our customized hardware. We have the updated SDK (0.8.3) which supports S32k148 devices. As per requirement we have to trigger fault signal for FTM2 and FTM4 using ADC comparator as trigger source for TRGMUX. We are able to trigger Fault signal for FTM2 module. As per the the RM (NXP_S32K14x_RM_Rev2 (002).pdf) we didn't find any provision to trigger fault signal for FTM4 to FTM7 using TRGMUX module.
Please guide us if there is a way to trigger the Fault of FTM4 - FTM7 using TRGMUX module. Kindly refer the attached screenshot for TRGMUX trigger sources.
Thanks,
Nitin verma
Hi,
Unfortunately, only the fault inputs of FTM0-3 are routed to the TRGMUX module and the rest of FTMs can be routed only to an external PORT input as Chapter 42.1.3 FTM Fault Detection Inputs shows.
For detailed description of TRGMUX module please refer to S32K1xx_Trigger_Muxing.xlsx file attached to the reference manual.
Regards,
Daniel
Hi,
You can't trigger fault signal of FTM4-FTM7 with Trgmux. This information is presented in FTM Fault detection Inputs:
I also checked SIM_FTMOPTO register and there are only 3 fields to select fault source for FTM0-FTM2.
Best regards,
Razvan