Discussion in "Project Help" started by    siddique    Aug 25, 2014.
Sat Aug 30 2014, 04:03 PM
#11
Forgot to attach files. This has source for both RX and TX you can do it by defining macro like:

#define TX_MODE //for tx
//or
#define RX_MODE

Thu Aug 18 2016, 01:40 PM
#12
I have two 8051 that interfaces with nRF24l01. One act as transmitter and another one is receiver. Here i am transmit and receive 1 byte character. My transmitter is working fine. How i am saying is, when i payload the data TX_DR bit is set. So only i am saying transmitter is working. SPI is working well. But receiver is not receiving anything. please help me out.

MY PAYLOAD WIDTH IS 1 BYTE BOTH TRANSMIT AND RECEIVE.

TX LOGIC :

CE = 0;
TX_ADDR    : 5BYTE ADDRESS 
RX_ADDR_P0 : 5BYTE ADDRESS
EN_AA      : 0X00   (DIABLE AUTO ACK)
SETUP_PETR : 0X1A   (Auto retransmit: wait 500us, 10 retries)
RF_CH      : 0X6E   (Set frequency channel 110 (2.510MHz))
RF_SETUP   : 0X07   (Setup: 1Mbps, 0dBm, LNA on )
W_TX_PLOAD : 0XA0   
SEND DATA  : 'A'    (HERE I AM TRANSMITTING ONE CHARACTER)
CONFIG     : 0X0E   (Config: CRC on (2 bytes), Power UP, RX/TX ctl = PTX)
CE = 1;
DELAY(10uS);
CE = 0;


RX LOGIC

CE =0; 
RX_ADDR_P0 : 5BYTE ADDRESS 
EN_AA      : 0X00   (DIABLE AUTO ACK)
EN_RXADDR  : 0X01
RF_CH      : 0X6E   (Set frequency channel 110 (2.510MHz))
RX_PW_P0   : PAYLOAD WIDTH
RF_SETUP   : 0X06   (Setup: 1Mbps, 0dBm, LNA oFF )
CONFIG     : 0X0F   (Config: CRC on (2 bytes), Power UP, RX/TX ctl = PRX)
Then receive buffer.


this is my configuration of tx and rx mode. if you have any doubt in my question just ask me. please solve my problem. SPI is working well. problem is receiving side, i think so. help me soon.... thanks in advance

Get Social

Information

Powered by e107 Forum System

Conversation

hareeshchamiyar
Thu Mar 29 2018, 10:47 AM
please help me for the configuration bits for dspic30f2010
hareeshchamiyar
Thu Mar 29 2018, 10:45 AM
can any one using dspic30f2010.
Thu Mar 29 2018, 06:03 AM
Neena
can anybody give solar tracking in 8051 using proteus and keil to mail [email protected]
ExperimenterUK
Mon Mar 19 2018, 07:33 PM
sorry bedo.. maybe next time
Sun Mar 18 2018, 07:48 AM
Mourya Manojkumar
Please send me circuit diagram and PCB diagram
Thu Mar 01 2018, 05:49 AM
Felixc
May you please help me with a code for programmable load shedding controlling 4 loads
Sun Feb 25 2018, 08:29 PM
ezeoke.charles
i need of it
Sat Feb 24 2018, 03:35 AM
Aaquib
I want help for digital ic tester
ExperimenterUK
Tue Feb 20 2018, 04:01 PM
Join up.. and post your problem
Mon Feb 19 2018, 11:17 AM
ashishkumar
i needs help for my project

Downloads

Comments

jamiel
Sat Apr 14 2018, 12:47 AM
akrepkral76
Wed Apr 04 2018, 07:51 PM
samanthaeaves
Mon Apr 02 2018, 06:27 AM
rana2056
Sat Mar 31 2018, 02:11 PM
Darshanparabbnb
Mon Mar 26 2018, 07:17 AM
marttinsmarcio
Sat Mar 24 2018, 12:31 PM
LAMBO
Tue Mar 20 2018, 09:51 AM
bedo123
Mon Mar 19 2018, 07:48 AM

Online

Guests: 27, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37993
Newest member: jamiel
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Apr 16 2018, 08:49 PM
On the diagram, a diode feeds a rectified sine wav...
LAMBO Avatar
Posted By LAMBO
Mon Apr 16 2018, 06:39 AM
Hi sir i haven't connected any serial connec...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Apr 13 2018, 02:09 AM
I assume you are doing this project.http://www.805...
LAMBO Avatar
Posted By LAMBO
Thu Apr 12 2018, 06:51 PM
hii sir,I am working on ac motor controller .I hav...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 10 2018, 06:12 PM
The lpc214x has a 32-bit prescaler , so I would ...
Praneeth1299 Avatar
Posted By Praneeth1299
Tue Apr 10 2018, 09:16 AM
Hi,I'm generating constant frequency of 1hz and va...
akrepkral76 Avatar
Posted By akrepkral76
Sat Apr 07 2018, 01:57 PM
I have used diptrace.I think ı have recevied from ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Apr 07 2018, 01:45 AM
You will need to say which software you are using,...
akrepkral76 Avatar
Posted By akrepkral76
Fri Apr 06 2018, 12:22 PM
I have drawed many PCB board. But it is still not ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Apr 04 2018, 10:49 PM
Do you have a working HM2007 board as shown in the...