- Posts: 926
- Thank you received: 0
Remora - Rpi Software Stepping Using External Microcontroller via SPI
4 years 10 months ago #230104
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
shortest cable didnt fix it, just changed the the bad spi payload values
unrelated, what was the steps for setting the the thread speeds in the config.txt? ive been playing with the hal divider but I cant find where the info was posted
unrelated, what was the steps for setting the the thread speeds in the config.txt? ive been playing with the hal divider but I cant find where the info was posted
Please Log in to join the conversation.
4 years 10 months ago #230118
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
It was in the other topic on the 1.0rc
forum.linuxcnc.org/18-computer/43988-rem...ting?start=30#224743
loadrt remora chip_type=STM SPI_clk_div=16 PRU_base_freq=40000
BTW as a minimum for the Monster 8 as it's the same MCU as the SKR2
forum.linuxcnc.org/18-computer/43988-rem...ting?start=30#224743
loadrt remora chip_type=STM SPI_clk_div=16 PRU_base_freq=40000
BTW as a minimum for the Monster 8 as it's the same MCU as the SKR2
Code:
loadrt remora chip_type=STM
Please Log in to join the conversation.
4 years 10 months ago #230183
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I was reading some issues with marlin and the monster8 about using the sd card and the spi1 on exp2 at the same time, Im not 100% of its related to the pinout of the lcd screens/marlin configuration or not, but anyways, they are using a software pin instead of PA4 , so I did a software nss for spi1 cs pin but it did not seem to make a difference.
Also I noticed the robin doesnt deinitialize block device in main.cpp so i removed that section but still nothing.
I am stumped now as to where I go from here, or what to troubleshoot. I can start probing spi shit but ill have to read up about it first.
Also I noticed the robin doesnt deinitialize block device in main.cpp so i removed that section but still nothing.
I am stumped now as to where I go from here, or what to troubleshoot. I can start probing spi shit but ill have to read up about it first.
Please Log in to join the conversation.
4 years 9 months ago #230851
by Zuo99
Replied by Zuo99 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I want to know if you can use EXP1 instead of EXP2 when using skr v1.4 turbo
Please Log in to join the conversation.
4 years 9 months ago #230986
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
No, there is not an available SPI connection on EXP1, they are on EXP2 and the SD card.
Please Log in to join the conversation.
4 years 9 months ago #231101
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi Scotta,
with the sed arch max (stm32black) what spi port did you connect the pi to. ( i have just finished making the testbed so now messing with the boards )
with the sed arch max (stm32black) what spi port did you connect the pi to. ( i have just finished making the testbed so now messing with the boards )
Please Log in to join the conversation.
4 years 9 months ago #231164
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
The firmware is configured for comms on SPI1. Note that I have not tested this board myself but others have it working.Hi Scotta,
with the sed arch max (stm32black) what spi port did you connect the pi to. ( i have just finished making the testbed so now messing with the boards )
Please Log in to join the conversation.
4 years 9 months ago #231200
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
yeah I most likely stuffed something up I can't get linuxcnc to come out of the stop, and the hall pins are showing false on the spi out i have just modified the SKR2 config.txt and a modified remora-xyz.hal
if a fresh pair of eyes could have a quick look that would be apreciated
Attachment not found
Attachment not found
Please Log in to join the conversation.
4 years 9 months ago #231221
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I am assuming serial port is serial 1 I get my connection on cutecom but when I reset the board I get nothing in the terminal window. I installed the .bin file via stlink 2 and have config.txt on sd card, Led 2 lights when I have the sd card in the slot so that tells me it is accessing the card but that's it!
Please Log in to join the conversation.
4 years 9 months ago #231242
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Please Log in to join the conversation.
Time to create page: 0.236 seconds
