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
Solved! Go to Solution.
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
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
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
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