Leaderboard

Popular Content

Showing content with the highest reputation since 08/25/20 in Posts

  1. ssm

    current booster for AD2

    thank you Attila for the reply ssm
    1 point
  2. @attila, Thank you so much for the help; really appreciate how quickly you answered. Couldn't respond until now, but Scope.Time.Samples.value was exactly what I needed! I wasted too much time trying to do what I could have already saved in my workspace (If only I had read your response sooner), but for anyone who stumbles here looking for recording/capture code, here's some code I made to record an arbitrary pulse length for a heating/cooling machine. You'll have to modify the Wavegen1 parameters though, the control scheme for the machine was inverted (off->Heating, on->Off/Coo
    1 point
  3. Hi @m72 Thank you for the observation. It is fixed for the next version.
    1 point
  4. Hi @eeoh, I got an updated version of the offline build that should correct this error. I have attached to this post. Thanks, JColvin waveforms-live-1.4.10.zip
    1 point
  5. @attila Thanks Sr.
    1 point
  6. Hi @MaxRdgz You can use .toISOString() or .toString and .getMilliseconds or other Date methods. https://www.w3schools.com/js/js_dates.asp
    1 point
  7. Hi @painterguy1995, I believe (it's been awhile) that the needed drivers either come with the Arduino IDE or are part of the Digilent Core for the Arduino IDE (installation instructions available on our Wiki here: https://reference.digilentinc.com/learn/software/tutorials/digilent-core-install/start). *Edit: I checked and the necessary drivers are included with the Digilent Core. The instructions say to use Arduino 1.6.9, but I have used the same core up through 1.8.12 without any issues or needing to install drivers; Windows . My understanding is that MPIDE has been depreciated and
    1 point
  8. @[email protected], I just got an email from a well known high end FPGA board vendor claiming 200 Gbps Digital IO. Yes this is far fetched but I had to know why a respected vendor would make such a claim. The answer turns out to be OCuLink. No, I was unaware that this is a thing but a google search returns plenty of hits. Some variants of the RfSoC have multiple lanes of transceivers that run at 25 Gbps. Connect 8 of these transceivers to an interface and you have 200 Gbps of something. Calling that something digital IO is beyond misleading. PCIe transceivers aren't like Select IO pins. My PCs have spare 4
    1 point
  9. Hi @Frank.Muenzner 2. I'm working on implementing such recording for the VIs Hope to give you a version with this in a few days.
    1 point
  10. @xc6lx45, Spoiler Alert! This is one of those ZYNQ beasts with onboard ADC and DAC converters. The issue is essentially a lack of documentation and transparency on the part of Xilinx on how their devices work. My earlier posts to this thread shows that I didn't get it at first either.
    1 point
  11. A sneaky way out of it is to use n (e.g. n=8 ) generators in parallel, with a phase offset of 1/n sample. This is literally a "polyphase" approach. For high-end fast DA / AD converters you won't be able to operate at the converter's clock rate on an FPGA so it needs to be split on multiple, parallel lanes anyway.
    1 point
  12. If this is your first FPGA project you jumped into the deep end of the pool. The UltraScale devices are a lot more complicated than the normal devices used in products normally discussed in the Digilent Forum and the key information tends to be a lot more difficult to tease out. The first thing that you want to do is try to at least build the demo projects that come with your development kit. You might not be able to run them due to odd requirements. This is what I ran into with the ZCU106 TRD. But, with a bit modification of the tcl I did manage to build the demo.
    1 point
  13. Hi, it sounds very unlikely. Now it does happen that boards fail (which is very rarely related to the FPGA itself, but more often unreliable USB cables, connectors, failing voltage regulators, PCB microcracks and, did I mention, unreliable USB cables) but usually, the problem is somewhere else. The FPGA GPIO circuitry is very robust. Unless there is an external power source involved outside the bank voltage range, I doubt you'd manage to damage it even if you tried. I guess we all know those panic moments, like "oh no I've bricked / toasted the board" and then you have a coffee,
    1 point
  14. Hi to the community. I have posted on GitHub an APSoC design that polls the Pmod HYGRO via IIC and displays the sensor readings on the Pmod CLS. https://timothystotts.github.io/2020/09/14/hygro-sensor-readings-tester-on-zybo-z7.html Regards, Tim S.
    1 point
  15. Hi @S.Kamath, Yes, you can use our guide here, https://reference.digilentinc.com/learn/programmable-logic/tutorials/2020.1/getting-started-with-ipi, for using the Zynq processor to control an LED on a Zynq based board such as the Cora Z7-07S. Let me know if you have any questions. Thanks, JColvin
    1 point
  16. Awesome, thanks Attila! It's exactly what I wanted to do!
    1 point
  17. 1 point
  18. Hi to the community. I have posted on GitHub a FPGA design that polls the Pmod HYGRO via IIC and displays the sensor readings on the Pmod CLS. https://timothystotts.github.io/2020/09/12/hygro-sensor-readings-tester-on-arty-a7.html Regards, Tim S.
    1 point
  19. attila

    BNC Adapter Schematic

    Hi @Shalom Routing the Scope lines on the BNC adapter also to the wire end would highly increase the capacitance, making it incompatible with 10x probe, and it would provide single ended channels. The Wavegen outputs have zero impedance, so these could be routed without major implications, but for similarity these are also only available on the BNC connectors.
    1 point
  20. attila

    BNC Adapter Schematic

    Hi @Shalom On the BNC adapter the Scope and Wavegen outputs are only available on the BNC connectors. You can see the NC labels on the PCB and the traces. You can find the schematic at: https://reference.digilentinc.com/reference/instrumentation/bnc-adapter-board/start
    1 point
  21. Hi @painterguy1995, As per the reference manual, https://reference.digilentinc.com/reference/microprocessor/uc32/reference-manual#power_supply, the 3.3V regulator is limited to 500 mA and the 5V regulator is limited to 1A. Each individual digital I/O pin is limited to 18 mA. I'm not certain which 3V pin you are referring to. The one the arrow points to is labeled as "3V3", which is 3.3V. I'm not certain what you mean by "Arduino" bootloader, but it does come loaded with a bootloader so that it can be configured through the Arduino IDE, yes. Let me know if you have any other
    1 point
  22. Hi @Shalom, In case you want to match the output you'll use the 50Ohm jumper position in order to have adaptation. In this case your amplitude will be divided by 2. In the case you want to use the Gavegen just as a voltage source and don't want to reduce the amplitude, you can leave it to 0V. Regards, Bianca
    1 point
  23. attila

    SDK and measurements

    Hi @Zebel http://www.radioradar.net/en/measurements_technics/oscilloscope_measurement_fundamentals.html
    1 point
  24. >Does the Interrupt interface on the microblaze and the AXI Interrupt Controller have to be connected in both NORMAL and FAST mode? The microblaze supports vectored interrupt table when FAST mode is enabled. This allows the ISR to jump to a function. For example, if your familiar with ARM Cortex-M, FAST mode in the microblaze is the same idea. In a general processor there is only one interrupt for general interrupts, i.e. serial, etc. So the software has to decode the interrupt and then jump to the handle, this is NORMAL mode. I would recommend adding a AXI UART (connect to con
    1 point
  25. Hi @painterguy1995, That is correct; the ADC that is present on the PIC32MX chip is not equipped to handle voltages above 3.3V. The digital I/O have both clamp diodes and current limiting resistors which allows them to handle 5V inputs. Let me know if you have any questions about this. Thanks, JColvin
    1 point
  26. Great! I'm very glad to hear that you were able to figure out what was causing the issue.
    1 point
  27. JColvin

    Arty A7 basic IO problem

    Hello, This is also detailed a little bit more in our Getting Started with Vivado IP Integrator and Vitis guide in this section here. Thanks, JColvin
    1 point
  28. Thank you! The trigger is the key point to detach the plug!
    1 point
  29. zygot

    HDMI input for Nexys Video.

    True. It's also true that people who know the answers to anyone's questions don't have to help when given reasons not to. In this case @[email protected] did offer help. The anyone in this case just didn't realize it. BTW, Dan's an old fashioned man from at least the 1900's era , though it's possible that you chose a time period that he didn't find offensive. Your general response certainly was. I realize that in some cultures a well aimed insult is good fun... until someone decides to take it seriously. I'd suggest that you'd get more sympathy and better answers by not throwing insults in response to
    1 point
  30. The GPIO API uses channels, #1 for push buttons and #2 for LEDS. For example: static XGpio gPIOBoardLEDAndPushbuttonss; ... int rc = XGpio_Initialize(&gPIOBoardLEDAndPushbuttonss,0); notice the API has 3 parameters, the GPIO handle, which channel 1 for Push buttons set data direction XGpio_SetDataDirection(&gPIOBoardLEDAndPushbuttonss, 1, 1); XGpio_SetDataDirection(&gPIOBoardLEDAndPushbuttonss, 2, 0); set output for LEDs XGpio_DiscreteWrite(&gPIOBoardLEDAndPushbuttonss, 2, 0x7);
    1 point
  31. Hi @amenah89, I presume you are using the Nexys A7 board, https://reference.digilentinc.com/reference/programmable-logic/nexys-a7/start? This board does not have a dedicated video input so it will be difficult at best to receive and process video on it. The VGA port has a resistor ladder for each of the colors so while you could technically provide a video feed from an external source, you would be limited to 3 bit color, which I doubt you want. There are a couple of potential alternatives with regards to providing a video feed to the Nexys A7. You could wire individual signals from
    1 point
  32. Hi, P=V^2/R that is V = sqrt(P*R). For 5 Watts and (assuming!) 50 ohms the voltage at your dummy load will be 16 V RMS or, multiply with sqrt(2), +/- 22.3 V peak. Consider using a 1 : 10 probe, check against the 22.3 V with some margin. This calculation assumes a largely sine-shaped waveform which seems a safe bet if you're FCC compliant with regard to harmonics. If you want to use a 50 ohms input you may consider a series resistor. For example, 1 kOhm into 50 ohms is (approximately) 1:20 voltage division. A 1/4 W rating would be at the limit (16^2 / 1000 is around 1/4). P
    1 point
  33. ssm

    Using the SDK with AD2 on Ubuntu

    thank you attila
    1 point
  34. the mistake was here: FDwfAnalogInTriggerSourceSet(hdwf, trigsrcDetectorAnalogIn); not sure why I used trigsrcDetectorAnalogIn instead of trigsrcAnalogOut1 FDwfAnalogInTriggerSourceSet(hdwf, trigsrcAnalogOut1) working perfectly now. thanks a million for the great help ssm
    1 point
  35. Hi @mjk.kirschner Thank you for the observation. It will be fixed for the next software release. - To overcome this you can add two SPI interpreters, one for MOSI and one for MISO. - You could also change the Format for MISO from Script, by running: Logic.Channels.SPIMISO.Format.text = "Decimal" As mentioned in the installer the driver is only required for older macOS versions. Such warning/info is given by the WF application when no device is detected:
    1 point
  36. The reference to Barbara Dennerlein is beyond my cloistered lifestyle ; but I get your point. Sometimes a question suggests that a different problem than the one being asked is at the crux of the difficulty. It's a sense, analogous to the web crawler's spidey sense, that gets tingled every so often. It's a result of many years of experience. Sometimes the source of the question simply hasn't thought trough the problem. Sometimes it represents a naive understanding of the problem. You can't really solve a problem unless you understand it. Occasionally, you can have a naive understanding of
    1 point
  37. OT: I think Barbara Dennerlein once discovered such a place playing Hammond organ on a generator-powered festival... almost in tune...
    1 point
  38. Follow Up and Summary - Programming FPGA Boards from a Mac Thanks to those who responded to my request for methods for programming FPGA boards on a Mac. Since then I have found a mechanism that is working very well. It is called Open OCD (search the web). This is an open source solution that we have tested on a number of Digilent boards (Nexys4, Basys3, Arty). It works for both a Mac as well as Linux (useful since we could never get Adept 2 installed in a way to work on Ubuntu 16.04). I have created a web page that describes how to use it at: https://github.com/byu-cp
    1 point
  39. thank you attila for the great help, ssm
    1 point
  40. Hi @attila, that did the trick. Got great data, I'm a fan!
    1 point
  41. This worked! Thanks @attila
    1 point
  42. Hi @Phil_D # 2nd configuration for Analog Discovery with 16k analog-in buffer if(!FDwfDeviceConfigOpen(-1, 1, &hdwf)){...
    1 point
  43. Hi @satvik, My guess is that you haven't set up your serial terminal correctly. I recommend you use teraterm and I'll show you how to set it up correctly using screenshots. First, make sure you select Serial and from the drop down list select the COM Port associated to your Zedboard. Next, go to Setup and choose Serial port... Set Speed to 115200 and then press New setting. Then go to Setup again and select General... In the General setup make sure to change the Language to English. Now go to Setup->Terminal... and for the New-line
    1 point
  44. Hi @[email protected], We are working on filling back orders for the Analog Discovery 2, though new orders will have some amount of lead time associated with them. The latest information on this can be found on Digilent's website here: https://store.digilentinc.com/analog-discovery-shortage/. Thank you, JColvin
    1 point
  45. Hi! Since I've been doing a lot of stuff with SDR for the past 2 years, I was wondering, if it is possible to use the AD2 with any SDR software. The Waveforms SDK only allows to record float values to a file, if I understood correctly, so I would have to save them and convert them before usage. It would be nice though, to make a FIFO pipe to some other software like gnuradio, gqrx or SDR#. Thanks to the 14 bit ADC/DAC it would be a very useful SDR device. Does anybody of you have an idea, of how to implement this? Since we can use the AD2 to play audio, the easiest way would be to cr
    1 point
  46. Hi @Pazzo In case the data processing or saving in your loop function takes too much time it could lead to buffer overflow (samples lost/corrupt). You could try opening the device with 2nd configuration to have more device buffer. # 2nd configuration for Analog Disocovery with 16k analog-in buffer #dwf.FDwfDeviceConfigOpen(c_int(-1), c_int(1), byref(hdwf))
    1 point
  47. @Clarissa, Yes, it means you can adjust the frequency standard of those pins used on the FMC connector, as well as the power used by the switches, the buttons, and the XADC PMod (not all of the PMods) FPGA's handle their I/O voltages by bank. Hence, when you adjust the I/O voltage of a bank, you adjust the I/O voltages of all of the signals on that bank. This is the reason why you can't just specify a voltage for an I/O pin and expect it to suddenly have that voltage (a common misperception). The voltage needs to first be set in the voltage rail for the whole I/O bank. Hence, for
    1 point
  48. And with a night of hacking, I've got a Sobel-like edge detector working too.
    1 point
  49. Oh, just added a video of it in action...
    1 point
  50. This is so awesome! Thank you for creating this. I'll try and verify this on my own Nexys Video when it arrives. Tim 'mithro' Ansell
    1 point