Hall sensor with S32k144

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

Hall sensor with S32k144

446 Views
sarwath
Contributor IV

Hello community,

My requirement is run the motor with hall sensor feedback. I wrote one logic but it is not able to detect the next position. With my logic I am able to achieve sector 0 and sector 4. The function AppCom() is called in for loop to get the hall sector. How to write a logic to run a motor with hall sensor without any other peripheral. 

sarwath_1-1662471328195.png

 

sarwath_0-1662471170869.png

sarwath_2-1662471359412.png

 

Thanks in advance,

Sarwath

 

Tags (2)
0 Kudos
1 Reply

430 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Its quite hard to help here, you are posting some snapshot of application functions with unknown content to me. But since you are only to detect only one position pair, I expect you are not rotating control functions correctly or not at all.

I suggest you to have a look at following application note where Hall sensor is used:

https://www.nxp.com/docs/en/application-note/AN4413.pdf

Best regards,

Peter

0 Kudos