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.

AM3358: ROM code default MPU_CLK setting



Our customer sees that the default MPU_CLK Clock Setting by ROM Code is different from the description in the TRM (SPRUH73P). The TRM (SPRUH73P) describes "MPU ADPLLS is locked to provide 500 MHz for the A8", but MPU ADPLLS is set to 1 GHz with XIP boot for AM3352BZCZA100 on customer's board.

When using EVM which implements AM3358BZCZ00, MPU ADPLLS is locked to provide 1 GHz for the A8 with XIP boot or MMC0 boot. The details of the result are as follows:

For XIP boot:

  PC -> 0x00020000

  0x44E00420          CM_WKUP_CM_IDLEST_DPLL_MPU
  0x44E00420          00000100

  0x44E0042C          CM_WKUP_CM_CLKSEL_DPLL_MPU
  0x44E0042C          00000000

  0x44E10040          Control_Module_control_status
  0x44E10040          00480310

  PC -> 0x08000000

  0x44E00420          CM_WKUP_CM_IDLEST_DPLL_MPU
  0x44E00420          00000001

  0x44E0042C          CM_WKUP_CM_CLKSEL_DPLL_MPU
  0x44E0042C          0003E817

For MMC0 boot:

  PC -> 0x00020000

  0x44E00420          CM_WKUP_CM_IDLEST_DPLL_MPU
  0x44E00420          00000100

  0x44E0042C          CM_WKUP_CM_CLKSEL_DPLL_MPU
  0x44E0042C          00000000

  0x44E10040          Control_Module_control_status
  0x44E10040          00480317

  PC -> 0x402F0400

  0x44E00420          CM_WKUP_CM_IDLEST_DPLL_MPU
  0x44E00420          00000001

  0x44E0042C          CM_WKUP_CM_CLKSEL_DPLL_MPU
  0x44E0042C          0003E817

The supply voltage supplied to the VDD_MPU is 1.1 v during ROM boot. It does not meet the recommended operating conditions for Nitro (1GHz).

Is this not a problem?

Best regards,

Daisuke

  • Hi,

    What is the main oscillator frequency? Have you checked the M2 divider (CM_DIV_M2_DPLL_MPU, address 0x44E004A8)?
  • Hi Biser-san,

    Thank you for your reply.

    The main oscillator frequency is 24 MHz. The M2 divider is 1/2 (DPLL_CLKOUT_DIV = 2h). Therefore MPU ADPLLS is locked to provide 500 MHz for the A8 and it matches the TRM description.

    For XIP boot:

     

    CM_WKUP_CM_CLKSEL_DPLL_MPU
    (0x44E0042C)

    CM_WKUP_CM_IDLEST_DPLL_MPU
    (0x44E00420)

    CM_WKUP_CM_DIV_M2_DPLL_MPU
    (0x44E004A8)

    0x00020000

    0x00000000

    0x00000100

    0x00000201

    0x08000000

    0x0003E817

    0x00000001

    0x00000222

    For MMC0 boot:

     

    CM_WKUP_CM_CLKSEL_DPLL_MPU
    (0x44E0042C)

    CM_WKUP_CM_IDLEST_DPLL_MPU
    (0x44E00420)

    CM_WKUP_CM_DIV_M2_DPLL_MPU
    (0x44E004A8)

    0x00020000

    0x00000000

    0x00000100

    0x00000201

    0x402f0400

    0x0003E817

    0x00000001

    0x00000222

    Best regards,

    Daisuke