Pages: [1]   Go Down
Author Topic: 3-wire Serial Configuration Interface  (Read 696 times)
0 Members and 1 Guest are viewing this topic.
Switzerland
Offline Offline
Sr. Member
****
Karma: 0
Posts: 276
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8594
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like a variation of SPI to me but the SS is used to clock data in.

______
Rob
« Last Edit: December 12, 2012, 06:53:37 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Switzerland
Offline Offline
Sr. Member
****
Karma: 0
Posts: 276
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hmm but SPI looks like:


And this interface from the data sheet:
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8594
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Switzerland
Offline Offline
Sr. Member
****
Karma: 0
Posts: 276
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: