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

NRF52811 AoA Mode Config

I have a few questions regarding AoA mode.

My goal is to append the CTE frame too a standard advertisement frame.
I would like to use one of the following examples as the base code ble_app_uart, ble_app_hts or ble_app_hrs_freertos
for the transmitter and a receiver that notifies and/or prints to a debug console the raw IQ/MagPhase samples.

Are there any other registers or BLE configs required besides the ones stated in the direction finding section of the document?

Is the CTE automatically appended, if configured correctly?
Is the CTE frame automatically detected by the radio and IQ/MagPhase samples writen to DFEPACKET.PTR?
This seems the case base on what I've read.

Are there SoftDevice API calls for the radio registers related to direction finding?
Did not see it in the S112 API reference.

If not must the registers be set before nrf_sdh_enable_request() is called [ble_stack_init()] or after?
Have had a problems in the past where this call clears register configs that are related to the SoC API.

Is it necessary to config the GPIO via the GPIO peripheral, if the gpio is only used for switching?

Things I've read/reading related to this.
infocenter.nordicsemi.com/.../radio.html
devzone.nordicsemi.com/.../196330
devzone.nordicsemi.com/.../nrf52811-direction-finding-aoa-where-should-i-start
Bluetooth 5.1 Core Specification