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

  • Hi,

    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.

    Correct. Once configured the radio just appends the CTE to whatever packet is transmitted.

    Take a look at this post.

    My goal is to append the CTE frame too a standard advertisement frame.

    The current releases of the SoftDevice does not support direction finding functionality.

    Are there SoftDevice API calls for the radio registers related to direction finding?

    No.

    If not must the registers be set before nrf_sdh_enable_request() is called [ble_stack_init()] or after?

    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.

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

    It's recommended to do it.  As mentioned here, "To secure correct signal levels on the pins, the pins must be configured in the GPIO peripheral as described in Pin configuration.". (so set the DIRSET and OUT register of the pins used in the GPIO peripheral).

Related