Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    e2kgh
    @e2kgh
    Any examples how to do it, in case it is possible?
    emard
    @emard
    @panther03 i'm using e2kgh's boards for artix7, but any artix7 would do everything worked on f32c artix7 including DDR3 RAM on axi bus as well as SDRAM. DDR3 has More latency than SDRAM but also more bandwidth. zynq may work but I didn't manage to get stable DDR3 RAM on vendor specific axi bus implementation (zybo board). RAM on the first glance works but has small corruption sector every cca 64KB :). SDRAM or zynq would normally work but usially not used with zynq boards
    @janrinze_gitlab pulling down PROGRAMN pin using other pin connected to it (we named it in constraints something like user_programn) will reset FPGA by requesting reload of bitstream. Note that if board has multiboot flashed (newer boards do), programn requests load of the next multiboot image in chain. However our boards have battery and RTC so they can power down and wake up in few seconds that would really make it everything reload from start, but of course needs a lot of hardware to be preset for this to happen
    emard
    @emard
    @e2kgh I know only for PLL fine phase adjustment allowed during runtime but not freq change. There are vendor specific parameters that ecp5pll generates for different clock combination and if dynamically changed using some yosys hack, this parameters need to be made in table. A not so elegant solution could be many bitstreams (one for each clock/resolution) either in flash and multiboot switches them circular and sequentially or on SD card and then esp32 switches them on any order ecp5.prog()
    e2kgh
    @e2kgh
    @emard: I guess, that's why the good boards have programmable PLL outside of the FPGA ... ;-)
    emard
    @emard
    Absolutely yes and I was also thinking to squeeze some PCB space (difficult :) to fit a placeholder of I2C/SPI programmable clock generator 0-200 MHz. Maybe there's some possibility with ESP32 to generate something, seems up to 40MHz is possible https://github.com/vdeschwb/esp32-signal-generator but something higher would be nice to have
    emard
    @emard
    ecp5 PLL although calculated for a fixed input, frequency, it can lock (within some stability range) to variable input clock frequency. Generating some lower freq with ESP32 (5-10 MHz) and supplying it as input to ECP5 PLL can provide range of smooth variable freqs at PLL outputs
    Tim 'mithro' Ansell
    @mithro
    People here might find https://github.com/Blokkendoos/AACircuit entertaining! -- Draw electronic circuits with ASCII characters.
    Jan Rinze
    @janrinze_gitlab
    got a iCESugar-pro v1.3. I love the size of the base-board.
    Martin Roukala (né Peres)
    @mupuf
    @emard: Thanks for your answer! I had the same question as @e2kgh yesterday, read the whole ECP5 clocking datasheet... then got pretty unhappy because I reached the same conclusion :s
    Goran Mahovlic
    @goran-mahovlic
    I am preparing new batch of ULX3S boards for CrowdSupply
    So I am wondering if someone here wants to buy some boards directly - small problem is that I can sell only to organizations or companies.
    Rob S
    @rob-ng15

    Hi @emard

    I've used your RTC/I2C verilog code within my PAWSv2 project to provide a RTC, works well. I've built a bitstream of your RTC setting utility that will also set the battery flag, so that there is no need to set the RTC very power up.

    Many thanks for great code (as always)!

    Goran Mahovlic
    @goran-mahovlic
    @mithro wow, tnx
    Tim 'mithro' Ansell
    @mithro
    More announcements going over the next few weeks too
    Somewhat the reason why I never have time to play with my ULX3S :-)
    Kaisha
    @Kaisha
    Are the ULX3S boards still up for sale or available from anywhere, for us hobbyists that want to play around?
    djhardrich
    @djhardrich:matrix.org
    [m]
    Related; I bought two ulx3s (85f) and one of the two reboots itself at random intervals (between 5-15seconds) when running litex, is there any way to get a replacement for the defective one?
    Goran Mahovlic
    @goran-mahovlic
    @Kaisha I am just waiting for papers so I can send new batch to Mouser
    There are also few boards available in Envox store
    Unfortunately prices are currently bit higher, as I am picking parts in small quantities and from everywhere.
    @djhardrich:matrix.org Yes we can arrange replacements, but board could be completely good and reset if something in design is on the edge.
    Like MiniMig it is hard to get it working, sometimes it resets, sometimes it does not boot, so I cold replace your board, but you could end up with the same problem.
    Better would be if you can track problem and somehow prove that we have HW problem - like if memory is bad it should fail long memtest run.
    Goran Mahovlic
    @goran-mahovlic
    I am telling you that as I have also noticed that some other boards have also reset problems with Litex when some things are stretched.
    emard
    @emard
    @rob-ng15 HI great that my examples helped for RTC to work! It's nice feature. WIth RTC configured, board can power off and on predefined time later wake up on RTC alarm.
    @djhardrich:matrix.org if possible make a simple .bit example that for example turns on green LED if board is "good" for your use and goran can then pick board that passes your test. Note that this board may not pass different test, when things get overclocked, some parts from FPGA silicon behave better than others, it's random behaviour, different between FPGA chips from same series and there's no general solution except to optimize code or use lower clock rate
    djhardrich
    @djhardrich:matrix.org
    [m]
    Will try to put something together to show a “pass,” I was using this/the litex ulx3s example project, the board that doesn’t cooperate resets itself before it can receive the software to boot via litex_term: https://github.com/dlobato/cps1-musicbox
    Goran Mahovlic
    @goran-mahovlic
    @djhardrich:matrix.org could you check selftest and memtest first?
    You will see on HDMI screen if everything is working.
    For second test you can try to run this Linux - https://github.com/emard/ulx3s-bin/tree/master/fpga/litex/linux
    And - this is wrong for you --> SDRAM: 65536KiB 32-bit @ 24MT/s (CL-2 CWL-2)
    If you do not have blue board - you will need to setup SDRAM to 32Mb
    All green boards we are selling lately have 32Mb of SDRAM
    We only did 64Mb (blue boards) batch once - so there are around 100 boards with 64Mb chip
    djhardrich
    @djhardrich:matrix.org
    [m]
    It is a green board (32mb SDRAM), will flash and test, also thank you for the notes, will report back later tonight!
    Quentin Cabanes
    @qcabanes
    Hello everyone, I currently have a co-design ESP32/FPGA application and I would like to measure the power consumption. Would anyone know if there is a way to measure the FPGA power consumption on the board? Or can I only measure power consumption measuring the current on the US1 port?
    6 replies
    emard
    @emard
    @qcabanes HI board has no direct means to monitor the power consumption. Some "hack" could be done by monitoring magnetic field around L1,2,3 inductors using e.g. simple pickup coils to differential inputs. One could measure duty cycle (time) how long are the coils energized and deduce power consumption
    Bertrand Mockers
    @beolmo_gitlab
    Hi here.
    I am working with a 3.0.8 ulx3s (85) with 1.19.1 MicroPython on the esp.
    I have a strange problem.
    As soon as I flash the fpga (using openFPGALoader, the bitstream is loaded and the fpga "runs" fine the test)
    my ESP32 becomes unreachable, with ampy (usb) but also over ip, which both worked before using openFPGALoader .
    Any clue ?
    Thanks
    emard
    @emard
    FPGA internally should run usb-serial bridge (TX/RX bypass) in order to be accessible over USB and take care about not to drive WIFI_EN=0, as this would disable ESP32. WIFI_EN has onboard pullup to keep it 1 if undriven. However, if ESP32 still disables from WIFI/IP - it is also possible, in some cases, especially with some resolution of video HDMI generation FPGA (project for apple2 emulation has this issue) can make some RF noise that affect WIFI range and connection drops often. Plug off HDMI cable and check is it getting better
    Bertrand Mockers
    @beolmo_gitlab

    Hi @emard
    Thanks for your answer.

    This seems not be related to hdmi, I unplugged my cable, it did not change, but I was not using hdmi anyway.
    Even flashing the passthrough has the same effect.
    After having flashed the passthrough, the only thing that succeeds is "reset" and only with esptool, nothing seems to work with ampy.

    All this seems related to the version of micropython; because when I flash back
    esp32-idf3-20210202-v1.14.bin every works fine.

    But my esp32-20220618-v1.19.1.bin has the issue.

    I'd like to have something "more recent" than 1.14.

    I am going to try some other versions.

    emard
    @emard
    Micropython 1.14 is good because it can umount SD card normally, later versions crash or reboot when SD is unmounted. I complained but they say it's not micropython that crashes but some build environment. Normally 1.14 works for everything. Later versions have more features but may add bugs too
    Bertrand Mockers
    @beolmo_gitlab
    Ok, I'll investigate the versions, I am using quite recent features of the language, but i'll search the compromise ...
    Thanks
    Goran Mahovlic
    @goran-mahovlic
    7 replies
    ykoma
    @ykoma:matrix.org
    [m]

    Hi, I'm interested in ULX3S.

    ULX3S page in Crowd Supply says "Orders placed now ship Aug 19, 2022", can I buy ULX3S from Crowd Supply now?

    https://www.crowdsupply.com/radiona/ulx3s#products

    Goran Mahovlic
    @goran-mahovlic
    @ykoma:matrix.org I am still waiting for papers to ship next batch to Mouser
    There are some CE issues so I do not know if they will able to send to EU and UK