You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After instantiating the InlineCurrentSense object, and calling init() based on the object, it is found that the program will stay in the init function and not return
Describe the hardware setup
For us it is very important to know what is the hardware setup you're using in order to be able to help more directly
Which motor:
Which driverDRV8313
Which microcontroller:ESP32S3FN8
Which position sensor:AS5600
Current sensing used?:INA240A2
IDE you are using
Arduino IDE
Platformio
Tried the Getting started guide? - if applicable
yes,use example inline_current_sense_test.ino
block in current_sense.init();
The text was updated successfully, but these errors were encountered:
thank you for your reply
No, I used the example inline_current_sense_test.ino directly, and only modified A0 and A2 to become my current pins
`
#include <SimpleFOC.h>
InlineCurrentSense current_sense = InlineCurrentSense(0.01f, 50.0f, 8, 9);
Serial.print(currents.a*1000); // milli Amps
Serial.print("\t");
Serial.print(currents.b*1000); // milli Amps
Serial.print("\t");
Serial.print(currents.c*1000); // milli Amps
Serial.print("\t");
Serial.println(current_magnitude*1000); // milli Amps
Describe the bug
After instantiating the InlineCurrentSense object, and calling init() based on the object, it is found that the program will stay in the init function and not return
Describe the hardware setup
For us it is very important to know what is the hardware setup you're using in order to be able to help more directly
IDE you are using
Tried the Getting started guide? - if applicable
yes,use example inline_current_sense_test.ino
block in current_sense.init();
The text was updated successfully, but these errors were encountered: