<?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>how to use sram</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19680/how-to-use-sram</link><description>i am using nrf24le1 contyroller can anyone tell me how to use the 1k sram.what is the datatype for using this and what are the compiler settings in using this.i am using keil comipler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Feb 2017 15:39:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19680/how-to-use-sram" /><item><title>RE: how to use sram</title><link>https://devzone.nordicsemi.com/thread/76552?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 15:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0b722b7-8cb4-4a86-811c-8d7789f9beca</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;By default the Memory Model is Small:variable in DATA meaning all variable is in the internal RAM.
If you want to put a variable/array into SRAM or XDATA you can simply add xdata as prefix when you declare.&lt;/p&gt;
&lt;p&gt;For example: &lt;code&gt;xdata uint8_t payload[300];&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you want to put everything in XDATA, you can select Large model. Then everything is slower as the CPU have to access SRAM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>