Matt Thompson

4.2K posts

Matt Thompson

Matt Thompson

@fuzziphy

“The measure of intelligence is the ability to change” -Albert Einstein

British Columbia, Canada Katılım Ağustos 2013
508 Takip Edilen769 Takipçiler
Matt Thompson
Matt Thompson@fuzziphy·
@embedrapp @ratatui_rs 37fps. The procedural glyphs are generated offline with a LUT map and baked into firmware with include_bytes, and loaded into the display SDRAM once at init. The RA8876 takes 16 bit user character codes and blits the glyph at the text cursor position
English
0
0
0
8
Embedr
Embedr@embedrapp·
@fuzziphy @ratatui_rs sending cell diffs over DMA for an embedded TUI is absolute wizardry. how's the refresh rate holding up with those procedural glyphs?
English
1
0
1
13
Matt Thompson
Matt Thompson@fuzziphy·
Playing with a 1200x600 SPI display. Wrote an embedded_hal_async driver for its text mode, loaded up procedural glyphs in CGRAM for block/braille chars, and wrote a @ratatui_rs backend to sends cell diffs over a channel to DMA SPI commands. Things you can do in a day using rust
Matt Thompson tweet media
English
2
1
15
449
Matt Thompson
Matt Thompson@fuzziphy·
@orhundev @ratatui_rs This is using a native text mode of an RA8876, so it’s not using embedded-graphics. It’s a custom driver/backend that sends cursor positions, RGB color, and character codes to the controller, and the hardware blits the glyph from CGRAM to a canvas within its own SDRAM.
English
0
0
0
17
Matt Thompson
Matt Thompson@fuzziphy·
@purusa0x6c Libtorch is good, but python is terrible. There are alternatives more appropriate for manipulating huge amounts of data that don’t involve an interpreter and fragile duck typing. Check out Burn.
English
0
0
0
27
i2cjak
i2cjak@i2cjak·
gun pointed at yo head, favorite PCB thickness
English
58
0
75
10.3K
Matt Thompson
Matt Thompson@fuzziphy·
@ThrillaRilla369 Pac-Man, frogger, BubbleBobble, QBasic Gorillas, Zaxxon, Maniac Mansion, Space Quest, Leisure suit Larry, kings quest, doom, duke nukem.. the list could go on
English
0
0
0
27
Thrilla the Gorilla
Thrilla the Gorilla@ThrillaRilla369·
For those who played video games between 1985 and 1995, what's the video game from that time that sticks with you the most, and why
Thrilla the Gorilla tweet mediaThrilla the Gorilla tweet media
English
2.2K
81
1.2K
114.9K
Elma
Elma@oelma__·
But are you floppy disk old..
Elma tweet media
English
1.8K
85
2.4K
72.1K
Matt Thompson
Matt Thompson@fuzziphy·
@richmooreiv @Adriksh With some exception where it better to pass by value, as a pointer is 8 bytes and a dereference has cost. If your struct is <= 8 bytes, then typically pass by value.
English
1
0
2
273
Matt Thompson
Matt Thompson@fuzziphy·
@richmooreiv @Adriksh A reference is a pointer. JavaScript abstracts that away and the interpreter does bounds checking. If you “passed” structs in C, you’re deep copying them, and they can only exist on the stack. If you allocate heap, that is a pointer, and passing by value would copy onto stack
English
1
0
3
572
Adriksh
Adriksh@Adriksh·
C pointers were invented because a systems engineer decided that instead of just passing the data, it would be much funnier to hand a junior dev the exact geographic coordinates of a landmine in ram.
English
80
377
6.7K
170.8K
kache
kache@yacineMTB·
My responsibility is to build something so otherwordly that it becomes a product class of its own. I could have gotten a "good enough" result by doing what everyone else would have done, to close sales, and bullshitted clients into thinking it was special. But thats not my goal
English
5
2
134
4.3K
circuitguy
circuitguy@ScottCircuitguy·
@willreil MDF is the most machinable "wood." Whatever you do, don't use K3. Another good option for learning, and it's much less messy, is "Puck Board" which is HDPE.
English
1
0
2
55
Will
Will@willreil·
It's time to become a machinist. I need to go to the hardware store to get some wood that I can use for practice.
Will tweet media
English
13
1
85
3.2K
kache
kache@yacineMTB·
pytorch is over. it's done. no one is using it anymore. keep up
English
72
20
916
176.5K
Celeus
Celeus@CeleusWasTaken·
@yacineMTB What a few weeks in embedded does to a man
English
1
0
1
515
kache
kache@yacineMTB·
at the end of the day, c is the only thing serious people use
English
62
23
559
19.2K
Matt Thompson
Matt Thompson@fuzziphy·
@georgecurtiss @Asleepace @phantomofslop Not necessarily. You can implicitly join on data you’re already storing. You only need explicit join tables for N:N joins. A graph is materializing implicit joins into actual edge objects.
English
0
0
2
57
George
George@georgecurtiss·
almost all the data you deal with is a graph... so why are you using a relational database?
English
12
0
21
3.5K
George
George@georgecurtiss·
@fuzziphy @Asleepace @phantomofslop depends on the aggregations. also, we're yet to lose anyone's data. But I understand that's been a problem a lot in the past.
English
1
0
1
51
Matt Thompson
Matt Thompson@fuzziphy·
@georgecurtiss @Asleepace @phantomofslop …If you want it to use more storage, be 10x-100x slower for aggregations, and lose your data. Graph DBs only make sense for deep depth traversal and path finding. Not relational, statistical, or time series.
English
1
0
2
67
Matt Thompson
Matt Thompson@fuzziphy·
@zackslab @i2cjak Alternatively you can do low side sensing between low side switch and go direct to internal pga opamp, but you lose the falling ramp
English
0
0
1
31
zack's lab
zack's lab@zackslab·
@fuzziphy @i2cjak ah that's a good point. i was going to naively rely on the CSA to reject the common mode, but moving it on the other side of L makes a lot more sense.
English
2
0
0
54
zack's lab
zack's lab@zackslab·
okay rough block diagram, what am i missing? feel free to copy @i2cjak:
zack's lab tweet media
zack's lab@zackslab

for the @i2cjak 48V dc/dc converter challenge: okay so covering 10mA to 10A current output is going to be more difficult than I thought now that I'm looking at behavior in simulation... approach: - 2 phases, fw will support phase shedding depending on iout. - iout >2A, both phases enabled, CCM - 2A > iout > 500mA, shed 1 phase, CCM - iout < 500mA, 1 phase with some kind of burst/skip scheme still need to figure out how to measure current across the whole range using some combination of sense Rs or DCR of the inductor or some combination.

English
12
1
47
8K
Matt Thompson
Matt Thompson@fuzziphy·
@zackslab @i2cjak Usually high side sensing is before the inductor. From L to SW node, common mode is 0V to Vout at every cycle with a bunch of noise. Last part yeah, just making sure your ADCs are triggered to be aligned to a quiet part of the switching cycle. See RM0440 page 973
English
1
0
2
47
zack's lab
zack's lab@zackslab·
@fuzziphy @i2cjak shunts aside from the Rsense? (that's not supposed to be the L's DCR) yes i am looking at G474 datasheet now to see what it can handle from the analog blocks. that last part, you mean like a blanking window to not sample noise during the switch event?
zack's lab tweet media
English
1
0
0
122