andyfive

Members
  • Content count

    17
  • Joined

  • Last visited

Posts posted by andyfive


  1. Is there example code available yet for the use of the I2C? I have been trying unsuccessfully to get I2C working on the papilio pro. Ultimately, I went in another direction for my project, and since then both my papilio pro and papilio one have been sitting unused. :( I really need working I2C, otherwise I have two expensive paper weights. :(


  2. Hello again Gentlemen,

    Thank you both for your replies. Using the example that Alvie posted, I was able to get I2C up and running on the papilio one. However, when I try to use the same code, but build for the papilio pro, I get all kinds of errors. I will post these errors as soon as I get a chance, and hopefully one of you FPGA gurus can point me in the right direction. Meanwhile, without seeing the specific errors, is there any particular reason that this wouldnt work for the pro? I started with the vanilla zpuino in both cases, but only the one will work?  :)

    Jack: I really love the idea of the schematic library! I played around with it a bit earlier, however I don't know how/where to connect the various pins of the i2c core. Actually, Other than adding a wing schematic to the sketch, I am not actually sure how to connect any core pins to the gpio. Is there a video or tutorial available for this? I would really like to produce a series of videos when I am proficient enough, as I believe that the biggest hurdle to a beginner is finding tutorials and documentation geared towards the beginner.

    Alvie: Is there any plans to include I2C by default with the next zpuino release? I have been meaning to check out the 2.0 beta, but haven't had a chance yet.

    Anyway gentlemen, thank you both again for your replies! Having experts who are willing to answer questions from a noob like myself is really priceless! Here's to hoping that the Papilio specifically, and FPGAs in general grow to be as popular as the arduino!  :D

     

    -AndyFive


  3. Wow, this is so incredibly frustrating. I looked at the example that you provided, and tried to implement it myself. I think that I understand what I've gotta do, but no matter what I try, I keep getting random errors. I address said errors, only to be presented with more nonsensical errors. As I said earlier, I am new to this however I am very technically minded, and a fast learner. How are people supposed to learn this stuff? Unfortunately, the only documentation that I've been able to find seems to be geared at those who are FPGA experts. Please forgive my negativity, but I'm ready to give up on FPGAs in general.  :( I've wasted hours trying to get this to work. It shouldn't be this difficult.


  4. Hello Alvie,

    Thanks for your reply! I am using a papilio pro, but I've also got a papilio one. The link that I posted above took care of the tri state problem by assigning 4 pins to pps, and then used a couple resistors to tie them together as 'sda' and 'scl'. That being said, no pps is not a deal breaker for me. I don't mind at all just choosing 2 pins and have them permanently set. I played around with trying to get everything to work last night, however I was not successful. Tonight after work, I'll give it another try with the information that you provided. Thanks so much!  :)

     

    -AndyFive


  5. Hello everyone,

    I came across this page the other day describing how to add an I2C core to the Zpuino. Unfortunately, I am very new to FPGAs and VHDL and really have no idea how to put this to use. Could someone point me in the correct direction? As I understand it, I must add the 3 vhdl files to my zpuino project, edit papilio_top.vhdl and add a component called 'i2c_master_top', add the i2c_master_top to one of the wishbone slots, and then finally add the pps stuff at the end? Is this correct? Sorry for the lack of proper terms, as I said I am very new to this.  Thanks in advance for any help that anyone can offer. 

     

    -AndyFive  :)


  6. Hello fellow Papilio enthusiasts,

     

    I recently placed an order for some blank papilio pro boards. Unfortunately for me there was a minimum order of 10, so I'm left with 7 or so that I am not planning on using. Because of this, I am offering the boards for sale for what I paid for them, plus shipping. Each board is $5, and I can either do USPS Priority shipping for another $5, or I can do USPS First Class for $1. I would also be very happy to combine shipping if you want to order more than one. The boards are 1.6mm fr4, with 1oz copper, a green solder mask, and white silkscreen. Please let me know if anyone is interested. Thanks everyone!

     

    -AndyFive

     

    P.S. I just wanted to add that I checked with Jack before offering these boards for sale. He is ok with me selling these few e

    xtras.  :)


  7. hello everyone,

    i am building my own papilio pro. ive got 10 boards on the way and enough parts to populate two. my question is thiis:

    there is an eeprom connected to the ftdi chip. what information needs to be placed on this eeprom, and will i have to use an external programmer before soldering on the board, or can i use the ftdi to program the eeprom? thanks in advance! :)

    -Andy


  8. Hello everyone,

    I am having a problem that I hope you can help me with. I am able to compile the sketch in the actual arduino IDE, but when I am trying to use the arduino keypad library with ZPUino and ZAP IDE I get this error:

    In file included from C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:32:C:/Users/Andy/Desktop/PapilioSoftware/papilio-zap-ide/libraries/Keypad/Keypad.h:48:2: warning: #warning "Using  pinMode() INPUT_PULLUP AVR emulation"C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp: In member function `void Keypad::scanKeys()':C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:94: error: `bitWrite' undeclared (first use this function)C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp: In member function `bool Keypad::updateList()':C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:119: error: `bitRead' undeclared (first use this function)

    I see that the problem lies with the bitRead and bitWrite functions. Have these two functions been included in the IDE? Thanks in advance for the help.  :)

     

    -Andy


  9. Thanks for the reply, Jack!

    This puts my mind at ease. I guess that I should have realized that the ZPUino put such a load on the fpga. I thought simple sketch = low power draw (still gotta get used to the differences between a micro and an fpga)  :) .Anyway, I'm very excited to be a part of the community, and I'm loving the papilio! Now I've just gotta wait until the due is released. (Unfortunately I missed the kickstarter).

     

    -Andy


  10. Hello everyone, 

    First off, I'd like to introduce myself, as I'm new to the papilio community. I am Andy.

    I had a question about the papilio one power supply. I uploaded a standard zpuino to the papilio, running simple code that sends a line to the serial port every second. After letting this code run for about a minute I noticed that the 2.5v regulator in the power supply was burning hot. Too hot to touch in fact! I have nothing connected to the board, and nothing is shorted out (eg the board is sitting on a plastic table while running). Is this normal? It makes me extremely nervous that its going to blow, and take the spartan with it. :( Any feedback or input is much appreciated.  Thanks in advance!

     

    -Andy V