Source code for Tx and Rx mode

Thread Starter

alkid

Joined Sep 20, 2007
12
Hi
Anyone try before any source code which use C8051F120DK to configure nRF24L01 into transmitter mode and receiver mode( as i have 2 nRF24L01)? :)
 

beenthere

Joined Apr 20, 2004
15,819
Source code? Rx is set by PWR_UP bit high, PRIM_RX bit high, and CE high. Tx is set with PWR_UP bit high, PRIM_RX bit low, and CE pulsed high for more than 10us - as long as there is a packet in the TX FIFO. This is just bit twiddling.
 

Thread Starter

alkid

Joined Sep 20, 2007
12
:confused: but like that i don't need initialization the C8051F120DK for its SPI peripheral. Okok sorry for so longwinded if like how i going to set what you said as i never really ever used or learnt both the C8051F120DK and nRF24L01 as the more i read about them the more i getting confused. :)
 

Papabravo

Joined Feb 24, 2006
20,128
You seem to be between a rock and a hard place. None of us have any experience with that setup either so I guess you're just going to have to buckle down and figure this stuff out. I don't know what you expect us to do for you.
 

Thread Starter

alkid

Joined Sep 20, 2007
12
i don't expect anything i just thought there might be people who know have experience with it sorry for being as annoying :(
 

Papabravo

Joined Feb 24, 2006
20,128
Nobody said it was annoying. We just don't have any familiarity with the setup. The documentation is inadequate to answer your problem. I'm at a loss to figure out how the people who make this stuff expect people to deal with it. That's not your fault. You may have purchased pieces that are beyond your ability to use. It happens.
 

Thread Starter

alkid

Joined Sep 20, 2007
12
ya i have seen but sad to say i can't use that source code as i used C8051F120DK not the MCU itself on the nRF24F01. :)
 
Top