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.

TMDSIDK437X: CSL examples build issue

Part Number: TMDSIDK437X

Hi.

I try rebuild all CSL examples. 

First, I execute pdksetupenv.bat from PDK. This i s done.

***************************************************
Environment Configuration:
***************************************************
SDK_INSTALL_PATH : c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106
PDK_INSTALL_PATH : c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages
GMAKE_INSTALL_PATH : c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core
PDK_SOC : am437x
PDK_VERSION : 1_0_17
RULES_MAKE : c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/Rules.make
***************************************************

Afte I go and do like in 6.1.2. CSL-FL EXAMPLES of Processor SDK RTOS

C:\ti\pdk_[soc]_[version]\packages\ti\csl>gmake apps

And see 

c:\ti\ti-processor-sdk-rtos-am437x-evm-06.03.00.106\pdk_am437x_1_0_17\packages\ti\csl>gmake apps
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile apps COMP=csl CORE=a9host BOARD=evmAM437x SOC=am437x; c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile apps COMP=csl CORE=a9host BOARD=idkAM437x SOC=am437x; c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile apps COMP=csl CORE=a9host BOARD=skAM437x SOC=am437x;
gmake[1]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_dss_display_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_dss_display_app
gmake[2]: Leaving directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_dss_colorbar_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_dss_colorbar_app
gmake[2]: Leaving directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_edma_test_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_edma_test_app
gmake[2]: Leaving directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_i2c_led_blink_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_i2c_led_blink_app
gmake[2]: Leaving directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_mailbox_sender_receiver_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_mailbox_sender_receiver_app
gmake[2]: Leaving directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/xdctools_3_55_02_22_core/gmake -f c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/build/makefile csl_uart_test_app
gmake[2]: Entering directory 'c:/ti/ti-processor-sdk-rtos-am437x-evm-06.03.00.106/pdk_am437x_1_0_17/packages/ti/csl'
Nothing to be done for am437x csl_uart_test_app

I did not post the entire listing. The meaning is the same everywhere Nothing to be done for am437x.

Unfortunately I can't figure it out on my own, tell me what’s wrong?

  • Hi Kiselev,

    None of the CSL examples are supported on the AM437x. This can be seen be inspecting the file <PDK>\packages\ti\csl\csl_component.mk, e.g.:

    # UART test app

    csl_uart_test_app_BOARDLIST = tda2xx-evm tda2px-evm tda2ex-evm tda3xx-evm idkAM572x evmAM572x idkAM571x evmDRA72x evmDRA75x evmDRA78x tda2xx-rvp idkAM574x am65xx_sim am65xx_evm j721e_sim j721e_evm

    Functionality similar to CSL ("bare-metal") is provided for AM437x by Starterware. Please see <PDK>\packages\ti\starterware. Build help for Starterware can be obtained by issuing the following on the command line:

    > gmake help

    Regards,
    Frank

     

  • Hi, Frank.

    If none of the CSL examples are supported on the AM437x, then I have a problem with implementing EPWM. In my project, I want to use 6 EPWM to control engines. I is also intended to use RTOS. Is it possible to generally use the CSL in the AM437x under RTOS. Are there any examples?

    How realistic is it to implement EPWM control from under RTOS? Or if I want to control PWM, can I do this only at the bare metal level, without RTOS?

    What do you advise?

  • Hi Kiselev,

    >> Is it possible to generally use the CSL in the AM437x under RTOS.

    The CSL component is referred to as "Starterware" in the AM437x SDK. Please see: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_device_drv.html#csl.


    >> Are there any examples?

    There is an Starterware ePWM example under <PDK>\packages\ti\starterware\examples\epwm.

    >> How realistic is it to implement EPWM control from under RTOS?

    It should be possible to use Starterware (bare metal) in an RTOS based application. A document providing guidance on integrating Starterware into RTOS-based applications is located here: <PDK>\packages\ti\starterware\examples\dss\readme.txt

    Regards,
    Frank

  • Hi, Frank.

    I hope I can use PWM.