- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
16 Aug 2021 00:26 - 16 Aug 2021 00:28 #217851
by mhel
Replied by mhel on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Oh that one was when the gain was set to 5.0, I edited that post after I tried
the gain of 10.0. Althought the 5.0 setting improves a lot, this one is better.
streamable.com/ix3rz1
the gain of 10.0. Althought the 5.0 setting improves a lot, this one is better.
streamable.com/ix3rz1
Last edit: 16 Aug 2021 00:28 by mhel.
Please Log in or Create an account to join the conversation.
18 Aug 2021 12:51 #218070
by Roiki
Replied by Roiki on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Would it be technically possible to make remora into a usable can interface for Linuxcnc?
Many microcontrollers have can. Linuxcnc currently doesn't. Or use it to hook up custom electronics such as encoder counters?
Many microcontrollers have can. Linuxcnc currently doesn't. Or use it to hook up custom electronics such as encoder counters?
Please Log in or Create an account to join the conversation.
19 Aug 2021 22:13 #218183
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi, both software encoder counters and the LPC1768 QEI hardware encoder have modules in Remora. Theoretically we can create a module for any of the available hardware on the microcontroller.
I've got an STM32F407 sitting beside me, it's got even more peripheral options. Just need to get mbed working with it...
I've got an STM32F407 sitting beside me, it's got even more peripheral options. Just need to get mbed working with it...
Please Log in or Create an account to join the conversation.
20 Aug 2021 17:48 #218250
by Roiki
Replied by Roiki on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
i was more interested in using chips like ls7366r or ic-md for high speed encoders. and you could use multiple ics for multiple encoders. and also using the embedded can interface for connecting to motors and such.
Please Log in or Create an account to join the conversation.
20 Aug 2021 18:05 #218252
by Bari
Replied by Bari on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
You should start a new thread asking about using CAN.
Please Log in or Create an account to join the conversation.
20 Aug 2021 18:08 #218253
by Aaroncnc
Replied by Aaroncnc on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Will be interesting to see what chips this will support and the unique inputs they offer.
Please Log in or Create an account to join the conversation.
22 Aug 2021 16:15 - 22 Aug 2021 16:17 #218417
by gtt38
we should create a github repo. Which version of OS Mbed are you using ? (or trying to use)
Replied by gtt38 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I just received my SKR 2 so now i can help you.Hi, both software encoder counters and the LPC1768 QEI hardware encoder have modules in Remora. Theoretically we can create a module for any of the available hardware on the microcontroller.
I've got an STM32F407 sitting beside me, it's got even more peripheral options. Just need to get mbed working with it..
we should create a github repo. Which version of OS Mbed are you using ? (or trying to use)
Last edit: 22 Aug 2021 16:17 by gtt38.
Please Log in or Create an account to join the conversation.
24 Aug 2021 06:06 #218587
by scotta
Any help getting the "Hello world" working would be appreciated.
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi, I'm using OS5 and now have a custom target working when flashing with an ST-Link to the base address of 0x08000000. When re-flashing the standard bootloader (take an image of the MCU before blowing it away... yes I had to search hi and low for a copy on line), and changing the target.mbed_app_start to 0x08008000, which is the bootloader jump. The app fails... This may be due to the VECT_TAB offset but still trying to figure this out. Once I have a working "hello world" loading from SD card, I can move on to the SPI port. The rest should be straight forward using the work that Rommel has already done.
Hi, both software encoder counters and the LPC1768 QEI hardware encoder have modules in Remora. Theoretically we can create a module for any of the available hardware on the microcontroller.
I've got an STM32F407 sitting beside me, it's got even more peripheral options. Just need to get mbed working with it..
I just received my SKR 2 so now i can help you.
we should create a github repo. Which version of OS Mbed are you using ? (or trying to use)
Any help getting the "Hello world" working would be appreciated.
Please Log in or Create an account to join the conversation.
24 Aug 2021 21:36 - 24 Aug 2021 21:37 #218643
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Last edit: 24 Aug 2021 21:37 by scotta.
The following user(s) said Thank You: Bari
Please Log in or Create an account to join the conversation.
24 Aug 2021 21:44 - 25 Aug 2021 21:57 #218644
by mhel
Replied by mhel on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi Scott,
This might be of interest.
github.com/GadgetAngel/BTT_SKR_13_14_14T...R%20V2.0%20(SKR%202)
I managed to get the bootloader working.
Apparently you also have to change the VECT_TAB_OFFSET.
This might be of interest.
github.com/GadgetAngel/BTT_SKR_13_14_14T...R%20V2.0%20(SKR%202)
I managed to get the bootloader working.
Apparently you also have to change the VECT_TAB_OFFSET.
#define VECT_TAB_OFFSET 0x8000 /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
Edit this is my linker memory config:
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08008000, LENGTH = 1024K-32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
}
It took me a while and a whole lot of ducking (duckduckgo user since 10yrs).
The VEC_TAB_OFFSET is what make it worked.
Last edit: 25 Aug 2021 21:57 by mhel. Reason: grammar check
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.137 seconds