Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI Master Channel 0 doesn't seem to work #14

Open
S4WRXTTCS opened this issue Aug 17, 2022 · 0 comments
Open

SPI Master Channel 0 doesn't seem to work #14

S4WRXTTCS opened this issue Aug 17, 2022 · 0 comments

Comments

@S4WRXTTCS
Copy link

I'm using this code with a Raspberry PI 4 (SD image with 2022-04-04-Raspios bullseye) + PI 4 Click Shield + Silent Step click, and I'm not able to get Channel 0 (Slot 1) to work.

Slot 2 with Channel 1 seems to work.

It seems to ignore the spiChannel selection as it will always say "using SPI Master on Channel 1) regardless of what the channel selection is set to.

Unrelated to this it wasn't actually easy for me to use the Silent Step Click with the Raspberry PI 4. For some reason if I leave it unmodified then the Raspberry PI 4 doesn't boot. I did discover that if I remove the 5VDC to Click board, and instead use the 5V_Out of the TMC5130 chip itself (going to VCC on the chip) then it works as long as I power the VM of the Silent Step click after booting the Raspberry PI 4.

The Silent step Click also has one major drawback in the fact that the enable isn't brought out to a GPIO pin as soon as the code runs it brings a lot of current into the motor, and leaves it on. It needs be programmatically turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant