S32K144 BLDC with hall sensor

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

S32K144 BLDC with hall sensor

1,140 Views
mamandfa
Contributor I

Hello, I have MCSPTE1AK144 and I want to run BLDC motor with hall sensor.

I follow the https://www.nxp.com/document/guide/getting-started-with-the-s32k144-bldc-pmsm-development-kit:GS-MCS... . I installed the software apllication and run the BLDC_6step example, and motor can run in sensorless mode. And I just change the HALL_SENSOR 0 to 1 in motor_structure.h.

It prevented the motor from running. The appstate is converted to fault immediately after the run state.

I did not change any configuration. Should I change something in example code? I'm a beginner. I need an example because I want to control the motor with or without a sensor. I need help.

 

++ I found the problem. DCB has overcurrent I think. But I can not solve this.

0 Kudos
Reply
3 Replies

1,128 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

overcurrent detection can be set by board's potentiometer 

PetrS_0-1670243218917.png

Set it accordingly and e.g. restart MCU.

BR, Petr

0 Kudos
Reply

1,117 Views
mamandfa
Contributor I

Hi PetrS,
First, thank you for your reply.

I've been working on the project for weeks, so the jumpers are all in the right place.

In other examples and in sensorless mode, the motor runs well. However, overcurrent occurs only when the hall sensor is used in BLDC. Do you have any information, documents, or other settings that I can check?

0 Kudos
Reply

1,099 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the AN12435.pdf in the MCSPTE1AK144 package describes both sensorless and HALL sensor usage for BLDC motor control so you can refer to it, I think.

BR, Petr

0 Kudos
Reply