Sunday, 2019-12-29

*** tpb has joined #tomu00:00
*** im-tomu has left #tomu00:06
*** im-tomu has joined #tomu00:06
*** alon has joined #tomu00:22
alonxobs 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
alonand mithro of course! thank you both00:23
*** tiwalun_ has quit IRC00:32
*** tiwalun_ has joined #tomu00:36
*** alon has quit IRC00:41
*** tiwalun_ has quit IRC00:51
*** tiwalun has quit IRC00:56
*** tiwalun has joined #tomu00:57
*** cedric has quit IRC02:45
*** cedric has joined #tomu02:45
*** cedric has joined #tomu02:45
*** cedric has quit IRC11:33
*** cedric has joined #tomu11:34
*** cedric has joined #tomu11:34
*** tiwalun_ has joined #tomu13:56
*** tiwalun_ has quit IRC13:57
*** rvense has joined #tomu15:04
rvensexobs: 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 IRC16:10
*** cedric has joined #tomu16:11
*** cedric has joined #tomu16:11
*** emeb has joined #tomu18:13
vesimHi, 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 change19:17
CarlFKbjonnh: ^^19:18
CarlFKvesim: I have seen it done - 3 pads hooked up to the 3 colors. "it is hard to touch just the middle"19:19
vesimCarlFK: i have problem with reading the registers19:23
vesimbut i might get them wrong19:23
CarlFKvesim: im just an onlooker..19:24
CarlFKI watched this: https://github.com/bjonnh/fomu-playground/blob/master/litex_things/00_touchrgb.py19:24
tpbTitle: fomu-playground/00_touchrgb.py at master · bjonnh/fomu-playground · GitHub (at github.com)19:24
*** rvense has left #tomu19:30
tiwalunIs 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
mithroxobs: Where is the lxsocdoc output of foboot?20:07
mithrotiwalun: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/timer.py20:13
tpbTitle: litex/timer.py at master · enjoy-digital/litex · GitHub (at github.com)20:13
mithrotiwalun: 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
tpbTitle: 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
mithrotiwalun: https://github.com/im-tomu/fomu-workshop/blob/master/riscv-blink/include/generated/csr.h20:18
tpbTitle: fomu-workshop/csr.h at master · im-tomu/fomu-workshop · GitHub (at github.com)20:18
mithrotiwalun: https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/csr_eventmanager.py20:19
tpbTitle: litex/csr_eventmanager.py at master · enjoy-digital/litex · GitHub (at github.com)20:19
mithrohttps://github.com/im-tomu/fomu-workshop/tree/master/docs20:20
tpbTitle: fomu-workshop/docs at master · im-tomu/fomu-workshop · GitHub (at github.com)20:20
vesimmithro: maybe you have ide how to read the values from touch sensor?20:21
vesimidea*20:24
CarlFKvesim: did you try https://github.com/bjonnh/fomu-playground/blob/master/litex_things/00_touchrgb.py20:40
tpbTitle: fomu-playground/00_touchrgb.py at master · bjonnh/fomu-playground · GitHub (at github.com)20:40
vesimCarlFK: i want to do that directly from MicroPython interpreter20:40
CarlFKvesim: 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 up20:43
CarlFKvesim: I suspect you need a bunch of steps: define a pin as io, define it as input, define its 0 state, read it20:44
vesimouch20:47
CarlFKI suspect a you should start with 00_touchrgb.py and then build the python ... lib?  interface?  abstraction?20:49
CarlFKI 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 port20:50
mithrovesim: the "touch sensor" are just IO connected to the pads20:52
vesimmithro: but i don't know which address i need to read21:08
*** david-sawatzke[m has joined #tomu21:12
mithrovesim: ahh -- look at the csr.h file21:27
tiwalunvesim: are you looking for these: http://rm.fomu.im/touch.html  ?21:28
tpbTitle: TOUCH Fomu Bootloader documentation (at rm.fomu.im)21:28
vesimouch, i didn't seen that21:47
vesimthx21:47
*** techman83 has quit IRC22:01
*** techman83 has joined #tomu22:02
tiwalunmithro: I've created a pull request for a small Rust example: https://github.com/im-tomu/fomu-workshop/pull/9423:23
tpbTitle: Add Rust example by Tiwalun · Pull Request #94 · im-tomu/fomu-workshop · GitHub (at github.com)23:23
*** wiml has joined #tomu23:34
*** Rondom has joined #tomu23:36
*** triss has joined #tomu23:37
*** emeb has quit IRC23:39
*** triss_ has joined #tomu23:54
*** wiml has left #tomu23:54
*** triss has quit IRC23:56

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!