- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
- Krimbles13
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Oh and sorry again for my stupid questions.
see ya
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 897
- Thank you received: 265
The motors will move even if the TMC doesnt configure. motor0 and motor 1 are connected to the same output buffer, if the buffer is damaged motors0 and 1 wont get the enable signal it looks like
Please Log in or Create an account to join the conversation.
- Krimbles13
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
So the problem is still there
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 897
- Thank you received: 265
If the TMC drives dont get configured, they load the default settings, so your microsteps and current might not be what they are supposed to be.
Please Log in or Create an account to join the conversation.
- Krimbles13
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
The serial output didn't change.
Attachments:
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 897
- Thank you received: 265
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 897
- Thank you received: 265
Scott, if you can provide input/assistance on this issue, it would be appreciated.
Im trying to support this mellow flyCDY3 board, but the uart isnt working. I tried changing the baudrate, but no luck. Thankfully my buddy mdroberts is much smarter than me, so he collected some data for me on the issue.
It looks like i cant upload the excel file he made, but here is what he said
Further to the TMC2209 read-back. I used the scope UART decode feature to confirm that the programmed values sent to the TMC2209 seem reasonable and consistent with the registers, but the TMC2209 doesn't put any data out after a register read is requested. The sequence after resetting the board is provided in the attached.
I just don't see any output from the 2209 when a register read is done.
Please Log in or Create an account to join the conversation.
- Krimbles13
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- scotta
-
- Offline
- Platinum Member
-
- Posts: 911
- Thank you received: 472
github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
Please Log in or Create an account to join the conversation.
- scotta
-
- Offline
- Platinum Member
-
- Posts: 911
- Thank you received: 472
For those interested, the testing repo is:https://github.com/scottalford75/Remora-STM32H7xx-PIO
Inspired by the great work done by Sean McCully, github.com/seanmccully , the Remora code base has been significantly been reworked:
Remora is now a class of it's own
Communication is now handled via a comms handler, with hardware abstraction via a CommsInterface class
Hardware agnostic by creating hardware specific classes in main and then passing them over to the Remora constructor
The next steps....
Setup a organisation repo for Remora. We need a repo name as Remora is already taken

Setup the core Remora repo
Test the submodule approach with the STM32H7 work to date
Test with STM32F4 etc
BTW, TMC5160 support is working in the H7 testing repo so were not too far off having this across other boards as well.
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI