tripipy icon indicating copy to clipboard operation
tripipy copied to clipboard

SPI Master Channel 0 doesn't seem to work

Open S4WRXTTCS opened this issue 1 year ago • 0 comments

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.

S4WRXTTCS avatar Aug 17 '22 23:08 S4WRXTTCS