I can’t get two btt tmc5160’s to work on my manta m8p
I used the templates provided by RatOS but I can not for the life of me figure out what it is that I have wrong in the config file. I’ve added pin aliases and different settings but nothing I do will get past my board not being able to communicate over the SPI bus. Any help would be greatly appreciated
![No description](https://cdn.answeroverflow.com/1084147778759958568/B83486F5-35DC-4CC8-81D3-1B9679C848D6.jpg)
17 Replies
CM4 or CB1?
deep-jade•2y ago
Cm4. Sorry it took me a minute to come back
What error are you getting?
deep-jade•2y ago
![No description](https://cdn.answeroverflow.com/1084500922526355597/image.png)
deep-jade•2y ago
also your pin mapping is incorrect, everything on the board that talks SPI share the mosi/miso/sck pins and only differ in the CS pin
I just looked at the config files and your board's pinout - you don't have to lookup the pin, RatOS already has all the pins correctly mapped to aliases.
deep-jade•2y ago
![No description](https://cdn.answeroverflow.com/1084505052363890789/image.png)
deep-jade•2y ago
I’m getting a global scaler error
Ok I haven’t commented out the 2209 performance line. Let me try that now
deep-jade•2y ago
I just updated my second screenshot, realized I left off the stuff for the Z-axis TMC2209 drivers - you have to add them too due to commenting out the 2209 include
deep-jade•2y ago
Ok, I see. I was just going about it the wrong way. It’s a lot simpler than I thought
deep-jade•2y ago
this is sort of explained here: https://os.ratrig.com/docs/configuration/advanced-stepper-configuration
Advanced Stepper Configuration | RatOS
RatOS V1.1 introduced modularized stepper and driver configuration, this can be used for more fine grained control of your steppers. In your printer.cfg you might have noticed a section like this:
deep-jade•2y ago
however it's not as clear as it could be, Mikkel only has so much time to write up documentation so I understand why.
deep-jade•2y ago
I know how it is. Ratrig is still in its infancy. I knew that when I bought it and I like troubleshooting
Sometimes I just need a little advice
deep-jade•2y ago
don't we all 😉
deep-jade•2y ago
I suppose we do….or we would’ve bought an X1P
deep-jade•2y ago
oh I mean in life and about everything 😉