AnsweredAssumed Answered

Addressing 16-bit variables 512K SRAM

Question asked by dice on Sep 4, 2013
Latest reply on Sep 6, 2013 by dice
Hi everyone. I can't get my head around this ... I was using a SRAM memory of 128K in a project, interfaced via the FSMC controller, but now I have to extend it to 512K. I have 16-bit words to store in the memory in two separate pages. The memory occupies Bank1_region3 FSMC address space (0x68000000). With 128K it was easy: I had the first page going from 0x68000000 up to 0x6800FFFF, whereas the second page from 0x68010000 up to 0x6801FFFF. Thus, I was still able to address each location with a 16-bit address added to the page base address (0x68000000 or 0x68010000). Now, each page is 3FFFF long hence the same trick wouldn't work and I can't get my head around this.
A little help will be really appreciate.

Thank you!

Outcomes