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.

AM2732: The C66x DSP is on by default on bootup

Part Number: AM2732
Other Parts Discussed in Thread: UNIFLASH, AWR2944

Tool/software:

Acoording to AM2732x Technical Reference Manual, 5.4.1 say:the C66x DSP is off by default on bootup.But in fact, I find the C66x DSP is on by default on bootup,How do I to change the C66x register status let the DSP core in power off status on bootup.

  • Hi Lindan,

    Yes, by default the C66x core is off. Once you use the SBL_NULL or SBL_QSPI, then all cores (including the C66x core) will be powered on and set to the right frequency by Bootloader_BootImageInfo_init(). The other way to power on the C66x core is to use the dsp_pll_switch() in C:\ti\ccs1270\ccs\ccs_base\emulation\boards\evm_am273x\gel\evmam273x.gel. 

    If you want to turn the power off for DSP, then skip above steps in SBL_NULL/SBL_QSPI or GEL.

    You can also follow the steps described in 6.4.1.2 Software Sequence To Power OFF DSP of AM273x TRM.

    Best regards,

    Ming

  • Hi Ming,

              I find 2944 use the SBL_QSPI, the C66x core is off when bootup.The following two images are as follows:2732 and 2944.these have different pd_status value in SBL_QSPI. 

  • Hi Lindan,

    How do you initialize the AM273x SOC? Set the boot mode to NO BOOT mode and then use GEL file or set boot mode to QSPI flash and then use SBL_NULL or SBL_QSPI? 

    Under what condition the DSP is powered off(pd_status==00)? Under what condition the DSP is powered on(pd_status==11)? 

    Best regards,

    Ming

  • Hi Ming,

     First,2732 use uart_uniflash.py to flash software (sbl_qspi.release.tiimage and am2732x_ccsdebug.appimage which provide by SDK), then use ccs to debug the xx.out which generate by C:\ti\mmwave_mcuplus_sdk_04_03_00_01\mcu_plus_sdk_am273x_08_04_00_17\examples\drivers\boot\sbl_qspi.when connect ,I find the DSP is powered on(pd_status==11).

    But, I use 2944 to flash awr2944_ccsdebug.appimage and the steps are same with 2732, the xx.out which generateby C:\ti\mmwave_mcuplus_sdk_04_03_00_01\mcu_plus_sdk_awr294x_08_04_00_22\examples\drivers\boot\sbl_qspi. when connect ,I find the DSP is powered off(pd_status==00).

  • Hi Lindan,

    The SBL_QSPI for AM273x and AWR2944 is the same. In main() of mmwave_mcuplus_sdk_04_03_00_01\mcu_plus_sdk_awr294x_08_04_00_22\examples\drivers\boot\sbl_qspi\awr294x-evm\r5fss0-0_nortos\main.c, the following code decides whether the C66x core is powered on or not:

    if((status == SystemP_SUCCESS) && (TRUE == Bootloader_isCorePresent(bootHandle, CSL_CORE_ID_C66SS0)))
    {
        status = Bootloader_runCpu(bootHandle, &bootImageInfo.cpuInfo[CSL_CORE_ID_C66SS0]);
    }

    It is really depending on whether your application image has the code for C66x core or not. My guess is that the awr2944_ccsdebug.appimage does not have the code for C66x core, while the am2732x_ccsdebug.appimage does have code for C66x core.

    Best regards,

    Ming

  • Hi Ming, 

       Thank you, this problem has been solved.