• Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by JColvin

  1. JColvin

    Nexys4 DDR & MIG

    Hi Pedro, I'd recommend checking out our getting started with microblaze tutorial for the Nexys 4 DDR. It has a section (starting here) that talks about how you would add the MIG IP block. Let me know if you have any more questions. Thanks, JColvin
  2. Hi, Alex is right, the Pmod can only get up to a range of +/- 4V in bipolar mode because the programmable gain array (pg 32 of the datasheet) has an overhead of 1.25V. The reference voltage (Avdd) can be supplied through REFIN2+ and REFIN2- pins on the J2 header of the PmodAD5. As for changing your sample rate, you would need to change the Mode Register to adjust the "filter output data rate select bits" from the default of 96 to 1 to get a much faster output data rate. With the inherent settling time associated with the on-board chip, I'm not sure you will be able to get as high of a output rate as you want, but I can't confirm or deny this. Either way, it sounds like you're using the Analog Devices library for this chip, so you would need to contact them to find out how to best utilize it. Let me know if you have any more questions. Thanks, JColvin
  3. Hi Flyline, You are completely right, those pins should be defined as you determined in the board defs file. I have corrected the WF32 reference manual that is available on our wiki here; I'll also request that the reference manual (in pdf) form is also updated to reflect these changes. As for the board defs file, I personally don't have any control over that, but I will make mention of this to our chipKIT guy and see if he can appropriately update them. Thank you for the feedback! Thanks, JColvin
  4. Hi Jmac68, The chipKIT Max32 does not output PWM from 0-5V. All of it's pins including the analog pins operate from 0 to 3.3V. Most of the pins are 5V tolerant, but are not actually able to supply 5V. As for the individual stepper controllers for each stepper motor, that really depends on your design. If all of your motors are going to be running and turning exactly the same way, then you could in principle use the same stepper controller. However, based on the way stepper controllers are designed (such as a Darlington Transistor Array or a L293DD or any number of other chips based on how powerful your stepper motor is), you would then also probably be sending power through the same pins on the chip for all of the stepper motors, which will likely not be strong enough to have that much power flowing through it to power all of them. With 10 stepper motors, I would recommend using individual stepper controllers (based on my personal knowledge and experience; other people may have a more experienced recommendation). As for the code recommendation, I might be able to offer some advice on what kind of things you would want to do, but in the end you know the setup the best. What exactly are the stepper motors doing? Are they the things controlling how much mass is flowing through your system based on the feedback from the mass flow controllers? Are they inside the mass flow controllers? Or something else entirely? Thanks, JColvin
  5. That's what I was initially thinking as well, but when I was looking through at what pins the Timer2 and SPI used, they didn't appear to have any conflict (Timer2 seemed to use pin 5), so I wasn't sure what the problem might have been. But if Timer3 works out for you, then go for it.
  6. Hi DrK, All of our FPGA boards that Digilent currently offers are capable of SPI communication and have 20+ IO pins. At this point, (I'll confirm this and let you know otherwise if this isn't the case) I do not think NI nor LabVIEW MakerHub has designed any VI's or firmware to be able to program any of our FPGA boards. From what I can see on the LabVIEW MakerHub website, LINX only supports this list of Digilent boards, including the chipKIT WF32. Let me know if you have any more questions. Thanks, JColvin
  7. Hi JakeM, Digilent primarily focuses on Electrical Engineering and Computer Engineering Education, so unfortunately the large majority of the members here on this forum will probably not be able to specifically help you. Thanks, JColvin
  8. Hi Pluto, The source code language for our FPGA boards is dependent on who wrote it and in this case it happened to be written in VHDL. So no, unfortunately we do not have a verilog version available. Thanks, JColvin
  9. Hi DrK, The Analog Discovery is the only module that we have that is compatible with the Waveforms software that we developed. However, the new version of the Waveforms software, Waveforms 2015, can support SPI communication through a script. Let me know if you have any more questions. Thanks, JColvin
  10. Hi Timoleon, That sounds like an interesting project. I'm not sure that Digilent specializes in the solution you're looking for, but perhaps we can help. Could you tell me a little bit more about what you're hoping to do? Thanks, JColvin
  11. Hi c64, I have escalated this question to our support team who will get back to you here on the forum. Thanks, JColvin
  12. Hi Vladimir, I am not the most experienced with FPGAs so I will not necessarily be able to offer any specific help in terms of the code. As for better letting you know that the program has been completed, perhaps you can turn on one of the LEDs on the Basys 2 once the "done" parameter is true. From what I can tell from your code, there is currently nothing else to do once done = 1, so I'm not sure what part of the code is being avoided. In terms of improvement, it would depend if there is something else you want your program to do. If you wanted it to cycle through different output voltage levels, you could write some code to do that with a command3 and command4 (if you so choose to use those parameter names) and and some sort of delay inbetween the changes. You will not be able to output a negative voltage with this Pmod; it can only output a voltage between 0V and the supplied reference voltage. (2.5V in our case since we essentially have to use the internal reference voltage) I looked through the book you mentioned, but I didn't see any exercise that involved voltage over time, but I'll presume you have something. As you know, for the PmodDA4, you will have to keep loading new voltage values when you want the voltage to change. In terms of having them change with time, you can do it in one of two ways (at least as far as I am aware). You may use an external timer of some sort and then press a button or flip a switch (or something similar) on the FPGA when you want the voltage value to change. I would probably instead try to create an internal timer in the FPGA that sends a new command once the set time (or delay) is reached. Let me know if you have any more questions. Thanks, JColvin
  13. Hi Evocati, I have escalated this question to our support team who will get back to you here on the forum. Thanks, JColvin
  14. Hi Jason, I'm thinking the last suggestion you had with the right angle connector, JTAG HS3, and USB cable may be your best option. I'm not aware any other single-item solutions that will meet your needs. You may be able to find some ribbon cable with a right angle header to give you some more reach in terms of distance, but Digilent doesn't offer a cable like that, at least as far as I am aware. Good luck! ~JColvin
  15. JColvin

    JTAG HS2/Adept and Qt5?

    Hi algae, I have escalated this question to our support team who will get back to you here on the forum. Thanks, JColvin
  16. Hi jheinecke, From my understanding the difference between the B.2 and B.3 in terms of revisions is due to a minor change that does not affect board performance. After talking with Digilent engineers, I found out that in this particular case, the board was released to the public as B.2, but the schematic for the ZYBO did not get updated with the minor change from the original, prerelease board, so when the schematic was updated to then accurately reflect the board (due to a "no load" resistor or a similar minor change), it technically went through a minor revision making it B.3 So to answer your question, I guess the answer is that the board is both B.2 and B.3 since they both represent the same board. Let me know if you have any more questions. Thanks, JColvin
  17. Hi Jonathan, As you can see in a screenshot of the Basys 2 reference manual in this other forum post, the primary oscillator (mclk) is flexible in the fact that you can choose a variety of frequencies, but it lacks the frequency stability of a crystal oscillator. The biggest difference you'll notice would be when you're driving a frequency sensitive application, such as a VGA monitor, where you'll probably see an improvement in the image stability if you instead use a crystal oscillator in IC6 as your secondary oscillator (uclk). As indicated, the secondary oscillator (which you'll have to purchase separately), if it's a crystal oscillator, will have better frequency stability than the primary silicon oscillator. But if you're not planning on driving a frequency sensitive application, you probably won't need to use a secondary oscillator. Let me know if you have any more questions. Thanks, JColvin
  18. From my understanding, the Instructables website only offers pdf downloads of the Instructable guides to their Pro members, which you can choose to be when you sign up for an account with them. If you do not wish to become a Pro member, you will have to click on the next and previous buttons (or view all steps button) on Kaitlyn's Instructable so you can read through the guide that she has provided on her own time on converting a ucf file to an xdc file. Thanks, JColvin
  19. Hi Leo, I have escalated this question to our support team who will get back to you here on the forum. Thanks, JColvin
  20. Hi hwynters, I looked around online for a convenient adapter, but there doesn't appear to be any that would work nicely with your particular board. Digilent has three different boards that supply a VHDCI connector, although they are being replaced by newer options so they all have limited availability. They are the Genesys, the Atlys, and the Nexys 3. Let me know if you have any questions. Thanks, JColvin
  21. Ok. Are you referring to a specific file within the Instructable, such as the demo.ucf file? Or are you trying to do a pdf download of the document?
  22. Hi Vladimir, You only need to send the 32-bit command for using the internal voltage once for each time the Pmod is connected to a power source. If you only want the maximum voltage output on all 8 outputs, you will also only need to send that command once for each time the PmodDA4 is connected to a power source. If you disconnect the Pmod from a power source, you will need to send the two commands again because the on-board Analog Devices chip will revert to it's default settings. Let me know if you have any more questions. Thanks, JColvin
  23. JColvin

    Zybo HDMI sink

    Hi Hao, I have escalated this question to our support team who will get back to you here on the forum. Thanks, JColvin
  24. JColvin

    nexys2 fpga board usb

    Hi vport, I have escalated this to our support team who will get back to you here on the forum. Thanks, JColvin
  25. Hi Vladimir, You probably already saw this, but I replied to your comment on the other thread you mentioned. Thanks, JColvin