JColvin

Administrators
  • Content count

    2335
  • Joined

  • Last visited

  • Days Won

    62

JColvin last won the day on April 24

JColvin had the most liked content!

About JColvin

  • Rank
    Forum Moderator
  • Birthday April 22

Profile Information

  • Gender
    Male
  • Location
    Pullman, WA

Recent Profile Visitors

6753 profile views
  1. Analog Discover 2 Matlab Error

    Hi @Roman C., My current understanding is that there isn't any direct support for the Analog Discovery 2 with MATLAB at this time. There are a number of threads discussing this here, here, and here. I spoke with our product manager for our scopes and instruments line and they have not heard any update from MATLAB for the MATLAB DAQ support package to target the Analog Discovery 2 (rather than just the Analog Discovery original). Thanks, JColvin
  2. Hi @capablegh, That's not quite correct; some of the pins, DIO[0-3] are 5V tolerant. The remaining pins, DIO[4-9] are not 5V tolerant. This is based on Table 4 of the PIC32MZ EF datasheet where DIO0-DIO3 (package pins B52, A64, A66, B56, respectively) are 5V tolerant, whereas the remaining 6 pins on Port E (package pins A67, A3, B2, A4, B10, A12, respectively) are not 5V tolerant. So you may use those first 4 pins for 5V tolerance, but definitely avoid putting 5V on the other pins lest the board is damaged. As for the oscilloscope, I have not seen anything that indicates +/- 40 V tolerance on the OpenScope MZ. Can you link to the forum thread that you found that indicates this? If you are expecting to have voltage swings beyond the +/- 20V measurement range, a voltage divider and zener diode certainly would help ensure the voltages remain within the correct range. What sort of voltages are you expecting? Thanks, JColvin
  3. PmodAD5 evaluation

    Hi @virk_ps, I gave that value to get the highest frequency rate possible. If you wish to use an alternate frequency, you will need to calculate the corresponding FS bits by the following equations: FS[9:0] = 4920000 / (1024 * desired frequency) The filter rate does not go up to 1023, it only has options of 1, 2, 8, or 16 (0x00, 0x01, 0x10, or 0x11). The filter will only matter if you care about noise, but with a low frequency rate, you likely will not need the filter. Thanks, JColvin
  4. Problems when 5v dc motor with nexys4 artix7 fpga board

    HI @Krish, I'm not certain what you are referring to; could you attach the code you are using for your motor program? Thanks, JColvin
  5. Cmod A7 FT2232H

    Hi @Rafail, Which board are you working with so that I can make sure I can get you the correct application? Thanks, JColvin
  6. Pmod Ad5

    Hi @roman3017, I have requested of our content team to add this IP; it will be a little while before it is there though since we will want to make sure it is formatted like all of our other IPs and make sure it gets verified by a second set of eyes before pushing it onto that platform. Thanks, JColvin
  7. Pmod and ZedBoard

    Hello @jackn, Yes, I believe that Pmod is compatible with the Zedboard. I provided some more information about it on your other thread here. Thanks, JColvin
  8. Pmod Digilent and Simulink

    Hello @jackn, Those of us here at Digilent haven't used Simulink from MATLAB, so we can't speak towards the compatibility of that with the Zedboard. Are you looking to receive or send the generated CAN message with the Pmod CAN? Looking at the page you linked, it seems that the Pmod CAN will be able to receive the message, though you would need additional hardware and wiring to get the data out from the Zedboard and to the Pmod CAN. In terms of sending the data, you would need to restructure the CAN message so that it is compatible with the Pmod CAN IP, presuming you are looking to use it. Thanks, JColvin
  9. Self introduction

    Hi @PCBindex, Welcome to our Forums!
  10. PmodAD5 evaluation

    Hi @virk_ps, You can adjust the default data rate by using the SetRegisterValue function. More specifically, using the values defined in AD7193.h: SetRegisterValue(AD7193_REG_MODE, 0x080001, 4, 1); Based on the information shown on pages 24, 25, and 43 of the AD7193 datasheet, this should set an output data rate of ~4.8 kHz (based on the equation ODR = 4.92 MHz / (1024 * FS[9:0]) ) with a settling time of about 625 microseconds (based on the equation settling time = 3/ODR). Also from page 24 of the datasheet, the SetAveraging function will implement a first order average for either 1, 2, 8, or 16 samples; this will reduce the output data rate for a given result sent to the host board, but the rms noise will improve. Thanks, JColvin
  11. what is inside FPGa kit

    Hi @Riteshkakkar, Do you take a look at the video that Dan linked to in this post here? It gives a good overview on what an FPGA is set up to do and how it is generally designed (and no, it does not inherently have registers in the same way a microcontroller does). Are you referring to a CRT TV? In theory you can connect it, though you would need an adapter cable of some kind and would also need to write your own custom code to interface with it; this thread describes a little bit of what you might need, though in the grand scheme of things it's probably not a great thing to pursue since the end result (super low resolution) likely won't be worth it. Thanks, JColvin
  12. USB OTG on Zybo does not work

    Hi @Ankit, I have split off your comment into a separate thread since your question is specific towards the USB OTG rather than the USB UART which was the basis of the problem on the other thread. Have you tried out a Linux image, such as the Petalinux resources that @jpeyron directed you to in your other thread here? Thanks, JColvin
  13. Matlab for AD2

    Hi @jsherman86, I have moved your question to a more appropriate section of the Forum. My current understanding is that there isn't any direct support for the Analog Discovery 2 with MATLAB at this time. There are a number of threads discussing this here, here, and here. I spoke with our product manager for our scopes and instruments line and they have not heard any update for the MATLAB DAQ support package to target the Analog Discovery 2 (rather than just the Analog Discovery original). Thanks, JColvin
  14. MAX 32 Bootloader

    Hi @KStock, I think I found the solution/work-around, but unfortunately, it seems to be a hardware problem that will involve cutting a trace and seems to prevent the use of the SD card slot. The thread (and corresponding threads that it linked to) are on the chipKIT forum back from 2011 with the main one here, and the discussion about what the issue is on this thread here, which goes on for a couple of pages until you see the post that is referenced in that first link. I do not have the Arduino Ethernet shield to test this (and the Digilent person on those threads retired a number of years ago), but looking at the Max32 hardware I have now and seeing the date of the Arudino Ethernet shield schematic (2010 is what I'm seeing), I do not think that a hardware board change has been made or a software change has been found. Thanks, JColvin
  15. MAX 32 Bootloader

    HI @KStock, Looking at the schematic for the Ethernet Shield that Digilent has (link), there shouldn't be any connections to that MCLR line. Are you using the same ethernet shield that I linked to? The other thing that can cause this reset (on any PIC32 device with this USB/FTDI setup) is if a new USB connection or COM port is established; this can be a serial terminal opening, flash drive being plugged in, another PIC32 board, etc. Is anything like that happening in your setup? Thanks, JColvin