Hi,
I have a project that needs to drive a motor quite fast and that use a AS5048a magnetic sensor as encoder.
I first developped it on the Arduino UNO without issues except its computation capacity (16mHz). I purchased different boards (nano connect, nano esp32, nucleo L432KC, teensy 4.0, pi pico) in order to overcome this limit.
On all these 3.3V boards, I was not able to get a value from the sensor with simpleFOC library MagneticSensorSPI class.
I was able to get a value with this library : Arduino AS5048A library
I ended up doing a wrapper of this implementation.
Sensor support
I works fine like that, but I couldn’t find why it works on Arduino Uno and not these boards. I checked source code of magneticSensorSPI but did not find anything wrong.
I always used the last board version and the simple foc 2.3.4.
I wanted this written down in case of someone else having this issue.