- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
09 Jan 2022 16:18 - 09 Jan 2022 16:22 #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: 09 Jan 2022 16:22 by cakeslob.
The following user(s) said Thank You: wazza77
Please Log in or Create an account to join the conversation.
10 Jan 2022 05:23 #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.
10 Jan 2022 10:46 #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.
11 Jan 2022 00:25 #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.
11 Jan 2022 03:14 #231384
by wazza77
and like I say I can't see any activity on the spi bus
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Yes the remora comp is installed and spi is on and this is the output from the terminal window I tried getting out of estop twiceSorry, 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
and like I say I can't see any activity on the spi bus
Attachments:
Please Log in or Create an account to join the conversation.
11 Jan 2022 04:12 #231390
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
It's not necessary to enable the RPi SPI in the raspi-config utility as the Remora component utilises a compiled in driver, not the spidev driver.
No SPI output is really strange and for I'd first eliminate anything on the controller board side by disconnecting it and just putting the logic analyser directly onto the Pi CLK and MOSI pins to ensure the Pi is outputting a read request header when the eStop button is pressed.
No SPI output is really strange and for I'd first eliminate anything on the controller board side by disconnecting it and just putting the logic analyser directly onto the Pi CLK and MOSI pins to ensure the Pi is outputting a read request header when the eStop button is pressed.
The following user(s) said Thank You: wazza77
Please Log in or Create an account to join the conversation.
11 Jan 2022 04:47 #231396
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
righto mate ill give that a try, when I scoped out the CLK pin I had it disconnected on a side note on the MISO, and MOSI pins are LEDs on this board that pulls the lines to 2v through a 510-ohm resistor is this set up to pull it low? also cs is high and I don't see it pulling it low
Please Log in or Create an account to join the conversation.
11 Jan 2022 13:38 #231440
by wazza77
Replied by wazza77 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
my logic analyzer looks doa so I just used the scope I'm not seeing anything on the pins when it's disconnected from the stm i will try to re do my linuxcnc installation tomorow it's almost midnight here need sleep
Please Log in or Create an account to join the conversation.
12 Jan 2022 02:57 #231518
by Zuo99
Replied by Zuo99 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Thanks to everyone in the forum for your help, I am currently using REMORA to complete the transformation of the 3D printer. My printer model is Prusa i3.
The problem I'm having at the moment is about Temperature
{
"Thread": "Servo",
"Type": "Temperature",
"Comment": "temp0",
"PV": "2",
"Sensor": "thermistor",
"thermistor":
{
"Pin": "0.23",
"beta": 5,
"r0": 10000,
"t0": 200
}
},
I use the skr1.4turbo board, I want to know how to set the parameters here, the bigtreetech document adopts this
temperature_control.hotend.thermistor EPCOS100K
I read the example on github. It seems to be set according to MKS SBASE. The skr board only uses the basic settings. Do you have similar work? Thank you for reading
Zuo
The problem I'm having at the moment is about Temperature
{
"Thread": "Servo",
"Type": "Temperature",
"Comment": "temp0",
"PV": "2",
"Sensor": "thermistor",
"thermistor":
{
"Pin": "0.23",
"beta": 5,
"r0": 10000,
"t0": 200
}
},
I use the skr1.4turbo board, I want to know how to set the parameters here, the bigtreetech document adopts this
temperature_control.hotend.thermistor EPCOS100K
I read the example on github. It seems to be set according to MKS SBASE. The skr board only uses the basic settings. Do you have similar work? Thank you for reading
Zuo
Please Log in or Create an account to join the conversation.
12 Jan 2022 13:13 #231562
by Aaroncnc
Replied by Aaroncnc on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
are you asking how to find the values for the beta r0 and t0?
www.ametherm.com/thermistor/ntc-thermistor-beta
Or if you want to trust other users data scroll down here for the values
reprap.org/wiki/Thermistor
// EPCOS 100K Thermistor (B57540G0104F000)
// Thermistor lookup table for RepRap Temperature Sensor Boards (make.rrrf.org/ts)
// Made with createTemperatureLookup.py (svn.reprap.org/trunk/reprap/firmware/Ard...TemperatureLookup.py)
// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4066 --max-adc=1023
// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4066
// max adc: 1023
www.ametherm.com/thermistor/ntc-thermistor-beta
Or if you want to trust other users data scroll down here for the values
reprap.org/wiki/Thermistor
// EPCOS 100K Thermistor (B57540G0104F000)
// Thermistor lookup table for RepRap Temperature Sensor Boards (make.rrrf.org/ts)
// Made with createTemperatureLookup.py (svn.reprap.org/trunk/reprap/firmware/Ard...TemperatureLookup.py)
// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4066 --max-adc=1023
// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4066
// max adc: 1023
The following user(s) said Thank You: Zuo99
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.132 seconds