AnsweredAssumed Answered

ADC configuration for PMSM driver

Question asked by Fernando Oliveira on Nov 20, 2019
Latest reply on Nov 22, 2019 by Philip Drake

Hello guys,

 

I am new in developing with Kinetis microcontrollers and MCUXpresso and would greatly appreciate if you could help me.

I am developing a motor controller to drive a PMSM. Due to the project tight schedule, I already designed a PCB based on FRDM-KV31F and FRDM-MC-LVPMSM boards and the first prototype batch is being produced by now. I am using the very same pins for the motor driver, hall sensor and current sensors, so I expect to use the driver example with just a few modifications to fit my needs.

Along with the motor driver and sensors as they are on freedom boards, I also included on my project 2 ADC single ended channels (for acceleration and brake analog signals) on port B1 and B2 and one differential ADC channel for a thermistor sensing on pins 16+17 (ADC1_D*1/ADC0_D*2). So here are my questions:

  1. As the functioning of the motor driver depends on the ADC, FTM and PDB configuration, how can I change the "pmsm_hall_sensor" project without impacting the motor controlling operation?
  2. Any tips or literature on how to implement multiple ADC configuration on the same project (eg.: 1 diff pair and 2 single ended simultaneously).

 

Thank you!

Fernando

Outcomes