<?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>BUS FAULT happened, when try the ADC on nrf52832 board with adc_read_async in zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50640/bus-fault-happened-when-try-the-adc-on-nrf52832-board-with-adc_read_async-in-zephyr</link><description>Hello, 
 I&amp;#39;m not sure it is a good place to ask the this question here. I have also asked this at zephyr maillist, but till now no one can help me. 
 I&amp;#39;ve found that the NRF9160 SDK use the zephyr code, so maybe some guys could give me some advice. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2019 02:36:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50640/bus-fault-happened-when-try-the-adc-on-nrf52832-board-with-adc_read_async-in-zephyr" /><item><title>RE: BUS FAULT happened, when try the ADC on nrf52832 board with adc_read_async in zephyr</title><link>https://devzone.nordicsemi.com/thread/204885?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 02:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7edfaf7e-6fe7-446c-b0e1-488c16502dc1</guid><dc:creator>Jeremy.jiang</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;I have found the root cause: need init the k_poll_signal before it was used in the k_poll_event array.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;k_poll_signal_init(&amp;amp;async_sig);&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt; struct k_poll_event async_evt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, K_POLL_MODE_NOTIFY_ONLY, &amp;amp;async_sig);&lt;/p&gt;
&lt;p&gt;I ported these demo code from the surce file test_adc.c from the zephyr master branch, so there is a bug in that test file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUS FAULT happened, when try the ADC on nrf52832 board with adc_read_async in zephyr</title><link>https://devzone.nordicsemi.com/thread/204408?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 07:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f857aa-0ee6-41a4-9bda-0a0c2fc76c78</guid><dc:creator>Jeremy.jiang</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Sorry for the later reply. I have used the overlay file nrf52_pca10040.overlay with the following content:&lt;/p&gt;
&lt;p&gt;&amp;amp;adc {&lt;br /&gt;&amp;nbsp; &amp;nbsp; status =&amp;quot;ok&amp;quot;;&lt;br /&gt;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUS FAULT happened, when try the ADC on nrf52832 board with adc_read_async in zephyr</title><link>https://devzone.nordicsemi.com/thread/202836?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 13:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6097903e-ee29-4004-b838-7b06a2429529</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;do you use an overlay file in your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>