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.

CCS/PROCESSOR-SDK-AM65X: CSL examples on R5F

Part Number: PROCESSOR-SDK-AM65X

Tool/software: Code Composer Studio

Hello,

Before we successfully build and run CSL example code on C66 and M4, and now we are moving on to R5f. However, we are suffering from build the pwm and timer example code. Could someone please help?

And the files in the following two directories are exactly the same. Is it right?

  • pdk_am65xx_1_0_3\packages\ti\csl\example\timer
  • pdk_am57xx_1_0_15\packages\ti\csl\example\timer

Regards,
Hungwei

  • Hi Hungwei,

    It appears these CSL examples aren't currently supported on AM654x R5F. I confirmed this by building the CSL examples in AM654x PRSDK 6.1.0.8 as follows:

    > cd R:\pdk_am65xx_1_0_6\packages
    > pdksetupenv.bat
    > gmake csl_apps LIMIT_SOCS="am65xx" LIMIT_BOARDS="am65xx_evm" LIMIT_CORES="mcu1_0 mcu1_1"

    I observe the following during the build:

    Nothing to be done for am65xx_evm am65xx mcu1_0 csl_epwm_duty_cycle_test_app

    Nothing to be done for am65xx csl_timer_app

    Yes, the files in the directories you've mentioned are the same. This could change if support is added for R5F timer CSL example.

    I'll ask internally to see why these examples are currently supported.

    Regards,
    Frank

  • Hi,

    For ePWM: csl_epwm_duty_cycle_test_app is only enabled on AM65xx for A53.

    For Timer: csl_timer_app isn't enabled for AM65xx, but csl_dmTimer_baremetal_test_app is enabled for AM65xx R5F.

  • Frank,

    Following question,

    For ePWM, can same app for A53 be referred and used on R5F inside AM65x?

    For dmTimer _baremetal_test_app, does it work with AM65xx R5F running RTOS or bare Metal?

    Is there a instruction guideline showing how to start R5F developing with RTOS and baremetal respectively?

    BR, Rich

  • Hi Rich,

    >> For ePWM, can same app for A53 be referred and used on R5F inside AM65x?

    I doubt the A53 code can be used without some modification.

    >> For dmTimer _baremetal_test_app, does it work with AM65xx R5F running RTOS or bare Metal?

    The CSL examples are bare metal.

    >> Is there a instruction guideline showing how to start R5F developing with RTOS and baremetal respectively?

    I'm unaware of any instructions or guidance beyond that provided in the PRSDK design guide, e.g.:

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_examples_demos.html?highlight=r5f#arm-cortex-r5

    Regards,
    Frank