Part Number: TMS570LC4357
I am trying to read/write to/from an external SRAM through TMS570LC4357.
Below is the brief of code:
_mpuInit_(); _mpuEnable_(); sciInit(); emif_ASYNC2Init();
Data = EMMIFdataRead(0x1000); sciDisplayData(sciREG3,&Data,2); sciSendByte(sciREG3, '.'); Data = EMMIFdataRead(0x1002); sciDisplayData(sciREG3,&Data,2); sciSendByte(sciREG3, '.');
The Data write seems to be unsuccessful. If i read the location 0x1000 from above code, the data read is some random value.
I have used the 128K x 16 STATIC RAM (part # IS62WV12816ALL) as the external memory.
The EMIF address lines (A1-A16) and the data lines (D0-D15) of the microcontroller are connected to the external memory address and data lines respectively.
I have attached the HALCOgen configuration file EMIF.hcg. Let, me know if the HALCOgen configurations are wrong.
Please, do the needful.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.