Other Parts Discussed in Thread: TMS320F28027, TMS320F28054, TMS320F28027F
Tool/software: Code Composer Studio
Dear all,
So far I have been working with my own TMS320F28027 HW design, on the basis on boostxldrv8301_revB development kit, in order to control a PMSM motor. Now, I have a new HW design which includes the TMS320F28054. The switches, buttons, SPI and so on are working fine, but not the PWM output, so the motor is not spinning. Watching the signals with an oscilloscope the PWM duty cycles is 50% and the frequency 30 KHz (which is right). If I modify the speed reference, nothing happens, the PWM doesn’t change.
Let me explain briefly what I did:
- Create different build configurations for both microcontrollers. If the program is loaded into the TMS320F28027, the motor spins.
- Redirect the currents, voltages and DC voltage (gAdcData) to the new ADCs.
ADC |
TMS320F28027 |
TMS320F28054 |
IA |
ADCINB1 |
ADCINB0 |
IB |
ADCINB3 |
ADCINB2 |
IC |
ADCINB7 |
ADCINB3 |
VA |
ADCINA3 |
ADCINA5 |
VB |
ADCINA1 |
ADCINA2 |
VC |
ADCINA0 |
ADCINA0 |
dcBus |
ADCINA7 |
ADCINA7 |
3. Any change in the PWM configuration registers, so the outputs are the same for both micros.
Summarize, with the new HW and micro, the motor never spins. In the debugger, I can’t see any important variation on gAdcData or gPwmData.
Thank you in advance, any help will be appreciate.