MCSXTE2BK142 Development Board - Motor Speed Control

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

MCSXTE2BK142 Development Board - Motor Speed Control

Jump to solution
916 Views
peytonu5
Contributor I

Hello,

I have recently purchased the MCSXTE2BK142 development board for evaluation of the S32K142 MCU. Per document MCSXTE2BK142HWUG section 3.5, the motor speed and direction can be set by LIN, CAN or PWM communication, or via a potentiometer (designated as R73) connected to an ADC input on the MCU.

I have downloaded the software provided for this board (MCSXTE2BK142_SW), but from my review of the software I am unable to see where speed control using the potentiometer is incorporated into the software. From reviewing the schematic for this board, I can see that the Analog Input signal is connected to ADC0 CH14, however I cannot find this channel being read anywhere in the software.

I'm hoping to see if anyone familiar with this board has experience using the potentiometer for speed control, and can point out to me if/how it is incorporated in the software.

Thank you,

Peyton

0 Kudos
1 Solution
904 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Peyton,

The AN input is not a classic use case for automotive application, that is the reason we did not implement it.

I have sent you a version of the SW that uses the analog signal to control the application.

 

Regards,

Daniel

View solution in original post

0 Kudos
4 Replies
905 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Peyton,

The AN input is not a classic use case for automotive application, that is the reason we did not implement it.

I have sent you a version of the SW that uses the analog signal to control the application.

 

Regards,

Daniel

0 Kudos
620 Views
Ignatius
Contributor I

Dear Mr. Daniel,

 

Can you pls send me the code to control the BLDC motor with Analog input pin on the board via potentiometer R73.

 

Regards,

X Ignatius

0 Kudos
599 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Ignatius,

Please create a ticket?

danielmartynek_0-1650451150032.png

Thank you,

BR, Daniel

 

 

0 Kudos
586 Views
Ignatius
Contributor I

Dear Daniel,

Created the ticket.

Case Number : 00461818

 

Case Description

Subject : MCSXTE2BK142 Development Board - Motor Speed Control Description : Speed control of BLDC motor with the on board potentiometer R73. I need a sample code to run on MCSXTE2BK142

 

Regards,

X Ignatius

 

0 Kudos