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

Unmodulated TX Carrier and softdevice

Hi!

Is it technically possible to implement performing of unmodulated TX carrier transmission by a write to some BLE characteristic? If yes, then from what to start?

Thank you!

Parents
  • I guess that you could, as all DTM, radio test functions are available from with the SDK, but you wouldn't be able to receive any BLE communications after doing so.

  • I've tried this procedure in my project

        NRF_RADIO->SHORTS          = 0;
        NRF_RADIO->EVENTS_DISABLED = 0;
        NRF_RADIO->TASKS_DISABLE = 1;
    
        while (NRF_RADIO->EVENTS_DISABLED == 0)
        {
            // Do nothing.
        }
        NRF_RADIO->EVENTS_DISABLED = 0;
    
        // prepare radio
        NRF_RADIO->SHORTS  = RADIO_SHORTS_READY_START_Msk;
        NRF_RADIO->TXPOWER = (tx_power << RADIO_TXPOWER_TXPOWER_Pos);
        NRF_RADIO->MODE    = (mode << RADIO_MODE_MODE_Pos);
    
        // set channel
        NRF_RADIO->FREQUENCY = channel;
    
        // begin
        NRF_RADIO->TASKS_TXEN = 1;

    But getting to a breakpoint with empty call stack in ozone.

    If I execute only this in a main function, then it somehow works, though currently I don't have anything to analyze if it was transmitted or not.

Reply
  • I've tried this procedure in my project

        NRF_RADIO->SHORTS          = 0;
        NRF_RADIO->EVENTS_DISABLED = 0;
        NRF_RADIO->TASKS_DISABLE = 1;
    
        while (NRF_RADIO->EVENTS_DISABLED == 0)
        {
            // Do nothing.
        }
        NRF_RADIO->EVENTS_DISABLED = 0;
    
        // prepare radio
        NRF_RADIO->SHORTS  = RADIO_SHORTS_READY_START_Msk;
        NRF_RADIO->TXPOWER = (tx_power << RADIO_TXPOWER_TXPOWER_Pos);
        NRF_RADIO->MODE    = (mode << RADIO_MODE_MODE_Pos);
    
        // set channel
        NRF_RADIO->FREQUENCY = channel;
    
        // begin
        NRF_RADIO->TASKS_TXEN = 1;

    But getting to a breakpoint with empty call stack in ozone.

    If I execute only this in a main function, then it somehow works, though currently I don't have anything to analyze if it was transmitted or not.

Children
Related