Northeastern-Electric-Racing / ProteusMC

Our fully custom, in-house dual HV motor controller
2 stars 0 forks source link

#4 SSI Encoder Driver #37

Closed benthacher closed 8 months ago

benthacher commented 8 months ago

Changes

Added driver for the RLS RM44SI SSI interface encoder. The encoder takes a SPI handle and configures it for RX only with a data size of 13 bits as specified by the datasheet, as well as providing a function to read the encoder and convert the counts to an absolute angle in radians.

Notes

RLS RM44SI Encoder Datasheet

Test Cases

Builds successfully

Checklist

It can be helpful to check the Checks and Files changed tabs. Please reach out to your Project Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.

Closes #4