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.

AM6548: PMIC questions

Part Number: AM6548
Other Parts Discussed in Thread: TMDX654IDKEVM, TPS62363, TPS54318

Hello All,

I have some questions regarding PMIC on AM6548 Sitara.

My configuration is:

     CCS ver: 9.2.0.00013

     Windows version - Windows 10 Pro version 1803

     TI-RTOS SDK 6.03.

     PDK - pdk_am65xx_1_0_7

     AM65x (IDK) - TMDX654IDKEVM

     Custom board based on AM6548


To be able to use previuse PDK106 on our custom bord, we made some modification on PDK106. We creted board library with custom name, then we made modification to use QSPI nor flash instade of OSPI nor flash (IDK board), then we made a modification in SBL to support booting from QSPI nor flash...

So when new pdk version was relesed, we made the same modification on PDK107 but we noticed a potential problem.

On IDK board for MPU0 and MPU1 voltage domain supply you use TPS62363 voltage regulator. With this voltage regulator you have possibility to change voltage supply dynamically. Until this pdk version you didn't use PMIC, but with the latest pdk version (PDK107) you added in SBL code, more precisely in function SBL_SocLateInit(), to change voltage level on MPU0/1 voltage domain supply by sending command via I2C to TPS62363 voltage regulator.

In our custom board with AM6548, for MPU0 and MPU1 voltage domain supply we use fixed voltage of 1.2V. To create 1.2V for supplying MPU 0 and MPU1 we use voltage regulator TPS54318 (output voltage level is fixed to 1.2V)

My questions are:
1) Can we use the latest PDK107 to work with our board, although we do not have a controllable regulator like on IDK board, or we need remove PMIC support from board lib in PDK107?

2) Can we use the original SBL code from PDK107, only with our modification to support booting from QSPI nor flash, or we need to remove part of code regarding PMIC?

3) If we want to load our application via emulator to our custom board, we need to use JS script to make basic initialization (launch.js from PDK107). Does sci firmware (ti-sci-firmware-am65x-gp.bin) is trying to change voltage level on MPU0 and MPU1 domain like is implemented in SBL code? Do we need to change something in ti-sci-firmware-am65x-gp.bin firmware or somewhere else, to be able to make good initialization of SoC?


Best regards,

Novica

  • Novica,

    The SBL_SocLateInit() function is performing two tasks:

    AM65XX_ConfigVtm() sets up temperature sensors within the device and

    AM65x_SetupPmicAvs() which communicates with the external PMIC to adjust the voltage level to that which is specified within the SoC.

    You can use PDK1.0.7 on your board.

    If you are implementing a fixed-voltage design, you do not need to call the AVS function and can remove this function call. You do, however, need to ensure that the fixed voltage provided by your power solution meets the datasheet requirement for the OPP you are using for the MPU speed.

    The firmware will not attempt to change the voltage level automatically. This needs to be requested (e.g. from SBL).

    Best regards,

    Dave

  • Hi Dave,

    Sorry for the late reply.

    Thanks on the information.

    Best regards,
    Novica