Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21148 Discussions

VHDl spi adc example

Tex
New Contributor I
1,336 Views

Hello,

i'm learning about spi with altera max 10 using 24 bit adc..

previously i got few examples from few people of the forum but they are very complex to learn..

also please suggest me any course on vhdl to learn.. 

@ShengN_Intel 

@FvM 

please try to help me.. 

 

Best regards,

Tex

0 Kudos
1 Solution
ShengN_Intel
Employee
1,271 Views

Hi Tex,

 

Max 10 ADC are line-in ADC. Usually Modular ADC Core IP is used for that. Check these two links http://gogofpga.blog.fc2.com/blog-entry-182.html and https://www.youtube.com/watch?v=0oO1RFa-4Xk&t=1s

 

The SPI RTL design example can be found had been shared to you before. Can't find any VHDL one. Btw, the design store example design https://www.intel.com/content/www/us/en/design-example/715016/max-10-serial-peripheral-interface-master-an-485.html I had been tested on DE-10 Standard (Cyclone V) ADC since Max 10 ADC are line-in ADC. Check the attached design folder and STP waveform. The function as below:

Control Register Write: CS high, WR high

Transmit through MOSI: CS high, WR high, addr "10"

Status Register Read: CS high, RD high, addr "01"

Received (MISO) to data_bus: CS high, RD high, addr "11"

 

Thanks,

Best Regards,

Sheng

 

View solution in original post

0 Kudos
4 Replies
ShengN_Intel
Employee
1,308 Views

Hi Tex,


FYI that currently we don't have exact example design for 24-bit adc as Intel's board mostly in-built with 12-bit adc.

May be can try to get the example design from the vendor of 24-bit adc.


Thanks,

Regards,

Sheng


0 Kudos
Tex
New Contributor I
1,296 Views

hi sheng,

 

Okay, apart from 24-bit or anything i want to learn spi communication in VHDL using any adc..

please share any tutorials or codes to learn with altera max 10..

 

Best regards,

Tex

0 Kudos
ShengN_Intel
Employee
1,272 Views

Hi Tex,

 

Max 10 ADC are line-in ADC. Usually Modular ADC Core IP is used for that. Check these two links http://gogofpga.blog.fc2.com/blog-entry-182.html and https://www.youtube.com/watch?v=0oO1RFa-4Xk&t=1s

 

The SPI RTL design example can be found had been shared to you before. Can't find any VHDL one. Btw, the design store example design https://www.intel.com/content/www/us/en/design-example/715016/max-10-serial-peripheral-interface-master-an-485.html I had been tested on DE-10 Standard (Cyclone V) ADC since Max 10 ADC are line-in ADC. Check the attached design folder and STP waveform. The function as below:

Control Register Write: CS high, WR high

Transmit through MOSI: CS high, WR high, addr "10"

Status Register Read: CS high, RD high, addr "01"

Received (MISO) to data_bus: CS high, RD high, addr "11"

 

Thanks,

Best Regards,

Sheng

 

0 Kudos
Tex
New Contributor I
1,244 Views

Thank you sheng this helped me alot..

0 Kudos
Reply