HALLSENSOR _XOR OPERATION KV31

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

HALLSENSOR _XOR OPERATION KV31

897 Views
pandi
Contributor III

HI

@xiangjun_rong

@_Leo_

NXP Tech

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.

 

  Screenshot 2024-03-08 145537.png

 

 

Screenshot 2024-03-11 193820.png

Checking FTM2 interrupt and  FTM 2 channel pin to connected Hall sensor. This function any thing change  you have to guide me.

Screenshot 2024-03-11 203707.png

 

                                      Thank you

BR

PANDI 

0 Kudos
Reply
2 Replies

877 Views
_Leo_
NXP TechSupport
NXP TechSupport

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.

_Leo__0-1710201228238.png

Hope it helps you.

Have a nice day!

0 Kudos
Reply

863 Views
pandi
Contributor III

Hi

@_Leo_ 

Thank you for your message.

BR

PANDI

0 Kudos
Reply