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.

DRA821U: 如何在mcusw下使用主域spi

Part Number: DRA821U
Other Parts Discussed in Thread: SYSCONFIG

我使用ti-processor-sdk-rtos-j7200-evm-08_00_00_12/mcusw/mcal_drv/mcal/examples/Spi范例

编译生成j7200_evm/mcspi_app_mcu2_1_debug.appimage

然后利用MulticoreImageGen工具生成lateapp1,拷入sd卡中,使用sbl启动方法

运行后发现程序无法进入spi中断,导致卡死

查看代码,发现Spi_Pbcfg.c配置的是SPI_UNIT_MCU_MCSPI0,而McspiApp_Startup.c使用的是SPI_UNIT_MCSPI3,

于是我更改Spi_Pbcfg.c,使其使用SPI3

运行后发现,程序卡死在Spi_Mcspi.c的Spi_mcspiReset函数中,表现为

CSL_REG32_FINS(baseAddr + MCSPI_SYSCONFIG,MCSPI_SYSCONFIG_SOFTRESET,MCSPI_SYSCONFIG_SOFTRESET_ON)

这一行运行不下去

请问我该如何在mcu2_1上控制主域spi,是否有能跑通的范例