<?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>nRF52832 Enabling UART easyDMA results in global variables being assigned random values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126679/nrf52832-enabling-uart-easydma-results-in-global-variables-being-assigned-random-values</link><description>IDE：SES for ARM V5.42a 
 SDK：nRF5_SDK_16.0.0 
 I am develop BLE device with nRF52832. I found that some global variables were assigned ramdom values if I enable UART easyDMA. If UART easyDMA is disabled, this bug will not occur.These global variables</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jan 2026 11:27:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126679/nrf52832-enabling-uart-easydma-results-in-global-variables-being-assigned-random-values" /><item><title>RE: nRF52832 Enabling UART easyDMA results in global variables being assigned random values</title><link>https://devzone.nordicsemi.com/thread/559455?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 11:27:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a26f57e-d38d-46c2-b8ff-aca35f26318d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;+1 to what&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Jörg Fischer&lt;/a&gt;&amp;nbsp;said.&amp;nbsp;&lt;/p&gt;
[quote user=""]The address of global variables assigned random values is&amp;nbsp;0x20005660.[/quote]
&lt;p&gt;These are not randomly assigned but how the compiler works, if you want to have a predictable memory management on it then use a heap or similar and have some checks in your code that boundaries on that memory are not being broken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Enabling UART easyDMA results in global variables being assigned random values</title><link>https://devzone.nordicsemi.com/thread/559450?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 10:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba77905-a418-4679-bda1-9518b3841522</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;That usually means you have a big stack or buffer overflow somewhere in your code.&lt;/p&gt;
&lt;p&gt;Try migrating to NCS SDK, I believe they have MPU setups that can tell you some stack overflows for NRF52xxx MCUs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>