*** tpb has joined #tomu | 00:00 | |
*** im-tomu has left #tomu | 00:06 | |
*** im-tomu has joined #tomu | 00:06 | |
*** alon has joined #tomu | 00:22 | |
alon | xobs I had a great time, thanks so much for the workshop. I would love to do it for my hackerspace, there is a guy there who actually knows FPGAs so he could pick up where I leave. I missed you, I would be glad to catch you tomorrow. | 00:23 |
---|---|---|
alon | and mithro of course! thank you both | 00:23 |
*** tiwalun_ has quit IRC | 00:32 | |
*** tiwalun_ has joined #tomu | 00:36 | |
*** alon has quit IRC | 00:41 | |
*** tiwalun_ has quit IRC | 00:51 | |
*** tiwalun has quit IRC | 00:56 | |
*** tiwalun has joined #tomu | 00:57 | |
*** cedric has quit IRC | 02:45 | |
*** cedric has joined #tomu | 02:45 | |
*** cedric has joined #tomu | 02:45 | |
*** cedric has quit IRC | 11:33 | |
*** cedric has joined #tomu | 11:34 | |
*** cedric has joined #tomu | 11:34 | |
*** tiwalun_ has joined #tomu | 13:56 | |
*** tiwalun_ has quit IRC | 13:57 | |
*** rvense has joined #tomu | 15:04 | |
rvense | xobs: if you're bored i'm at the table n hardware hacking with tim again trying to figure out why vexriscv isn't starting. | 15:09 |
*** cedric has quit IRC | 16:10 | |
*** cedric has joined #tomu | 16:11 | |
*** cedric has joined #tomu | 16:11 | |
*** emeb has joined #tomu | 18:13 | |
vesim | Hi, how i can access the touch pads in fomu? | 19:16 |
vesim | [machine.mem8[0xe0005800 + x] for x in range(16)] i've tried that but the values doesn't change | 19:17 |
CarlFK | bjonnh: ^^ | 19:18 |
CarlFK | vesim: I have seen it done - 3 pads hooked up to the 3 colors. "it is hard to touch just the middle" | 19:19 |
vesim | CarlFK: i have problem with reading the registers | 19:23 |
vesim | but i might get them wrong | 19:23 |
CarlFK | vesim: im just an onlooker.. | 19:24 |
CarlFK | I watched this: https://github.com/bjonnh/fomu-playground/blob/master/litex_things/00_touchrgb.py | 19:24 |
tpb | Title: fomu-playground/00_touchrgb.py at master · bjonnh/fomu-playground · GitHub (at github.com) | 19:24 |
*** rvense has left #tomu | 19:30 | |
tiwalun | Is there documentation for the interrupt controller of the RISCV core in the fomu? I'm trying to handle a timer interrupt, but it doesn't seem to trigger. | 19:36 |
mithro | xobs: Where is the lxsocdoc output of foboot? | 20:07 |
mithro | tiwalun: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/timer.py | 20:13 |
tpb | Title: litex/timer.py at master · enjoy-digital/litex · GitHub (at github.com) | 20:13 |
mithro | tiwalun: https://blog.adafruit.com/2019/11/16/open-source-tinyusb-stack-gets-tri-fifo-support-courtesy-of-sean-cross-hacksterio-tinyusb-xobs-fomu-tomu_im/ | 20:17 |
tpb | Title: Open Source TinyUSB Stack Gets Tri-FIFO Support Courtesy of Sean Cross @Hacksterio @tinyusb @xobs #fomu @tomu_im « Adafruit Industries Makers, hackers, artists, designers and engineers! (at blog.adafruit.com) | 20:17 |
mithro | tiwalun: https://github.com/im-tomu/fomu-workshop/blob/master/riscv-blink/include/generated/csr.h | 20:18 |
tpb | Title: fomu-workshop/csr.h at master · im-tomu/fomu-workshop · GitHub (at github.com) | 20:18 |
mithro | tiwalun: https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/csr_eventmanager.py | 20:19 |
tpb | Title: litex/csr_eventmanager.py at master · enjoy-digital/litex · GitHub (at github.com) | 20:19 |
mithro | https://github.com/im-tomu/fomu-workshop/tree/master/docs | 20:20 |
tpb | Title: fomu-workshop/docs at master · im-tomu/fomu-workshop · GitHub (at github.com) | 20:20 |
vesim | mithro: maybe you have ide how to read the values from touch sensor? | 20:21 |
vesim | idea* | 20:24 |
CarlFK | vesim: did you try https://github.com/bjonnh/fomu-playground/blob/master/litex_things/00_touchrgb.py | 20:40 |
tpb | Title: fomu-playground/00_touchrgb.py at master · bjonnh/fomu-playground · GitHub (at github.com) | 20:40 |
vesim | CarlFK: i want to do that directly from MicroPython interpreter | 20:40 |
CarlFK | vesim: ah. 3 days ago xobs said something about that not being hooked up. so I guess you are on the path of getting it hooked up | 20:43 |
CarlFK | vesim: I suspect you need a bunch of steps: define a pin as io, define it as input, define its 0 state, read it | 20:44 |
vesim | ouch | 20:47 |
CarlFK | I suspect a you should start with 00_touchrgb.py and then build the python ... lib? interface? abstraction? | 20:49 |
CarlFK | I looked at how circuit python did it. which is a nice end result, but xobs said the fomo touch are different enough that the code wont' just port | 20:50 |
mithro | vesim: the "touch sensor" are just IO connected to the pads | 20:52 |
vesim | mithro: but i don't know which address i need to read | 21:08 |
*** david-sawatzke[m has joined #tomu | 21:12 | |
mithro | vesim: ahh -- look at the csr.h file | 21:27 |
tiwalun | vesim: are you looking for these: http://rm.fomu.im/touch.html ? | 21:28 |
tpb | Title: TOUCH Fomu Bootloader documentation (at rm.fomu.im) | 21:28 |
vesim | ouch, i didn't seen that | 21:47 |
vesim | thx | 21:47 |
*** techman83 has quit IRC | 22:01 | |
*** techman83 has joined #tomu | 22:02 | |
tiwalun | mithro: I've created a pull request for a small Rust example: https://github.com/im-tomu/fomu-workshop/pull/94 | 23:23 |
tpb | Title: Add Rust example by Tiwalun · Pull Request #94 · im-tomu/fomu-workshop · GitHub (at github.com) | 23:23 |
*** wiml has joined #tomu | 23:34 | |
*** Rondom has joined #tomu | 23:36 | |
*** triss has joined #tomu | 23:37 | |
*** emeb has quit IRC | 23:39 | |
*** triss_ has joined #tomu | 23:54 | |
*** wiml has left #tomu | 23:54 | |
*** triss has quit IRC | 23:56 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!