How to completely turn off the radio (power consumption test)

SDK: nRF Connect SDK v2.9.0

Chipset: nRF52840

I'm using ncsv2.9.0nrfsamplesperipheralradio_test to test the RF.

The initialization code is as follows:

            struct radio_test_config test_config;
            memset(&test_config, 0, sizeof(test_config));
            test_config.type = UNMODULATED_TX;
            test_config.mode = NRF_RADIO_MODE_BLE_1MBIT;
            test_config.params.unmodulated_tx.txpower = RADIO_TXPOWER_TXPOWER_Pos8dBm;
            test_config.params.unmodulated_tx.channel = 2;
            radio_test_init(&test_config);
            radio_test_start(&test_config);

At this time, the measured current is approximately 15.35mA.

Cancel code:

radio_test_cancel();

After canceling the RF output, the measured current is about 15.3mA, which indicates that the radio does not seem to be turned off.

How can I completely turn off the radio?

Related