Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
4 years 9 months ago #231221 by wazza77
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.

More
4 years 9 months ago #231242 by wazza77
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.

More
4 years 9 months ago - 4 years 9 months ago #231252 by cakeslob
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
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.

More
4 years 9 months ago #231285 by wazza77
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

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

More
4 years 9 months ago #231296 by wazza77
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.

More
4 years 9 months ago #231374 by cakeslob
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?
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
Powered by Kunena Forum