9 years, 10 months ago.  This question has been closed. Reason: Too broad - no single answer

nRF24l01 k64f problem?

I am having problems getting the nRF module to transmit properly, I have connected the nRF24L01 module to the RF expansion pins on the k64f board, and compiled the nRF24l01p_hello_world program using the pinout:

 nRF24L01P my_nrf24l01p(PTD6, PTD7, PTD5, PTD4, PTC12, PTC18);

I receive the settings below from the k64f board through the serial link:

nRF24L01+ Frequency    : 2402 MHz
nRF24L01+ Output power : 0 dBm
nRF24L01+ Data Rate    : 1000 kbps
nRF24L01+ TX Address   : 0xE7E7E7E7E7
nRF24L01+ RX Address   : 0xE7E7E7E7E7
Type keys to test transfers:
  (transfers are grouped into 4 characters) 

The problem is that he code never makes it past the write function to transmit data. After debugging I find that the code hangs at this point in the write function within nRF24L01P:

while ( !( getStatusRegister() & _NRF24L01P_STATUS_TX_DS ) ) {

        // Wait for the transfer to complete

    }

Has anybody come across this problem before or have any ideas what the problem is?

Thanks.

I have same problem with nucleof411 . can any one solve this problem?

posted by Wi Ju 13 Feb 2015