-
Notifications
You must be signed in to change notification settings - Fork 597
Lowside current sense initialization causes ESP32 Core Panic exceptions in 2.2.2 version #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @kimiolek, Maybe a stupid question but did you link the driver and the current sense:
|
Same thing happen to me edit: Simple FOC 2.2.1 don't have this problem platformio.ini
Code
Serial output
|
@micology-code |
Hi,
I'm playing with simplefoc lib and lowside current sense a little bit.
I add a current sense oject to my code like
LowsideCurrentSense cs = LowsideCurrentSense(0.015f, 20.0f, CS_A, CS_B);
and in setup() call init method
cs.init();
the esp32 get core panic exception, exactly in this line, when I comment it no problem exists.
Serial monitor output:
The problem ocurres in version 2.2.2 of simplefoc. In 2.2.1 it seems to be good, there is no core panic error.
Hardware setup:
IDE
The text was updated successfully, but these errors were encountered: