- Posts: 47
- Thank you received: 0
Remora - Rpi Software Stepping Using External Microcontroller via SPI
5 years 2 months ago #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
Please Log in to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #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)
Please Log in to join the conversation.
5 years 2 months ago #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 to join the conversation.
5 years 2 months ago #218643
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Please Log in to join the conversation.
5 years 2 months ago #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.
Code:
#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.
Please Log in to join the conversation.
Time to create page: 0.284 seconds
