The Release Candidate version of the firmware supports those encoders natively. Hook up CLK, MISO, and the two CS pins (GPIO 8 and GPIO 7 shown below, but that’s configurable).
Thank you!
And another question.
AMT20-V
Command 0x10: rd_pos (read position)
Command 0x70: set_zero_point (zero set)
How do I set config? and how to send command by odrive native protocol?
Hi, I am testing your release candidate version of the firmware. I am a bit confused about the encoder doc (https://github.com/madcowswe/ODrive/blob/rc-v0.5.1/docs/encoders.md). It mentioned “The encoder’s SCK, MISO (aka “DATA” on CUI encoders), GND and 3.3V should connect to the ODrive pins with the same label.” I have CUI AMT232B encoder, it requires 5v power supply. Should I tie 5v to 3.3v from Odrive or 5v from Odrive please?
Hello
I’m having a hard time getting the second encoder working. I have 2x AS5047p encoders and a 24V v3.6 board.
With only one encoder it works well. For one axis I have MOSI connected to 3.3V.
For 2 axis I connect all MOSI to MOSI, all MISO to MISO and use a sperate GPIO for chip select (CSn), in my case GPIO 4 and 5.
Ok, just googled tri-state buffers. I think that that the chip select is active low, so in that case I would need 1 of these (CD74HC125E) and then need to connect the enable pin for each to the chip select for that axis. Is this correct?
Did support for this encoder ever get added? I am using a the Odrive pro and can’t get the AS5147U working.
I have ordered the supported encoder but we are on a very tight deadline and this is all I have currently. Would be happy to contribute the code change.