<?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 Interfacing Amtel AT45DB161D Serial Flash with MC9S12DP512 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Interfacing-Amtel-AT45DB161D-Serial-Flash-with-MC9S12DP512/m-p/190375#M7378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I purchased a board with the&amp;nbsp; MC9S12DP512 &amp;amp; an Amtel AT45DB161D serial flash installed.&amp;nbsp; In reading through the datasheet on the Amtel part I am very confused about the SRAM buffer addressing scheme.&amp;nbsp; The datasheet states the buffer is written, via the SPI bus, &amp;nbsp; with an 0x87 command and a 10 bit active address (padded with 14 don't cares).&amp;nbsp; The active address range is listed as BFA9 through BFA0.&amp;nbsp; I'm not quite sure how to get a 10 bits&amp;nbsp;address out of this nor how to span a 528 bufffer space.&amp;nbsp; According to my math, the&amp;nbsp;actual address range only appears to be 4 bits (0-9 of the LSB).&amp;nbsp; I'm also not sure where to append the remainig two bits to make it a&amp;nbsp;10 bit address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in deciphering the specific memory range for this chip would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2011 02:54:31 GMT</pubDate>
    <dc:creator>KH_SRNL</dc:creator>
    <dc:date>2011-12-16T02:54:31Z</dc:date>
    <item>
      <title>Interfacing Amtel AT45DB161D Serial Flash with MC9S12DP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Interfacing-Amtel-AT45DB161D-Serial-Flash-with-MC9S12DP512/m-p/190375#M7378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I purchased a board with the&amp;nbsp; MC9S12DP512 &amp;amp; an Amtel AT45DB161D serial flash installed.&amp;nbsp; In reading through the datasheet on the Amtel part I am very confused about the SRAM buffer addressing scheme.&amp;nbsp; The datasheet states the buffer is written, via the SPI bus, &amp;nbsp; with an 0x87 command and a 10 bit active address (padded with 14 don't cares).&amp;nbsp; The active address range is listed as BFA9 through BFA0.&amp;nbsp; I'm not quite sure how to get a 10 bits&amp;nbsp;address out of this nor how to span a 528 bufffer space.&amp;nbsp; According to my math, the&amp;nbsp;actual address range only appears to be 4 bits (0-9 of the LSB).&amp;nbsp; I'm also not sure where to append the remainig two bits to make it a&amp;nbsp;10 bit address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in deciphering the specific memory range for this chip would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 02:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Interfacing-Amtel-AT45DB161D-Serial-Flash-with-MC9S12DP512/m-p/190375#M7378</guid>
      <dc:creator>KH_SRNL</dc:creator>
      <dc:date>2011-12-16T02:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Amtel AT45DB161D Serial Flash with MC9S12DP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Interfacing-Amtel-AT45DB161D-Serial-Flash-with-MC9S12DP512/m-p/190376#M7379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that there is some confusion of the bit names given to the active bits, and the "address".&amp;nbsp; The labels given to each of the active address bits range from BA9 through to BA0.&amp;nbsp; This 10-bit value is right justified within a 24-bit address value.&amp;nbsp; I&amp;nbsp;assume that the 10-bit value will range from 0 to 527 decimal (0x20F).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the SPI data will be sent as individual bytes, the 10-bit value will need to be split into high and low byte values, to be sent as the third and fourth bytes, respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Byte 1:&amp;nbsp; Opcode 0x87&lt;/P&gt;&lt;P&gt;Byte 2:&amp;nbsp; Don't care, say 0x00&lt;/P&gt;&lt;P&gt;Byte 3:&amp;nbsp; address / 256&amp;nbsp;(high byte)&lt;/P&gt;&lt;P&gt;Byte 4:&amp;nbsp; address % 256 (low byte)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 12:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Interfacing-Amtel-AT45DB161D-Serial-Flash-with-MC9S12DP512/m-p/190376#M7379</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-12-16T12:08:12Z</dc:date>
    </item>
  </channel>
</rss>

