This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570 and example code for setting up an extarnal SRAM.

Hello TI,

I wonder if you have an example code/project for setting up EMIF for an external SRAM (ISSI IS61WV102416BLL) for the TMS570?

Best regards

Magnus

  • Access the SRAM from EMIF is not difficult.

    1) Find the CS line that your hardware uses.

    2) Configure the AxCR register according to the CS line. E.g, if you are using CS0, please configure A1CR.

    3)Find the address range from the datasheet (depends on the CS line you are using). After that, you can access the external memory just like the internal memory.

    So all you need to do is to configure one single register. For this single register,

    In your case, the ASIZE field must be '1'. At the beginning, you can leave the other parameters as default (This means the access time is slow). Once you can write/read the SRAM, you can modify the parameters (according to the SRAM datasheet). In your case, the SRAM is very fast, sounds like you can try 1 (even 0) for the setup, strobe and hold time.

    Regards,

    Haixiao