<?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>radio event end point addresses nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11969/radio-event-end-point-addresses-nrf52832</link><description>Hi, 
 Does anyone know the event end point addresses for the following on the nrf52832:
RADIO_EVENTS-&amp;gt;ADDRESS
RADIO_EVENTS-&amp;gt;READY
RADIO_EVENTS-&amp;gt;END 
 The addresses for these do not appear to be listed in the documentation as they are used in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2016 10:28:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11969/radio-event-end-point-addresses-nrf52832" /><item><title>RE: radio event end point addresses nrf52832</title><link>https://devzone.nordicsemi.com/thread/45323?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 10:28:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02eb3177-f9e8-4c09-8fc4-25a1ea87378a</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Turns out that it was an errata on engineering rev A silicon preventing the fork registers being configured&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: radio event end point addresses nrf52832</title><link>https://devzone.nordicsemi.com/thread/45322?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2016 13:19:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a14eca1-d154-4453-9089-6cbd9d26d45f</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Thanks for the answer, however these registers are pre-programmed task end points.  We are using these channels for radio functions and I don&amp;#39;t think they can be changed anyway.
I need to know the event end point that triggers these tasks so that I can map them to a PPI channel with a GPIOTE task end point.
At least in IAR the fork registers are shown pre-populated and cannot be changed.&lt;/p&gt;
&lt;p&gt;For example in the register view:
FORK[27].TEP = 0x40008048&lt;/p&gt;
&lt;p&gt;This will remain the same regardless of whether an attempt to remap it is made or not:
NRF_PPI-&amp;gt;FORK[27].TEP = ppi_task_addr;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: radio event end point addresses nrf52832</title><link>https://devzone.nordicsemi.com/thread/45321?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2016 12:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01b567fc-122e-49f5-a63d-2e3ae6bc4824</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, you can use the PPI fork registers to trigger a new GPIOTE  task. For this you only need to know the PPI chanel number assigned to the events you mentioned above. That is,  PPI.FORK[24].TEP, PPI.FORK[25].TEP, and PPI.FORK[27].TEP respectively.&lt;/p&gt;
&lt;p&gt;The register addresses are listed in the RADIO peripheral chapter &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/radio.html?cp=1_2_0_21_13#topic"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT 2/19 added code example&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The PPI module supports forking of the event point into two separate task endpoints, even for the pre-programmed channels. Forking doesn&amp;#39;t affect the existing channel configuration.&lt;/p&gt;
&lt;p&gt;Below code snippet toggles LED_4 upon the RADIO-&amp;gt;EVENTS_ADDRESS event.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void gpiote_task_init(void)
{

NRF_GPIOTE-&amp;gt;CONFIG[0] =((GPIOTE_CONFIG_MODE_Task       &amp;lt;&amp;lt; GPIOTE_CONFIG_MODE_Pos)
                       |(LED_4                         &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)
                       |(GPIOTE_CONFIG_POLARITY_Toggle &amp;lt;&amp;lt; GPIOTE_CONFIG_POLARITY_Pos)
                       |(GPIOTE_CONFIG_OUTINIT_Low     &amp;lt;&amp;lt; GPIOTE_CONFIG_OUTINIT_Pos));


NRF_PPI-&amp;gt;CHENSET      = PPI_CHEN_CH26_Msk;
//Fork the GPIOTE TASK with TIMER0-&amp;gt;TASKS_CAPTURE[1] (see table 2 - Pre-programmed channels)
NRF_PPI-&amp;gt;FORK[26].TEP = (uint32_t)&amp;amp;NRF_GPIOTE-&amp;gt;TASKS_OUT[0];
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>