Tool/software:
Dear TI Team,
I'm trying to run the universal_motorcontrol_am263x_r5fss0-0_nortos_ti-arm-clang_3phGaN example on the TI LaunchPad Sitara AM263x LP-AM263 with the DRV8316REVM, configured for DRV8316T using hardware mode (no SPI module).
After building and running the example, when I set motorVars_M1.flagEnableRunAndIdentify to 1, it immediately resets to 0, with the reported fault being moduleOverCurrent.
Could you please help me identify the cause and suggest a possible solution?
Thanks!
Hello,
Please take a look at the TIDM-02018 design guide. We developed this software using an incremental build approach. Start at level 1 and debug your way up to level 4, step by step.
Best,
Masoud.
Hi,
After configuring user_mtr1.h according to my project on the F280025C and running the Level1 Universal Motor Lab, I am encountering undervoltage and module overcurrent faults.
My power supply is 24V, but when checking the variable VdcBus_V, it only reads ~15V.
The error originates from the runMotor1Control function, specifically in the following section:
Could you please advise on what might be causing this issue and how to resolve it?
Thanks!
If you increase up the DC bus voltage to 48V, what does the ADC measurement show? If it reads 30V, that means we need to change the ADC current scale factor.
Best,
Masoud.
Hi,
I change to 38.91891891891892 as you mention
And now its ~ 24V , but still moduleOverCurrent & underVoltage
If you're seeing both of these errors, it means there's a short circuit in your test. This is causing a spike in current and dropping the supply voltage, which results in undervoltage fault. Basically, you should be starting your tests at level 1 with the motor not connected to circuit. Like I said earlier, make sure to read the design guide and stick to the instructions first!
Hi,
As I mentioned, this is level one, and the motor is not connected.
I have configured the hardware according to the custom board guide for the AM263.
Please review my post carefully—we have replaced the DRV8316REVM with the DRV8316T following the DRV8316REVM setup.
In addition, I have adjusted the ADC factor as you mentioned earlier.
But as you can see, now there is one fault moduleoverCurrent.
In addition I add the pin mapping in the main message, and the predefine.
We would appreciate any help.
Hi,
I tried a few things that didn’t work:
I would be happy for any expert help.
TY Shahar