elros1 has quit [Read error: Connection reset by peer]
mmarc__ has quit [Ping timeout: 272 seconds]
apritzel has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
apritzel has quit [Ping timeout: 240 seconds]
netlynx has quit [Quit: Ex-Chat]
vagrantc has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
apritzel has joined #linux-sunxi
freemangordon has quit [Ping timeout: 260 seconds]
random_yanek has quit [Read error: No route to host]
random_yanek has joined #linux-sunxi
random_yanek has quit [Read error: No route to host]
random_yanek has joined #linux-sunxi
Jin^eLD has joined #linux-sunxi
<Jin^eLD>
hi, I hope it's not too off-topic here, I was going to try out SPI on an old cubietruck and found out that those expansion ports have weird pins, smaller pins that everything else; the linux-sunxi wiki says "The cubietruck exposes 2 2.0 mm pitch connectors..." and hints what standard cable would work there or what to google for?
<Jin^eLD>
allthough a question prior to that would be - does SPI work there, maybe there is no point looking for a cable :)
<Jin^eLD>
I want to hook up an accelerometer
<ats_>
It's probably cheating, but I've used wire-wrap to connect to the Cubietruck's pins in the past - if you've got a wire-wrap tool and only need a few pins it works pretty well...
<Jin^eLD>
well that option of course always remains :) but I was hoping someone would have figured out something that'd match..
<Jin^eLD>
I could probably also try to squeeze the dupont sockets somewhat and see how that works out, but I'd prefer somethng "native"..
<Jin^eLD>
I'm using it with klipper for 3d printing, so kind of aiming for a robust setup
cmeerw has quit [Ping timeout: 246 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
<apritzel>
Jin^eLD: I haven't tried on 2.0 mm headers, but don't those PH 2.0 headers should fit?
<Jin^eLD>
apritzel: aren't those always single row and with a special plastic form to snap in?
<apritzel>
Jin^eLD: I haven't seen a single pin, as with its 2.5 mm siblings, but there are 2pin, 3pin and other sizes available, should be good enough
<apritzel>
Jin^eLD: yes, it's not the same as the 2.5mm ones, but for just connecting to the SPI pins it should work?
<Jin^eLD>
let me see, i m ay actually ahve something like that here
<apritzel>
Jin^eLD: and yes, SPI should work on the A20
<apritzel>
Jin^eLD: ah, the pins are next to each other in both rows, this might be a problem
<Jin^eLD>
ha! good call on the this connector
<Jin^eLD>
I found a 6 pin one here
<Jin^eLD>
can I assign any pin to SPI i.e. is it configurable?
<Jin^eLD>
then the 2nd row would not really matter
<Jin^eLD>
I am not connecting anything else there
jstein has joined #linux-sunxi
<Jin^eLD>
apritzel: thank you! :)
<apritzel>
Jin^eLD: there is *some* flexibility, but not any pin
<apritzel>
let me check ...
<apritzel>
Jin^eLD: no, in this case it's only those 8 pins, for SPI0 and SPI2 that are usable
<apritzel>
you *might* be able to select another CS pin (any GPIO), but that doesn't really help you, I guess
<Jin^eLD>
which ones exactly, i.e. where did you look it up?
<Jin^eLD>
it has two of those double pin rows one of each side of the board
<apritzel>
Jin^eLD: in the Port Configuration Table in the A20 user manual
<apritzel>
Jin^eLD: and then at the description of the Cubietruck in the Wiki
<Jin^eLD>
oh ok, so the info is all there, I did not yet continue on that side of things - was looking for a connector :P