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

Trying to turn on CTE

HI,

I've been looking at the nRF52811 registers for AoA/AoD, and decided to try and at least get CTE enabled on the basic Nordic uart app. I found this post:

https://devzone.nordicsemi.com/f/nordic-q-a/49231/nrf52811-aoa-tx-timing-does-this-require-manual-timing?ReplySortBy=CreatedDate&ReplySortOrder=Ascending

and studied the registers and added the lines:

/* Enable AoA mode */

NRF_RADIO->DFEMODE = RADIO_DFEMODE_DFEOPMODE_AoA; 

/* Set CTE to 20x8us, and trigger after the CRC (as opposed to in the packet payload) */

NRF_RADIO->DFECTRL1 = 20 << RADIO_DFECTRL1_NUMBEROF8US_Pos | 1 << RADIO_DFECTRL1_DFEINEXTENSION_Pos;

but didn't see any change in the burst length. I tried the lines before and after initialising the soft device. Then I saw this post:

"If you intend to use the SoftDevice with direction finding, you would have to configure and send the packets yourself in a SoftDevice timeslot, using the RADIO peripheral directly."

That sounds like a major piece of work, and I'm not exactly sure where to start. Can you give me any more info?

Cheers

Pete

Related