HI
In KV31 FTM1 and FTM2 channels Input capture method configured. SIM->SIM_SOPT4 enabled . FTM 3 channels also interrupt enabled.FTM2 CH1 interrupt to checking hall signal based interrupt not working. configured this method if any thing missing configuration let me know anyone and guide me.
Checking FTM2 interrupt and FTM 2 channel pin to connected Hall sensor. This function any thing change you have to guide me.
Thank you
BR
PANDI
Hi,
Thank you so much for your interest in our products and for using our community.
In the KV3x page, there is the application note AN12374 PMSM Field-Oriented Control on FRDMKV31F with Hall and Encoder Sensors with its respective SW file. In the code you can check the initialization and operation of the FTM2, which performs hall sensors signal processing.
Hope it helps you.
Have a nice day!