<?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>nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10220/nrf52-direct-access-to-easydma</link><description>Hello, 
 Is it possible to use EasyDMA directly with nRF52 SDK without using one of the higher level libraries that use it, i.e SPI / UART? I am interested in implementing something similar to Octows2811 . 
 I also looked at the PWM module for this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Nov 2015 14:17:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10220/nrf52-direct-access-to-easydma" /><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37932?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 14:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bad52ebf-6a15-49e3-a989-7e78b341462d</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;Ah, that makes sense. Now I&amp;#39;m looking at the correct docs and I see &amp;quot;Decoder with EasyDMA&amp;quot; which is exactly what I need! &lt;a href="http://infocenter.nordicsemi.com/topic/nrf52.v1.7/Chunk1670748135.html?cp=1_1_0_43#concept_pzc_1pw_nr"&gt;infocenter.nordicsemi.com/.../Chunk1670748135.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37931?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 14:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1038d1e2-924b-41f3-9d98-8cd414486a66</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No the PWM &lt;em&gt;LIBRARY&lt;/em&gt; which you reference has nothing to do with the PWM &lt;em&gt;PERIPHERAL&lt;/em&gt; on the nRF52. The library uses timers and PPIs, the &lt;em&gt;peripheral&lt;/em&gt; is a standalone hardware peripheral. That&amp;#39;s why I couldn&amp;#39;t find the limitation in the manual, there isn&amp;#39;t one listed. There&amp;#39;s a few vague mentions of PWM minimum period but it&amp;#39;s not specified. I think it may be quite possible to run at the speed you like and generate the kind of waveform you&amp;#39;re looking for ... IF the PWM peripheral works on whatever version of the chip you have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37930?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 14:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b266949-f26c-41d4-81fb-b0f9055f50e9</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes you can have from-memory waveforms, you can even change the top counter limit to change the frequency as you go although you wouldn&amp;#39;t need to. That documentation is very dense however and since the preview chip didn&amp;#39;t have PWM working, I&amp;#39;ve not looked at it in detail. 5us is quite long isn&amp;#39;t it, that&amp;#39;s 320 clock cycles, or 80 16MHz cycles if you&amp;#39;re thinking in terms of that peripheral clock. I&amp;#39;d have though easyDMA would be able to load and update the registers faster than that. You want 1.25us however and that really is quite short.&lt;/p&gt;
&lt;p&gt;If I had a chip with working PWM, I&amp;#39;d be tempted to try it and see how fast I could make it go reliably.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37929?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f64df2c4-92ff-4c83-ba73-07a35ef85dab</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;yah I just found 0.6.3 and have replaced my tatty 0.6 PDF version, newer version seems a bit more complete too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37928?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67145453-a284-4041-b154-0636b07db3c7</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk52.v0.9.2%2Flib_pwm.html&amp;amp;cp=4_0_0_3_12"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37927?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbbc970a-eaba-459c-8237-366a738b3e61</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;I didn&amp;#39;t realize PWM can generate a from-memory waveform, I thought it only has a period and duty cycle and is timer driven. How would I generate a waveform from EasyDMA memory? That would be amazing! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37926?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c580c54-8f60-4cf0-a0aa-6b5f50dadd15</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;you must have a more up-to-date manual than I do as mine doesn&amp;#39;t have the 200kHz, &amp;#39;200 kHz&amp;#39; or the word glitches in it anywhere. Let me go hunt for a newer one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37925?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ef97d70-7ab9-4567-9292-befee15e326b</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;From PWM docs: &amp;quot;PWM frequency is limited to 200 kHz (5 microseconds period). Exceeding this value might introduce glitches in the output signal.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37924?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe8696f8-2ae1-4b84-938b-c31a42959e8b</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes if you use EasyDMA via any hardware peripheral you are limited to the speeds it supports and the output formats it&amp;#39;s designed to produce.&lt;/p&gt;
&lt;p&gt;Does the PWM module really only support up to 200kHz for from-memory waveforms? I haven&amp;#39;t read the whole thing, I&amp;#39;ve started a few times and decided to get back to it when I really need it as it&amp;#39;s rather dense. Certainly you can run it much faster, but I haven&amp;#39;t seen the limitations on arbitrary waveforms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37923?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8263362e-5dc5-405d-9a6b-4eeb18110321</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;Yes, I meant hardware peripherals. So if I use EasyDMA via SPIM I am limited to the frequencies that SPI supports, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37922?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a655e1e-16a5-4c7b-978b-7e28403b63d3</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;There are no underlying EasyDMA registers, there are various peripherals which use EasyDMA and you access EasyDMA via their registers for that peripheral instance. By &amp;#39;higher level libraries&amp;#39; did you actually mean &amp;#39;hardware peripherals&amp;#39;, because they&amp;#39;re rather different concepts?&lt;/p&gt;
&lt;p&gt;No you cannot use EasyDMA outside of a hardware peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37921?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b80c8f20-294c-4f41-ae28-ec5bc7808ed6</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;Can you please point me to the right location in the docs or register name? All I can find are specific uses of it for SPI / UART etc but not the underlying EasyDMA registers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 direct access to EasyDMA</title><link>https://devzone.nordicsemi.com/thread/37920?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 13:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ac5a156-e51d-4305-b4b6-b4b317e94df9</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Of course you can - it&amp;#39;s all documented in the manual - you just set up the registers and let it roll.&lt;/p&gt;
&lt;p&gt;Note that EasyDMA has quite a few anomalies on the preview chips, so ensure you&amp;#39;re using hardware resources which are actually working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>