+ Post New Thread
Results 1 to 12 of 12
  1. #1
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    how to interface ADC7656 with altera max

    I need an example verilog coding for parallel interfacing.I have very less knowledge about verilog coding and interfacing with FPGA.can someone help?

  2. #2
    Advanced Member level 4
    Points: 8,496, Level: 22
    Achievements:
    7 years registered Created Blog entry
    dpaul's Avatar
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    1,271
    Helped
    275 / 275
    Points
    8,496
    Level
    22
    Blog Entries
    1

    Re: how to interface ADC7656 with altera max

    You need to be much more specific in asking questions.

    Which protocol should the parallel interface follow? What is the width of the parallel interface?
    Which FPGA dev board are you using?
    FPGA enthusiast!



    •   AltAdvertisement

        
       

  3. #3
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: how to interface ADC7656 with altera max

    Quote Originally Posted by dpaul View Post
    You need to be much more specific in asking questions.

    Which protocol should the parallel interface follow? What is the width of the parallel interface?
    Which FPGA dev board are you using?
    In the data sheet(AD7656) they have not given any specific protocol and I am Using Altera Max II and regarding width I dont understand what is width in parallel interface



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 259,210, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,256
    Helped
    13766 / 13766
    Points
    259,210
    Level
    100

    Re: how to interface ADC7656 with altera max

    In the data sheet(AD7656) they have not given any specific protocol and I am Using Altera Max II and regarding width I dont understand what is width in parallel interface
    Clarifies that you need to learn more about digital logic to manage the project.

    The datasheet actually explains a lot. The interface can be either configured as parallel 16 bit data bus or as three channel SPI. You have to implement either one or the other in MAX II. Both is basically possible.

    You didn't yet mention how the ADC data will be processed in your programmable logic and what's their final target.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  5. #5
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: how to interface ADC7656 with altera max

    Quote Originally Posted by FvM View Post
    Clarifies that you need to learn more about digital logic to manage the project.

    The datasheet actually explains a lot. The interface can be either configured as parallel 16 bit data bus or as three channel SPI. You have to implement either one or the other in MAX II. Both is basically possible.

    You didn't yet mention how the ADC data will be processed in your programmable logic and what's their final target.
    sir,Actually they told to study the parallel interface(AD7656) timing diagram and the Altera max II CPLD has to generate those signals to ADC(AD7656).This is the information they gave me.And I really dont know what to concentrate and where to concentrate also.



  6. #6
    Junior Member level 1
    Points: 709, Level: 5

    Join Date
    Mar 2016
    Posts
    16
    Helped
    6 / 6
    Points
    709
    Level
    5

    Re: how to interface ADC7656 with altera max

    Quote Originally Posted by panimalar View Post
    sir,Actually they told to study the parallel interface(AD7656) timing diagram and the Altera max II CPLD has to generate those signals to ADC(AD7656).This is the information they gave me.And I really dont know what to concentrate and where to concentrate also.
    Did you read the datasheet, actually?

    Apparently, there is no timing you need to care about, the interface can be completely asynchronous.

    You initiate a converstion and then just wait until BUSY deasserts which signals converted values available.

    Really simple.


    2 members found this post helpful.

  7. #7
    Advanced Member level 4
    Points: 8,496, Level: 22
    Achievements:
    7 years registered Created Blog entry
    dpaul's Avatar
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    1,271
    Helped
    275 / 275
    Points
    8,496
    Level
    22
    Blog Entries
    1

    Re: how to interface ADC7656 with altera max

    This is the information they gave me.And I really dont know what to concentrate and where to concentrate also.
    So many "they"s. Is this project forced on to you?

    Best way would be to take it part by part.
    1> Learn more about Altera Max (read datasheet)
    2> Then concentrate how the FPGA is communicating with its peripherals. You focus should be either of the one interfaces as explained in post #4 (read protocol datasheet)
    3> Lean about AD7656 as to how it communicates (read datasheet)
    4> Before beginning with Verilog............
    I have very less knowledge about verilog coding
    start with simpler stuff such as an up-down counter.

    1. 2. 3. can be done in parallel to 4.
    FPGA enthusiast!


    1 members found this post helpful.

  8. #8
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: how to interface ADC7656 with altera max

    Quote Originally Posted by mfro View Post
    Did you read the datasheet, actually?

    Apparently, there is no timing you need to care about, the interface can be completely asynchronous.

    You initiate a converstion and then just wait until BUSY deasserts which signals converted values available.

    Really simple.
    I am quiet confused with one particular thing.I was instructed to write the coding for the timing diagram (Parallel interface) of AD7656.My doubt is the in the timing diagram the last signal is the transfer of databits DB0 to DB15.But the diagram portrays as if it is sending analog signals such as V1,V2,V3,V4,V5,V6.How to read this analog signals using verilog?



    •   AltAdvertisement

        
       

  9. #9
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: how to interface ADC7656 with altera max

    Quote Originally Posted by FvM View Post
    Clarifies that you need to learn more about digital logic to manage the project.

    The datasheet actually explains a lot. The interface can be either configured as parallel 16 bit data bus or as three channel SPI. You have to implement either one or the other in MAX II. Both is basically possible.

    You didn't yet mention how the ADC data will be processed in your programmable logic and what's their final target.
    Sir The project is a part of the sonar receiver.Where the receiver receives Sound waves as input and those sound waves need to be transferred to digital. For this purpose A FPGA and ADC is used.The receiver is an hydrophone array.



  10. #10
    Super Moderator
    Points: 77,038, Level: 67
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,609
    Helped
    3557 / 3557
    Points
    77,038
    Level
    67

    Re: how to interface ADC7656 with altera max

    Hi,

    But the diagram portrays as if it is sending analog signals such as V1,V2,V3,V4,V5,V6
    Here V1... just represents the channel number, but the data(format) is digital.

    Klaus


    1 members found this post helpful.

  11. #11
    Newbie level 4
    Points: 571, Level: 5

    Join Date
    Mar 2014
    Posts
    6
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: how to interface ADC7656 with altera max

    if V1 is just the channel number then how many bits that it contain? and If possible can someone give me an example program for parallel interface



  12. #12
    Super Moderator
    Points: 77,038, Level: 67
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,609
    Helped
    3557 / 3557
    Points
    77,038
    Level
    67

    Re: how to interface ADC7656 with altera max

    Hi,

    There are 16 individual data lines...
    The ADC is called 16 bit ADC...

    Can you imagine any other number than 16?
    (The ADC theoretically could make it complicated and slow and use the 2 x 8 bit mode - figure 26. I don't recommend this)

    *******
    The parallel interface is as simple as can be: just a 16 bit DFF for each channel.

    If this is a problem for you you should decide to start with more simple FPGA projects.
    * input a single pushbutton with the use of a single DFF
    * input four pushbutton with a quad DFF
    * input 16 ADC data lines with a 16xDFF

    Or do you see the problem in setting up an FSM to generate the ADC control signals?

    Klaus


    1 members found this post helpful.

--[[ ]]--