Kevin Huffman

Interfacing Amtel AT45DB161D Serial Flash with MC9S12DP512

Discussion created by Kevin Huffman on Dec 15, 2011
Latest reply on Dec 16, 2011 by bigmac

I purchased a board with the  MC9S12DP512 & an Amtel AT45DB161D serial flash installed.  In reading through the datasheet on the Amtel part I am very confused about the SRAM buffer addressing scheme.  The datasheet states the buffer is written, via the SPI bus,   with an 0x87 command and a 10 bit active address (padded with 14 don't cares).  The active address range is listed as BFA9 through BFA0.  I'm not quite sure how to get a 10 bits address out of this nor how to span a 528 bufffer space.  According to my math, the actual address range only appears to be 4 bits (0-9 of the LSB).  I'm also not sure where to append the remainig two bits to make it a 10 bit address. 

 

Any help in deciphering the specific memory range for this chip would be greatly appreciated.

Outcomes