logansam

Members
  • Content Count

    98
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    logansam reacted to attila in Electronics Explorer Troubleshooting   
    In case your Electronics Explorer board is not detected by WaveForms application try to do the followings:   1. Check if it is properly supplied with 12V and the Red Power LED is on?     The USB controller is powered by this supply, connecting only the USB cable is not suffice.   2. Check if the Yellow USB LED is on when the USB cable is connected?     Otherwise, try to use another micro USB cable and computer plug.   3. Remove the board supply, wait a minute then connect it back.     Do this, to make sure that all the internal circuits are reset.   4. Check the Windows Device Manager if any new device is listed after you supply the board or connect the USB?     It should appear: Digilent USB Device or Unknown Device.   5. In case you see Digilent USB Device but it is not detected by WaveForms:     restart the computer, reinstall the application including the Adept Runtime section.   6. In case you see Unknown Device, verify the Hardware IDs under Properties, Details tab.     If this is USBVID_04B4&PID_8613... ask for USB EEPROM reprogramming application.
  2. Like
    logansam reacted to attila in Analog Discovery troubleshooting   
    During device opening internal chips are enabled and configured. This results in consumption increases, specially when the 100 MHz clock (PLL) is started. The needed current increases from 100mA to 500mA. In case the USB can't provide enough current the voltage drops below the minimal required for the device to operate and communication fails.
     
    In case you get “Device configuration failed (PLL 1)" or "Communication with the device failed.” error message:
    The device needs at least 2W/400mA from USB cable. To satisfy this:
    - Try to use different USB cable and computer plug.
    - Use the USB plug on the back of the PC, not the one on the front panel.
    - Use short cable, do not use long cable or cable extender.
    - Use powered USB-hub, avoid un-powered hub.
    - Use USB-Y cable to load power from two plugs.
     
    Device not detected by WaveForms:
    Open Windows Device Manager then connect the device and wait up to one minute for a device to appear:
     - USB Serial Converter, with warning
    - Connect the device directly to the computer's USB plug without using external hub.
    - Restart the computer.
    - Reinstall WaveForms, including the Adept Runtime section.
     - USB Serial Converter, without warning
    - Restart the computer.
    - Reinstall WaveForms, including the Adept Runtime section.
    - Other application might have erased the USB controller EEPROM (FT_Prog, programming cable drivers...)
     Use the "My device is not listed" button in WaveForms application Device Manager to reprogram the EEPROM.
     - Unknown Device
        Check the Hardware IDs under device Properties, Details tab
    - USBVID_0403&PID_6014
      The USB driver is not installed.
    - Restart the computer.
    - Reinstall WaveForms, including the Adept Runtime section.
    - USBVID_0000&PID_0000
      Device not identified or malfunction. See "Nothing shows up".
     - Nothing shows up:
    - Connect the device directly to the computer's USB plug without using external hub.
    - Try to use different USB cable and computer plug.
       The device or its plug might be damaged.
  3. Like
    logansam reacted to hamster in Nexys 4 - [drc 23-20] Rule Violation Cfgbvs   
    This link will help you....
     
    http://forums.xilinx.com/t5/Design-Entry/Setting-CONFIG-VOLTAGE-and-CFGBVS-using-Vivado-2014-1-GUI/td-p/442462
     
    Warnings in FPGA designs are funny things - you may still get plenty of warnings when things are perfectly designed and implemented. You get used to it after a while.
     
    When things are not working as expected have a quick look at the warnings before you bother getting out the scope and logic analyser. And once in a when, when you need some time to drink a cup of coffee, have a look over the warnings just to see what is going on in your design - you might just see something that saves an hour or two of debugging.
  4. Like
    logansam reacted to Commanderfranz in Where To Find Xilinx Vivado   
    There are also projects for the Basys 3 on instructables.com here.
  5. Like
    logansam reacted to cospan in Tft Lcd Control With 2 Pmods Using A Spartan 6   
    I just got this up and running:
     
    http://youtu.be/dIAJrQxToCc
     
    It's a custom TFT LCD controller board using only two PMODs. The board controlling it is an FPGA devboard that communicates with the host computer using the FTDI's FT2232H in synchronous FIFO mode so that I can transfer data between the host and board at a rate of about 25MB/s using a simple protocol.
     
    I wrote a scripting tool that glues together wishbone cores to create an FPGA image using a simple configuration file. Editing configuration files are great but I thought it would be so much better if I could modify the FPGA image by using a GUI so I worked on an application that does that. Here is a screen shot of how I visually created the LCD controller.
     
      One of the big limitations of using USB 2.0 is the relatively large overhead to initiate a transaction, It's much faster if you send a large chunk of data. So instead of writing directly to the LCD controller I write to the SDRAM and then configure the LCD controller to read directly from the memory. This way I can write a new frame down to memory while the LCD controller is reading data out using a double buffer scheme (host writes to back, controller reads from front, then flip).   The protocol to communicate with the FPGA is a really simple protocol abstracted away in Python to simply 'read' and 'write'. It was pretty cool to communicate with the FPGA using a python module but I thought it would be so much better if I could interface with an FPGA using a GUI. So I added a visual interface to communicate with it (That's what I was using in the video).   If you're interested in the board here's the link: http://wiki.cospandesign.com/index.php?title=Dionysus the code to control the LCD is here: https://github.com/CospanDesign/nysa-verilog/tree/master/verilog/wishbone/slave/wb_nh_lcd   The code is designed to be as generic as possible, so if you want to adapt it to your project it really just needs a wishbone bus but you can bypass Wishbone by just using the nh_lcd.v  
  6. Like
    logansam reacted to hamster in Controlling A Stepper Motor With A Fpga.   
    Although this isn't using a Digilent FPGA board, here is how to drive a low-cost stepper motor and to count the steps taken. It is using a 5V stepper motor, but if you have 12V motor & driver board it may also work for you.
     
    http://hamsterworks.co.nz/mediawiki/index.php/Stepper
     
  7. Like
    logansam got a reaction from jotran00 in Basys 2 & Basys 2 Spartan 3e Fpga   
    Yes, they are the same. Spartan 3E is the FPGA on the Basys 2 http://digilentinc.com/Products/Detail.cfm?NavPath=2,400,790&Prod=BASYS2. The text book Real Digital was written for the Basys 2.
  8. Like
    logansam reacted to hamster in Pmodi2s Stereo Output Pmod - How Can I Get This Thing To Work?   
    http://hamsterworks.co.nz/mediawiki/index.php/Pmodi2s
  9. Like
    logansam reacted to hamster in Basys �   
    just to close the thread off - I've been communicating with email, and issues with the design that Gustavo345 faced were...
     
    1) The project was not set to the correct device, so it wouldn't build correctly.
     
    2) The last change in the code was to speed things to a sensible PWM frequency. The counter was reduced to 20 bits (0 -> 1,048,575), but in Gustavo345's design the constants were still left at 9,999,999,  5,000,000 and so on. As all the comparisons became constant.everything gets optimised away.
     
    Cheers
     
    Mike
  10. Like
    logansam reacted to mazurov in Usb Host Library Updated   
    Hello all, 
     
    xxxajk finished porting the USB Host library to chipKIT (whatever was possible to port given the advanced age of the "latest" IDE for this board). It works well on my hardware, anyone interested please check the code here -> https://github.com/felis/USB_Host_Shield_2.0/tree/xxxajk . Please note the branch - it is not in master yet.
     
    Enjoy!
    Oleg.
  11. Like
    logansam reacted to Cristian.Fatu in Pmod Tmp3 Pin Distances   
    Find attached a drawing with the dimensions.
    PmodTMP3_mech.pdf
  12. Like
    logansam reacted to hamster in Fpga With A Low-cost Arduino Ultrasonic Rangefinder   
    I've got a low-cost ultrasound rangefinder working with my Basys3 board.
     

     
    The two digits of the seven segment display shows the distance in centimeters.
     
    Source is on http://hamsterworks.co.nz/mediawiki/index.php/Sonar
     
    Here is a very short video, very shaky, blury video :
     

  13. Like
    logansam reacted to gmv in Welcome!   
    Hi, my name is Gian I'm an hobbist. My Interest cover FPGA. I bought some of your products (basys2 to Nexys4) that I regular use. This forum is a good idea!!
  14. Like
    logansam got a reaction from gustavo345 in Basys �   
    Not to hijack the topic, but thanks for bringing this to attention, I'll look into it.
  15. Like
    logansam got a reaction from JColvin in You Tube Video embedding in Forums?   
    https://www.youtube.com/watch?v=1npWhzBJAzA You just need to put in the URL for the video, you do not need to use the embed code
  16. Like
    logansam got a reaction from SebastianB in Welcome!   
    Questions will not be answered here, start a new thread in the Technical Forum
     
    Welcome to the Diglent Forum! Our goal is to not only create a place where you can get support for our products, but also a community to share your projects. We are just getting started with our forum, so if there is anything you would like to see or if you would like to make any suggestions, please head over to the suggestions forum and let us know. 
     
    My name is Sam, I am a web developer at Digilent.
  17. Like
    logansam got a reaction from JColvin in You Tube Video embedding in Forums?   
    This has been resolved, you only need to put the URL in your post and it will automatically be embedded. 
  18. Like
    logansam reacted to danmcb in MAX32 stability issues with PICKIT3   
    This is to let people know of an issue I discovered with MAX32 with PICKIT3 programmer,  that causes unreliable operation. 
     
    http://www.mcbeeaudio.com/MAX32-PICKIT3-oscillation.html
  19. Like
    logansam reacted to cmeuchel in AnalogShield   
    Here is what solved the problem (there may be a more elegant way):
     
      count = analog.read(0);  //read in on port labeled 'IN0'     if(count<0) {val=count+32767; }   else   {val=count-32767; };   float voltage=val*(10.0/65535.0);
  20. Like
    logansam got a reaction from gustavo345 in Welcome!   
    Questions will not be answered here, start a new thread in the Technical Forum
     
    Welcome to the Diglent Forum! Our goal is to not only create a place where you can get support for our products, but also a community to share your projects. We are just getting started with our forum, so if there is anything you would like to see or if you would like to make any suggestions, please head over to the suggestions forum and let us know. 
     
    My name is Sam, I am a web developer at Digilent.
  21. Like
    logansam reacted to JColvin in PmodDA4 not working   
    Hi,
     
    I was working with the PmodDA4 to get it up and running, but was having trouble to get it to work since I didn't know how the 32 bit Word the reference manual claimed I needed to send was supposed to look like.