Added a bunch of additional debugs statements and it gets stuck in the following loop:
while ((!isSlaveTransferCompleted) || (!isMasterTransferCompleted))
I do see the master irq firing by adding a few debug statements, but never see the slave. i.e.:
ENTERED LSPI_MASTER_IRQHandler
EXIT LSPI_MASTER_IRQHandler
ENTERED LSPI_MASTER_IRQHandler
EXIT LSPI_MASTER_IRQHandler
ENTERED LSPI_MASTER_IRQHandler
EXIT LSPI_MASTER_IRQHandler
Adding a couple of extra debug statements in the while statement I see that master is completed but slave transfer never completes:
isMasterTransferCompleted: 1
isSlaveTransferCompleted: 0
isMasterTransferCompleted: 1
isSlaveTransferCompleted: 0
As for connections I used what was specified in the readme:
MASTER connect to SLAVE
Pin Name Board Location Pin Name Board Location
SOUT J24-4 (D11) SIN J24-2 (D9)
SIN J24-5 (D12) SOUT J24-9 (D14)
SCK J24-6 (D13) SCK J24-10 (D15)
PCS0 J24-3 (D10) PCS0 J24-1 (D8)
I did re-do the wiring a couple of times but had same results.
Hope this is enough.
Thanks for the help
Mike