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.

AM2434: SRAM Extension for SK-AM243 (ALX-Package)

Part Number: AM2434

Hello Team, 

can you help with customer question below: 

we would like to extend the ALX package of the AM243 (here with the SK-AM243 evalboard) with an external memory module.
For this I would have picked out this pseudo-SRAM (www.mouser.de/.../APS6404L-3SQR-SN

The minimum goal would be to map the entire (P)SRAM memory in the chip's address space - for example at 0x90000000. Writing to RAM address 0x90000000 would result in writing to the external (P)SRAM.
Even better would be to use the external memory in the linker script so that the compiler can already use the memory.

The questions are on the one hand with which interface an external one (if possible the mentioned one) can be included.
And on the other hand whether just this selected one can be used.

In the data sheet of the AM243 you find among other things a FSS that is suitable for the selected memory -> OSPI/QSPI. Could we misuse this for the SRAM?

Would this module also be usable in the ALX package?

The alternative GPMC is not available in the ALX package according to the data sheet. And if 8 or 16 pins must be used here, the selected component would not be suitable either.
But maybe you have another suggestion for memory expansion anyway, which I haven't thought of yet.

Furthermore I haven't found any codeexample for the mentioned modules. Some example project would be helpful here.

Thank you 

Jan

  • Hi Jan,

    The GPMC module is not available on AM243x ALX package. AM243x ALV package on the other hand does support GPMC module. You only option for the external memory for ALX is the OSPI/QSPI interface. You can use the OSPI/QSPI flash for XIP (EXecute In Place). Of course, the SD/MMC can be another option for external storage, but not directly accessible by the CPU as code or data sections.

    There is a GPMC example in MCU+ SDK 09.00.00.35: C:\ti\mcu_plus_sdk_am243x_09_00_00_35\examples\drivers\gpmc\gpmc_flash_io

    Best regards,

    Ming

  • Hi Ming,

    thanks for the fast response. I downloaded the new sdk version and next to the gpmc I also found the examples for the ospi. But I'am not sure if I understand it right. I also found in the ref man that the ALX package provides the QSPI interface, but how exactly am I able to use it to read/write data to/from an external SRAM like the one I found? 

    Jan's link is not working, so I post it again: https://www.mouser.de/ProductDetail/AP-Memory/APS6404L-3SQR-SN?qs=IS%252B4QmGtzzqsn3S5xo%2FEEg%3D%3D

    Thanks in advance

    Ronny

  • Hi Ronny and Jan,

    The OSPI/ QSPI has different interface than the GPMC. It is ultimately a serial interface, where GPMC is a parallel interface with the dedicated address/data lines. The OSPI/QSPI is using the command interface: send a read/write command with address, then send/receive data to/from the OSPI/QSPI client device, so with OSPI/QSPI you can only access to the PSRAM/SRAM as if it is SPI client device. You can certainly refer to the C:\ti\mcu_plus_sdk_am243x_09_00_00_35\examples\drivers\ospi\ospi_flash_io example for details. 

    As for now we do not have any OSPI/QSPI SRAM examples in the MCU+ SDK.

    Best regards,

    Ming