This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf24l01 playload datarate

When I have a test using nRF24l01+ with STM32, I can only get a playload datarate no more than 450kbps using nRF24l01+ 2M mode. How can increase the playload data rate and what is the maximum for the playload data rate? Thanks.

Parents
  • Hi,

    Thanks for you feedback. 1)The auto ACK NOT enable.I used maximum payload size (32). 2)In the testing, when a packer(32bytes) sent, 300-400us will wait for sending the next.It will take more than 500us to send a single packet.If this were is no wait, the receiver can not get correct packets. 3)The radio capability for the throughput is 2Mbps. In my testing, the sending throughput is much lower the capability .

    I also have a test for the EN_AA enabled, Looks the throughput is no more than 500kbps.

    In my testing, looks the receiver can not get the data immediately if keep a low error packet rate. The configuration as below: FOR TX: NRF24L01_CE=0;
    NRF24L01_Write_Buf(WRITE_REG+TX_ADDR,(u8*)TX_ADDRESS,TX_ADR_WIDTH); NRF24L01_Write_Buf(WRITE_REG+RX_ADDR_P0,(u8*)RX_ADDRESS,RX_ADR_WIDTH);

    NRF24L01_Write_Reg(WRITE_REG+EN_AA,0x00); 
    NRF24L01_Write_Reg(WRITE_REG+EN_RXADDR,0x01); 
    //NRF24L01_Write_Reg(WRITE_REG+SETUP_RETR,0x1a);
    NRF24L01_Write_Reg(WRITE_REG+SETUP_RETR,0x0);
    
    NRF24L01_Write_Reg(WRITE_REG+RF_CH,120);  
    //NRF24L01_Write_Reg(WRITE_REG+RF_SETUP,0x0f);
    NRF24L01_Write_Reg(WRITE_REG+RF_SETUP,0x0f); 
    //NRF24L01_Write_Reg(WRITE_REG+CONFIG,0x0e); 
    NRF24L01_Write_Reg(WRITE_REG+CONFIG,0x02); 
    NRF24L01_CE=1;
    

    FOR RX: NRF24L01_CE=0;
    NRF24L01_Write_Buf(WRITE_REG+RX_ADDR_P0,(u8*)RX_ADDRESS,RX_ADR_WIDTH);

    NRF24L01_Write_Reg(WRITE_REG+EN_AA,0x00);    
    NRF24L01_Write_Reg(WRITE_REG+EN_RXADDR,0x01);
    //NRF24L01_Write_Reg(WRITE_REG+EN_RXADDR,0x00);
    NRF24L01_Write_Reg(WRITE_REG+RF_CH,120);	  	  
    NRF24L01_Write_Reg(WRITE_REG+RX_PW_P0,RX_PLOAD_WIDTH);
    NRF24L01_Write_Reg(WRITE_REG+RF_SETUP,0x0f);
    //NRF24L01_Write_Reg(WRITE_REG+CONFIG, 0x0f);
    NRF24L01_Write_Reg(WRITE_REG+CONFIG, 0x03);
    NRF24L01_CE = 1; 
    

    Is there any unreasonable configuration?

    Thanks Yong

  • Hi Yong

    What is the SPI clock speed?

    Have you looked at the SPI communication with the scope to check how much of the time it is active?

    Best regards

Reply Children
No Data
Related