Hello,
I'm trying to connect this magnetic encoder to use for FOC mode. My understanding is it's like the TS5700N8501 encoder, also with an output of RS-485. I believe their protocol is similar to the TS5700N8501, but I can't even find any documentation or tutorials on how to use even just the TS5700N8501. I can't paste the datasheet, but here are the protocols:
This is what Vesc Tool says to do for the TS5700N8501:
TS5700N8501 Encoder
This encoder uses RS485, so it has to be connected to the COMM port. A RS485-transceiver such as the ADM485 is required, where RX and TX are used as the data lines. ADC1 is used to trigger between RX and TX, which is needed as the communication is half duplex. To use this encoder, you have to make sure that no app uses UART or ADC1.
I've got the RS-485 to UART transceiver they recommended (breakout board: https://tinyurl.com/bdhesaxj). I have it hooked up like this for half duplex mode:
If anyone has any insight into how to get this encoder to work with vesc tool or even the TS5700N8501, that'd be extremely helpful.