<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NRF52811 AoA Mode Config</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53729/nrf52811-aoa-mode-config</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Nov 2019 17:48:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53729/nrf52811-aoa-mode-config" /><item><title>RE: NRF52811 AoA Mode Config</title><link>https://devzone.nordicsemi.com/thread/218911?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 17:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a019c0e8-8c35-4d74-8428-7ef2d8dfc4de</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="80234" url="~/f/nordic-q-a/53729/nrf52811-aoa-mode-config"]Is the CTE automatically appended, if configured correctly?&lt;br /&gt;Is the CTE frame automatically detected by the radio and IQ/MagPhase samples writen to DFEPACKET.PTR?&lt;br /&gt;This seems the case base on what I&amp;#39;ve read.[/quote]
&lt;p&gt;Correct. O&lt;span&gt;nce configured the radio just appends the CTE to whatever packet is transmitted.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49231/nrf52811-aoa-tx-timing-does-this-require-manual-timing/195986#195986"&gt;this post&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
[quote userid="80234" url="~/f/nordic-q-a/53729/nrf52811-aoa-mode-config"]My goal is to append the CTE frame too a standard advertisement frame.[/quote]
&lt;p&gt;&lt;span&gt;The current releases&amp;nbsp;of the SoftDevice does not support direction finding functionality.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="80234" url="~/f/nordic-q-a/53729/nrf52811-aoa-mode-config"]Are there SoftDevice API calls for the radio registers related to direction finding?[/quote]
&lt;p&gt;No.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="80234" url="~/f/nordic-q-a/53729/nrf52811-aoa-mode-config"]If not must the registers be set before nrf_sdh_enable_request() is called [ble_stack_init()] or after?[/quote]
&lt;p&gt;If you intend to use the &lt;span&gt;SoftDevice&amp;nbsp;&lt;/span&gt;with&amp;nbsp;&lt;span&gt;direction finding, you would have to configure and send the packets yourself in a SoftDevice timeslot, using the&amp;nbsp;RADIO peripheral directly.&lt;/span&gt;&lt;/p&gt;
[quote userid="80234" url="~/f/nordic-q-a/53729/nrf52811-aoa-mode-config"]Is it necessary to config the GPIO via the GPIO peripheral, if the gpio is only used for switching?[/quote]
&lt;p&gt;It&amp;#39;s recommended to do it.&amp;nbsp; As mentioned &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52811/radio.html?cp=3_3_0_5_13_14_80#register.SWITCHPATTERN"&gt;here&lt;/a&gt;, &amp;quot;&lt;span&gt;To secure correct signal levels on the pins, the pins must be configured in the GPIO peripheral as described in Pin configuration.&amp;quot;. (so set the DIRSET and OUT register of the pins used in the GPIO peripheral).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>