dhruv89
Newbie level 2
![Newbie level 2](/styles/images/ranks/alevel2.gif)
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!!!!!
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!!!!!