Can we trigger FTM4 fault with Trgmux module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can we trigger FTM4 fault with Trgmux module

2,049 Views
nitinverma
Contributor III

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

2 Replies

1,147 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,147 Views
razva_tilimpea
NXP Employee
NXP Employee

Hi,

You can't trigger fault signal of FTM4-FTM7 with Trgmux. This information is presented in FTM Fault detection Inputs:

pastedImage_1.png

I also checked SIM_FTMOPTO register and there are only 3 fields to select fault source for FTM0-FTM2.

Best regards,

Razvan

0 Kudos