VHDL Generic ADC SPI Controller

Guest #6309420
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
-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
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.
OP (Company: Home) #6309477
Andreas S. wrote:

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

 One Channel without external configuration ADC.
But it can be generated for 8,10,12,14,16 ... bits ADC with Spi Clock 
different (more slowly) from system clock according to your applbcation.

 It's not small subset of ADCs in the SC70 package.

 Regards Alex.

Reply

A question of your own? This thread is over 6 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.