- Posts: 60
- Thank you received: 2
Remora - Rpi Software Stepping Using External Microcontroller via SPI
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 or Create an account 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
I'm not getting a spi signal out of raspberry pi according to my logic analyser that being said I now know why I threw it in a box in the corner a decade ago one of the input drivers is shot and supplied 12v to the stm32image missing /media/kunena/emoticons/whistling.png so 1 down grabbed a fresh one out of the box and try again
Please Log in or Create an account to join the conversation.
4 years 9 months ago - 4 years 9 months ago #231252
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
hey wazza, for the pins they go
SPI
pa4,pa5,pa6,pa7
uart
PA9,PA10
you have your reset pin set to PB8, so you will need to hook that up to the rpi aswell.
see if just loading the bin and the config on the sd card get results
edit, hey you have a blinky module on pa7 which we use for spi, so idk if that will work properly
SPI
pa4,pa5,pa6,pa7
uart
PA9,PA10
you have your reset pin set to PB8, so you will need to hook that up to the rpi aswell.
see if just loading the bin and the config on the sd card get results
edit, hey you have a blinky module on pa7 which we use for spi, so idk if that will work properly
Last edit: 4 years 9 months ago by cakeslob.
The following user(s) said Thank You: wazza77
Please Log in or Create an account to join the conversation.
4 years 9 months ago #231285
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Tanks cakeslob
blinky on pa7 was due to trying to use spi1 on pb3,4,5 etc but due to these being so configurable that was the choice. as for the bin on the sd card, I didn't know that these had a boot loader
blinky on pa7 was due to trying to use spi1 on pb3,4,5 etc but due to these being so configurable that was the choice. as for the bin on the sd card, I didn't know that these had a boot loader
Please Log in or Create an account to join the conversation.
4 years 9 months ago #231296
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
ok I have tried with the .bin on the sd card no change I am connected as cakeslob suggested, I scoped the pins I am not getting an sclk signal from the rpi I have i pi3 here I will try on tomorrow and a few other spi based devices that I should be able to connect to test things out
Please Log in or Create an account to join the conversation.
4 years 9 months ago #231374
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Sorry, you are correct it looks like there is no bootloader.
What does the terminal output from linuxcnc look like when you try and get out of estop?
Just to cover bases, you have the remora comp installed and the RPI has SPI turned on?
What does the terminal output from linuxcnc look like when you try and get out of estop?
Just to cover bases, you have the remora comp installed and the RPI has SPI turned on?
The following user(s) said Thank You: wazza77
Please Log in or Create an account to join the conversation.
Time to create page: 0.395 seconds