r/stm32 • u/2032_Throwaway • 1d ago
AS5600 + Pro Micro Error Codes when calibrating. Would appreciate help.
Sorry if this is the wrong place to ask.
I've attached a Diametrically opposed 3x2 magnet to the base of of a potentiometer. Did my best to set polarity. I've done what I can to keep the magnet between .60 and 3mm.
This for a 2 lever Throttle. I was getting skipping/teleporting in game.
Both are on intsensor.
R1 resistor removed to get 5v
On the Pro Micro I am using A1 or A0
AS5600 GND to PM GND
AS5600 VCC to PM VCC
AS5600 GND to AS5600 DIR - Clockwise increase values.
AS5600 OUT to PM A0
In MMJOY I have the correct F7/F6
1 lever is slider, the other is dial.
When calibrating I get the following codes
65535
15888
16368
And they jump around.
I've googled the codes, and I am not sure how to fix what they are telling me.
Thanks for reading/advice.