You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also noticing that a number of buffers (GSTAT, RAMPSTAT, & ENC_STAT) are marked with 0x21: read, flag register (read to clear), when they're in fact write to clear flags. I would think these should be 0x23, possibly even with the clear bits set in the tmc5160_defaultRegisterResetState so the flags are cleared on reset.
As for clearing bits on reset - we don't do that on purpose. We want the API to have as few side effects as possible, including not clearing flags automatically.
https://github.com/trinamic/TMC-API/blob/077adb2820f6f907878ef65ccd4ba6ca35489dd2/tmc/ic/TMC5160/TMC5160.h#L75 shows
0x3D
as reserved, but that's actually write-onlyENC_DEVIATION
. I'm guessing this is an error.The text was updated successfully, but these errors were encountered: