Other Parts Discussed in Thread: OMAPL138
I have a evmAM437x with pdk_am437x_1_0_15. I built the example projects and found that MCSPI_Loopback_evmAM437x_armExampleProject fails to run properly. I isolated the issue to SPI_open() on line 308 of mcspiLoopbackApp.c. The only error message in CCS (ver. 9.1) is "CortexA9: Unhandled ADP_Stopped exception 0x810252B8". The UART output is
McSPI Internal Loopback test app started
The Mode of transfer is Interrupt Mode
I tried this example since my custom application has a similar problem getting SPI_open() to work. Is this a known issue? If so, is there a work around? My limited debugging indicated that PRCMModuleEnable(CHIPDB_MOD_ID_MCASP, 1U, 0U); (line 218 of evmAM437x.c) is failing, causing the SPI module clock to not be enabled. Or maybe it is just Operator error ...?
Thanks,
KTM