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

Radio Test with nrf21540

Hi,

I run the radio test with our PCBA with SDK17.0.2, but when I want to send "start_tx_modulated_carrier 100", there's no callback response "<info> app: The modulated TX has finished".

In the first time I find if we don't connect the nrf21540, there's no response after Tx and stuck.

Could you help to check is the GPIO setting? or is I lost some configuration?

below is the GPIO configuration:

#define NRF21540_RXEN_PIN NRF_GPIO_PIN_MAP(0,29)
#define NRF21540_TXEN_PIN NRF_GPIO_PIN_MAP(0,28)
#define NRF21540_PDN_PIN NRF_GPIO_PIN_MAP(1,01)
#define NRF21540_MODE_PIN NRF_GPIO_PIN_MAP(0,31)
#define NRF21540_ANTSEL_PIN NRF_GPIO_PIN_MAP(0,2)
#define NRF21540_CS_PIN NRF_GPIO_PIN_MAP(0,20)
#define NRF21540_MOSI_PIN NRF_GPIO_PIN_MAP(0,13)
#define NRF21540_MISO_PIN NRF_GPIO_PIN_MAP(0,15)
#define NRF21540_CLK_PIN NRF_GPIO_PIN_MAP(0,17)

Thank you.

Ian.

Parents Reply
  • We try to programming the POUTA_UICR and POUTB_UICR register, and fellow the step in datasheet.

    Program CONFREG1 to 0xF4, which mean enable UICR program mode and enter UICR program mode, and read out to check the value.

    But the CONFREG2 and CONFREG3 can’t be programed.

    I noticed that the VDD need to in the range 3.45v to 3.6v, but in our HW design the VDD is 3.3v.

    Could you help to check the VDD range must to in the 3.45 to 3.6v range or not?

Children
Related