Search the Community

Showing results for tags 'uart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Gadget Factory Reboot 2022-2023
    • Gadget Factory
    • Documentation
    • FPGA Discussions
    • Community Projects
  • Soft Processors
    • Migen/LiteX/Risc-V
    • ZPUino
    • J1 Forth
    • AVR8 Soft Processor
  • Electronics
    • Modules
  • Papilio Platform (Retired)
    • Papilio General Discussion
    • Papilio Pro
    • Papilio One
    • Papilio DUO
    • Papilio Wings
    • DesignLab IDE
    • DesignLab Libraries
    • RetroCade Synth
    • Papilio Arcade
    • Papilio Loader Application
    • Papilio Logic Sniffer
    • Pipistrello
    • Retired
  • Open Bench (Retired)
    • Open Bench Logic Sniffer at Dangerous Prototypes
    • OpenBench Logic Sniffer at Gadget Factory
  • GadgetBox Universal IoT Hardware (Retired)
    • GadgetBox General Discussion
  • Gadget Factory Internal Category

Categories

  • Papilio Platform
    • Papilio One
    • Papilio Plus
    • Papilio Wings
    • LogicStart MegaWing
    • ZPUino
    • Papilio Pro
  • Papilio Arcade
  • RetroCade Synth
  • Logic Sniffer
  • FPGAs
  • DesignLab
    • Example Projects
    • Libraries

Categories

  • Papilio FPGA
    • Papilio UCF (User Constraint) Files
    • Papilio Bit Files
  • Papilio Arcade
  • RetroCade Synth
  • General
  • Beta (Test) Releases
  • Books

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. Hello together, I was trying to get three HardwareSerials working on the DUO Board. When I was watching at the signals with my Logic Analyzer only the second UART seems to work fine. But as you can see in the attached image it seems like the first UART (Channel 0) is also sending data, but on a Logic Level of something around 0.35Volts. So why isn't this working like the second one, but going from low to high instead of from high to low and has such a low logic level? I also tried initalizing the Serials like in the given example withe the Wishbone Slot inserted, but I guess this got outdated in v2.0. Edit: In the schematic the TX RX are: SerialRed : RX = Arduino_0 ; TX = Arduino_1 SerialGreen : RX = Arduino_2; TX = Arduino_3 SerialBlue : RX = Arduino_4; TX = Arduino_5 I also tried using other PINs than the ones above but everywhere seems to be the same issue. This is my Code: HardwareSerial SerialRed(2); HardwareSerial SerialGreen(3); HardwareSerial SerialBlue(4); void setup() { Serial.begin(115200); delay(50); SerialRed.begin(57600); delay(50); SerialGreen.begin(57600); delay(50); SerialBlue.begin(57600); } void loop() { SerialSendData(TData); delay(1000); } void SerialSendData(uint8_t TData[3072]) { SerialRed.write(startsequence); for (int i = 0; i < 1024; i++) { SerialRed.write(TData[i]); } Serial.println("Red transmit"); SerialGreen.write(startsequence); for (int i = 1024; i < 2048; i++) { SerialGreen.write(TData[i]); } Serial.println("Green transmit"); SerialBlue.write(startsequence); for (int i = 2048; i < 3072; i++) { SerialBlue.write(TData[i]); } Serial.println("Blue transmit"); SerialRed.write(setFrame); SerialGreen.write(setFrame); SerialBlue.write(setFrame); }
  2. Dear Altruists, I'm new to Papilio Pro FPGA. I designed my circuit with VHDL and also synthesized it, and it is ready to be loaded in the papilio pro fpga. My circuits interface has an input of 64 bits and output of 1 bit. I need only to send this 64 bit data from my pc to FPGA and receive the output of 1 bit ( please check the uploaded circuit interface). I already watched most of the learning videos. I have already contacted Mr. Alvie and thanks to him he reply with an answer, but it was a little difficult for me to understand as I am new to FPGA. His answer was that I should connect my circuits to one of wishbone ZPUino slots, and use ZPUino to interface with the USB/serial using software moving data to and form my circuits. However, the things that I don't understand are that: 1. Should i connect my circuits to wishbone bridge and then connect my circuits to the wishbone slots as you did here ( http://gadgetfactory.net/learn/2015/05/14/designlab-libraries-make-a-wishbone-library-2/). If the answer yes, should I connect the the both input and output to the wishbone bridge. If answer no, then should I interface my circuits directly to the ZPUino wishbone slots. 2. If I connect my circuits to ZPUino wishbone slots. The input 64 bits and the output 1 bit should be connected to what to the slots or Paplilio Pro Pins. 3. Mr. Jack illustrate in the learning site videos that ZPUino should be loaded to the SPI not to the FPGA Spartan6. So, If I am going to interface my design to ZPUino how can I load the circuits to the FPGA. 4. If I am going to make an interface of the UART I think I just need to follow as same as Mr. Jack did in this video( http://gadgetfactory.net/learn/2013/11/15/papilio-schematic-library-10-serial-ports/ ) Please forgive my shortcomings. I am new to these things. Any help will be highly appreciated. Thanks
  3. Hello, at last I have time to play with FPGAs .. I wanted to connect arduinos trough serial to the Duo which then talks to the PC. I used the DesignLab example for "Multiple serial ports " and looked also in http://gadgetfactory.net/learn/2013/11/15/papilio-schematic-library-10-serial-ports/ the Duo can talk to itself via the UARTS , but when I connect an Arduino (to uart 1 or change the code ..)there is no communication. I have only one Duo can someone else test ? Ediit : int inByte = 4;Serial1.write(inByte);Serial write works only with a constant , but print does not work at all. thanks, Filip
  4. From the documentation: I would like to use the internal FT2232 in the Papilio Pro as a simple USB-to-UART (for programming an Arduino, for example), but it seems the RX and TX pins are not connected to the headers. What is the fastest way to use the internal FT2232 to achieve such a thing? P.S. Maybe upload a program for the FPGA that merely connects the RX and TX (P101 and P105) to two other arbitrary pins?
  5. Hi! I have a weird problem with my papilio pro board. I am sending large amounts of data over the uart port to an attached computer. Sometimes, the computer reads a nullbyte (0x00), which was not sent by me. I tried ZPUino and Misoc's LM32 on the papilio side and a couple of Java serial libraries as well as pyserial on the computer's side for reading. All with the same problem. Some guys in IRC told me that this might be an hardware related issue an I need to stitch the ground plane together with a bunch of short bridges across signal traces. Is this a well known problem? I am not a hardware expert, so I might need some advice or maybe a picture from a fixed board to exactly know what I need to do. Thank you!