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


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 29 results

  1. New Digital Discovery user. I did not purchase this device for its excellent documentation or thorough applications examples (which are not so great), but because it can capture SPI at 800MHz with the special adapter. I understand that the Digital Discovery will stream the captured data to memory and I can save it to disk. I'm debugging a difficult SPI issue, and need to see as much detail as possible (hence the 800MHz). Out test code captures some 30,000 rows of 14 consecutive 14-bit reads at an SPI clock speed of 27.5 MHz. This is a whole lot of data. We need to see the protocol capture results and compare it with what our embedded system is reporting. We read a very slow, clean R/C ramp (falling), gather all the data, and create a statistical plot which tells us how many "hits" we get on a certain bin value. Here's a snip: In this example, and despite the fact that our input ramp is changing in a very linear fashion (and therefore we should see equal distribution), decimal 4083 (ending in 100011) has far fewer hits than those adjacent. Each column (in the green) is a single SPI read of our ADC. We do 14 through DMA (very fast), and then repeat without much delay. I thought Digital Discovery would (a) trigger on the falling chip select, and (b) keep recording the data stream (ignoring subsequent chip select cycles). It doesn't. Instead, it captures the first 14 samples and no more data after that. Hopefully it's possible to trigger on CS (going low) and just keep sampling until I press stop. (Ideally if there's a timeout value allowing us to stop once CS stays high for a certain duration, that would be ideal). Finally, I have no idea how to save my data to a file and in a certain format. My setup: Please help this new user. I suspect it's simple, but the online docs are not very revealing, and experimentation isn't getting me far. Thanks!
  2. Hello, I am working on a project and i am using the digital discovery board. I want to use it to monitor a JTAG interface from another board. My question is, does someone know if there are examples how to do that with the board and with the waveforms software?
  3. Hello, I am having troubles setting a constant voltage level for a tristate digital out pin on the Digital Discovery using the SDK. I can easily set a constant voltage level for a push-pull configuration using the below code, but this does not work when the OutType is set to tristate. dwf.FDwfDigitalOutTypeSet(hdwf, c_int(1), c_int(0)) dwf.FDwfDigitalOutCounterInitSet(hdwf, c_int(1), c_int(0), c_int(0)) dwf.FDwfDigitalOutCounterSet(hdwf, c_int(1), c_int(0), c_int(0)) Any suggestion on how to implement this for the tristate case?
  4. Hi, I am writing a python script to output patterns on my digital discovery. I need to have a reset at 0 during 100ns on DIO24=channel 0, then 20000pattern that are repeated. But I do not want to repeat the reset. I have tried many commands of the SDK ref manual, including Reset = 0 dwf.FDwfDigitalOutRepeatTriggerSet(hdwf, c_int(Resetn), c_int(1)) # repeat = false But, no way the reset is always repeated. How to proceed ? BRgds, Laurent
  5. I'm pleased with the digital discovery but zooming using the mouse wheel in the Waveforms logic analyzer works in the opposite way to virtually every other Windows application. Normally when the wheel is rolled towards the screen it zooms in and when it is rolled back you zoom out but in Waveforms it is the opposite way round. Is there any chance this could be changed. Every time I use the zoom I zoom in the wrong direction first. Also, does anyone have an example of the code for a custom trace that is the result of a logical expression on other traces? For example "New trace = /CS OR /WR".
  6. Hi, How to change the digital voltage and drive of the output pins dIO31-24 with a python script driving a digital discovery ? How to read the current of the vIO with a python script ? And how to turn it on ? Thank you, Laurent
  7. Hi, I'm a new DD user. WaveForms beta 3.11.25 (Windows 10) and 3.11.24 (Mac OS) 1. I have noticed that if I change acquisition mode in Logic Analyzer, manual order of bits in Bus got rearranged. 2. Is it possible to capture data for more than "base" amount of time in Record mode? For example, I would like to capture 20s of samples at 20Mhz in 16x400Mhz config for further analysis. My expectations for Record mode were that DD streams captured samples via USB to WaveForms using DD's large 256M buffer as FIFO. So I thought the capture time would be limited only by PC memory size. Thanks, Konstantin
  8. I am interested in the digital pattern generation feature. Can it take data from an ascii test file, one byte per line and output/play it to the IO? If yes, can I specify the clock rate at which this data from the file will be played out? Thanks.
  9. 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?
  10. 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.
  11. 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!
  12. 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
  13. 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
  14. 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 )
  15. 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
  16. 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.
  17. 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?
  18. 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.
  19. 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.
  20. 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."
  21. 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
  22. 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
  23. 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)
  24. 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?
  25. 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