Dear all, I've gone through the answers to Diepenpj's recent spiin/spiout questions, but I still miss something:
I'm using a 40X1 and I want to use spiin/spiout in combination with an LTC1298 (shiftin/out much like Diepenpj's ds1620).
The spiin command is (roughly) "SPIIN sclk,sdata,mode,(var/bits)" where sclk and sdata indicate the respective pins to be used.
For the 40X1 however there are fixed (!!!) pins for spi sck, spisdi and spisdo (in/out c3, in/out c4 and in/out c5). The compiler however does not accept "spiin port c3,port c4, 1, (var/bits)", nor does it accept spiin ,1, (var/bits) what one would may be expect in case of fixed pins.
Can anyone please just provide me with an real example of a full spiin or spiout command for the 40X1, just to see what I miss?
Thanks in advance,
Ronald Keus
I'm using a 40X1 and I want to use spiin/spiout in combination with an LTC1298 (shiftin/out much like Diepenpj's ds1620).
The spiin command is (roughly) "SPIIN sclk,sdata,mode,(var/bits)" where sclk and sdata indicate the respective pins to be used.
For the 40X1 however there are fixed (!!!) pins for spi sck, spisdi and spisdo (in/out c3, in/out c4 and in/out c5). The compiler however does not accept "spiin port c3,port c4, 1, (var/bits)", nor does it accept spiin ,1, (var/bits) what one would may be expect in case of fixed pins.
Can anyone please just provide me with an real example of a full spiin or spiout command for the 40X1, just to see what I miss?
Thanks in advance,
Ronald Keus