Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I am working with AM5728 EVM. I running Linux on A15 and RTOS on DSP and M4 cores. I am trying to setup SPI on M4. I have enabled spi4 using the device tree and am able to verify that on A15/Linux. As per my project requirements, I need to setup SPI on M4 processor.
I am trying to set-up the SPI on M4 like this -
// …
SPI_init(); //----If Linux is setting up IO, is this required?
SPI_Params spiParams;
SPI_Params_init(&spiParams);
// … …
SPI_open(CSL_MPU_MCSPI4, &spiParams);
But the M4 core crashes during call to SPI_open() -
“remoteproc0: crash detected in 58820000.ipu: type device exception”
All IO driver examples in the rtos sdk seem to support RTOS-only or bare-metal/standalone use-cases, i.e. without Linux host. Are there any IO driver examples for TI-RTOS with Linux host? How to read/write SPI on M4 with Linux host?
The RTOS SDK and Linux SDK versions are 03.01.00.06.
Thanks,
Jimit
