- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
28 Dec 2021 01:52 - 28 Dec 2021 01:52 #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
Last edit: 28 Dec 2021 01:52 by cakeslob.
Please Log in or Create an account to join the conversation.
28 Dec 2021 04:20 - 28 Dec 2021 04:22 #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
loadrt remora chip_type=STM
Last edit: 28 Dec 2021 04:22 by scotta.
Please Log in or Create an account to join the conversation.
28 Dec 2021 23:13 #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 or Create an account to join the conversation.
05 Jan 2022 10:17 #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 or Create an account to join the conversation.
06 Jan 2022 20:49 #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 or Create an account to join the conversation.
08 Jan 2022 10:21 #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 or Create an account to join the conversation.
08 Jan 2022 20:27 #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 or Create an account to join the conversation.
09 Jan 2022 00:06 #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
Attachments:
Please Log in or Create an account to join the conversation.
09 Jan 2022 06:46 #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 or Create an account to join the conversation.
09 Jan 2022 12:47 #231242
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
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
Time to create page: 0.193 seconds