Saturday, 2019-10-19

*** tpb has joined #tomu00:00
xobsmithro: it depends on the latency of gpio outputs, and how they're wired up.00:41
xobsBut potentially, yes.00:41
*** emeb has quit IRC02:24
mithroxobs: I have no idea what the difference between M0 / M4 is except that M4 has more "grunt" :-P02:31
xobsmithro: big difference is M0 is dumber and therefore more predictable in terms of cycle-counting.02:42
mithroYeah -- the M4 pipeline could mean you can't turn around the IO fast enough?02:58
xobsCould be, or it could be that there's a synchronizer in front of the GPIO block.  Grainuum takes advantage of the fact that on lots of M0+ chips, the GPIO is hooked up to the single-cycle port on the M0, so you get immediate, guaranteed latency.02:59
*** lathiat has quit IRC03:43
*** lathiat has joined #tomu03:44
*** krogozinski has quit IRC04:09
*** krogozinski has joined #tomu04:10
*** CarlFK has quit IRC07:02
*** CarlFK has joined #tomu07:46
MadHackerGrainuum is 12Mbit USB, not 1.5Mbit, yeah?08:12
xobsIt's 1.5 MB LS.08:14
MadHackerAh right.08:15
MadHackerSorry, was confused on that point. The speed requirement seemed relatively high for 1.5, but I guess there's a lot going on there.08:15
xobsFS may be possible in 80 MHz, especially with an M4, but then you start having to do things with the framing.  LS only has 8-byte packets, for example, so you don't have to oversample.08:16
MadHackerYep.08:16
MadHackerI wonder if there's scope to abuse an SPI peripheral for it? Like we do for the WS2812 signalling?08:16
MadHackerWould take some of the literal bit-banging work away, but replace it by some extra shifts.08:17
MadHacker+ would remove some of the timing predictability demands.08:17
xobsInteresting approach.  Definitely doable for the Tx side.  Lining up the Rx side could be challenging, though.08:20
MadHackerMm, mostly a matter of bit-manipulation to shift things into the right position in the frame, I guess.08:21
MadHackerDid M0/M4 both drop the old single-cycle barrel shift ARM1 had?08:21
xobsYeah, that's not in Thumb2.08:24
MadHackerShame. I know why it wasn't good from an implementation point of view in silicon, but from a programmer's perspective that thing was great.08:25
*** krogozinski_ has joined #tomu08:45
*** krogozinski has quit IRC08:47
*** rohitksingh has quit IRC11:08
*** kuldeep has joined #tomu11:58
*** ademski has joined #tomu13:16
*** xkapastel has joined #tomu13:45
*** xkapastel has quit IRC17:04
*** rohitksingh has joined #tomu19:18
*** js has quit IRC20:44
*** js has joined #tomu20:45
*** js has quit IRC21:49
*** js has joined #tomu21:49

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