<NiaLinaLunaStorm>
when I make it fake 16 bit by multiplying by 16 I get it to work but that's not ideal cause 4095 * 16 is 65520 so below the max value of a 16 bit input
<JamesMunns[m]>
Is the data just left aligned?
<JamesMunns[m]>
Like 0xFFF0 max instead of 0x0FFF?
<JamesMunns[m]>
You sometimes see that in sensors to hide the "bit depth"
<NiaLinaLunaStorm>
but if that were the case, shouldn't I see this on both axis?
<NiaLinaLunaStorm>
what throws me off here, is that the two axis are behaving differently
<JamesMunns[m]>
Yeah, not sure!
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #rust-embedded
<NiaLinaLunaStorm>
I think I found a solution... return it as 16 bit but tell it it's the max value of a 12 bit thing
<NiaLinaLunaStorm>
(which means I always need to mess with generated descriptors I use rn but at least a start)
<NiaLinaLunaStorm>
ig thanks for being a rubber ducky!
<NiaLinaLunaStorm>
one thing that still misbehaves tho is that it only reports its "manufacturer" and product name for a short moment and then it returns to be an unnamed device
sashin_ has quit [Quit: sashin_]
<NiaLinaLunaStorm>
<NiaLinaLunaStorm> "one thing that still misbehaves..." <- at least in lsusb and stuff like hidviz... in flightgear, it still showed up with its name now
<NiaLinaLunaStorm>
anyway, late and really happy with the progress, nini
AtleoS has quit [Ping timeout: 256 seconds]
AtleoS has joined #rust-embedded
oneDragon[m] has quit [Quit: Idle timeout reached: 172800s]
Guest30 has joined #rust-embedded
Guest30 has quit [Ping timeout: 250 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #rust-embedded
AtleoS has quit [Quit: AtleoS]
jakzale has quit [Remote host closed the connection]
jakzale has joined #rust-embedded
jakzale has quit [Remote host closed the connection]
jakzale has joined #rust-embedded
Mark[m] has quit [Quit: Idle timeout reached: 172800s]
<AdamHott[m]>
Is anybody at Embedded World that stopped by the Arm booth to checkout those dev kits that include the Ethos-U85 NPU?
<AdamHott[m]>
Curious to know if anyone learned anything interest about that NPU
<JamesMunns[m]>
huh, interesting. Basically a big array math accelerator?
<JamesMunns[m]>
Looks similar in perf to Google's Coral TPU, but maybe more efficient (and glued to a Cortex-M?)
birdistheword99[ has joined #rust-embedded
<birdistheword99[>
This is probably a really stupid question, sorry, but I just want to confirm the difference between probe-rs run and probe-rs flash. I have my project set up to use probe-rs run as the runner in .cargo\config.toml, but does this only write to RAM? This doesn't actually flash the device like probe-rs flash? I also saw probe-rs embed exists, and seems to combine the two to some extent.
<birdistheword99[>
* This is probably a really stupid question, sorry, but I just want to confirm the difference between probe-rs run and probe-rs flash. I have my project set up to use probe-rs run as the runner in .cargo\config.toml, but does this only write to RAM (not stored after power-cyle)? This doesn't actually flash the device like probe-rs flash? I also saw probe-rs embed exists, and seems to combine the two to some
<birdistheword99[>
extent.
<dirbaio[m]>
`probe-rs run` flashes (to flash, not to ram) and shows log output
<dirbaio[m]>
`probe-rs run` flashes only
<dirbaio[m]>
s/run/flash/
<AdamHott[m]>
<JamesMunns[m]> "huh, interesting. Basically a..." <- Yeah seems like a great component for edge AI
<dirbaio[m]>
cargo-embed is similar to probe-rs run but with a different featureset. they might get unified in the future
<birdistheword99[>
dirbaio[m]: > <@dirbaio:matrix.org> `probe-rs run` flashes (to flash, not to ram) and shows log output
<birdistheword99[>
Thanks, that clears things up. I was wondering how the hell it could not be in flash, but every-time I power my board off for a bit and come back to it later (just powered up with no debugger attached), it doesn't appear to be running the code. I guess its just the STM32H7 power/RCC issues as usual
<birdistheword99[>
> `probe-rs flash` flashes only
<firefrommoonligh>
Good history. I will add one thing for building production firmware you can flash with third-party tools (DFU-utils, STM32cubeprogrammer etc):
<AdamHott[m]>
I'm working on some schematics in KiCad and looking to reference other boards that have been built in KiCad to study for reference purposes. I've been looking at the rusty-probe and the esp-rust-board. Does anyone have any other good examples of open-sourced board that would be available on Github to review them in KiCad?
<firefrommoonligh>
The answer will depend on what sort of thing you are building.
<firefrommoonligh>
That said... I posted these UAV radio receivers as open hardware here; see the kicad_files subfolder: https://github.com/AnyLeaf/elrs-hardware
<firefrommoonligh>
Note that the component placement on those boards make space compromises you wouldn't see on non-space-constrained designs.
<AdamHott[m]>
It's an addressable RGB LED board that will have about 130 RGB LEDs x 60mA = 7.74 Amps. Needs ESD protection, voltage regulation, USB-C adapter, power on/off button, program start button, jumper boot switch
<JamesMunns[m]>
that's a lot, tbh, and at ~40w you're going to have to deal with a lot of heat
<AdamHott[m]>
temperature sensor to prevent overheating
<AdamHott[m]>
Thanks all!
<firefrommoonligh>
I'm not sure if this is hitting that level of heat, but consider an aluminum PCB. Although they're generally for much higher current LEDs than that
<JamesMunns[m]>
yeah, probably depends on the density. If you are fitting in like a light bulb shape, probably need alu. if you have a larger like laptop/monitor size, maybe not
<AdamHott[m]>
This is for a prototype, which could become commercial
<firefrommoonligh>
I agree with James on upping the voltage. You could do either, but you'll have more options for the DC-DC, and can get away with thinner traces if you do higher voltage.