AS5048 reading only half part of positions

Report your hardware problems here. Include as many details as possible with pictures to get the best possible help and feedback.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
GvB
Posts: 8
Joined: 15 Sep 2017, 20:39
Location: Eindhoven
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

AS5048 reading only half part of positions

Postby GvB » 12 Jan 2018, 17:09

I attached an AS5048 to my vesc with SPI, got rid of the filter, but got a problem.
The positions read are 180 degrees to 360 degrees in 1 full rotation. Position control works fine above 180 and data is jitter free. Not sure why it does not read below 180. From what I can read on Vesc forums this should work fine.
Research on interwebs reveals a similar problem when SPI mode is set to the wrong edge (rising or falling). This might be the case here , I do not know, symptoms are alike...
For me fixing the sourcecode is a bit beyond my reach (I think). I ordered AS3047's (instead of the AS3048's I've got)hoping that they will be the easy fix.
Nonetheless the problem is there. Not sure about how or why.
Vesc 4.12 by the way

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Hardware Problems”

Who is online

Users browsing this forum: No registered users and 1 guest