<?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>I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent</link><description>Hi， 
 DMX512 protocol is USITT（United States Institute for Theater Technology）Prescribed agreement 
 I want to follow this agreement to design 
 ============ DMX512 protocol： 
 Baud：250K 
 Break：88us 
 MAB：8us 
 ============ Data frame contains： 
 Start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Feb 2019 10:31:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent" /><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171593?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 10:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1275ed56-d2ee-4550-911d-e2f17809ec2d</guid><dc:creator>awneil</dc:creator><description>[quote userid="14926" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/171586"]you need to create your own custom board[/quote]
&lt;p&gt;Or look for a 3rd-party board with an nRF52810 - there are some module makers with&amp;nbsp;&lt;span&gt;nRF52810-based modules ...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171586?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 10:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2fa7afa-b23d-42d0-8e0d-4f4dd93b6bb0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Unfortunately, this is one of the very few things where the features in nRF52810 is actually improved compared to nRF52832. If you want to evaluate larger MAXCNT registers, you need to create your own custom board or use the nRF52840 DK. This is a hardware limitation on nRF52832 and it is not something that can be emulated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171503?ContentTypeID=1</link><pubDate>Sat, 16 Feb 2019 10:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407f0ef5-4547-4e17-98c3-c63296d386a0</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The nRF52810 is a&amp;nbsp;cut-down subset of the nRF52832.&lt;/p&gt;
&lt;p&gt;Nordic don&amp;#39;t have any Dev Kit for the nRF52810 - so this &amp;quot;emulated&amp;quot; business is just about letting you do development on the nRF52832 DK and &amp;quot;pretending&amp;quot; the chip is an nRF52810&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;But see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/joh2"&gt;Jørgen Holmefjord&lt;/a&gt;&amp;#39;s comment below about MAXCNT on the&amp;nbsp;&lt;span&gt;nRF52810&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;EDIT 2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is a list of the limitations in the linked article:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/nrf52810_user_guide.html?cp=4_0_3_5_0_1_0#ug_52810_limitations"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/nrf52810_user_guide.html?cp=4_0_3_5_0_1_0#ug_52810_limitations&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and in the new Doc Lib:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/nrf52810_user_guide#ug_52810_limitations"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/nrf52810_user_guide#ug_52810_limitations&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171487?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 23:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78813f8-0659-4e02-b84b-3e15e6c5d4f7</guid><dc:creator>Alan</dc:creator><description>&lt;p&gt;My mistake, I should have asked when developing for the nRF52810 is a&amp;nbsp;&lt;span&gt;pca10040e (emulated) project a good starting point.&amp;nbsp; I&amp;#39;m just concerned about the word emulated and is there something about the emulated projects that should be changed for a production build.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171482?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 18:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea8ffa5a-9cad-4953-8079-0fd383af897b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;span&gt;pca10032&amp;nbsp;is the nRF5&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;(Cortex-M0) dongle - so that&amp;#39;s no use for any nRF5&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/span&gt; (Cortex-M4)&amp;nbsp; projects!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.gs.ses%2Fdita%2Fgs%2Fdeveloping%2Fchips_and_sds.html"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.gs.ses%2Fdita%2Fgs%2Fdeveloping%2Fchips_and_sds.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171479?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 18:14:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cfae61c-926b-46d1-b62c-10023f80111b</guid><dc:creator>Alan</dc:creator><description>&lt;p&gt;Thanks, that gives me two great options.&amp;nbsp; One more question, nRF52810 sample projects are all pca10040e (emulated) projects. Would a project that is targeted specifically for the pca10032 have any differences.&amp;nbsp; Can I use a&amp;nbsp;&lt;span&gt;pca10040e&amp;nbsp;project for the starting point?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171311?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 09:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e6a5ff9-c88d-4cdf-9963-5e770e536d29</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Other serial peripherals have a EasyDMA array list feature (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/twim.html?cp=2_1_0_32_1_0_0#unique_133729755"&gt;TWIM&lt;/a&gt;, &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spim.html?cp=2_1_0_30_1_0_0#unique_518839855"&gt;SPIM&lt;/a&gt;), but this seems to not be an option for UARTE. However, the &lt;span&gt;.PTR and .MAXCNT registers are double-buffered in the UARTE peripheral. They can be updated and prepared for the next RX/TX transmission immediately after having received the RXSTARTED/TXSTARTED event. This should allow you to setup transfers for up to 510 bytes. If you need more than this, m&lt;/span&gt;y recommendation would be to use one of the more recent ICs that &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/nrf52_series.html?cp=2"&gt;support longer EasyDMA transfers&lt;/a&gt; than nRF52832 for UARTE peripheral. &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52810/latest/uarte?939#register.RXD.MAXCNT"&gt;nRF52810 have 10-bit MAXCNT register&lt;/a&gt;, while &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/uarte?974#register.RXD.MAXCNT"&gt;nRF52840 have 16-bit MAXCNT register&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/171242?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 21:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82cc55a6-e027-4f74-889c-68cbcbd640f2</guid><dc:creator>Alan</dc:creator><description>&lt;p&gt;I&amp;#39;ve been playing around with DMX.&amp;nbsp; I have DMX transmit pretty much working. One way to handle the initial Break - Mark is to change the baud to 115K and transmit a 00, then change it back to 250K.&amp;nbsp; I have a 513 byte DMX buffer and it needs to get sent in three pieces because of the DMA 255 byte limit.&amp;nbsp; If the SoftDevice interrupts in the middle it shouldn&amp;#39;t be a problem because the DMX spec only requires that a frame gets completed within one second.&amp;nbsp; From past experience, many DMX devices will work fine if you just send 1 stop bit, but not all.&amp;nbsp; So if you need to be able to transmit to any DMX device you need 2 stop bits which means the nRF52832 is not an option.&lt;/p&gt;
&lt;p&gt;Doing a DMX&amp;nbsp;receive looks like it will be more difficult.&amp;nbsp; It looks like the driver supports notification of a BREAK which can be used to initiate receive of the 513 byte frame.&amp;nbsp; The problem is if the SoftDevice causes a delay in the start of the receive you could start receiving data in the middle of the frame.&amp;nbsp; Also, due to the DMA 256 byte limit the receive needs to be split into multiple pieces which makes for more opportunities for errors.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a good way to detect if a large delay has occurred or is there a way to chain several DMA operations together to allow a longer stream of uninterrupted data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162172?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 19:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b370726d-eb80-489c-99a0-5ca871e6cf30</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;If that is the case, then I&amp;#39;d agree with you.&lt;/p&gt;
&lt;p&gt;It would also seem sensible that the spec writers would base their protocol on something that can be easily done with standard hardware ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162171?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 19:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c87f4f5-df32-4226-898d-c20065ea9c3b</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;hm.... that seems a bit weird idea to implement the &amp;quot;break&amp;quot;... anyways, found this:&amp;nbsp;&lt;a href="https://www.nxp.com/docs/en/application-note/AN3315.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN3315.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;3.1 Software Implementation Because the protocol consists of an untyped byte stream produced by standard UARTs, the implementation can be easily adapted to work with any microcontroller supporting baud rates up to 250 kbps.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I would put my 5 bucks on the nRF52832 can do this... but I&amp;nbsp;cant jump now to prototyping... need to finish a couple of things before holidays, will see after that how it goes...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162153?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 17:04:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b817bc-a8aa-4987-8944-5e2bd17e4a2a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;But you clearly know more about it than me!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m just going from the opening post - but then it&amp;#39;s not entirely clear that the poster really understood that.&lt;/p&gt;
&lt;p&gt;Yes, the actual data frame looks to me like just a standard UART frame.&lt;/p&gt;
&lt;p&gt;The potential problem areas seem to be in the initial &amp;quot;break&amp;quot;, and the &amp;quot;mark after break&amp;quot;. Possibly also the &amp;quot;inter-frame time&amp;quot;.&lt;/p&gt;
&lt;p&gt;The OP&amp;#39;s code did that with inline delays - that &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt;&lt;/em&gt; likely to get disrupted by the BLE stack ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162149?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 16:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d52a57b-c67d-4d51-905b-a98e54ec0329</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;I wouldn&amp;#39;t call me a &amp;quot;DMX expert&amp;quot;... I am rather just a follower of our dark lord and savior all hail Google! :D&lt;/p&gt;
&lt;p&gt;I went quickly though the UART docs&amp;nbsp;&lt;a href="https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/hardware_driver_uart"&gt;https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/hardware_driver_uart&lt;/a&gt;&amp;nbsp;cant see a reason why UART wouldn&amp;#39;t be able to handle DMX? for example I am curious about:&lt;/p&gt;
[quote userid="14926" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/144723"]Only UARTE peripheral support two stop bits, and this is only supported on nRF52840 and nRF52810 ICs. Unfortunatelu, there seems to be no support for setting this in the drivers.&amp;nbsp;[/quote]
&lt;p&gt;it seems odd that only the baby brother and the bigger brother &amp;quot;supports&amp;quot; 2 stop bits? its just me or this is part of the protocol /&amp;nbsp;formatting&amp;nbsp;layer and nothing to do with UART as a driver / hardware layer?...? it seems this would be just part of the formatting library of the telegram...?&lt;/p&gt;
&lt;p&gt;a standard 250kbit/s UART shouldn&amp;#39;t be enough? and even then this should be enabled 2 or 3 times per second... maybe? just in case we need resources for something else? again I apologize if I am missing something basic / obvious here... I should stop being lazy and study stuff before asking :D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162134?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 15:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a8f3130-dcc3-42eb-b685-d4b840412b64</guid><dc:creator>awneil</dc:creator><description>[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/162128"]this form... [/quote]
&lt;p&gt;Tell me about it!!&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/162128"]Please define &amp;quot;strict&amp;quot; timing? [/quote]
&lt;p&gt;Exactly. These are just &amp;quot;finger in the air&amp;quot; feelings - not detailed timing analyses&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyhow, it sounds like you are the DMX expert here - so you&amp;#39;re&amp;nbsp;probably the best one to try it and see!&lt;/p&gt;
&lt;p&gt;The point is that the BLE stack &lt;em&gt;&lt;strong&gt;does&lt;/strong&gt; &lt;/em&gt;have some very strict timing requirements - so whatever you do for the DMX must not mess them up - or, maybe more important, must not be messed up by the stack grabbing the CPU.&lt;/p&gt;
&lt;p&gt;So the thing with a separate MCU is that it&amp;#39;s the &lt;em&gt;safe&lt;/em&gt; option.&lt;/p&gt;
[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/162128"]its not a big deal if we miss few packages here and there[/quote]
&lt;p&gt;I think any issues are going to be with individual bit timings - rather than whole packages?&lt;/p&gt;
[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/162128"]similar timing requirements that any asynchronous serial protocol[/quote]
&lt;p&gt;But they are usually handled in &lt;em&gt;hardware&lt;/em&gt; - by the UART.&lt;/p&gt;
&lt;p&gt;From the initial postings, it looked like the nRF52 UART was not (quite) going to do&amp;nbsp;what DMX requires?&lt;/p&gt;
[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/162128"]if and when a DMX to Bluetooth translator should be on our roadmap[/quote]
&lt;p&gt;If you&amp;#39;re looking for help with that, drop me a PM ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/162128?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 15:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d249e0c4-e2a3-4d31-991e-99c033f2ed0a</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;Jesus this form... wrote a whole white paper and it didn&amp;#39;t post it... not cool...&lt;/p&gt;
&lt;p&gt;Anyways, short version:&lt;/p&gt;
&lt;p&gt;Please define &amp;quot;strict&amp;quot; timing? :) DMX512 protocol is fairly simple, &lt;a href="http://cdb.s3.amazonaws.com/ItemRelatedFiles/10191/dmx-101-handbook.pdf"&gt;http://cdb.s3.amazonaws.com/ItemRelatedFiles/10191/dmx-101-handbook.pdf&lt;/a&gt;&amp;nbsp;page 17, after that annoying break start, the info payload is divided on 512 slots&amp;nbsp;with&amp;nbsp;11 bits each, 8 bit info, 1 bit start and 2 bit stop for each slot, each slot tells the intensity level 0-255, then the telegram gets repeated again and again for ever in some sort of persistent advertising... so its not a big deal if we miss few packages here and there... there will be 44 DMX per second and they will be the same most of the time... nothing fancy there... its transmitted at 250kHz... I guess the nRF52832 can handle that?? I cant see why an aditional MCU would be needed? DMX was not designed for full duplex comms, real time applications, error prevention or anything that fancy...&lt;/p&gt;
&lt;p&gt;In summary has similar timing requirements that any asynchronous serial protocol... I cant say that it has anything specially strict...&lt;/p&gt;
&lt;p&gt;As I mentioned before, I am just fishing around to see if and when a DMX to Bluetooth translator should be on our roadmap for Bluetooth Mesh lighting control system...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/161362?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 09:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc1c55a9-0975-48e7-979d-d8d3423db086</guid><dc:creator>awneil</dc:creator><description>[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/161282"]any news?[/quote]
&lt;p&gt;I though both&amp;nbsp;&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/joh2"&gt;J&amp;oslash;rgen Holmefjord&lt;/a&gt;&lt;span&gt;&amp;nbsp; and I had already replied that the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;comments from 4 months ago still stand - but I can&amp;#39;t see that in this thread any more?!&lt;/p&gt;
&lt;p&gt;Strange.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;Oh - now they&amp;#39;ve reappeared!&lt;/p&gt;
&lt;p&gt;The way this forum randomly hides certain posts is really unhelpful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/161321?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 01:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39aaa0f-1f51-49b9-97f2-1cb59fbd893f</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Maybe only the external MCU can solve, the channel has not been sent, and it is changed from uart to I/O (for the next break)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/161286?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 17:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811618fe-93a5-4001-a887-2f2de9ea0f12</guid><dc:creator>awneil</dc:creator><description>[quote userid="73023" url="~/f/nordic-q-a/37567/i-am-trying-to-do-dmx512-protocol-i-hope-to-help-me-time-is-very-urgent/161282"]if there is any news? [/quote]
&lt;p&gt;I don&amp;#39;t think so - I think everything that&amp;#39;s been said remains true.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/161285?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 17:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55b6a2c5-1dd1-4bfc-9898-52ebb1093d5c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;My comment from 4 months ago still stands. There is only one CPU core in the nRF52832. If using BLE, the softdevice will always have highest priority, the DMX protocol will have to wait, meaning that if there are strict timing requirements an external MCU might be better solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/161282?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 16:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b33acc8e-8573-41eb-b001-ef8218c5fba8</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;hi, i am exploring around this DMX to BT integration and found this question and wanted to check if there is any news? is it possible to use the nRF52832 directly or needs a microcontroller to be an interface between DMX and lets say UART to the nRF52832?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144797?ContentTypeID=1</link><pubDate>Sun, 19 Aug 2018 03:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c928aa-1b6b-4a6a-b53d-57f952e8d3ac</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;The cause of the crash is the repeated call of uart_init()&lt;/p&gt;
&lt;p&gt;But DMX512 need low voltage(&lt;span&gt;Break&lt;/span&gt;) and high voltage(Make after break).&lt;/p&gt;
&lt;p&gt;Another wrong place, before delay88us and delay8us&lt;/p&gt;
&lt;p&gt;Pin number needs to be changed to 6（【nrf_gpio_pin_clear(13)】 and【 nrf_gpio_pin_set(12)】）&lt;/p&gt;
&lt;p&gt;Screenshot error , i&amp;nbsp;am sorry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144796?ContentTypeID=1</link><pubDate>Sun, 19 Aug 2018 01:43:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60669c20-9662-44e6-95d0-5da14121b5a6</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hi ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you all , &amp;nbsp;for answers and suggestions.&lt;/p&gt;
&lt;p&gt;I will try first with nRF52810 ,&amp;nbsp;If it doesn&amp;#39;t work, consider using &lt;span&gt;external microcontroller&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;My DMX code in the main function ,&amp;nbsp;whether the format is correct or not , &amp;nbsp;Will cause a crash&lt;/p&gt;
&lt;p&gt;（The phone can search for BLE before adding the code, &amp;nbsp;But after adding the code, it won&amp;#39;t work.）&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144753?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 14:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e10681-6446-4b77-b04c-b82dd214a287</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not familiar with the protocol details of&amp;nbsp;DMX, but if it have strict timing requirements, an external MCU might be a better solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144747?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 14:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25ca941a-3753-40b7-964f-9f11c34179d3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Looks like a case where an external microcontroller would be better/easier to manage the DMX signalling ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144723?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 12:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b62655-556f-418a-9beb-6a75db98afc1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Only UARTE peripheral support two stop bits, and this is only supported on nRF52840 and nRF52810 ICs. Unfortunatelu, there seems to be no support for setting this in the drivers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can set two stop bits by writing the register directly after initializing the UARTE peripheral:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NRF_UARTE0-&amp;gt;CONFIG |= (UARTE_CONFIG_STOP_Two &amp;lt;&amp;lt; UARTE_CONFIG_STOP_Pos);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The UARTE peripheral have EasyDMA support, meaning transfers can happen in the background while CPU is busy handling BLE/softdevice events. If you frequently need to handle UART events with strict timing requirements, this will not work together with the softdevice.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to do DMX512 (protocol), I hope to help me, time is very urgent</title><link>https://devzone.nordicsemi.com/thread/144664?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 09:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ca2136-b92f-4cc2-a25e-71c59e4871c2</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Do I have to delete this article now?&lt;/p&gt;
&lt;p&gt;New post article questions?&lt;/p&gt;
&lt;p&gt;（I say sorry again）&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>