Other Parts Discussed in Thread: LP-AM263, DRV8316REVM
Tool/software:
Dear TI Expert,
I am working on the universal_motorcontrol_am263x_r5fss0-0_nortos_ti-arm-clang_3phGaN LEVEL 3 example on the TI LaunchPad Sitara AM263x (LP-AM263). My setup includes the DRV8316REVM, which is configured for DRV8316T in hardware mode (without the SPI module).
DRV8316REVM Hardware Configuration (No SPI Mode):
- R9/R12 - DNP
- R40/R45 - Tied to AGND
- R37/R42 - Hi-Z
- R38/R43 - Hi-Z
- R41/R46 - Hi-Z
- R39/R44 - Tied to AGND
Pin Configuration (Following Custom Board Example):
Configuration DRV8316REVM:
- DRVOFF - GND
- MCUVREF - 3.3V
- NFAULT - 3.3V
- NSLEEP - 3.3V
ENCODER SETUP:
Issue Encountered:
I’m encountering two issues while running my motor (video attached at the end).
-
Speed Accuracy at Low RPM:
- When setting
speedRef_Hz
to 0.8 Hz, the actual speed fluctuates between 0.5 Hz and 1.1 Hz instead of maintaining a steady 0.8 Hz. - How can I improve the speed accuracy at low RPM? Are there specific tuning parameters or settings that can help stabilize the speed?
- When setting
-
Encoder Reset on Second Run:
- The motor and encoder work fine the first time I run the system. However, when I stop and restart, the motor run but the encoder resets instantly without any fault error.
- What could be causing this behavior, and how can I troubleshoot or resolve it?
Any insights or recommendations would be greatly appreciated.
Thanks a lot!
Additional Observation:
This same DRV8316REVM (No SPI) configuration and the encoder EM1 runs successfully with the universal_motorcontrol_lab_f28002x example on the F280025C LaunchPad, without any issues.
VIDEO: