<?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>Digital Signal ControllersのトピックRe: SRAM for MC56F8367</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862496#M1464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padma&lt;/P&gt;&lt;P&gt;It would be helpful to know how you&amp;nbsp;have the SRAM chips connected to the DSC.&lt;/P&gt;&lt;P&gt;As Xiangjun Rong pointed out above, what CS lines are you using to access the SRAM.&lt;/P&gt;&lt;P&gt;A schematic or description would be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example Code in CS_56F8367_PE.c (IN the attached file above)&amp;nbsp;is very straightforward pointer access to memory:&lt;/P&gt;&lt;P&gt;These 2 lines define the location in memory (the second one could be SRAM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int * IOPointer=(unsigned int *)0x0008010;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int * RAMPointer=(unsigned int *)0x0D10000;&lt;/P&gt;&lt;P&gt;These 2 lines write values to the locations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*IOPointer)=0x1234; //base address is 008 Hex in cpu bean&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*RAMPointer)=0x5678; //base address is D10 Hex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want&amp;nbsp;to read from the locations you define a variable and then assign the value at the&amp;nbsp;memory location to the variable.&lt;/P&gt;&lt;P&gt;Create the var.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unsigned int&amp;nbsp; MemValue;&lt;/P&gt;&lt;P&gt;Assign a memory location value&amp;nbsp;to the var.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MemValue = *RAMPointer;&lt;/P&gt;&lt;P&gt;So if RAMPointer had 0x5678 in it, now MemValue would have 0x5678 in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help some.&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2019 15:09:13 GMT</pubDate>
    <dc:creator>dynapb</dc:creator>
    <dc:date>2019-04-01T15:09:13Z</dc:date>
    <item>
      <title>SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862491#M1459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using two 128K X 16 Asynchronous SRAM for my project with mc56f8367 (codewarrior 10.7).&lt;/P&gt;&lt;P&gt;I am unable to find any example code to store and access data from sram.&lt;/P&gt;&lt;P&gt;I am facing trouble while programming. Can anyone help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 12:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862491#M1459</guid>
      <dc:creator>padmaashok765</dc:creator>
      <dc:date>2019-03-28T12:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862492#M1460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Padma,&lt;/P&gt;&lt;P&gt;For detailed information about the Asynchronous SRAM, pls refer to the Chapter 4&lt;BR /&gt;External Memory Interface (EMI).&lt;/P&gt;&lt;P&gt;Pls refer to the figure 4-3, you use 128K*16 bits SRAM, the memory address is from A0~A16, the A17~A23 are used to decode the /CS signal. I suppose for example, you use /CS2 for one 128K SRAM, /CS3&amp;nbsp; for another 128K SRAM.&lt;/P&gt;&lt;P&gt;1)For /CS1, you can use the address:&lt;/P&gt;&lt;P&gt;A23&amp;nbsp;&amp;nbsp; A22&amp;nbsp;&amp;nbsp; A21&amp;nbsp;&amp;nbsp; A20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A19&amp;nbsp;&amp;nbsp; A18&amp;nbsp;&amp;nbsp; A17&amp;nbsp;&amp;nbsp; A16.................&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;You can access the 0x00 0000 to 0x 1E 0000 as the /CS2 address&lt;/P&gt;&lt;P&gt;You can set the Chip Select Base Address Registers 2 as 0x1E05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For /CS2, you can use the address:&lt;/P&gt;&lt;P&gt;A23&amp;nbsp;&amp;nbsp; A22&amp;nbsp;&amp;nbsp; A21&amp;nbsp;&amp;nbsp; A20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A19&amp;nbsp;&amp;nbsp; A18&amp;nbsp;&amp;nbsp; A17&amp;nbsp;&amp;nbsp; A16.................&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;You can access the 0x00 0000 to 0x1C 0000 as the /CS3 address&lt;/P&gt;&lt;P&gt;You can set the Chip Select Base Address Registers 2 as 0x1C05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the other register, you can set based on your requirement.&lt;/P&gt;&lt;P&gt;You can PE to set the EMI register.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78998iF607AD2F6BD7759E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 03:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862492#M1460</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-03-29T03:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862493#M1461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thankyou. Still i find difficulties while programming as i have not used sram before.&lt;/P&gt;&lt;P&gt;Kindly can you send me a simple program to write a data and read that same data from sram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 11:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862493#M1461</guid>
      <dc:creator>padmaashok765</dc:creator>
      <dc:date>2019-03-29T11:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862494#M1462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Padma,&lt;/P&gt;&lt;P&gt;Pls refer to the example code, the project is based on CodeWarrior for DSP56800E tools, it creates a project and uses PE to configure the external SRAM for MC56F8367EVM, it uses a pointer to access external SRAM.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 03:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862494#M1462</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-04-01T03:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862495#M1463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no example code for mc56f8367 SRAM module in codewarrior 11.1 package.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 11:05:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862495#M1463</guid>
      <dc:creator>padmaashok765</dc:creator>
      <dc:date>2019-04-01T11:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM for MC56F8367</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862496#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padma&lt;/P&gt;&lt;P&gt;It would be helpful to know how you&amp;nbsp;have the SRAM chips connected to the DSC.&lt;/P&gt;&lt;P&gt;As Xiangjun Rong pointed out above, what CS lines are you using to access the SRAM.&lt;/P&gt;&lt;P&gt;A schematic or description would be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example Code in CS_56F8367_PE.c (IN the attached file above)&amp;nbsp;is very straightforward pointer access to memory:&lt;/P&gt;&lt;P&gt;These 2 lines define the location in memory (the second one could be SRAM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int * IOPointer=(unsigned int *)0x0008010;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int * RAMPointer=(unsigned int *)0x0D10000;&lt;/P&gt;&lt;P&gt;These 2 lines write values to the locations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*IOPointer)=0x1234; //base address is 008 Hex in cpu bean&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*RAMPointer)=0x5678; //base address is D10 Hex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want&amp;nbsp;to read from the locations you define a variable and then assign the value at the&amp;nbsp;memory location to the variable.&lt;/P&gt;&lt;P&gt;Create the var.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unsigned int&amp;nbsp; MemValue;&lt;/P&gt;&lt;P&gt;Assign a memory location value&amp;nbsp;to the var.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MemValue = *RAMPointer;&lt;/P&gt;&lt;P&gt;So if RAMPointer had 0x5678 in it, now MemValue would have 0x5678 in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help some.&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/SRAM-for-MC56F8367/m-p/862496#M1464</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2019-04-01T15:09:13Z</dc:date>
    </item>
  </channel>
</rss>

