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.

AM2634-Q1: Query :- Maximum Size of external RAM via GPMC for AM2634

Part Number: AM2634-Q1


Tool/software:

Hi

We are using the AM2634-Q1 for our application, and based on our current requirements, the 2MB of internal RAM may not be sufficient. We are planning to add external RAM via the GPMC interface and would appreciate your guidance on the following:

  1. Maximum Supported Size:
    What is the maximum size of external RAM that can be connected to the AM2634-Q1 via GPMC? Are there any recommended part numbers or memory types (e.g., SRAM/PSRAM) that are known to work well with this device?

  2. Memory Configuration and Usage:
    Once external RAM is connected, how do we configure the application to utilize it? Will the internal OCRAM and external RAM work together as a contiguous memory region, or will they function as separate memory banks?
    If there are any reference examples, application notes, or documentation on how to configure and use external RAM with GPMC on AM263x, please share those.

Thanks in advance for your support!

  • Hi Nishanthkumar,

    Apologies for the delay.

    Once external RAM is connected, how do we configure the application to utilize it? Will the internal OCRAM and external RAM work together as a contiguous memory region, or will they function as separate memory banks?

    What is the maximum size of external RAM that can be connected to the AM2634-Q1 via GPMC

    Maximum size for a 16-Bit non multiplexed memory like (SRAM/ PSRAM) interfaced using GPMC is 4 MBytes.

    Are there any recommended part numbers or memory types (e.g., SRAM/PSRAM) that are known to work well with this device
    1. These are the class of SRAM and PSRAM that are tested:
      1. SRAM -  CY7C10612G30-10ZSXIT
      2. PSRAM - IS67WVE4M16EBLL-70BLA1 (half density)
    If there are any reference examples, application notes, or documentation on how to configure and use external RAM with GPMC on AM263x, please share those

    The latest AM263X_mcu_plu_sdk has a working example on GPMC- PSRAM interface 
    Path: C:\ti\mcu_plus_sdk_am263x_10_01_00_31\examples\drivers\gpmc\gpmc_psram_io

    For Additional information on configurations please refer to AM263X-TRM Section 13.3.1 General-Purpose Memory Controller (GPMC)

    Once external RAM is connected, how do we configure the application to utilize it? Will the internal OCRAM and external RAM work together as a contiguous memory region, or will they function as separate memory banks?

    I will get back on this after confirming with the Software expert.


    Thank & Regards,
    Rijohn

  • Hi Nishanthkumar,

    Will the internal OCRAM and external RAM work together as a contiguous memory region, or will they function as separate memory banks

    OCRAM and Ext. RAM are not Contiguous memories. They work as separate memory banks. GPMC Data Region Starts from 0x68000000.


    Thanks & Regards,
    Rijohn

  • Hi Rijohn,

    Thanks for the support
    Please let us know if our binary size is high (say above 1.5MB), is it possible to load that in external memory and run 

  • Hi Nishanthkumar,

    Can you please elaborate your use case scenario, if possible?

    Regards,
    Rijohn

  • yes Rijhon,
    In our case, when we estimate the required RAM memory for our application, it is coming around 1.2MB (all 4 cores are up). So considering future requirements, we are planning to add external RAM via GPMC. I am trying to understand, where the code will be loaded either in internal RAM or external

  • Hi Nishanthkumar,

    I am trying to understand, where the code will be loaded either in internal RAM or external

    The loading/execution of the code can be configured using linker file. But XIP over GPMC from EXT_SRAM is not a tested use case in AM263X. I will need sometime to check this with validation team.


    In the meantime I would suggest you to have a look at AM263P device ZCZ-C package. AM263P ZCZ_C is a pin to pin compactible device with AM263X (with 4 cores same as in Am263X).

    AM263P has 3MB of OCRAM. Instead of GPMC interface here we support Octal SPI Interface (133MHz DDR) , XIP feature, Firmware Over the Air Upgrade etc. 

    Thanks & Regards,
    Rijohn