Khoi Ly

  • Content Count

  • Joined

  • Last visited

  1. Hi, I have setup the SPI logic analyzer for the SPI communication between arduino and TI ADS 1256. I place a digital pin from arduino called DIO7 that triggers right before the microcontroller receiving ADC data from the ADS 1256 (DIO7 Falling edge trigger on the logic analyzer). The CS pin is kept LOW the entire time digitalWrite(7,HIGH); .... digitalWrite(7,LOW); adc_val = SPI.transfer(0); adc_val <<= 8; //shift to left adc_val |= SPI.transfer(0); adc_val <<= 8; adc_val |= SPI.transfer(0); I would like to fully understand the interpretation of
  2. Thank you very much for your reply. I will try it out today. In the mean time, I wonder if you could help me with this SCLK - pin 13 (SCK) DIN - pin 11 (MOSI) DOUT - pin 12 (MISO) DRDY - pin 9 CS - pin 10 (CS) RESET - pin 8 (or tie HIGH?) On the Waveform software, when I select add SPI in Logic Analyzer I would assume the following: Select = CS pin (DIO3 in my case) Clock = SCLK pin (DIO0 in my case) What should the data be? Doen't data need two wires one is MOSI the other is MISO?
  3. Hi Digilent, I have two questions that i would like to ask about the logic analyzer function on the Analog Discovery 2. 1. With the rating of 100Mhz logic analyzing sampling rate, what is the maximum frequency can I capture? What about the spi frequency of 20Mhz? 2. The waveform limits my number of samples to 4096 (right above the rate settings). This link shows that waveform software allows 16384 samples. or even 10000000 samples How do I fix this? Thanks