How to configure in processor expert using Trigmux - FTM0 channel 0 as source to PDB0 as target.

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

How to configure in processor expert using Trigmux - FTM0 channel 0 as source to PDB0 as target.

1,443 Views
shripadjoshi
Contributor I

Tried to configure in trgmux as Ftm0InitTrig as source and Pdb0TrgIn as targer. Also for PDB0, source selected is external. Can anyone provide way to start trigger to PDB0 using FTM0?

 

Thanks,

Labels (1)
0 Kudos
1 Reply

1,250 Views
raresvasile
NXP Employee
NXP Employee

Hi,

First, what version of the S32 SDK are you using?

To use the trigger from the FTM0 you must enable FTM0 Init trigger generation.

You can enable it using the following call to FTM hal function:

FTM_HAL_SetInitTriggerCmd(FTM0, true);

This call should be added after calling the FTM initialization function(FTM_DRV_Init).

Please let me know if it worked.

Best regards,

Rares

0 Kudos