Other Parts Discussed in Thread: SYSCONFIG, DRA829, DRA821
Hi team,
Here's an issue from the customer may need your help:
Using ti-processor-SDK-RTOS-j7200-EVM-08_00_00_12/mcusw/mcal_drv/mcal/examples/SPI examples, the customer has built and generated j7200_evm/mcspi_app_mcu2_1_debug.appimage.
Then use the MulticoreImageGen tool to generate lateapp1, copy into SD card, and use the sbl boot method. After running, the program was found to be unable to enter the SPI interrupt and get stuck.
By checking the code, SPI_Pbcfg.c is configured with SPI_unit_MCU_MCSPI0 and McspiApp_Startup.c uses SPI_unit_MCSPI3. Then change SPI_Pbcfg.c to use SPI3.
After running, the program is stuck in the SPI_mcspiReset function of SPI_McSPI.C:
CSL_REG32_FINS(baseAddr + MCSPI_SYSCONFIG,MCSPI_SYSCONFIG_SOFTRESET,MCSPI_SYSCONFIG_SOFTRESET_on)
The customer would like to know how to control the main domain SPI on mcu2_1 and are there examples that run successfully can be provided?
Could you help check this case? Thanks.
Best Regards,
Cherry