Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/08 07:35
Read: times


 
#149992 - Problem in interfacing CC2500 with 8051
Hello,

I am using the following :

processor: at89c2051
crystal : 11.0592 mhz
rf ic :cc2500
pull up resistor : 4.k

I am unable to write and read from the configurable registers, can anyone give a clue ?

Thanks

Sunish
---------------------
si equ p1.7
scl equ p1.6
so equ p1.5
cs equ p1.4
led equ p3.5

org 0000h
mov p1,#0ffh
clr led
clr scl
clr cs
jb so,$
setb led
mov a,#10h
clr c
mov r0,#8
sendx: rlc a
cpl scl ;1
mov si,c
cpl scl ;0
djnz r0,sendx
nop
mov r1,#8
recx: cpl scl ;1
mov c,so
rlc a
cpl scl ;0
djnz r1, recx
setb scl
nop
setb cs
mov r3,a
again: clr led
acall delay
setb led
djnz r3,again
sjmp $

List of 6 messages in thread
TopicAuthorDate
Problem in interfacing CC2500 with 8051            01/01/70 00:00      
   How to post source code            01/01/70 00:00      
   Schematic ?            01/01/70 00:00      
   cc2500            01/01/70 00:00      
      Why being so much secretive            01/01/70 00:00      
      Can we all be in on the secret...?            01/01/70 00:00      

Back to Subject List