Adding that doesn't seem to help, It freezes after SRTM init:
LPSPI board to board edma example.
This example use one board as master and another as slave.
Master and slave uses EDMA way. Slave should start first.
Please make sure you make the correct line connection. Basically, the connection is:
LPSPI_master -- LPSPI_slave
CLK -- CLK
PCS -- PCS
SOUT -- SIN
SIN -- SOUT
GND -- GND
Start SRTM communication
This is in the LPSPI example:
if (BOARD_IsLowPowerBootType() != true) /* not low power boot type */
{
BOARD_HandshakeWithUboot(); /* Must handshake with uboot, unless will get issues(such as: SoC reset all the
time) */
}
else /* low power boot type */
{
BOARD_SetTrdcGlobalConfig();
}
I didn't include BOARD_SetTrdcGlobalConfig() because this isn't a low power boot, I want to run the A35 and M33 cores together.