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.

AM437X GPMC Base Address, Size

Hi,

We have two GPMC chip selects interfaced with NOR protocol memory where we are facing issue in accessing these memory.

Below is the GPMC base addres and size configuration I am using,

CS1 - GPMC_CONFIG7_1[5-0]=0x1
GPMC_CONFIG7_1[11-8]=0xF

CS2 - GPMC_CONFIG7_2[5-0]=0x2
GPMC_CONFIG7_2[11-8]=0xF

1)In my understanding, we should use chip select base address starting from 0x01000000(CS1 base address). Am I correct here?
2)In case of CS2 I have set size to 16MB, is it possible to increase the size to 32 or 64MB with the same base address(0x2000000)?


Thanks,
Vishakh

  • Hi Vishakh,

    Vishakh M11 said:
    1)In my understanding, we should use chip select base address starting from 0x01000000(CS1 base address). Am I correct here?

     

    You are correct. 

    Vishakh M11 said:
    2)In case of CS2 I have set size to 16MB, is it possible to increase the size to 32 or 64MB with the same base address(0x2000000)?

    Yes, you can change the CS2 size, without changing its base address, see Section  9.1.3.3.8.1 Chip-Select Base Address and Region Size in device TRM. 

    Best Regards, 

    Yordan

  • Hi Yordan,

    Thanks for the Reply.

    I have a confusion in address signals.
    GPMC is connected to 16-bit NOR flash memory and LSB of the memory is A1. GPMC address lines are GPMC_A[1-18]. We are observing 1st bit of address on GPMC_A[1] not 0th bit.
    Do I have to do the left shifting of the address by one? or else GPMC should take care of this?

    Regards,
    Vishakh