This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8350H-EVM: Sensored Firmware loaded and GUI recognizes that, still cannot get motor to spin getting MCU faults with default settings

Part Number: DRV8350H-EVM
Other Parts Discussed in Thread: DRV8350,

I believe I have everything set up to properly spin a sensored motor using the EVM board but, I keep getting MCU faults and I do not see why.

I have the Dev board hardware reworked with the following to work with sensored Firmware

  • Hall sensors resistors R46, R48 & R51 = 0 ohm
  • J1 jumped to 5V0 (for 5V hall sensors)

The Sensored Firmware has also had the INCLUDES and the typos in init.c fixed is installed and the DRV835X-EVM GUI recognizes this Firmware by only allowing me to select sensored.

I am not sure if there are any other hardware changes or settings that I need to change to get the Dev board up and running to actually evaluate the DRV8350's performance.

  • Hi Michael,

    Thanks for confirming that the GUI recognizes the sensored firmware. 

    Are you trying to use 1x PWM mode? Populating R46, R48, and R51 = 0 ohm is done for 1x PWM configuration. You'll need to set the MODE pin for 1x PWM mode in hardware. This is done by placing the MODE pin in Hi-Z, so please DNP R69, R67, and R66. 



    Thank you,
    Aaron 

  • Hi Aaron,

    Thank you for the quick response, I had tried DNP of R66, (since R67 and R69 are already DNP'd) and I still got the MCU fault error. So I reverted back to a 0ohm on R66.

    So Following your instructions I have DNP'd R66 again, the MCU still shows a fault on the D5.

    I can get into the settings in the GUI and set to 1x PWM mode with Gain in 20V/V (Hi/Z)

    I cannot calibrate the Hall sensors and get a fail immediately, I am assuming this is because the MCU has some kind of fault. I don't know what that would be.

    Does this have anything to do with using the 5VO for the hall sensors? 

  • Hi Michael,

    Thanks for sharing the GUI screenshot. I think its due to incorrect hall sensor order. This thread confirms the same issue (scroll to bottom). https://e2e.ti.com/support/motor-drivers-group/motor-drivers/f/motor-drivers-forum/963560/ccs-drv8350s-evm-configuring-drv8350s-evm-for-sensored-mode

    Can you confirm if the Hall sensor order is correct? 

    Thanks,
    Aaron

  • Hi Aaron,

    I looked through that thread and followed the hall sensor order checking.

    My hall sensors and phases are correct. still getting an MCU fault.

    I did see in the thread a part about changing to 1x pwm mode in the init.c file. Is this required as well? i figured that the GUI had this selection so I wouldn't have to mess with it in the init.c file and reflash.

    I have not changed this in the init.c file at this time.

  • Hi Michael,

    That thread may have a point. I looked into init.c and found this line here, which I changed to "1" for 1x PWM Mode. 



    Can you see if this works if you fix line 148 and reflash it into the MCU?

    Thanks,
    Aaron

  • changed PWM mode to 1x in code, the GUI does reflect this change at start up.

    But this still does not fix the issue, MCU still has a fault at start up. 

    I can still get into the GUI and play with all the settings but, HALL calibration does not work at all. 

    I checked the 3 phases with a scope during the Hall calibration and I see no change, so i don't think the MCU is attempting to spin the motor to detect the hall.

    I've tried disconnecting all halls and phases of my motor, and the MCU still has an error at start up even without these connections.

  • Hi Michael,

    Have you increased Hall calibration duty cycle to 50% and played with the Calibration cycles setting? 



    To be honest, I haven't tinkered with this GUI much yet. I'll hook up a DRV8350H-EVM and play with the settings next week to see if I can replicate the issue and/or discover anything that can help with your issue. 

    Thanks,
    Aaron

  • Hi Michael,

    To update this thread, I hooked up a DRV8350H-EVM with a sensored motor, populated the 1x PWM resistors at the Hall connector, and set into 1x PWM mode at the MODE pin. I had a lot of similar issues with Hall calibration faults, even after playing with many settings. I only got the motor to very slightly "budge", but it didn't make sense because it moved when I changed the direction.

    I agree this is painful, so my proposition is I would like to look through the code at some point, remove the Hall calibration code, reflash, and see if this improves the user experience and spins the motor. 

    Thanks,
    Aaron