<?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>Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44989/regarding-nrf52832-timer-ppi-and-gpiote-tasks</link><description>Dear Team, 
 
 We are working on nRF52832 BLE MCU. SDK version = 15.0.0. SOFTDEVICE version = 6.0.0. IDE = segger embedded studio. 
 In our application we required software UART and we have also implemented software UART with 19200 baud-rate. 
 We are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2019 14:51:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44989/regarding-nrf52832-timer-ppi-and-gpiote-tasks" /><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/180060?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d353c9-e98c-4000-87a0-f5a2f92c0957</guid><dc:creator>Prajapati</dc:creator><description>&lt;p&gt;Dear David,&lt;/p&gt;
&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;I apologize for late reply,&lt;/p&gt;
&lt;p&gt;I have used the nrf_vt() library at that time but i am facing some problem as before. I tried it further but getting the same problem. I compile the demo code but getting the error in&amp;nbsp;app_sched_execute() -&amp;gt;event_handler (p_event_data,event_data_size).The error is&amp;nbsp;NRF_FAULT_ID_SDK_ERROR in app_error_weak.c file. I tried a lot but can&amp;#39;t get the result. So kindly give me some suggestion on that.&lt;/p&gt;
&lt;p&gt;I also want to know that is this example using UART frontend or not ? Can you explain me meaning of UART frontend in brief?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Hasmukh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/177652?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 15:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e8faf53-78d3-49ef-8bf8-d7429123fe97</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Can you look at the &lt;a href="https://devzone.nordicsemi.com/support-private/support/217709#permalink=412640"&gt;previous delivery&lt;/a&gt; to see if that will work for you. The PWM and ADC is a far simpler to way to get the software UART.&lt;br /&gt;I see the case that you opened earlier. Please confirm if that will work for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/177204?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 06:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b2bbe79-19df-4f89-9e7b-dbef4da8aded</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do the two UART interfaces have to work simultaneously? Or can you use the same UART and switch pins? I guess you have already considered this.&lt;/p&gt;
&lt;p&gt;You may also consider using the nRF52840, which have 2 UART interfaces.&amp;nbsp;&lt;/p&gt;
[quote user="Prajapati"]HITOLO then nRF52832 internally make UART TX pin high for around 6 microseconds and then make it lo for around 45 microseconds[/quote]
&lt;p&gt;The pin likely fall back to the GPIO configuration when re-configuring GPIOTE, so you make sure that you set GPIO to output and right level (low or high) before you change GPIOTE configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/177201?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 05:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd53a404-e058-4f85-8cea-61d3b226cfd1</guid><dc:creator>Prajapati</dc:creator><description>&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;We are using nrf52832 which has one Hardware UART. This Hardware UART is already occupied for other peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And we need another UART for MAX1472 RF transmitter so we go for software UART concept. We already implemented software UART code for 19200 bd. We are using internal 16 Mhz clock frequency so bit width is around 52.08 microseconds. The bit width gets changed while capturing the frames from the receiver side. So some frames are missed by the RF receiver. Our requirement is to bring maximum accuracy in bitwidth so we have thought to go for ppi task concept.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is another problem in changing gpiote task. if UART TX pin is already low and our next bit is 0 means UART TX pin should be low for the next 52 microseconds and we will assign gpiote task with polarity HITOLO then nRF52832 internally make UART TX pin high for around 6 microseconds and then make it lo for around 45 microseconds. So we get 6 microsecond spikes in between the frame.&lt;/p&gt;
&lt;p&gt;So kindly give some guidance for the same.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Hasmukh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/177115?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 15:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3663ee89-0477-40cc-b2de-82f797cdb775</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;After thinking about it, I am not sure how well using gpiote will work, the problem is that only one gpiote task can be connected to a specific pin. So only one compare event can control a pin, and you would need to update the gpiote task (to set or clear) for each compare event.&lt;/p&gt;
&lt;p&gt;Maybe you can use the PWM to create UART output, I can check internally if someone may have suggestions on how to do that.&lt;/p&gt;
&lt;p&gt;Out of curiosity, why can&amp;#39;t you use the UART peripheral here to create &lt;span&gt;19200 baud&lt;/span&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/177067?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 14:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e39c97d0-23ca-48f8-b941-013d40944a2b</guid><dc:creator>Prajapati</dc:creator><description>&lt;p&gt;Thanks for your quick reply,&lt;/p&gt;
&lt;p&gt;i want to ask that Is that possible to allocate a GPIOTE task (set,reset,toggle) for timer compare event 1 in timer compare event 0 ?&lt;/p&gt;
&lt;p&gt;Can you give me any suggestion for the same?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding nRF52832 timer,ppi and gpiote tasks</title><link>https://devzone.nordicsemi.com/thread/176976?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:116eedc1-a0ae-43d3-b552-fe5a79478700</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want PPI to control a GPIO (e.g. timer event-&amp;gt;ppi-&amp;gt;toggle/set/clear pin), then you need to take a look at the GPIOTE module:&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpiote.html?cp=2_1_0_20#concept_knz_kww_lr"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpiote.html?cp=2_1_0_20#concept_knz_kww_lr&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The GPIOTE can execute the configured task on the specific GPIO by connecting a event through a PPI channel to the task. In general more information on PPI:&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may take a look at the \examples\peripheral\gpiote in the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>