Forum Discussion

OKolh's avatar
OKolh
Icon for New Contributor rankNew Contributor
6 years ago

Hello, I have a doubt that is it possible for simultaneously sampling running 8 SPI masters using SPI core and NIOS II processor.

I'm using DE0 Nano board for receiving data from 8 ADC's simultaneously and then sending the entire data to a DSP Board. The ADC uses SPI interface. Also the DSP board is connected using SPI.

Currently I have designed a custom SPI block in VHDL for interfacing multiple ADCs. But it would be alot easier if I can use platform designer to achieve the same.

I need all the SPI masters to collect data from the ADC simultaneously and any delay in sampling would result in wrong results.

Thanks alot in advance.

Om Kolhe

1 Reply

  • Ahmed_H_Intel1's avatar
    Ahmed_H_Intel1
    Icon for Frequent Contributor rankFrequent Contributor
    Hi, Yes you can achieve this via platform designer. You can use the mSGDMA core to transfer data contentiously from the ADC. Here is an example I've created before for the DE0 Nano Soc board to transfer data from ADC to memory. In your case you need to use mm-to-st descriptor to achieve this.