spirilis

[Energia Library] Nordic nRF24L01+ library

352 posts in this topic

Looks like I should have listened to Fmilburn all along. Adding the decoupling cap fixed the problem. I'm now able to transmit from the launchpad to the module on the breadboard.

Thanks guys!

 

Share this post


Link to post
Share on other sites

Hi Spirillis, your library for nrf module has been very useful for me in my project. I need to extend it to multiceiver, so I made a few changes

 In Enrf24.cpp 

1)  _writeReg(RF24_EN_RXADDR, 0x03)  to      _writeReg(RF24_EN_RXADDR, 0x07)

 

2) void Enrf24::setRXaddress(const void *rxaddr1)

{ _writeRegMultiLSB(RF24_RX_ADDR_P1, (uint8_t*)rxaddr1, rf_addr_width);} 

to

void Enrf24::setRXaddress(const void *rxaddr1,const void*rxaddr2)
{ _writeRegMultiLSB(RF24_RX_ADDR_P1, (uint8_t*)rxaddr1, rf_addr_width);

_writeRegMultiLSB(RF24_RX_ADDR_P2, (uint8_t*)rxaddr2, rf_addr_width)

}

 

and I changed definitions correspondingly in Enrf24.h

To test this, in the transmitter side, I am sending data to rxaddr2, but I am not getting any output from the receiver side. Is there anything I am missing here?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now