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

Antenna Switching for Bluetooth Direction Finding

Hi

I am currently trying to get the antenna switching working on the nRF52833 DK. I have an SPDT RF swtich which I want to use for switching between two antennas. I want to use one of the DFE GPIO control pins to control the RF switch. However I am having trouble with configuring the right GPIO pin. 

Currently I am using 

NRF_RADIO->PSEL.DFEGPIO[0] = 0x00000011; //(P0.17)
NRF_RADIO->SWITCHPATTERN = 0x1; // P0.17 active

I just had two questions:

1. What are the right GPIO pins to use on the board for this function. Can the pins P0.17 and P1.08 be used?

2. And how do I configure these pins correctly?

Thanks

Parents Reply Children
Related