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 Nov 08 2017, 07:05 PM
Anirudh jain
I want to burn code in atmel 89s51 24pc 0329 but cannot get the connection with the burner. Can somebody provide me with the circuit diagram for connecting controller to burner. I'm using usb burner
Thu Nov 02 2017, 05:14 PM
karpal
write a program to exchange the content of b register with external RAM address 02CFH help me
Wed Nov 01 2017, 11:17 PM
sanae
i am using the DHT11 but i'm getting some errors in the simulate the programe in proteus 8 professional,: 1)cannot find model file 'DHTXX.MDF'.2)simulation failed due to netlist linker error(s).
Fri Sep 29 2017, 08:15 AM
Maaz
i am doing the same project on verilog please contact me [email protected]
Wed Sep 20 2017, 06:06 AM
Ted
In a missing pulse detector using a 555 timer connected as a monostable vibrator with a PNP transistor,how does the positve input pulse turn on the PNP transistor?
Sun Sep 03 2017, 07:59 PM
martymarty
How do I connect an <NOKIA 1100 LCD > to an atmega328P ?
poojab51296
Sun Aug 20 2017, 03:53 PM
i am intending to interface sd card with STM32F4 and want to write a file in sd card using SPI protocol but using HAL only. Can anyone help me PLEASE!!!!
poojab51296
Sun Aug 20 2017, 03:52 PM
hello
rawat742
Fri Aug 18 2017, 05:07 PM
hi @ angel patel i will attach a file i hope it will be helpfull for you
ExperimenterUK
Tue Aug 15 2017, 03:27 AM
@ angel patel... just log in and post your problem

Downloads

Comments

Wed Nov 15 2017, 10:46 AM
Ansh12
Sat Nov 11 2017, 03:43 AM
AngelGT93
Fri Nov 10 2017, 06:53 AM
JardCrocker
Wed Nov 08 2017, 05:27 PM
vivitern
Tue Nov 07 2017, 09:08 AM
catrons
Sat Nov 04 2017, 10:46 PM
JFTech
Fri Nov 03 2017, 05:58 AM
Sindhuspoo
Wed Nov 01 2017, 04:32 AM

Online

Guests: 60, Members: 0 ...

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

Members: 37916
Newest member: [email protected]
Forum Activity
Ansh12 Avatar
Posted By Ansh12
Fri Nov 17 2017, 04:07 AM
I am looking keypad interfacing program. I was rea...
JardCrocker Avatar
Posted By JardCrocker
Wed Nov 08 2017, 05:29 PM
Hi...i am a new user here. I was also facing the s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 07 2017, 07:13 PM
> It employs a fairly advanced technique to detect...
vivitern Avatar
Posted By vivitern
Tue Nov 07 2017, 09:33 AM
I own a used Clavia ddrum4 SE drum module. It empl...
bvdb Avatar
Posted By bvdb
Wed Oct 18 2017, 01:50 AM
I purchased the RKitL51 8051 C compiler from Raiso...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Oct 16 2017, 11:44 PM
That looks complicated.Is 8051_BLK a standard 80...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 15 2017, 07:29 PM
According to this, gmail should support POP3.https...
Help Avatar
Posted By Help
Sun Oct 15 2017, 03:21 AM
AT+POP3READ=? +POP3READ: (1-1460) OK AT+POP3READ=...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 14 2017, 08:06 PM
What happens if you ask for the full email ieAT+PO...
Help Avatar
Posted By Help
Sat Oct 14 2017, 02:28 AM
Dear all, AT // OK // 3.1 Bearer profile // Conf...