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.

c665x power domain default status

Power domain  -- Default value after reset    Alaways domain _1; other domains _0 (SPRUGV4C page 17)

Clock domain -- Default value after reset    C66x domain and never-gated domain _0x3;  other domains _0 (SPRUGV4C page 20)

Belows are the power domain and clock domain status I got after powerup. PD_STAT and MD_STAT for MSMCRAM are also on after powerup. Is MSMCRAM considerd a C66x domain? I want to double check whether MSMCRAM is ON by defaul so that secondary boot codes can be put on it.

PD status @ powerup

PD_STATE[0] = 0x1

PD_STATE[1] = 0x0

PD_STATE[2] = 0x0

PD_STATE[3] = 0x0

PD_STATE[4] = 0x0

PD_STATE[5] = 0x0

PD_STATE[6] = 0x1

PD_STATE[7] = 0x1

PD_STATE[8] = 0x0

PD_STATE[9] = 0x0

PD_STATE[10] = 0x0

PD_STATE[11] = 0x0

PD_STATE[12] = 0x0

PD_STATE[13] = 0x1

PD_STATE[14] = 0x0

MD_STATE[0] = 0x3

MD_STATE[1] = 0x3

MD_STATE[2] = 0x3

MD_STATE[3] = 0x0

MD_STATE[4] = 0x0

MD_STATE[5] = 0x0

MD_STATE[6] = 0x0

MD_STATE[7] = 0x0

MD_STATE[8] = 0x0

MD_STATE[9] = 0x0

MD_STATE[10] = 0x0

MD_STATE[11] = 0x0

MD_STATE[12] = 0x0

MD_STATE[13] = 0x3

MD_STATE[14] = 0x3

MD_STATE[15] = 0x0

MD_STATE[16] = 0x0

MD_STATE[17] = 0x0

MD_STATE[18] = 0x0

MD_STATE[19] = 0x0

MD_STATE[20] = 0x0

MD_STATE[21] = 0x0

MD_STATE[22] = 0x0

MD_STATE[23] = 0x3

GanZ

  • Hello GanZ,

    The MSMC RAM clock and power domain are not an Always ON domain, these are software controllable. Please refer table 7.6 and 7.7 in device datasheet SPRS814A.

    When did you read these registers after power up ?

    You have to read these registers before connect target in GEL file to know the default state after power on. The function Global_Default_Setup_Silent() in the OnTargetConnect( ) will set all the power and clock domains.


    Regards,

    Senthil

  • Senthil,

    Thanks for the response.

    The registers were read after power up and the board was connected to the debugger.

    I am aware that in GEL file Global_Default_Setup_Silent() will call Set_Psc_All_On( ) to setup the power domains. But in my board the GEL file board initialization was bypassed because of the boot mode ( see below). If Set_Psc_All_On( ) were called, not only MSMCRAM, a few other modules such as SRIO would have been truned on.

    C66xx_0: GEL Output: No initialization performed since bootmode = 0x00000006
    C66xx_0: GEL Output: You can manually initialize with GlobalDefaultSetup

    GanZ
  • Hello Ganz,

    I also verified this in C6657 EVM and observed the same state (always on) of PDSTAT7 before and after PSC ON.

    I will work with the concern team and try to figure out the issue. I will get back soon.

    Thanks for your patience.

    Regards,
    Senthil

  • Ganz,

    What's the device number of the device you're observing the PDSTAT7 to be 0 on?

    Best Regards,

    Chad

  • Chad,

    I am using C6655. It has core0 only. PDSTAT7 statte I observed  was 1, not 0.

     

    Regards,

     

    GanZ

     

  • GanZ,

    Ok, I misunderstood you original concern. I thought you were suggesting it was Off when it should be On. Ye, MSMC is an Always On power domain. It needs to be always on because other IP (DDR3 in this case) needs it for usage (DDR3 accesses goes through the MSMC on Keystone I devices), which isn't obvious, but behind the scenes that's the reason why it was set as an Alway-On power domain.

    Best Regards,
    Chad
  • Chad,

    Thanks for your help. It makes sense that MSMC is on by default. The PSC document SPRUGV4C and C6655 document SPRS814A are not clear to me on that so I want to double check initially.

    Regards,

    GanZ