<?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: SRAM vs ITCM VS DTCM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SRAM-vs-ITCM-VS-DTCM/m-p/2008402#M43941</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229600"&gt;@Yellow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. What is the Difference between SRAM vs ITCM vs DTCM?&lt;/STRONG&gt;&lt;BR /&gt;SRAM (Static Random Access Memory) is a type of memory with the purpose of storing and accessing data.&lt;BR /&gt;ITCM (Instruction Tightly Coupled Memory) is a type of memory which has a dedicated connection to the core and addressed to use with instructions directly&lt;BR /&gt;DTCM (Data Tightly Coupled Memory) is a type of memory similar to ITCM with a dedicated connection to the core but addressed to use with data.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;2. If all are RAM why there is difference?&lt;/STRONG&gt;&lt;BR /&gt;SRAM do not have a dedicated connection to the core, therefore, since ITCM and DTCM have a dedicated connection, access time to both memories is reduced to 1 clock cycle.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;3. What kind of data we can store in each RAM?&lt;/STRONG&gt;&lt;BR /&gt;You can store any kind of your code date in SRAM, however, since ITCM and DTCM are fast access memories, ideally you would use DTCM to store critical variables and frequently updated variables, and ITCM to access critical functions, routines and ISRs.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;4. Why this 3 different type of RAM required?&lt;/STRONG&gt;&lt;BR /&gt;ITCM and DTCM are features with the main purpose to exploit them in real time operating systems thanks to their fast access characteristic, so SRAM can be given a RAM common use.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;For more information about S32K3xx family memory types, we provide Memories Guide application note which explains this topic in detail. It can be downloaded from: S32K3 Microcontrollers for Automotive General Purpose &amp;gt; Documentation &amp;gt; AN13388: S32K3 Memories Guide - Application Note.&lt;/P&gt;
&lt;P&gt;Have an excellent day! - RomanVR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 17:20:20 GMT</pubDate>
    <dc:creator>RomanVR</dc:creator>
    <dc:date>2024-12-05T17:20:20Z</dc:date>
    <item>
      <title>SRAM vs ITCM VS DTCM</title>
      <link>https://community.nxp.com/t5/S32K/SRAM-vs-ITCM-VS-DTCM/m-p/2007088#M43889</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using S32Kx, i can see there are 3 different RAM. SRAM/ITCM/DTCM. i have few question related to this.&lt;/P&gt;&lt;P&gt;1. what is the Difference between SRAM vs ITCM vs DTCM?&lt;/P&gt;&lt;P&gt;2. if all are RAM why there is difference?&lt;/P&gt;&lt;P&gt;3. what kind of data we can store this RAM's(each)?&lt;/P&gt;&lt;P&gt;4. why this 3 different type of RAM Required?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SRAM-vs-ITCM-VS-DTCM/m-p/2007088#M43889</guid>
      <dc:creator>Yellow</dc:creator>
      <dc:date>2024-12-04T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM vs ITCM VS DTCM</title>
      <link>https://community.nxp.com/t5/S32K/SRAM-vs-ITCM-VS-DTCM/m-p/2008402#M43941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229600"&gt;@Yellow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. What is the Difference between SRAM vs ITCM vs DTCM?&lt;/STRONG&gt;&lt;BR /&gt;SRAM (Static Random Access Memory) is a type of memory with the purpose of storing and accessing data.&lt;BR /&gt;ITCM (Instruction Tightly Coupled Memory) is a type of memory which has a dedicated connection to the core and addressed to use with instructions directly&lt;BR /&gt;DTCM (Data Tightly Coupled Memory) is a type of memory similar to ITCM with a dedicated connection to the core but addressed to use with data.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;2. If all are RAM why there is difference?&lt;/STRONG&gt;&lt;BR /&gt;SRAM do not have a dedicated connection to the core, therefore, since ITCM and DTCM have a dedicated connection, access time to both memories is reduced to 1 clock cycle.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;3. What kind of data we can store in each RAM?&lt;/STRONG&gt;&lt;BR /&gt;You can store any kind of your code date in SRAM, however, since ITCM and DTCM are fast access memories, ideally you would use DTCM to store critical variables and frequently updated variables, and ITCM to access critical functions, routines and ISRs.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;4. Why this 3 different type of RAM required?&lt;/STRONG&gt;&lt;BR /&gt;ITCM and DTCM are features with the main purpose to exploit them in real time operating systems thanks to their fast access characteristic, so SRAM can be given a RAM common use.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;For more information about S32K3xx family memory types, we provide Memories Guide application note which explains this topic in detail. It can be downloaded from: S32K3 Microcontrollers for Automotive General Purpose &amp;gt; Documentation &amp;gt; AN13388: S32K3 Memories Guide - Application Note.&lt;/P&gt;
&lt;P&gt;Have an excellent day! - RomanVR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 17:20:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SRAM-vs-ITCM-VS-DTCM/m-p/2008402#M43941</guid>
      <dc:creator>RomanVR</dc:creator>
      <dc:date>2024-12-05T17:20:20Z</dc:date>
    </item>
  </channel>
</rss>

