nrf21540 and nrf52833 testing

Hi All !

I am using a custom board of nrf52833 with nrf21540,NCS version 2.3.0, IDE is vs code studio, and radio test example.

So far now I am able to compile the code for the nrf52833DK with nrf21540 support.

1)I added the build configuration for the nrf52833DK 

2)added pin configurations according to the custom HW  in the .dts file and overlay file.

Now my final pinout and .dts file looks like this.

CONFIG_MPSL=y
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=y
also enabled in the prj.conf file and "fem.h" in radio_cmd.c  and radio_test.c as well.

3)I also used the start/end channel command, start_tx_carrier, and output_power commands via a serial terminal

4) While setting the output power from the serial terminal via commands as mentioned above.I connected the oscilloscope on SPI clk and MOSI/MISO pins but no data on these pins.

My question is, are points # 1 and 2 enough to enable nrf21540 FEM and get the amplification? Or should I have to call the APIs for nrf21540 to work?

i followed this link for the above steps 

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/app_dev/working_with_fem/index.html#ug-radio-fem-nrf21540-gpio-spi-builtin-power-model

Thanks & Regards,

Parents
  • Hi,

    The radio test sample needs the config option, CONFIG_FEM, as well.

    Now my final pinout and .dts file looks like this.

    The resolution of the screenshot is too low, it is impossible to read the dts file. Could you provide the dts file in a readable format?

    My question is, are points # 1 and 2 enough to enable nrf21540 FEM and get the amplification? Or should I have to call the APIs for nrf21540 to work?

    No API calls are needed, when the support for the nRF21540 have been added correctly, the fem will be used by the sample without any need for further modification.

     

    Best regards,

    Bendik

Reply
  • Hi,

    The radio test sample needs the config option, CONFIG_FEM, as well.

    Now my final pinout and .dts file looks like this.

    The resolution of the screenshot is too low, it is impossible to read the dts file. Could you provide the dts file in a readable format?

    My question is, are points # 1 and 2 enough to enable nrf21540 FEM and get the amplification? Or should I have to call the APIs for nrf21540 to work?

    No API calls are needed, when the support for the nRF21540 have been added correctly, the fem will be used by the sample without any need for further modification.

     

    Best regards,

    Bendik

Children
  • Hi Bendik!

    Thank you for the response!

    I am working on two different testing scenarios.

    1)Radio Test Example with (nrf52833+nrf21540) custom board. Pins are configured according to the design. Here is the 

    configuration, Sorry last time resolution was bad. I tried to display it in 4 windows

    and proj.conf file, sorry CONFIG_FEM is not available as shown in the image 

    2)peripheral Uart example with nrf21540 FEM with the same configuration as mentioned above. One confusion is that in the first example, I added 

    -DSHIELD=nrf21540_ek in the Extra Cmake arguments field

    but in 2nd example, I didn't, still it compiled successfully.

    My custom HW will be available to me in 1-2 days for testing. I will further update you when get some results.

    Thanks & Regards,

    Muhammad Usman

Related