Not able to update connection parameters

I am using MS12SF1 module which has nrf5340 soc.

I am able to advertise but not able to connect. To update the connection parameters I added the following commands in prj.conf file

CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y
# CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=y
CONFIG_BT_CONN_PARAM_UPDATE_TIMEOUT=500
CONFIG_BT_PERIPHERAL_PREF_MIN_INT=400
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=450
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0
CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=500

Also this module doesn't work with the default clock, so enabled 

CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_SOC_ENABLE_LFXO=n  
But after updating also, the connection parameters are not changing, it displays the below line only

 Connection parameters: interval 48 ms, latency 0 intervals, timeout 5000 ms

  • Hi Rakshita

    If you get a log message about connection parameters then it seems like you were able to connect, since you can only negotiate connection parameters after the connection has been established. 

    Also, I wouldn't recommend using synthesized LF clock if you care about power consumption, then using the internal RC oscillator is a better option. Please read through this ticket for more information about how to enable this. 

    It would be helpful if you can share the full log when the program runs. Please use the Insert -> Code feature in devzone when including larger blocks of text. 

    Best regards
    Torbjørn

Related