Part Number: ENERGIA
Other Parts Discussed in Thread: MSP430F5529, , BOOSTXL-DRV8323RS, DRV8323R
Hi,
I am currently working on a project to develop a motor driver for sensored BLDC motor.
I was recommended DRV8323RS evaluation board to be used together with MSP430F5529 MCU.
I found out about Energia and since I do have experience programming in Arduino, I decided to use Energia to write the codes instead of CCS which I am unfamiliar with.
Using these boards, I was able to get the hall sensor out 001, 010, 110, etc using digitalRead. With that, it suppose to give PWM signals to 2 of the phases to get the motor running. However, the motor is not rotating.
I double checked on the motor timing algorithm to send PWM and it seems fine. I checked the gate headers in DR8323RS and it out giving out LOW (0V). I was using 6xPWM control type
I guess the control logic is not sent successfully to the board.
Question:
1) Do I need to declare any variable for SPI communication in Energia in order to get the motor to receive the control logic?
2) If yes, can provide an example on how to do so?
I am quite new to programming a BLDC sensored motor driver and not sure about SPI communication using DRV8323RS EVM board.
appreciate any help. :)
Thanks,
Thena