Hi,
I'm new to the Verilog and some of the ADC terms and concepts so I may be asking something that may seem fundamental to you which I'm not properly grasping
This is a student project so my knowledge of even related technologies may be below expectations of those that usually post questions to this forum, So I apoligize in advance it this questions seem basic in nature.
I have read the various posts below
http://e2e.ti.com/support/data_converters/high_speed_data_converters/f/68/p/47555/168049.aspx#168049
http://e2e.ti.com/support/data_converters/high_speed_data_converters/f/68/p/47555/168049.aspx
http://e2e.ti.com/support/data_converters/high_speed_data_converters/f/68/p/72733/264309.aspx#264309
So i know that the code that you provided is only a reference and will not dirrectly work with the spartan 6 board I have and that I need to code that myself but I think I'm missing some key concepts or methods on how to do it. I have the datasheets/schematics and application notes but perhaps it's just too much new info/concepts to process at once for me
I'm trying to find out which line will bring the channel A input data from the ADS6445 to my spartan 6 and how to code that from the ADS64XX EVM User's Guide:
www.ti.com.cn/cn/lit/ug/slau196/slau196.pdf
pg 25 pins I see
DA0_M to pin 32
DA0_P to pin 34
DA1_M to pin 38
DA1_P to pin 40
I understand vaguely that the M and P are related as pairs for pos/neg edge of clock readings and assume the 'A' means this is channel A input data? if so then what is the difference for the 0 and 1 in the designation. is this only used for the defining which header posts to send the data to on the TSW1200 when SW5 is pressed?
using the FMC-ADC-ADAPTER schematic http://www.ti.com/litv/zip/slor101 I see that pin 32/34 on the adapter coresponds with labels IO_4N and IO_4P and the same line on the FMC side corresponds to pin H17/H16 and from the spartan user guide pg36 https://www.em.avnet.com/common/poptxn/0,2741,RID%253D%2526CID%253D57572%2526CAT%253D0%2526CCD%253DUSA%2526SID%253D32214%2526DID%253DDF2%2526SRT%253D1%2526LID%253D32232%2526PRT%253D0%2526PVW%253D%2526PNT%253D%2526BID%253DDF2%2526CTP%253DEVK,00.html?file=/files/177/xlx_s6_lx150t_dev-ug_rev1.2_120210.pdf (registration required) I see H17/H16 corresponds to the label LA11_N/LA11_P
So does that mean to access the input data from channel A input I simply need to tell my spartan 6 FPGA to read from the LA11_N/LA11_P pins? or do I also need the data from the 6nd pair of pins from the ADS board to get all of the channel A data?
Also the ADS board talks about jumper or pin settings for SCLK and SDATA which, on the EVM board aren't pins at all but merely solder points and tied LOW, from document SLAS513B has 4 possible states default being normal state. I've soldered jumpers to be able to use the jumper settings WITH JUMPER 1-2 being where the TSW1200 can control the high low settings.
My question is how do you program the settings in both the 1200 and in general. refering back to the pinout again I see pins 117/119 being listed as FPGA_SDATA/FPGA_SCLK the FMC adapter equivalent pins being D17/D18 and the spartan 6 equivalent labels being LA13_P/LA13_N
So for my sparttan6 FPGA if I tell it to change the high/low signals at LA13_P/LA13_N it is the same as setting the high/low for SDATA and SCLK on the ADS6445?
In http://e2e.ti.com/support/data_converters/high_speed_data_converters/f/68/p/47555/168049.aspx#168049
Posted by Richard Prentice replied on 11 May 2010 10:36 AM
it was posted that "If the CLK0_M2C_P/N can only be connected to a clock tree inside the FPGA then i think you would have a problem to implement the circuitry that i described."
the FCLKN/P are connected to the label LA00_P_CC/ LA00_N_CC which connects to 'FPGA Global Clock Inputs' on the spartan 6 FPGA Does this mean there shouldn't be any problem?
Finally the difference between 1 wire 2 wire, and maybe this actually needed to be explained first since it seems the choice of which setting you choose seems to affect the chip pinout designations. What is the difference /advantages of 1 wire/2wire DDR/SDR configurations. I read the pg58-63 of the ADS documentation but am not sure if I'm understanding it properly.
Again Sorry if these are basic concepts or if parts of my post doesn't make sense or are beyond the duties of your job to explain, and thanks for your help
Justin