system
December 12, 2012, 10:05am
1
Hy
I try to get the CC1050 working which is a little Very Low Power RF Transmitter.
I tried to set it up with the datasheet http://www.ti.com/lit/ds/swrs044/swrs044.pdf
On page 12 it is described but I haven't used yet this 3 wire serial interface. I'm used to
I2C, UART so could someone help me getting this chip to work...
I barely found any info about this interface so is it not that common?
Thx
Andy
Looks like a variation of SPI to me but the SS is used to clock data in.
Rob
system
December 12, 2012, 12:22pm
3
hmm but SPI looks like:
And this interface from the data sheet:
I see, it has a bi-directional data line.
I think you'll have to DIY the protocol if you need to read from the chip. If you are happy to just write to it I think SPI or shiftOut() will work.
If you need to read I think something like this
digitalWrte (ALE_PIN, LOW);
shiftOut(DATA_PIN, CLOCK_PIN, MSBFIRST, address);
digitalWrite (ALE_PIN, HIGH);
result = shiftIn(DATA_PIN, CLOCK_PIN);
I assume that shiftIn/Out set the direction of DATA_PIN, if not you'll have to change that as well.
Rob
system
December 12, 2012, 1:49pm
5
ok.. I have to look at this forst since I don't get right know...
Thx for the answers...