Search the Community

Showing results for tags 'digital discovery'.

  • 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
    • Test and Measurement
    • 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

  1. I'm on the hunt for a logic analyzer to debug digital protocols. I plan to use it to debug high speed SPI busses (up to 50-80MHz) and USB 2.0 FS (I want to write my own USB stack for a STM32 as a learning experience). My eye is particularly drawn to the Digital Discovery, as for the price it has very high sample rate. I still have to buy a LA though, as I'm still scouting around what works best for me. Therefore, I installed the Waveforms software as a demo, but did not find the USB protocol in there. Obviously it would be complex to write a custom decoder while simultaneously also writin
  2. If I configure the SPI with mode 0 (polarity=0 and phase=0) and LSB in WaveForms SDK in the Digital Discovery or Analog Discovery 2, and I send the byte 163=0xA3=b10100011; I would see the following: Is it guaranteed that when there is a falling edge of SCLK, the MOSI takes the value just before the transition (the SCLK edge)? What I mean is; is the following image accurate:
  3. I have a device that has a single 16-bits SPI shift register (for both transmissions and receptions). It responds to falling edges of SCLK. The input of the shift register is connected to MOSI and the output to MISO, as the following figure. As the MOSI signal is input to the first flip-flop of the shift register, it should remain stable (not change) during a falling edge of SCLK, while MISO changes its value during a falling edge of SCLK. This way, MISO and MOSI signals are not synchronized. I want to communicate with this device using WaveForms SDK. Is there a w
  4. The marketing video for the digital discovery shows a script that reads the output of a vga port and outputs a document of the image. Is that script available anywhere?
  5. 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.
  6. Are there any differences between Python and C++ version of WaveForms SDK API functions with respect to execution time of the functions?
  7. Is there any way to program an interrupt when a digital input pin goes high in WaveForms SDK with Analog Discovery 2 or Digital Discovery? I want to write a code (using WaveForms SDK), with which I wait for a digital input pin to go high. After the pin goes high, I want to continue with the program. Something like the following code: # Some code while (not digitalInputPinIsHigh()): continue # Continue with the program The problem is that the pin's output is a pulse that is only high for 30 μs, so if I continuously check the digital input pin until it goes high, I think I can
  8. I am programming a Digital Discovery with WaveForms SDK (in Python) to communicate via SPI with an FPGA. The SPI comunication has 16 bit words. First, I have to send the address to read or write (the first bit of the 16 bit word indicates whether it is a read 0 or a write 1). Then, in the second 16 bit word, I read the data if it was a read operation, or I send the data if it was a write operation. I have the following code: # Imports from ctypes import * from dwfconstants import * import sys import time # Load dwf library if sys.platform.startswith("win"): dwf = cdll.LoadLibr
  9. I want to do the following with WaveForms SDK: communicate through 1.8 V SPI read 2 digital 1.8 V inputs generate a digital 1.8 V output generate a digital clock of 32768 Hz (low level 0 V and high level 1.8 V) Is this possible with a Digital Discovery or with an Analog Discovery 2 (or both)? I wanted to use an Analog Discovery 2, but I think I cannot set the digital voltage to 1.8 V (it is always 3.3 V). On the other hand, I do not know if a Digital Discovery does the trick, since: (Source: https://reference.digilentinc.com/reference/software/wave
  10. Hello Everyone, I am trying to debug a high speed embedded application with DIO operations and I need to continuously monitor and log the logic levels of DIO. Is there a way to acquire continuous logic signals for the high speed DIO using WaveForms with Digital Discovery? I would appreciate a quick response on this. Thanks Nikhil Chaudhari
  11. As a newcomer to the very clever but quite sophisticated Raspberry Pi computers, can anyone provide a worked example of what files (and how) to load into the new Pi 4/8GB please? The wiki page images are a bit blurred and I'm not sufficiently up to speed to work out from first principles how to install the Adept2 and Waveforms packages. (45+ years of working in microprocessor code and hardware development have left me with a real appreciation of RTMF, but my age suggests I could do with a little help, please!)
  12. Hi all, I am seeing an issue on multiple Digital Discovery devices, where the timing precision is off by over a percent (where I'd expect 10—100ppm, at least 2 orders of magnitude better). The problem can be seen most easily by having the device generate a simple 50% duty cycle clock on one of its output pins, e.g. 1 kHz. On two different Digital Discovery devices I tested, the scope reports a frequency of below 990 Hz. The signals otherwise look as expected (good level, stable, good edges) apart from the bad frequency behavior. I confirmed the measurement with a high-quality Ke
  13. Hello, I am working on a project where I want to mount the digital discovery (410-338) by removing the bottom 4 screws that connect to the case. I'll then run the screws through some holes on the outside of an enclosure to connect to the digital discovery. The following information would be helpful: -What is the screw type and length for the 4 screws? -Is there a recommended torque value? In addition, is there any available reliability and failure rate data?
  14. 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 capt
  15. My Digital Discovery arrived yesterday from Amazon. After installing Adept 2 runtime and the Waveforms application on my Ubuntu 19.04 system, I connected my device and opened the app and the Opening device window popped up and stayed there. Waveforms recognizes that there is a Digital Discovery there whenever it is plugged in, but is never able to open the device or communicate with it in any way. Are there any suggestions for how to fix this? Thanks
  16. 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
  17. 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?
  18. 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?
  19. 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
  20. 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
  21. 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 si
  22. 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.
  23. 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?
  24. 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, FDwfDigitalInBufferSizeGe
  25. 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 w