Coder Social home page Coder Social logo

Comments (10)

mubes avatar mubes commented on July 29, 2024 1

Tom, 17c2b0c should now give you a reasonably strong springboard to start from. I've added some ifdefs etc for the ICEBREAKER so hopefully it'll just be filling in the blanks :-) Good luck.

from orbuculum.

mubes avatar mubes commented on July 29, 2024 1

By all means...had meant to drop you a note to ask you :-) Thanks for all the help. Good result!

from orbuculum.

TomKeddie avatar TomKeddie commented on July 29, 2024

@1bitsquared wrote.

@TomKeddie you will get best results using just SPI streaming on the first FTDI interface ... you then don't need to solder any jumpers. The secondary parallel FIFO interface does not support the faster mode so you don't get much of a speed increase using the FIFO vs SPI.

I would implement it using the high speed SPI interface that @tnt developed for the LED matrix data streaming https://github.com/smunaut/ice40-playground/tree/master/cores/spi_slave

(the second FTDI FIFO interface does not support asynchronous? mode... not sure which one of the two modes, but it is the faster one that it does not support)
We could not do that on the first interface because of the requirement to support the proprietary lattice FPGA tools out of the box and some of them just assume that the programming interface is on the first interface of the FTDI chip.

from orbuculum.

TomKeddie avatar TomKeddie commented on July 29, 2024

Note that SB_PLL40_CORE is not supported on ICE40UP5K so we might need a new toplevel or at least some restructuring.

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

mubes avatar mubes commented on July 29, 2024

I have re-added the SPI code. Simply change the two makefiles to reference it rather than the UART code. This is largely untested although it is working on light loads. Good luck! See 17dfc77

from orbuculum.

TomKeddie avatar TomKeddie commented on July 29, 2024

@mubes thanks. I'll probably start simple and generate a pr with the thing building and support for the 3 fpga targets in a clean manner. As I mentioned on discord my availability is all over the place, I tend to work in bursts, but I'll probably take weeks to look at this not days.

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

TomKeddie avatar TomKeddie commented on July 29, 2024

Thanks Dave, if you can add the pin defs and the target that would make sure the style fits your intention. My biggest concern would be doing a bunch of work that doesn't fit your intentions and thus needing to redo it.

Yes, baby steps are the go - I'll get the uart interface going on icebreaker and then we'll have something to put in a PR to talk about. Given the low clock rate it seems like the icebreaker might not be a great place to land but lets see how we go. Perhaps I can move to an ecp5 board next.

from orbuculum.

TomKeddie avatar TomKeddie commented on July 29, 2024

@mubes I think we're done here? am ready to close this if you are?

from orbuculum.

Related Issues (20)

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.