Eike

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Eike

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  1. Eike

    Adding Wishbone Uart Modul

    Hi Jack, thanks for all the answers. I don't know why, but I got it working somehow I guess, after I tried some of your suggestions. Actually, I realized that if I use the hardware serial without giving it a slot / number (what ever it might be right now) it just uses the USB serial port. Using two HardwareSerial objects or one with different numbers didn't change anything, so I didn't come up with the idea of using three or more objects. After you said it chooses the connection automatically and not by number, I instantiated three objects just to be sure: #include <HardwareSerial.h>HardwareSerial enpSerial0(0); HardwareSerial enpSerial1(1); HardwareSerial enpSerial2(2); void setup() { enpSerial0.begin(9600); enpSerial1.begin(9600); enpSerial2.begin(9600);}void loop() { //enpSerial0.println("test"); //enpSerial1.println("test"); enpSerial2.println("test"); delay(500);}That ended up giving me some activity on my scope (yay!). I guess there are two somewhat hidden Serialport Objects in the zpuino (the one to the PC and some other...), so that my newly added one got the third ID. Just one thing I wanted to ask (somewhat off topic): Did anyone try to get the DesignLab / Arduino compiler working with eclipse? I can live with the standard arduino ide, but sometimes I miss all the nice features like auto completion and suggestion, especially since I am used to work with eclipse / visual studio 2010... But anyway, thank you for the help and for being there for the community. You don't see that much these days I love the papilio project, keep up the good work!
  2. Hi there, I was playing around with my old papilio pro lately and I was trying to get a second hardware UART connected to the zpuino via wishbone. Well, with not much success, as you might have guessed. I wired it as shown in the picture below Oddly the SPI Modul is working perfectly fine, I checked it with a scope, but I can't figure out why the uart wont. I've tried it like Jack had shown in the old 8 uart tutorial on the Youtube-Channel from GadgetFactory but I end up not getting anything out of it. It synthesizes, loads up, the sketch compiles, but in the End nothing is happening on the physical side of things... I've tried it on different wings, with different wishbone slots and different ways to initialize the HardwareSerial, but nothing seems to work. Does anyone else had these kind of trouble with the uarts or does anyone have an idea what to do about it? Best regards, Eike