I am Trying to Rx / Tx 16 bit SPI data from ARM processor as Master and ADSP21489 as Slave device .
Does any body has any reference code for this configuration. Either normal mode or DMA mode.
Please find the attached code for SPI_MASTER_RECEIVE and SLAVE_TRANSMIT on ADSP-21489. This code directly can be run on ADSP-21489 EZ-Kit.
Hope this helps you.
HI Jithul ,
I am 1st Receiving 16 bit data and then transmitting 8 16 bit words in Slave configuration.
In the interrupt ISR some times data is coming correctly sometimes wrongly...... and data is getting transmitted also but its random in nature.... seeing on scope its not correct.
code given is Slave Tx and Master Tx....... but I am using Tx/Rx both in Slave configuration.
Do we have to acknowledge the SPI interrpt. ... in core tx rx mode also....please tell how to do interrupt. .acknowledge. .
As this issue is being handled through private support channel. Let's continue the discussion there and post the outcome here, if appropriate.
Retrieving data ...