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

How to test the Radio on the hardware

We have a custom board designed based on N51822, CEAAB0 and we have used the chip antenna from ST BAL-NRF01D3. When we have flashed our proximity code to the device, we will not able to see the device advertising from the Master Control Panel. Kindly suggest, how to test the RF channel is working on our custom hardware? If possible share the step by step procedure from debugging from the hardware to the software.

Parents
  • It's hard to be specific on a generic question like this, but a couple of tips follow:

    1. Make sure that your application actually runs (flash a LED on startup). If it doesn't, make sure that you've flashed the softdevice.
    2. Make sure that you get pass the sd_softdevice_enable() function call. a) If you don't, and try to use a low-frequency crystal, try using the RC oscillator. If this works, your low-frequency crystal is mounted and/or loaded incorrectly. b) If you don't but use the low-frequency RC already, verify that your 16 MHz crystal is mounted and loaded correctly. Can you see any oscillation using an oscilloscope and a sniffer probe?
    3. If you do pass sd_softdevice_enable(), but still don't see it in MCP, try moving the devices very close, to see if it could be a layout and/or tuning problem.

    Edit: See attached picture of a sniffer probe.

    sniffer-probe.jpg

    1. Our application runs and we can able to detect the accelerometer device id connected in i2c bus. Point 2.) It's not possible to come out of the function itself. a) When you say low-frequency crystal, how to do this configuration? By default we are passing NRF_CLOCK_LFCLKSRC_XTAL_20_PPM. I have changed to NRF_CLOCK_LFCLKSRC_RC_250_PPM_500MS_CALIBRATION. Still it's not coming out of the sd_softdevice_enable() function.

    is it possible to configure the RC Oscillator or External oscillator ? Kindly share the procedure.

    b) Where to probe oscillator to Nordic chip?

    We are using the 32MHZ external oscillator. Kindly provide the configuration option.

Reply
    1. Our application runs and we can able to detect the accelerometer device id connected in i2c bus. Point 2.) It's not possible to come out of the function itself. a) When you say low-frequency crystal, how to do this configuration? By default we are passing NRF_CLOCK_LFCLKSRC_XTAL_20_PPM. I have changed to NRF_CLOCK_LFCLKSRC_RC_250_PPM_500MS_CALIBRATION. Still it's not coming out of the sd_softdevice_enable() function.

    is it possible to configure the RC Oscillator or External oscillator ? Kindly share the procedure.

    b) Where to probe oscillator to Nordic chip?

    We are using the 32MHZ external oscillator. Kindly provide the configuration option.

Children
No Data
Related