Mag Encoders and Swerve Drive FRC

We are creating a swerve drive using MK4s. We are using CTRE mag encoders and NEO brushless motors and CANSparkmaxes. We are trying to wire to encoder with the DIO port however the encoder is not lighting up. We are deciding whether we use the 10 pin data port on the SparkMax or if there is a better method. Thank you for any help you may provide. We appreciate any photos of any other teams successful methods.

-Gryphon Robotics

1 Like

Here is a topic from earlier this year about connecting the CTRE Mag Encoder to Spark Max

https://docs.revrobotics.com/sparkmax/operating-modes/alternate-encoder-mode