<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: About the SRAM locations in KL25Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933686#M54164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes perfect sense. Thank you for the source!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2019 15:25:57 GMT</pubDate>
    <dc:creator>tagerud</dc:creator>
    <dc:date>2019-07-23T15:25:57Z</dc:date>
    <item>
      <title>About the SRAM locations in KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933684#M54162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When reading the user guide for M0+ (&lt;A class="link-titled" href="https://static.docs.arm.com/dui0662/a/DUI0662A_cortex_m0p_r0p0_dgug.pdf" title="https://static.docs.arm.com/dui0662/a/DUI0662A_cortex_m0p_r0p0_dgug.pdf"&gt;https://static.docs.arm.com/dui0662/a/DUI0662A_cortex_m0p_r0p0_dgug.pdf&lt;/A&gt;) on page 22 it says that SRAM starts at address 0x2000_0000. However, in the KL25 reference manual, the SRAM is divided in upper and lower sections, where the lower starts at 0x1FFF_F000 (for my 128 KB device). This would put it in the code section, according to the user guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would just like to understand why this is the case? According to an answer to this question:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/437160"&gt;Why is SRAM split, and what does it mean?&lt;/A&gt;, the M0+ does not have separate busses for upper and lower SRAM, so I don't really have to think about it. But even so, why go against the CPU memory model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Corrected lower adress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 12:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933684#M54162</guid>
      <dc:creator>tagerud</dc:creator>
      <dc:date>2019-07-17T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: About the SRAM locations in KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933685#M54163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/tagerud@gmail.com"&gt;tagerud@gmail.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 11.25pt; color: #3d3d3d;"&gt;All the Kinetis Devices has the SRAM memory partitioned this way, in the case of the K series&amp;nbsp; the reason is shown in the next application note (Optimizing performance on Kinetis K-series MCUs &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;AN4745&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.25pt; color: #3d3d3d;"&gt;):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.25pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;All Kinetis K-series devices include two blocks of on-chip SRAM. The first block (SRAM_L) is mapped to the CODE bus, and the second block (SRAM_U) is mapped to the system bus. The memory itself can be accessed in a single cycle, but because instruction accesses to the system bus incurs a one clock delay at the core, SRAM_U instruction accesses take at least two clocks.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;And for example in the KL8x, In LLS2 and VLLS2 the 32KB region of SRAM_U based at 0x2000_0000 are powered.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;So this is a convention in the Kinetis MCUs.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;I hope this information helps you.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Best Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 23:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933685#M54163</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-07-22T23:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: About the SRAM locations in KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933686#M54164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes perfect sense. Thank you for the source!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 15:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-the-SRAM-locations-in-KL25Z/m-p/933686#M54164</guid>
      <dc:creator>tagerud</dc:creator>
      <dc:date>2019-07-23T15:25:57Z</dc:date>
    </item>
  </channel>
</rss>

