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.

TDA2PXEVM: How to change SGX Bandwidth limitation

Part Number: TDA2PXEVM

Hi.

I would like to know how to change limitation of the memory bandwidth of "SGX" in "TDA2P EVM".

Is there any register related to it and how to set it?

thanks.

  • Hi Koji Sato,

    Are you looking for limiting the SGX access to DDR to some MBps?

    Are you using VisionSDK? 

    Thanks

    RamPrasad

  • RamPrasad-san

    Thank you for your reply.

    >>Are you looking for limiting the SGX access to DDR to some MBps?

    Yes. I wanna freely limit it or release it (no limit), for example 2000MBps, 5000MBps...

    I am using VisionSDK.

    Thanks

    Koji  

  • Hi Koji san,

    What is the visionSDK version used?

    I referred 3.07 visionSDK. Here there is already a utility function Utils_setBWLimiter() is available to limit the DDR BW.

    If you refer this file sample_app/src/common/chain_main_linux.c

    GPU is being limited to 1.3GBps with these two instructions.

    Utils_setBWLimiter(UTILS_DMM_INITIATOR_ID_GPU_P1, 1000);
    Utils_setBWLimiter(UTILS_DMM_INITIATOR_ID_GPU_P2, 1000);

    Thanks

    RamPrasad

  • RamPrasad-san

    Thank you for the information, but it did not solve our problem.

    My VisionSDK version : v03.37.00

    and I am using following usecases:

           vision_sdk/apps/src/hlos/adas/src/usecases

    I think these usecase files do not refer the file "sample_app/src/common/chain_main_linux.c"

    I changed the value "1000" to "2000", but the result was not changed.

    How to reflect the BW settings to usecases?

    Thanks

  • Hi Koji san,

    Please execute option "p" to get the current DDR BW for all initiators.

    If you want to limit DDRBw of GPU, you will have to update you apps limit with same Utility function.

    RamPrasad

  • RamPrasad-san

    Where can I use the Utility function?

    I used it in usecase file(ex. chains_issMultiCaptIsp_Sgx3Dsrv.c), and compile was OK.

    But when I execute the usecase, access to the register was denied.

    ⇒Resolved by system("omapconf wrtie ****") cmd.

    I'm sorry, but I'm not familiar with VisionSDK's  file structure.

    Thanks