From a8d06ffdae57f6ea01d3383997a42de9d27c7220 Mon Sep 17 00:00:00 2001 From: samuelsadok Date: Thu, 15 Oct 2020 10:53:29 +0200 Subject: [PATCH] [docs] change MOSI instructions for AMS encoders --- docs/encoders.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/encoders.md b/docs/encoders.md index d96f9f60..835cd879 100644 --- a/docs/encoders.md +++ b/docs/encoders.md @@ -162,8 +162,7 @@ Some of these chips come with evaluation boards that can simplify mounting the c 1. Connect the encoder to the ODrive's SPI interface: - - The encoder's SCK, MISO (aka "DATA" on CUI encoders), GND and 3.3V should connect to the ODrive pins with the same label. - - The encoder's MOSI should be tied to 3.3V (AMS encoders only. CUI encoders don't have this pin.) + - The encoder's SCK, MISO (aka "DATA" on CUI encoders), MOSI (if present on the encoder), GND and 3.3V should connect to the ODrive pins with the same label. If you want to save a wire with AMS encoders, you can also connect the encoder's MOSI to the encoder's VDD instead. - The encoder's Chip Select (aka nCS/CSn) can be connected to any of the ODrive's GPIOs (caution: GPIOs 1 and 2 are usually used by UART). If you are having calibration problems, make sure that your magnet is centered on the axis of rotation on the motor. Some users report that this has a significant impact on calibration. Also make sure that your magnet height is within range of the spec sheet.