Coder Social home page Coder Social logo

Comments (5)

smunaut avatar smunaut commented on June 11, 2024

You need to wire it up to an actual uart core like those in no2misc to convert from the internal 'axi stream like' interface and actual uart tx/rx. It's pretty trivial to do for a fixed speed. If you want to support changing speed (and/or other control signals) you'd have to add support for the appropriate control requests for that. Not very complicated and should be fairly small logic wise too.

If you want help hooking that up, join the 1bitsquared discord server and ping me there in the #fpga channel.

from no2muacm.

francis2tm avatar francis2tm commented on June 11, 2024

Thanks a lot for the support, I'm going to try for myself first ;)

from no2muacm.

francis2tm avatar francis2tm commented on June 11, 2024

Hello again!
I'm starting now to work on this USB-UART bridge based on this usb core. Do you think it's possible to generate a DTR and a RTS signals? Essencially I want to use an ECP5 to act like a USB-UART bridge to interface a ESP32 with a computer. It'd be amazing if it'd be possible to flash firmware via the USB-UART bridge to the ESP32 too! And the ESP32 can use DTR and RTS signals to put itself it bootloader mode, like so:
image
Do you think it's possible?
Thanks a lot ;)

from no2muacm.

smunaut avatar smunaut commented on June 11, 2024

Yes, it's possible, you should be able to easily add a couple of GPIO and process the control request to drive them.

Note that ATM the core has some ice40 specific things in it that will need adapting for ecp5. Nothing major (just IOBs and BRAM) and I actually have in a branch an ecp5 version that you could probably patch in easily, but something to consider.

Any reason to use an ECP5 rather than an ice40 ? If that's the only thing you want to put in there, it seems overkill.

from no2muacm.

francis2tm avatar francis2tm commented on June 11, 2024

Thanks a lot, I'm using an ECP5 cuz I have a full SoC inside it, unfortunately the ice40 doesn't have resources for everything :|

from no2muacm.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.