JColvin

Administrators
  • Content Count

    4024
  • Joined

  • Last visited

  • Days Won

    157

Everything posted by JColvin

  1. Hi @[email protected], I'm not certain what the working environment situation is for you, but you do not actually need WiFi access (or more specifically access to the World Wide Web) in order to connect to WaveForms Live; you can just use a phones hotspot with no internet access and use an offline copy of WaveForms Live (latest version available on the WaveForms Live Resource Center) that is stored on an SD card of the OpenScope MZ. Let me know if you have any questions about this. Thanks, JColvin
  2. Hi @Werner, The NetFPGA group (mailing list registration available on their page here: https://netfpga.org/site/#/CML_reg_form/) would be better able to address the use of Vitis Accelerated Libraries on a NetFPGA board (1G-CML or otherwise). Digilent hasn't personally used the Accelerated Libraries for development for our boards, so we don't have any direct recommendations in terms of what board would be a good target for them. I'm sorry we could not be of more help. Thanks, JColvin
  3. Hi @MrScott, I have updated the page to reflect it's usage; it was a holdover from when the reference materials and Resource Centers for individual products (in this case Pmods) were still in early development. Thanks, JColvin
  4. Hi @[email protected], Is there a particular reason you are wanting to use an optical isolator? I don't believe any of us here at Digilent have used one and my understanding is that USB optical isolators are to help prevent electrical damage, but if you are using the OpenScope MZ you can just run it off a USB battery pack to provide electrical isolation, as shown on slide 116 on this presentation here: https://s3-us-west-2.amazonaws.com/digilent/resources/instrumentation/openscope-mz/21037_ad2_finalslides_1_.pdf. As per the OpenScope MZ reference manual, you will also need to use a high-speed USB port whereas this optional isolator you mentioned, I presume it's this one since you didn't give a model number, only operates at full-speed USB which is much slower. Thanks, JColvin
  5. Hello, I am not certain on how to get MPLAB X to properly recognize the library outside of restarting MPLAB X or making sure the library is directly included with the project folder. Thanks, JColvin
  6. Hello, I apologize for the long delay. The JTAG HS3 will work with both Spartan-6 devices and 7-series based Xilinx boards. I believe you will need to use the Xilinx tools plugin, https://store.digilentinc.com/digilent-plugin-for-xilinx-tools-download-only/, though in order to get Xilinx/ISE to properly recognize the cable though. Thanks, JColvin
  7. Hello, The JTAG HS3 should work with a Spartan-6 based FPGA without any problems. Thanks, JColvin
  8. Hi @JohnnyG, I found some old code on my computer that used 4-bit mode for a parallel LCD that I have also attached. I don't have a parallel LCD with me at home to re-test it (and if I recall correctly it just bit-bangs the communication and uses an external button that you can apply a high logic voltage to) though it should work. I also attached the 8-bit version as well. I will note that it was designed for a different microcontroller (and doesn't use the LiquidCrystal library) though. Let me know if you have any questions. Thanks, JColvin PmodCLP_4bit.ino PmodCLP.pde
  9. Hello, I do not know if somebody else has reached out to you, but as you likely deduced we do not have any direct advice for you at this time. I'm sorry that we could not be of more help. Thanks, JColvin
  10. Hi @Mike Simmonds, I have moved your thread to where the engineer much more experienced with the WaveForms software will be able to see and respond to your question. Thanks, JColvin
  11. Hi @Adam9, I have corrected the link to the SDK download. Let me know if you have any more questions about this. Thanks, JColvin
  12. Hi @aparna, This code as is is specific to how we set up the material for the MMC34160PJ present on the Pmod CMPS2. However, the code present in the spoiler tag from jpeyron that explains the degree() function that uses the arctangent function to convert data from the x and y axes from radians to degrees will be applicable for any magnetometer that measures in radians. Thanks, JColvin
  13. Hi @Sheryfa, I would recommend taking a look at this Xilinx forum thread: https://forums.xilinx.com/t5/High-Level-Synthesis-HLS/Test-bench-file-for-C-in-Vivado-HLS/td-p/557462. There are updated versions of the manuals that they link to, but otherwise the principles used in the approach should be the same. Thanks, JColvin
  14. JColvin

    vitis

    Hello, In terms of not explaining that you need to initialize the GPIO, that is an unfortunate drawback of having Digilent engineers with limited to no teaching experience create the material; they've spent a number of years in college (and now in the workforce at Digilent) working with these boards (and Arduino styled boards) where initializing the GPIO was nearly always a requirement, so it's become second nature and we don't think about it as much. Zygot is correct though on the Xilinx documentation being the best resource in the end for using their material since in the end, that's all Digilent did when we were creating our own material. Then there's the reality that cramming/imparting years of experience into a few tutorials is difficult to do, otherwise schools and universities would probably look and act a bit different than they do currently. Regardless, I will let our content creators know about this feedback so we can put these sort of details in our Getting Started guides. Thanks, JColvin
  15. Hi @Ravi Kumar, Is there a particular reason in your readreply function that you are waiting for data to become available in Serial (i.e. Serial.available ) rather than Serial1 which the OpenScope is using? If you are using the Serial.available you are waiting for the data to come from the PC before reading the Serial1 line. Thanks, JColvin
  16. Hi @JohnnyG, I guess I am a little confused, are you not seeing data in your screenshot on the Analog Discovery 2 pins 3 through 6? There is also a lot of control (and delays) associated with the LiquidCrystal library as well. The begin function has over 50 milliseconds of delay built into it. Otherwise, it seems like you are attempting to use the parallel LCD in 4-bit mode (based on the number of pins which are used in the construction of the LiquidCrystal object) which expects the 4 MSBs to be transferred followed by the 4 LSBs. I do not think there is a way to readily have the WaveForms software analyze two separate bytes (or nibbles as it were) and concatenate them within the Bus line on the Logic Analyzer. I'm also unable to tell if the pins for the data are connected correctly since the built-in Arduino example for the LiquidCrystal library and the .cpp library file itself disagree where the MSBs are located. The datasheet for the parallel LCD present on the PmodCLP says that DP7 (MSB) through DP4 (LSB of the nibble) should be used in 4 bit mode. The order of your pins look correct, but I'm also having trouble readily identifying any commands or characters with the data. Your Enable pin also appears to be attached to the Analog Discovery 2 pin 1 rather than pin 2; you can tell because of the enable pulse that occurs after every data write in the Arduino LiquidCrystal library is occurring on pin 1. Thanks, JColvin
  17. Hi @aparna, It's difficult to say on the accuracy. The main source of error will be from the module itself. The datasheet for the MMC34160PJ magnetometer claims header accuracy within 1% (if you use their proprietary software/algorithim as clarified on the second page of the datasheet), though with the Set/Reset functions to help eliminate the 1 degree in alignment error, the 2% in transverse sensitivity, and 3% error associated with temperature drift, you should be able to get reasonably close (though magnetic fields in your environment will definitely affect the heading. In terms of the math itself, the atan2f is from the standard c library that is included (math.h). You can see what standard C libraries Xilinx uses in their Xilinx Standalone Library Documentation. Pi is rounded/estimated to 5 decimal places but that is a common practice to help make the calculations go faster. Thanks, JColvin
  18. Hi @Cameron Tacklind, What range of pulse width are you using for the DMC60C? I believe the CAN mode has it's own command that it needs to start, but I have reached out to another engineer to get their thoughts on this. Thanks, JColvin
  19. Hi @J995, It sounds like some of the ICs were probably damaged if you're not getting any voltage across the on/off switch when it is switched on. If the board is still be detected by the host computer but not Adept or Vivado, then EEPROM was probably erased or corrupted though fixing that won't matter much of the rest of the board does not turn on. I presume when you say testing the switches that control the on-board LEDs you are referring to the Out-of-box demo for the which is loaded in the QSPI flash and have the mode jumper set to QSPI? Depending on when you got the board it could still be under warranty. Otherwise, perhaps it was just the fuse that was damaged which you can test with a multimeter; you can find some more details about this in this thread: .https://forum.digilentinc.com/topic/4788-protection-diode-and-fuse-damage/. Let me know if you have any questions. Thanks, JColvin
  20. In terms of priority, that'll depend on how LabVIEW processes it since it runs things simultaneously somewhat? I'm not sure how it works on those finer details. The main catch is that while the stop VI will complete, I imagine that when the now processed stop condition flows through the yellow error wire (presuming that is where it is stored), LabVIEW will not further process that data until DWF MSO Read.vi is completed, so unless there was a way to interrupt that flow, it may not work.
  21. Hi @Ravi Kumar, My understanding is that Serial1 will need to be run at 1250000 baud rather than 115200 baud because 1.25 MBaud is what the OpenScope MZ has been setup to run at in order to correctly receive characters. I believe it is possible run it at slower baud rate though the OpenScope material would need to be adjusted accordingly. Thanks, JColvin
  22. Hi @dave123, The .xpr file is the 2018.2 .zip releases for those projects; the specific links to their releases are available here: https://github.com/Digilent/Cora-Z7-10-Basic-IO/releases and https://github.com/Digilent/Cora-Z7-10-XADC/releases. Let me know if you have any questions. Thanks, JColvin
  23. HI @welchs101, Yes, the WaveForms software which controls the Analog Discovery 2 is compatible with Windows 7. You can see the supported operating systems on the right-hand side of it's Resource Center here: https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/start. Thanks, JColvin
  24. Hi @robert.d.lau, I apologize for not being more clear. Once you are in the developer tools for your browser, could you also click on the "Console" tab so we can see what is being logged to it? Right now you are on the "Elements" tab. I'm not sure on the name change portion, but I will ask about that. Thanks, JColvin
  25. Hi @[email protected], I am inclined to agree with you; I am not sure how you would readily provide this functionality either without changing the existing VI to accept an additional input. @attila do you happen to know how this might be done for the Digilent WaveForms VI set? Thanks, JColvin