topic_solved Duet 2 wifi accelerometer connection
I have been playing with the accelerometer on my delta with smart effector/Duet2wifi. I have a temperature sensor daughter board, so initially tried connecting with the daughterboard in place. The accelerometer was not recognised, although it's green led lit up. When connected directly to the header with the daughterboard disconnected, it worked!
Is this expected behaviour, or am I doing something wrong?
Congratulations on the update - looking good
SIam last edited by
@adrian52 I'm not really sure, but I can imagine that if you use the same CS signals that the daugterboard uses, this can lead to problems. Unfortunately I can't find a schematic of the daugterboard where you could see which cs lines are used. So i would just try the other cs lines.
Which spi.cs pin did you specify for it, and which CS pin on the top of the daughter board did you connect it to?
You would have needed to use spi.cs3 or spi.cs4(because spi.cs1 and spi.cs2 are used by the daughter board. Those pins are routed to the top of the daughter board on different pins (the pins that would be spi.cs1 and spi.cs2 respectively if those were routed straight through).
@dc42 I essentially followed the wiki, connecting cs to cs3 at pin 7 on the duet, and int1 to cs4 at pin 9, and putting M955 P0 C"spi. cs3+spi.cs4" in config.g. So when connecting via the daughterboard, I should connect cs to pin position 3, and int1 to pin position 1, to pick up cs3 and cs4?
Yes, that worked fine - thank you.