Go Down

Topic: 3-wire Serial Configuration Interface (Read 1 time) previous topic - next topic



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?



Dec 12, 2012, 12:51 pm Last Edit: Dec 12, 2012, 12:53 pm by Graynomad Reason: 1
Looks like a variation of SPI to me but the SS is used to clock data in.

Rob Gray aka the GRAYnomad www.robgray.com


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

Code: [Select]
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 Gray aka the GRAYnomad www.robgray.com


ok.. I have to look at this forst since I don't get right know...
Thx for the answers...

Go Up