where is the source code to enter dtm?

Hi,

    From https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/direct_test_mode/README.html, it writes "After programming the sample to your development kit, you can test it in three ways.....". It means after programming image to dk, I can test dtm directly.

    But I traced source code, I can't find where to enter dtm. The flow of code:

- dtm_init() :  clock_init() -> timer_init() -> gppi_init() -> radio_init()

- dtm_uart_wait_init()

- dtm_tr_get() : wait user input two bytes data

I don't know where is the step to enter dtm. Could you tell me what device do to enter dtm and where is the specific code?

Thank you.

    

Related