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

Thu May 25 2017, 05:25 AM
Monir Hossain
Can i change the 7-Segment are common pin ? And how to?
Mon May 08 2017, 12:45 PM
ivan muvunyi
please can you send me wiring diagram for automatic control of 3 phase induction motor for production of maize flour
Wed May 03 2017, 08:39 PM
imran qureshi
hello friend
Sun Apr 30 2017, 05:49 AM
Lijin G Varghese
Can u send me the circuit diagram for Program to interface GSM Module with 8051 microcontroller (AT89C51) using PC and LCD
Fri Apr 28 2017, 03:47 PM
SANDEEP T S
I need pcb wizard 3.5 version kindly send valid link of yours
ExperimenterUK
Mon Apr 17 2017, 11:56 PM
Sorry..We had a problem with registration.Confirmation emails were not sent.Please re-register
Thu Apr 13 2017, 07:29 PM
Piyush Aughad
I want circuit & program for radar detection using Microcontroller 8051
Tue Apr 11 2017, 03:27 AM
Shabbir Ahmed
Hi Ajay ....hope you and your family all will be fine are you working on andriod aplications if yes then plz reply me
Sun Apr 09 2017, 06:33 PM
ATHULYA NAIR
Dear Sir, I need to know what are the complexity for programming in 8051 Microcontroller for three phase inverter?
Sun Apr 09 2017, 06:32 PM
ATHULYA NAIR
Dear Sir,

Downloads

Comments

Gaurav9527
Tue May 23 2017, 10:24 AM
rapushh
Tue May 23 2017, 10:22 AM
lubnakhan
Sat May 20 2017, 10:23 AM
Utsavi
Wed May 17 2017, 10:35 AM
Samimash
Tue May 16 2017, 01:15 PM
gangusa
Mon May 15 2017, 04:34 AM
raghuzala
Sun May 14 2017, 02:32 PM
Prakashlimbachiya
Sat May 13 2017, 07:34 AM

Online

Guests: 68, Members: 0 ...

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

Members: 37829
Newest member: Gaurav9527
Forum Activity
yogesh puri Avatar
Posted By yogesh puri
Thu May 25 2017, 10:33 PM
dear sirif i simulate the above program in keil it...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed May 24 2017, 09:42 PM
If you run the display in 4 bit mode and share pin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed May 24 2017, 09:27 PM
Please post your code and Proteus file.
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed May 24 2017, 09:23 PM
i am unable to simulate following code in protous...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 24 2017, 05:01 AM
Duplicate post of http://www.8051projects.net/t651...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 24 2017, 05:00 AM
All I can say looking at the post is "insufficient...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 24 2017, 04:58 AM
(the 3 motorsteppers need to move independently, b...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 24 2017, 04:55 AM
I am never sure with Proteus keypad. They always h...
yogesh puri Avatar
Posted By yogesh puri
Tue May 23 2017, 10:36 PM
i am unable to simulate following code in protous....
yogesh puri Avatar
Posted By yogesh puri
Tue May 23 2017, 10:34 PM
i am unable to simulate following code in protous...