You are here

VESC crashes/resets when running 60khz with AS5047 encoder enabled

1 post / 0 new
jschall
Offline
Last seen: 16 hours 52 min ago
Joined: 2023-07-13 20:36
Posts: 5
VESC crashes/resets when running 60khz with AS5047 encoder enabled

Steps to reproduce:

Build 76aedf1 for VESC6 EDU

Attach an AS5047 encoder

Configure for FOC at 60khz

Start the motor

USB will disconnect, the motor will stop (even if it is getting signals over CAN) and then it reboots.

I am guessing this is some kind of timing/thread sync issue?

I'll attach a debugger later and see what's going on.