Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
27 Oct 2024 03:03 - 27 Oct 2024 17:41 #313286 by cakeslob
fuck i dropped my octopus and broke the sdcard on my way to testing bench.

but our first catch of the day -
Nucleo f446 doesnt want to reconnect to RPi5. after the first time i connect to linuxcnc, the nucleo doesnt reconnect unless i reset the board. otherwise i get bad spi data, will investigate further.
doesnt happen on rpi4
my little STM32F411 board works great every time for some reason


edit, tested with my second favorite octopus, and everything seems fine, i will chalk this one up to jankly nucleo

i like how fast this rpi5 is
Last edit: 27 Oct 2024 17:41 by cakeslob.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
28 Oct 2024 14:13 - 29 Oct 2024 11:56 #313367 by OttoJiang
Does it support BTT SKR PRO V1.2?Should I edit the source code and recompile the firmware for it or just use  BTT_407?BTT SKR PRO V1.2's MCU is STM32F407ZGT6 teamgloomy.github.io/skr_pro_1.2_pins_3_5.html



I tried to add BTT SKR PRO V1.2 to the custom_targets.json, mbed_app.json and edit main.cpp.After compiling it, I got the fiemware.bin.I wll test it when my RPI is delivered.

 

File Attachment:

File Name: SKR_PRO_V1_2.zip
File Size:120 KB
Attachments:
Last edit: 29 Oct 2024 11:56 by OttoJiang.

Please Log in or Create an account to join the conversation.

More
01 Nov 2024 21:27 #313629 by Masiwood123
Greetings,
I have two nvem cards, I can't read all 80 pages of the post related to the implementation on linuxcnc, can you explain step by step the procedures of a short way to implement them on linuxcnc, in the shortest possible terms for those of us who have very little knowledge about programming. thank you
   
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Nov 2024 21:34 #313630 by scotta
Best to start with
www.forum.linuxcnc.org/18-computer/44828...c300-ec500-cnc-board

The board you have is an STM based board, which was the first Ethernet board to be supported. So the early part of the above thread covers the development and firmware installation stuff.
The following user(s) said Thank You: Masiwood123

Please Log in or Create an account to join the conversation.

More
01 Nov 2024 21:38 #313631 by scotta
Getting back to the topic of Remora SPI, I have pushed some updates to the repo to give command line options to specify the SPI number, CS number and frequency of the SPI interface for the RPi 5.

loadrt remora-spi SPI_num=0 CS_num=0 SPI_freq=20000000

Default frequency is 20Mhz, which is happily running on my Octopus, with Cakeslob's latest compiled firmware, without communication errors.

We'll need to update all the firmware to the latest. Thanks for your patience, but if there is a priority please let us know.
The following user(s) said Thank You: Masiwood123

Please Log in or Create an account to join the conversation.

More
01 Nov 2024 21:41 #313632 by Masiwood123
scotta thank you,I'll try to understand, I see that you explained the initial steps in a nice and photos way, so I'll see how far I'll go..thanks

Please Log in or Create an account to join the conversation.

More
01 Nov 2024 23:35 #313637 by cakeslob

We'll need to update all the firmware to the latest. Thanks for your patience, but if there is a priority please let us know.


yeah i compiled most of them but i havent tested it yet, ill compile the rest this weekend
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
04 Nov 2024 02:11 #313740 by cakeslob

Getting back to the topic of Remora SPI, I have pushed some updates to the repo to give command line options to specify the SPI number, CS number and frequency of the SPI interface for the RPi 5.

loadrt remora-spi SPI_num=0 CS_num=0 SPI_freq=20000000

Default frequency is 20Mhz, which is happily running on my Octopus, with Cakeslob's latest compiled firmware, without communication errors.

We'll need to update all the firmware to the latest. Thanks for your patience, but if there is a priority please let us know.


hey scott, with the ability to select the spi channel, do you think it possible to do multiple instances of remora using separate spi channels?

Please Log in or Create an account to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum