Hi to all
i want to know in wich version of VisualDSP++ there is more examples for ADSP21371? I am using now VisualDSP++5.0 - is there newwer version with more examples??
The ADSP-21375 EZ-KIT examples available under the following VisualDSP++ path is applicable for ADSP-21371 as well.
C:\Program Files\Analog Devices\VisualDSP 5.0\213xx\Examples\ADSP-21375 EZ-KIT Lite
There is no separate example codes for ADSP-21371 is available with VisualDSP++.
I want to connect ADSP21371 to LPC and to use the SPI boot . I know that ADSP21371 supports 2 SPI interfaces. Can i use them for diferent purpose. I mean if one of the SPI port is in slave mode, can i use the other (SPIB) in master mode. And if i use the SPI Slave boot will that apply to the both SPI or only to one of them? Because i want also to connect the DSP to the ADAU1361 for audio applications and i need to use the SPI too for configuring the codec.
You can certainly use one SPI as a master and the other as a slave. This configuration is usually the most useful.
I often configure one SPI as master to control local peripherals. You can choose to boot this way as well from a local serial flash. In this case the SS line and the rest of the SPI ports must be assigned to the default DPI assignments. This is necessary since the bootloader must configure the SPI port before booting.
In a similar fashion, you can configure the other SPI as a slave. I use this when an external processor communicates with the 21371. You can also boot this way, but once again the DPI assignments are fixed for this situation.
So the process is simple. Determine the boot method, which determines the first DPI assignments. Then use any remaining DPI pins any way you want for the other SPI port.
On the issue of examples, 21375 and 21369 code is very similar to 21371. With the exception of I/O, all SHARCS are very similar so porting is not too difficult.
Danville Signal Processing
I am using the LPC for booting data into the ADSP21371 over SPI. And the ADSP21371 have only to configure the ADAU1361 over SPIB( for example).
I didn`t understand - can i rout the signals of the two SPI on the DPI pins via SRU2 and to change the default connections?
Start with the default DPI assignments. These are "hidden" in the ADSP-2136x SHARC HRM in Table 4-10 (page 4-49)
This defines your SPI connections for booting. You will need DPI1 (MOSI), DPI2 (MISO), DPI3 (SCK) & DPI4 (SPIDS). These are the connection to your Host. Make sure you have MISO & MOSI connected correctly. The 21371 is a Slave in your configuration.
You could also boot from a flash. In this case DPI5 is the SS for the flash and you ignore DPI4. The 21371 is a SPI Master in this case.
Once you have booted, your application will configure the DPI (SRU) for the second SPI using whatever DPI pins you like.
We will release VisualDSP++ 5.0 Update 7 next month and it will contain examples specific to the ADSP-21371. That said, in the meantime you you can use the ADSP-21375 EZ-KIT Lite examples as Jeyanthi said.
All the best,
Product Manager - VisualDSP++
Thanks a lot for the advice. I `ll write if i got more questions!!!
About the default connection for the DPI pins with SPI signals - do i have to reconfigure them via SRU to determine wich one is input or output? Or i have to configure only the second SPI on the DPI pins?
I hope this question has already been answered in the thread at link below:
If yes, we could discontinue this thread.
Retrieving data ...