VHDL Generic ADC SPI Controller

Guest #6309420
Rate this post
• ▲ useful
▼ not useful
What do you mean with the word generic?
Which ADCs are supported? Is the SPI used to configure ADCs like AD9650?

What can be configured in your Code? Samplerate? Bits per Sample? 
Aquisition Time? Daisy Chaining of ADCs like AD7902?

By now i wrote for most ADCs i used a individual HDL File to get the 
optimal timing.
OP (Company: Home) #6309434
Rate this post
• ▲ useful
▼ not useful
-gb- wrote:
> What do you mean with the word generic?

Generic : Number of bits (resolution).
You also can select polarity of SpiClock and Spi Enable.
You can define Spi Slock not more than 1/4 System Clock By addition 
clock.

> Which ADCs are supported?

One channel ADC without configuration commands.

>Is the SPI used to configure ADCs like AD9650?

 No !

 Currently I'm simulate other controller which can be used for multy 
channel ADC or ADC with configuration commands
(Company: Schweigstill IT) #6309454
Rate this post
• ▲ useful
▼ not useful
Alexander S. wrote:
> Generic : Number of bits (resolution).
> You also can select polarity of SpiClock and Spi Enable.
> You can define Spi Slock not more than 1/4 System Clock By addition
> clock.

So this isn't a specialized SPI controller for ADC.

>> Which ADCs are supported?
>
> One channel ADC without configuration commands.

Great... this is the opposite of "generic".

>>Is the SPI used to configure ADCs like AD9650?
>
>  No !

So it can only be used only for a very small subset of ADCs.

You are creating clock and synchronisation signals with both polarities 
which is quite a bad idea. If an external differential signal is needed 
it should be generated by the pin driver and not by the FPGA logic.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.