This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

DTM and softdevice

Hello

When refering to the documentation its stated: "The DTM application is stand-alone. Therefore the S110 SoftDevice must be erased in the nRF51822 device. " Is this entirely true, or is it just enough to disable the softdevice ? I am looking into a solution where we can flash bootloader, softdevice and application including DTM functionality in one go. Thanks in advance.

  • Yes, You can just disable the soft device. There is an example code located at nrf51822/Board/nrf6310/s110/ble_dtm

  • Michael is correct, to elaborate further I'll describe what we do. DTM is used in production testing. When our device powers up the first thing we do in main is to check the state of a GPIO pin. If it is high we proceed to start the soft device and run "normally". If the pin is low we do not start the soft device and instead boot into DTM mode and allow DTM to control the radio. The soft device is always programmed.

  • Are any other way to switch Normal mode and DTM mode? there is no GPIO pin except uart on my product...

  • You could create a custom service with a write characteristic. Have a write to that characteristic trigger going from normal mode to DTM mode. The example @michael.crapse pointed out how to do this on a button press. No reason you couldn't do the same on a write to a specific characteristic.

Related