Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

ATmega16 SPI help....(CC2500)

Status
Not open for further replies.

dhruv89

Newbie level 2
Joined
Jul 3, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,300
can you please help me with how to use cc2500 with ATmega16.?

i'm first trying to establish SPI communication directly between 2 micros(test code).

now waht i'm nt sure is that

1.does CC2500 act as slave at both ends(i.e both micros act as master) or its just a replacement for the wire and one micro has to be made master and other slave.

2.if both micros are in master mode then will cc2500(at reciever end) atomatically send byte via MISO pin or some codeing will be needed.

3.can someone please also give the physical pin connection between the micro and cc2500.
from what i searched i guess connections are like:-
MISO ->SO
MOSI ->SI
SCLK ->SCK
SS ->Csn

am i right?

any kind of help would be much appretiated.....any suggestions, codes, tutorials....anything....
i'm a newbie at this.....

thanks in advance!!!!!
 

nileshgupta

Newbie level 6
Joined
Jan 26, 2011
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,363
yes CC2500 acts as slave at both ends and both micro controllers as masters and no coding is required CC2500 will automatically send the status byte at miso pin.

and the physical pin connection is

SCLK --------------------------->SCLK

MOSI---------------------------->SI

MISO<---------------------------SO

CSN(G1O)----------------------->CSN
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top