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

switch between softdevice and DTM

Hi Nordic team

I want to switch  between DTM and normal BLE by pressing the button.

It is base on two example ble_app_att_mtu_throughput and direct_test_mode.

Is there any effect on my existed value in my register?

Parents
  • Hi,

    It should not be a problem as long as you make sure to disable the SoftDevice before entering DTM mode, and make sure that you disable any interrupt sources before exiting DTM mode and starting the SoftDevice. The SoftDevice itself will configure all the relevant registers properly when it is initialized, so it does not relay on any registers having their reset/default values initially.

Reply
  • Hi,

    It should not be a problem as long as you make sure to disable the SoftDevice before entering DTM mode, and make sure that you disable any interrupt sources before exiting DTM mode and starting the SoftDevice. The SoftDevice itself will configure all the relevant registers properly when it is initialized, so it does not relay on any registers having their reset/default values initially.

Children
Related