Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Andrew E Wilson
    @AEW2015
    is the reason known?
    Goran Mahovlic
    @goran-mahovlic
    yes, at bottom left corner is differential clock capable pin - and we need that for clock input
    Andrew E Wilson
    @AEW2015
    That makes sense. I was going to try an input -> output video filter as one of my first project.
    Goran Mahovlic
    @goran-mahovlic
    that is hardest thing to get :)
    from all projects - we have some examples - but you still need to adjust phase with buttons to get it right ...
    Andrew E Wilson
    @AEW2015
    I have done it a lot with the Xilinx Pynq but will have to figure out the Xilinx IP i used and if I can get VDMA working with the limited ram on this board.
    this is our example
    Also suggested resolution is 640x480 - as it is easiest to adjust phase on lower res
    Andrew E Wilson
    @AEW2015
    what framerate?
    Goran Mahovlic
    @goran-mahovlic
    I think 60 is standard
    the thing is that if you are input device you need to provide EDID info over I2C to device that will then send picture on resolutions you are supporting
    in the code I ave send you edid.rom will "offer" 640x480x60
    you can also use for example raspberry to some other resolution and disable EDID check
    that way you can maybe get bigger resolutions, but main thing is to somehow get sync
    Andrew E Wilson
    @AEW2015
    Yea I played around with edid files to get weird resolutions and framerate.
    Goran Mahovlic
    @goran-mahovlic
    great, that will be useful :)
    headkaze
    @headkaze
    hey @goran-mahovlic any update on the MIDI pmod?
    kost
    @kost
    it is basically bugfix release which we identified in this period.
    kost
    @kost
    @pnru_gitlab I have also updated README for Mac and fixed kext handling that it removes kext properly (it was bug in uid detection)
    thanks on your suggestions!
    emard
    @emard
    @lawrie can struct termios, timespec go to system include, I want same source of tetris be compiled with gcc and lcc and work. I may use timespec ns in lowest 32-bits, and wish if this can be source level compatibe between lcc and gcc
    Goran Mahovlic
    @goran-mahovlic
    @headkaze TX did not work with my cheap USB to midi, so I ordered different resistors that should make it work as we are using 3.3V - and resistors arrived few days ago - so will try to test soon if it works now...
    Goran Mahovlic
    @goran-mahovlic
    @headkaze I did change resistor, but still no luck
    connection.png
    that is current output from PMOD
    and if I pass input to output - and assign leds to both - on ULX3S TX and RX leds are blinking
    when I play some sample on computer that has cheap USB MIDI connected
    And IN led on this adapter never starts to blink
    Lawrie Griffiths
    @lawrie
    @emard there is a new version in Smp/images/riscv32_lcc.tar.gz. I have not tried for completeness, just included the things we have used so far.
    Goran Mahovlic
    @goran-mahovlic
    @headkaze found it! on board I have inverted 3.3V and OUT line
    now it it blinking - will check how I can fix this
    emard
    @emard
    @lawrie I will also need tv_nsec to wraparound at 1s because at linux its used as fractional ns, representing fixed-precision decimal number
    Lawrie Griffiths
    @lawrie
    @emard Not sure what you mean. What function are you referring to?
    Goran Mahovlic
    @goran-mahovlic
    sxpert
    @sxpert
    I read about very simple code to use the ram ?
    headkaze
    @headkaze
    Thanks for looking into it @goran-mahovlic
    Goran Mahovlic
    @goran-mahovlic
    @headkaze updated
    @headkaze I did manage to get MIDI PMOD to work - but do not have any time this week to make a new one - I do have all parts so next week I could probably send to you for detailed inspection :)
    emard
    @emard
    @lawrie so far all functions I used on PC linux work the same on saxonsoc. I will take latest lcc release and check is everything ok still
    mara
    @vmedea
    is saxonsoc what most people here use for RISC-V Linux on the ULX3S board?
    emard
    @emard
    @vmedea yes yes, I'm working on tetris application :)
    @lawrie greal, lcc has termios and timespec in the includes!!!
    mara
    @vmedea
    neat :)
    Lawrie Griffiths
    @lawrie
    @vmedea There is also Vexriscv LiteX Linux, which uses the same Riscv CPU (written by @Dolu1990 in SpinalHDL), but uses a Wishbone bus and the Litex peripherals, written in the python-based migen language. I think the issue with the Litex version is that not as much work has been done to support the Ulx3s board and all its hardware. It did not support the SD card and flash memory, the last time I looked. And it was much slower to load.
    But I am sure the Litex version could be made to work much better on the Ulx3s board. I have not seen users of it on the gitter for a long time.
    SaxonSoc is written by @Dolu1990 and is written entirely in SpinalHDL. Litex used to support more peripherals (but not all on the Ulx3s board), but SaxonSoc has caught up and overtaken it in a lot of areas.
    Lawrie Griffiths
    @lawrie
    Another issue with Litex is that it is written in migen, and there is now the superior nmigen. I am not too keen on learning migen as it has been overtaken by nmigen.