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.

TDA4VE-Q1: How to run MCAL spi demo on MCU2_1?

Part Number: TDA4VE-Q1

Tool/software:

Hi, TI experts,

SDK version: 09.02

I am testing the mcspi on EVM board by refering https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j721s2/09_02_00_05/exports/docs/mcusw/mcal_drv/docs/drv_docs/mcusw_c_ug_build_jacinto_top.html#mcusw_build_setup_env

I have try below ways:

1. running mcspi_app on MCU1_0 on EVM

a. make mcspi_app SOC=j721s2 BOARD=j721s2_evm CORE=mcu1_0 BUILD_PROFILE=release BUILD_OS_TYPE=baremetal

b. pack the mcusw/binary/mcspi_app/bin/j721s2_evm/mcspi_app_mcu1_0_release.xer5f in to the app.appimage, and run by SBL (sbl -> mcu1_0), I can see some log from the console

2. running mcspi_app on MCU2_1 on EVM

a. make mcspi_app SOC=j721s2 BOARD=j721s2_evm CORE=mcu2_1 BUILD_PROFILE=release BUILD_OS_TYPE=baremetal

b. pack the mcusw/binary/mcspi_app/bin/j721s2_evm/mcspi_app_mcu2_1_release.xer5f in to the app.appimage, and run by SBL (sbl -> mcu2_1),  there is no output from the main uart8.

 

3. running mcspi_app on MCU2_1 on custom board

I try to call mcu2_1 from sbl, there is no output from the console 

I also try to load mcu2_1.xerf from CCS (I have set the MCUSW_UART_ENABLE to FALSE), but there also no log from the CCS console.

my question is How to run spi demo on MCU2_1 ?

 

Thanks!

 

  • Hello,

    Sorry for the delay. I was out of office .Please look into URL and ensure you are doing correct steps.

    a. make mcspi_app SOC=j721s2 BOARD=j721s2_evm CORE=mcu1_0 BUILD_PROFILE=release BUILD_OS_TYPE=baremetal

    b. pack the mcusw/binary/mcspi_app/bin/j721s2_evm/mcspi_app_mcu1_0_release.xer5f in to the app.appimage, and run by SBL (sbl -> mcu1_0), I can see some log from the console

    It has few more logs as well. PLease go through user guide 

    running mcspi_app on MCU2_1 on EVM

    a. make mcspi_app SOC=j721s2 BOARD=j721s2_evm CORE=mcu2_1 BUILD_PROFILE=release BUILD_OS_TYPE=baremetal

    b. pack the mcusw/binary/mcspi_app/bin/j721s2_evm/mcspi_app_mcu2_1_release.xer5f in to the app.appimage, and run by SBL (sbl -> mcu2_1),  there is no output from the main uart8.

    Output will be on first Main UART instance.

    . running mcspi_app on MCU2_1 on custom board

    I try to call mcu2_1 from sbl, there is no output from the console 

    I also try to load mcu2_1.xerf from CCS (I have set the MCUSW_UART_ENABLE to FALSE), but there also no log from the CCS console.

    Instead of turning MCUSW_UART_ENABLE=false , please remove definition of UART_ENABLED in make file.

    Regards

    Tarun Mukesh