Connection Interval

Hi

How can I increase the connection interval of BLE radio from default value of 30mS-50mS  to 600ms in NRF5340-SDK.

Parents Reply Children
  • Hi

    As I explained before I am trying to increase the connection interval of peripheral_uart sample code.I

    have made many modifications to this sample to satisfy my application. For example I have changed 

    the baud rate from 115200 to 9600 and also the UART_BUF_SIZE from 32 to 251 bytes. All of these

    changes have been done successfully. The only remained problem is the connection interval.

    In my application I should transfer over 240 bytes of data over BLE radio while the UART baud rate

    is 9600. The default connection interval window of 35ms to 50ms is not enough for transferring 243

    bytes of data by 9600 baud in one burst. So I have to change the connection interval for this purpose. 

  • OK, so to summarize: you are able to change the baud rate, buf size and connection interval successfully when using NCS 1.6.1.

    When using NCS 1.8.0, you are able to change the baud rate and buf size, but when you try to change the connection interval your chip restarts repeatedly.

    Do I understand your problem correctly?

    -Einar

  • Hi

    Yes you are right. For your information I have a custom designed board with nrf5340.

    This board is working well with both versions of NCS. It might be the excess hardware

    installed on development board which causes this problem. Actually I have no problem

    with this issue and I have discussed it just for you information. Thank you very much

    for your invaluable guidance.   

Related