TMS570LS1224: MPU Region Size EMIF Async RAM

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN,

For EMIF Async RAM, the HALCoGen example sys_mpu.asm file for the TMS570LS1224 specifies a region size of 0x19 (64MB) and disables sub-regions 6 & 7, therefore the effective size for the region is: (64MB / 8) x 6 = 48MB

 

        movw  r0,  #((1 << 15) + (1 << 14) + (0 << 13) + (0 << 12) + (0 << 11) + (0 << 10) + (0 <<  9) + (0 <<  8) + (0x19 << 1) + (1))
        mcr   p15, #0,    r0, c6, c1, #2

 

For EMIF Async RAM, the device data sheet details the following:

image.png

image.png

Question: How does an effective size of 48MB for the region used for EMIF Async RAM map to 32KB x 3 as per the device data sheet?

  • Hi Paulo,

    You need to change that default HALCoGen configuration as below:

    This is because as mentioned below, the valid range for EMIF is from 0x60000000 to (0x6C000000-1),

    So, the total valid frame memory range is 192MB right? So, as given in my first screenshot you can just configure 256MB and then disable last two sub regions will provide you exact 192MB.

    This is my suggestion, if you want to configure differently than you can do accordingly.

    --
    Thanks & regards,
    Jagadish.

  • Thank you for your reply.

    Kind regards,

    Paul.