Search the Community

Showing results for tags 'digital discovery'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 21 results

  1. Hello, In my waveforms script I am trying to import and run a saved custom 7-bit bus pattern in csv format that I generated from the custom pattern generator. I am able to read the data from the csv, but when I do: Patterns1.Channels.Bus._custom = data all of the data is just written into the first channel of the bus. Is there another format or syntax that should be used when specifying patterns for custom busses?
  2. Hello, I have a problem concerning the Digital Discovery using the Waveforms SDK. I thought it is possible to use the full 256MBytes on-board recording memory for 8-bit sampling, but I am only able to read 64M samples, no matter if I use 32 bit, 16 bit or 8 bit sampling (which I configure with the function FDwfDigitalInSampleFormatSet). The maximum size I can set via FDwfDigitalInBufferSizeSet() is 64M (i.e. 67108864), no matter what sample size I set via FDwfDigitalInSampleFormatSet(). That is, if I try to set a higher value for the buffer size, FDwfDigitalInBufferSizeGet() will still return 67108864, regardless which sample size is set (8, 16, 32). So I thought this buffer size value is the value for 32-bit sampling, and therefore 4 times as big when using 8 bit sampling. But unfortunately, when I try to read the data via FDwfDigitalInStatusData(), with a countOfDataBytes value that is higher than 67108864, all bytes after the 67108864 byte are zero. I am using single aquisition mode, and start an aquisition with FDwfDigitalInConfigure(handle, true, true) and then wait until the device state becomes DONE. I would be very thankful if someone could explain what I am doing wrong here. The Waveform GUI seems to be possible to do that (64M samples for 32 bit sampling, 256M samples for 8 bit sampling), so I thought it is possible with the SDK, too. Thanks.
  3. Hi, We would like to synchronize the DD clock with an external clock and use an external trigger for starting the acquisition. Using the sync mode, we haven't managed to do so for acquiring I2S data. In our set-up, the external signal clock is connected to one input of the DD (DIN15). The external clock signal connected to DIN15 is externally triggered. In the logic, we chose the Sync mode and specified this input channel (DIN15) as the clock beside the other channels used by I2S data. And then the pattern is triggered by the logic. With that set-up, the pattern will start running while the external clock hasn't started to feed DIN15 and the logic is armed waiting for the clock signal on DIN15 (that is externally triggered). Once the clock signal is activated on DIN15, the acquisition starts. However, the data don't seem to be synchronized with the external clock. Is it possible to acquire data using the I2S protocol with digital discovery in the sync mode? Moreover, is there a way to use an external trigger for running multiples acquisitions (every 2 seconds for example) in the sync mode ? Thanks!
  4. I need to spy on an SPI connection for a long period of time which will require timestamps on the data to find approximate times of transmission. As this is not possible in Waveforms (which is a real shame) has anyone written any software that uses the SDK to do something similar to this? It would save me a bit a work if there was already an existing solution. - Callum
  5. Hi all, I have recently bought 2 digital discoveries to go with an existing Analog Discovery 1, and Analog discovery 2. I would also like to use the 2 digitals as a standalone pair with no analog in the system. The store webpage for the discovery mentions trigger in and out signals for linking devices. This is one of the reasons I purchased them as I currently need >32 channels. I can't see these signal in the pinout anywhere, and nothing in waveforms about this feature. I have tried to generate a pulse on one of the digital IOs using the pattern generator triggered from the logic, but I cannot get a single repeated trigger pulse, it seems to either be one shot or a continuous un-synced pulse train once triggered. Any help or advice would be greatly appreciated. Thanks, Dean
  6. Hi, I want to use the DD to test an ASIC which needs quite some complicated digital control. First the ASIC needs to be initialized with several SPI commands. Once the device is configured a test sequence (4 digital control lines) will trigger the ASIC and thereby acquire measurement data. At last this data need to read out. I was wondering, if I could use the patterns which are generated by our (VHDL) simulator as input to the DD. Is there a script which can read the vcd-files and Importes them to WaveForms? As I am quite new to this field, I do not have any expierence with JavaScript or Phyton (but willing to learn )
  7. Hi, I've captured a set of SPI messages successfully using my Digital Discovery and I would like to export the data so that I can parse it. I've exported the waveforms but this is a huge file which doesn't just give me the events on the SPI but instead the value at each time interval. Ideally I would like to export the contents of the very useful event window. Please could someone tell me if there is a way to do this? Cheers, Andy
  8. Hi: I know that .csv files can be imported into the Digital Discovery pattern generator, but I am curious about other formats, and what exactly their syntax/organization needs to look like. Saw the description of pattern export file formats, but nothing on import. We are trying to use prober patterns as starting points, importing into the Digital Discovery pattern generator and then modifying as needed. Many thanks.
  9. Hi ! I am interested in using the Digital Discovery controlling multiple devices at the same time with different protocols. E.g. I would like to setup the UART on the digital discovery on DIO 28 as TX and 29 as RX while using SPI at the same time on the default setup DIOs as 24/CS, 25/CLK, 26/DQ0/MOSI, 27/DQ1/MISO. Using then I2C on e.g. 31/SCL and 30/SDA and CAN on 36/RX and 37/TX on top of that would be very nice as well. Is this possible from the user interface (which I would prefer) or do I need to create custom code for that?
  10. Hi I am new to the DD, and I thought this might be a good device to obtain readouts at high speed from my photon counter that outputs a 3.3v pulse every single time it receives a photon. The maximum speed it can go is at about 25ns per output. So I looked through some of the examples in the SDK (so I can automate the process, without having to save the data file each time and process it later). 1) It is not clear to me how I can extract the data from each channel using the SDK, or rather how I can specify which channel to log the data 2) I am wondering what is the maximum throughput, in the case I want to obtain data from multiple photon counters (e.g. 8 channels at 100MHz) 3) Also, if I implement a script to do a mathematical routine which will compress the amount of data (e.g. number of pulses over a period of time, or mean and std of pulses over a given time) is the script implemented on board or after it arrives in the cpu (post processed)? 4) Would I be able to get the time (or ticks) the pulse is received so that the data load is greatly reduced (since I do not necessarily need the 0s in the pulse stream). Thanks.
  11. Hi I'd like to buy Digital Discovery to interface FPGA board to PC. As i saw the datasheet, It says that Digital Discovery has SPI read function. If the FPGA sends an SPI signal through Digital I / O, can the PC determine the SPI signal from the code and store the data? If you know, Please let me know.
  12. Hello all, Chapter 2 of digital discovery (DD) manual mentioned about the possibility of output strength and slew adjustment. In waveform 2015 (e.g. 3.6.8), driver strength and slew can be adjusted in "supplies" manual. However, I couldn't find any API definition for this item. May I know where to find such API? Many thanks. HPLam P.s. Here is the quote from Ch.2 of DD's manual "The output strength can be set from 2mA to 16mA. The output slew rate can be set as: Quiet, Slow or Fast."
  13. Hi all, I'm trying to save data from an acquisition but I'm not getting it. I mean, I want to document my tests and measurements. So, I wish to save the data in a way that I can later open it in WaveForms and navigate the capture. For now, I have only image but this does not help much. Does anyone know if WaveForms supports it? Thank you, João Paulo
  14. I am trying to interface a MEMS microphone ICS-52000 with the Digital Discovery board. The microphone outputs data using Time Domain Multiplexed (TDM) signaling. TDM is somewhat similar to I2S but without the left and right channel. The Digital Discovery board has I2S listed under Logic. I want to make a Protocol for TDM. Is it possible to use the Digital Discovery board to develop a protocol that will generate a clock signal (output) along with a word select (output) synchronous to the clock signal and then read data (input) from a connected microphone? Data would be streamed to a file. Thanks, Douglas
  15. I'm using the sync mode, triggered by the pattern generator. My config is one 14 bit counter (DIO24-DIO37), and a clock on a single signal (DIO38). The logic analyzer is configured to sample DIN0-DIN7 on the rising flank of DIO20 (which I connected to DIO38). But I'm missing the first 8 samples. How do I know? The device-under-test is a ROM and I already know its contents. I actually get the correct values when the counter on the pattern generator wrap around and starts again. I verified with a scope that the generated pattern is correct (so the sample clock starts at the correct time). Is this a bug in WaveForms or do I need to configure some special? (On that note: it would be nice when I could restrict the pattern generator to one single run on the counter instead of being time-based)
  16. Would it be possible to emulate a I2C slave using the digital discovery (using scripting)? If not, is this something that could potentially be added in the future, or are there any HW limitations that make this infeasible?
  17. On one of my first attempts to use a DD, I captured a display showing several "phantom" transitions. (See below, and attached) I call these "phantom" transitions because when I zoomed in on any of these, they vanished. You can see many of these just left of the 0.35ms line. However, there are many others scattered throughout the plot. For example, the DIO30 line shows a very slow logic waveform--with super fast phantom transitions on it as well. In general, most of these phantom transitions are very narrow. However, there are some larger and thicker phantoms. For example, if you look at the "PP-CLK" trace, just after 0.98ms, there is a simple rise and fall. However, the rise is thicker than the fall, even though there are no extra transitions there. Dan
  18. Hi, I'm a happy AD II user and am also looking at the DD. One of my colleagues who does a lot of video work was asking if the DD could do synchronous capture, clocked by the DUT, rather than just async sampling. He thought that this might just be a firmware change as the hardware should already support this.. Have Digilent had any thoughts on synchronous capture? Thanks
  19. Getting acquainted with WaveForms and my new Digital Discovery. I'm looking at SPI signals and see gray blocks in the signal plots. (See enclosed images.) What is the significance of these blocks? Too fast oscillation vs sampling rate? However, mouse-over doesn't show any change in values across the block. Sorry if this is an obvious question. Thanks for any input. Staale Overview: Same grid, max zoom:
  20. Hi, I'm trying to measure the input impedance of my AD2 Logic analyzer and compare it to my new Digital Discovery impedance. My measurement is around 650 KΩ for the DD, however, I couldn't get any consistent result for the AD2 nor AD1. The input impedance varies between 30 MΩ and 70 MΩ. I used different techniques in my measurements, but with no success. I also looked the specs of D2/AD1 and couldn't find a figure for the Logic analyzer input impedance. Can someone please, help me find an answer or suggest a technique to measure the Logic analyzer input impedance? Thanks
  21. So, I just received my Digital Discovery earlier this week. I've actually got a project coming up where I'll be able to make use of it, so thought I'd familiarize myself with the differences between it and the Analog Discovery. I proceeded to walk through the protocol tutorial that uses the ALS PMOD to demonstrate SPI interaction. I had never tried this with the AD2, and figured it would be a good test. Unfortunately, after checking my work multiple times, I was still only getting back 0 signals. Thinking the problem could be the DD, I tried the same thing on the AD2 with the same results. After scratching my head a few times, it occurred to me that the prescribed pin assignments looked strange. The tutorial says CS is assigned clock, and SCK is assigned to select. I went and double checked my hunch in the ALS docs, and indeed there was the problem. The tutorial incorrectly swaps these two pins. CS is (chip) select, and SCK is (serial) clock. Once I swapped the pins, all was well. Just and FYI for the content team and others who might face the same issue. Dave