Xuan 8 Posted October 25, 2013 Share Posted October 25, 2013 I'm trying to setup an RF link between two MSP430 launch pad using NRF24L01+ modules. It's working at some level but have very strange issues: 1. I'm currently configuring them working at 1Mbps/2Mbps and they work perfectly. However, 250kbps never worked correctly for me: I can receive data packet but I can never have a correct packet. There are always a lot of wrong bytes in the received packet. 2. Even strangely, if I configure the the receiver side to run at 1Mbps, and leave the sender running at 250kbps, I get better result: it's now about only 20% incorrect packets. Here are the configurations for receiver side: REG_CONFIG: 30 REG_EN_AA: 00 REG_EN_RXADDR: 01 REG_SETUP_AW: 03 REG_SETUP_RETR: 00 REG_RF_CH: 10 REG_RF_SETUP: 07 REG_STATUS: 0E REG_OBSERVE_TX: 00 REG_CD: 00 REG_RX_ADDR_P0: 5C5C5C5C01 REG_RX_ADDR_P1: C2C2C2C2C2 REG_RX_ADDR_P2: C3 REG_RX_ADDR_P3: C4 REG_RX_ADDR_P4: C5 REG_RX_ADDR_P5: C6 REG_TX_ADDR: E7E7E7E7E7 REG_RX_PW_P0: 20 REG_RX_PW_P1: 00 REG_RX_PW_P2: 00 REG_RX_PW_P3: 00 REG_RX_PW_P4: 00 REG_RX_PW_P5: 00 REG_FIFO_STATUS: 11 REG_DYNPD: 00 REG_FEATURE: 00 Sender side has almost identical settings except the address. I'm not using auto-acknowledge and retry functionalists in my code since it's not working for my scenario (1 receiver and more than 10 senders with different addresses) Does anybody know what's wrong with it? Quote Link to post Share on other sites
bluehash 1,581 Posted October 25, 2013 Share Posted October 25, 2013 Maybe @@spirilis has a better idea. Quote Link to post Share on other sites
spirilis 1,264 Posted October 25, 2013 Share Posted October 25, 2013 Strange. No info on the code or library you're using though, can we see that? Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
ike 53 Posted October 26, 2013 Share Posted October 26, 2013 Xuan you can always use spirilis's lib: https://github.com/spirilis/msprf24 and https://github.com/spirilis/msprf24/tree/master/TESTPROGS/g2553 Quote Link to post Share on other sites
Xuan 8 Posted October 28, 2013 Author Share Posted October 28, 2013 Nevermind, i found the problem: I was using wrong RF settings for 250kbps. It's working now. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.