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

Radio Load Test

I'm doing a load test on radio.In 1Mbps mode, the transmission time of the radio with different loads.

For a packet size of 65 bytes, I used this test:

nrf_gpio_pin_toggle(check_time_io);

clear_rf_interrupt(); 


NRF_RADIO->PACKETPTR = (uint32_t)&tx_packet[0]; 

NRF_RADIO->TASKS_TXEN = 1U; 

wait_rf_irq(1200);

nrf_gpio_pin_toggle(check_time_io);

Use the logic analyzer to capture pin changes.

Theoretically, 65Byte takes 520μs, but this measure only takes 212μs.

Theoretically, 45Byte takes 360μs, but this measure only takes 90μs.

Theoretically, 40Byte takes 320μs, but this measure only takes 21μs.

Theoretically, 20Byte takes 160μs, but this measure only takes 210μs.

That's a big difference, and it's a weird change. Did I test it in the wrong way?

Parents Reply Children
No Data
Related