-
now I used sample code of radio
-
change NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
-
In transmitter code , I change
while (true) { send_packet(); packet ++; nrf_delay_ms(1); __WFE(); }
-
In receiver code , I change
int oldrecv = -1; while (true) { uint32_t received = read_packet(); if(oldrecv != received-1) { NRF_LOG_INFO("%d\r\n", received); NRF_LOG_FLUSH(); oldrecv = received; } err_code = bsp_indication_set(BSP_INDICATE_RCV_OK); APP_ERROR_CHECK(err_code); }
-
result. Transport data 1KB/S, Data lose is about 80%.
-
question1, is my test right?
-
question2, how to solve this problem?
-
question3, how to test 2M bit ?