I'm useing the ADSP-21479 EZ-Board. I need use the other micro to control the ADSP-21479.
I want the ADSP-21479 be a SPI slave device. I don,t know how to start!
I need C example code and test code to study !
I am a novice !! thanks!!
Please see the attached code for the SPI slave mode operation. This code is written for ADSP-21489. But this should work fine on ADSP-21479 as well.
Thanks your help!
I'm using C language coding.Do you have C example??
I am not understand assembly language!
Please see the attached C file. You should be able to use this code with ADSP-21479 as well.
Thank your help.I have a question about the DPI routing.In the SPI_Slave_DMA example doesn,t talk about the DPI routing.
It is use default routing (default routing is master or slave) or I need to setting by myslef.
when the ADSP-21479 is slave that my DPI routing setting, I'm not sure is correct!
SRU (LOW, DPI_PBEN04_I); //DPI_PIN4 to SPI_DS_I SRU (DPI_PB04_O, SPI_DS_I);
SRU (LOW, DPI_PBEN03_I); //DPI_PIN3 to SPI_DS_I SRU (DPI_PB03_O, SPI_CLK_I);
SRU (LOW, DPI_PBEN01_I); //DPI_PIN1 to SPI_MOSI_I SRU (DPI_PB01_O, SPI_MOSI_I);
SRU (HIGH, DPI_PBEN02_I); //DPI_PIN2 to SPI_MISO_O SRU (SPI_MISO_O, DPI_PB02_I);
Can you give me some suggestion,Thanks!!
The DPI routing you have shown in the previous post is correct. In the earlier example code I had only shown how to configure the SPI control registers. You can use the DPI configuration just to make sure that the setup is same as the booting case.
Retrieving data ...