This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to open longrange fec function?

Hello

    I'm testing nrf52820 longrange speed, but it's faster than my calculations. Will it automatically turn on the fec?

    This is my config below.

    m_adv_params.primary_phy   = BLE_GAP_PHY_CODED;
    m_adv_params.secondary_phy = BLE_GAP_PHY_CODED;
Below is the bag I grabbed, s=8
Test speed
This is my calculated theoretical speed(send packet 244Byte)
send packet need time
access address + ci + temr1 + pdu(header+payload)+ crc + term2 = 32bit+2bit+3bit+(244+3+2+2+2)*8*8bit+24bit*8+3bit*8 = 16445bit
speed = 16445bit/125kbit = 131.56ms
empty packet need time
access address + ci + temr1 + pdu(header)+ crc + term2  = 32bit+2bit+3bit+2*8*8bit+24bit*8+3bit*8 = 381bit
speed = 381bit/125kbit = 3.048ms
send speed 
244byte/131.56ms+3.048ms+150us*2 = 1808Byte/s
But I got 2.8kbyte/s so I think i make something wrong. Can you give me some advice?
Parents Reply Children
No Data
Related