I believe that it is possible to access the data on EMIF address range directly by pointer. But I'll confirm this and will get back to you. Meanwhile I just want to know if you are facing any issues while implementing this.
Thank you Hima,
so far I am not seeing any issues, I followed the steps outlined in the EMIF example project, but I'm currently trying to show the contents of the EXT SRAM on my LCD and have had no success.
since I'm actually new to using external SRAM I should clarify what I'm wanting to accomplish.
I have SRAM that has an 8-bit data channel width, but I'm trying to use a function that takes in the pointer to an array of 32 bit values.. is it capable of this because I am not having any luck? the 8 bit chan width and 32 bit values the function expects are worrying me.
EMIF does not break up any multi-byte accesses into 8-bit accesses. If it is a 16-bit EMIF memory, it can do 16-bit or 32-bit data reads and writes.
Thanks SmartPSoC for your reply,
If I can clarify what you said it would help me,
1) You speak of 16 bit memory, is this the same for 8-bit?
2) Am I to assume then if I access a 32-bit variable stored on my 8-bit sram with a pointer the emif would return the full 32-bit variable not just the first 8-bits?
Thank you for your help,