Fixed frequency for factory production test

Hi,

   We had a product developed with nRF52810( SDK15.3.0 ). Now we want to test RF frequency offset by signal carrier detection.We want to enter factory test mode to transmit a continuous fixed frequency 2402Mhz, it can run normal fuction after exit factory test mode . Can we reffer to radio_test excample to transmit a continuous fixed frequency 2402Mhz?If the  radio_test excample is ok,Can we use radio_unmodulated_tx_carrier() fucntion to  transmit a continuous fixed frequency 2402Mhz?

Parents Reply
  • Hi,

     

    Are you calling the init function, as done in the original radio_test sample?

    This also starts the RNG peripheral, required for generating a random address and payload:

    /** @brief Function for configuring all peripherals used in this example.
     */
    static void init(void)
    {
        NRF_RNG->TASKS_START = 1;
    
    #ifndef NRF52810_XXAA
        NRF_NVMC->ICACHECNF  = NVMC_ICACHECNF_CACHEEN_Enabled << NVMC_ICACHECNF_CACHEEN_Pos;
    #endif // NRF52810_XXAA 
    
        // Start 64 MHz crystal oscillator.
        NRF_CLOCK->EVENTS_HFCLKSTARTED = 0;
        NRF_CLOCK->TASKS_HFCLKSTART    = 1;
    
        // Wait for the external oscillator to start up.
        while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0)
        {
            // Do nothing.
        }
    }

     

    Kind regards,

    Håkon

Children
Related