Discussion in "Project Help" started by    rajavarmanslr    Aug 18, 2016.
Thu Aug 18 2016, 12:31 PM
#1
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


[ Edited Thu Aug 18 2016, 12:33 PM ]
Thu Oct 06 2016, 06:13 AM
#2
CE should be high when you go for reading mode/wait for packet to arrive. are you checking status register before doing a read?

Get Social

Information

Powered by e107 Forum System

Conversation

Wed Feb 22 2017, 06:14 AM
ChollyMo
Indeed, on the LCD tutorial, many missing Tables and figures !!
Wed Feb 22 2017, 06:06 AM
ChollyMo
I don't see any Table 3. I'm using Chrome.
Fri Feb 03 2017, 05:56 AM
irfan shaikh
hi, i want interface WS2811 pixel led using NUVOTON N79E352, but i dont know how to code it. can anyone help me or provide me sample coding for interfacing WS2811 PIXEL LED. THNX
Thu Jan 19 2017, 08:42 PM
abhays
Hi...i have made a circuit for interfacing PT100 with LM358 whose temperature is shown on the LCD...But the temperature is not getting incresed slowly ..a small change directly increses the temp...can any one help me
Thu Jan 19 2017, 04:27 PM
roba
send me alarm clock simulation using proteus software
Mon Jan 16 2017, 03:15 PM
Rutuja
How can we read notepad file using random acess file
Fri Jan 06 2017, 06:18 AM
muhammad Umar
i need cd4047 library file for protious please help me i s
ExperimenterUK
Wed Jan 04 2017, 09:01 PM
@Emin what is your site user name ?
Tue Jan 03 2017, 11:16 PM
Emin
Emin: I'm already a member since 2012 and entered repeatedly during period. But now it is impossible and obtaining a new registration is also failed. The same error message specifying that two e-mails i entered are different!. In fact thaey are the same. Now, what will be happen, what is your solution? Thanks..
Tue Jan 03 2017, 11:15 PM
Emin
I'm already a member since 2012 and entered repeatedly during period. But now it is impossible and obtaining a new registration is also failed. The same error message specifying that two e-mails i entered are different!. In fact thaey are the same. Now, what will be happen, what is your solution? Thanks..

Downloads

Comments

XuZiling
Wed Feb 22 2017, 02:40 AM
diwakar_96
Thu Feb 16 2017, 02:40 PM
Helia
Thu Feb 09 2017, 09:59 AM
fasihaftab
Sat Jan 28 2017, 08:58 AM
jmunjr
Tue Jan 17 2017, 06:25 PM
sarfrosh92
Sun Jan 15 2017, 09:18 AM
Deepakvaishu
Wed Jan 11 2017, 10:25 AM
rana_jee773
Sat Dec 10 2016, 11:22 AM

Online

Guests: 0, Members: ...

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

Members: 37801
Newest member: XuZiling
Forum Activity
XuZiling Avatar
Posted By XuZiling
Wed Feb 22 2017, 02:46 AM
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Feb 20 2017, 09:52 PM
The syntax should be like thisREC READ :"number w...
diwakar_96 Avatar
Posted By diwakar_96
Sat Feb 18 2017, 11:25 AM
Helia Avatar
Posted By Helia
Fri Feb 17 2017, 08:02 AM
The syntax should be like thisREC READ :"number w...
Helia Avatar
Posted By Helia
Fri Feb 17 2017, 04:20 AM
This is the proteus simulation and the code.. we a...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Feb 16 2017, 05:56 PM
HiThis is what we get on the lcd when we burn the ...
Helia Avatar
Posted By Helia
Thu Feb 16 2017, 04:37 PM
HiThis is what we get on the lcd when we burn the ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Feb 14 2017, 06:11 PM
Thank you when we send a message the message is no...
Helia Avatar
Posted By Helia
Tue Feb 14 2017, 06:18 AM
Thank you when we send a message the message is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Feb 11 2017, 09:22 PM
I made a few changes to make programming easier.Re...