<firefrommoonligh> Damn I wanted to try G0 for a conductivity breakout board (for Pi, Arduino etc; mainly hydroponics users); JLC has it in stock; I'm sick of hand-soldering; don't need anything fancy etc. Turns out this one doesn't have a DAC :(
<firefrommoonligh> Also, the general STM32 rule of "If it's the same footprint, all the pins are the same" doesn't apply; G0 has lots of changes from F3 and L4
<firefrommoonligh> (Well; a few small changes that propogate into shifts)
<firefrommoonligh> And the one in stock that has a dac is the 144 pin one or something silly
<firefrommoonligh> *nvm only 64
<therealprof[m]> Yeah, that is only true for a few select families and ST provides migration guides for those.
<therealprof[m]> The G family is really all budget and they've thrown a ton of established concepts out of the window for it.
<adamgreig-m> is G4 budget?
<firefrommoonligh> No
<adamgreig-m> more like a modern F3
<firefrommoonligh> Yes.
<adamgreig-m> but yea, definitely less pin compat
<firefrommoonligh> It's the one that has loads of ADCs and DACs
<firefrommoonligh> G0 is the new budget one
<adamgreig-m> the G0s are nice though
<adamgreig-m> like an f0 but faster and cheaper and lower power
<adamgreig-m> well dunno about cheaper right now but in general :p
<firefrommoonligh> For this purpose (control a DAC voltage and some PWM output, then read from an ADC and send over UART) it would be perfect
<firefrommoonligh> Some of them do have DACs
<firefrommoonligh> Just not the one in stock at JLC
<therealprof[m]> If you don't like handsoldering, the Miniware MHP30 is a fun little solder gadget.
<therealprof[m]> lol: "A high degree of compatibility with the STM32F3 Series guarantees outstanding efficiency when designing derivatives of applications at different performance levels."
<firefrommoonligh> YOLO; ordered. Thx homie
<therealprof[m]> <adamgreig-m "is G4 budget?"> Don't know which prices you're looking at but from what I'm reading from the table the G4 is meant to provide more bang for back than the F3 (or be cheaper). Of course non-list prices might differ significantly.
<adamgreig-m> I think they're cheaper too, but also better
<adamgreig-m> the MHP30 is soooo dinky
<adamgreig-m> I sort of want one but I'd be spending half as much again to get a PD power supply...
<firefrommoonligh> I bought it knowing I have a few projects that would fit
<therealprof[m]> It comes with a power supply.
<firefrommoonligh> Considering a larger one for those that would not as well
<adamgreig-m> all the ones I've seen just say it comes with a USB cable
<therealprof[m]> Mine came with a power supply. I was meaning to use a different one but it didn't work for some reason.
<adamgreig-m> is it 30mm x 30mm?
<therealprof[m]> Yeah, it's tiny.
<therealprof[m]> But it works crazily good.
<adamgreig-m> can it follow profiles or just hold one temperature?
<firefrommoonligh> The one on US amazon comes with a power supply
<therealprof[m]> Just one temperature.
<adamgreig-m> ah, fair enough, probably what I get for looking on uk ebay
<therealprof[m]> At the moment.
<adamgreig-m> it's cheaper to not give us a power supply so they don't, I guess
<adamgreig-m> <therealprof[m] "At the moment."> fair, would be a cool addition one day
<therealprof[m]> It heats really slowly.
<adamgreig-m> we have an ir reflow oven at work so i usually do hobby assembly there (and thus don't need to keep any solder paste at home either) but a small hotplate would be cute for home rework
<adamgreig-m> what i really want is to convince work to buy a vapor phase reflow oven
<therealprof[m]> Not much headroom for fancy profiles. Also no cooling.
<adamgreig-m> but kinda pointless... for any production more than me doing hand assembly we get it done by a CM anyway sooo
<therealprof[m]> I'm used to hot air, I also have a (broken) reflowR.
<therealprof[m]> I used to use an IR rework station quite a bit but honestly the size (and thus requirement to properly shield everything you don't want to desolder) is solder annoying.
<adamgreig-m> i have a little hot air thing at home which does work decently
<adamgreig-m> but that mhp30 for pre-heat would be nice
<adamgreig-m> yea, exactly
<adamgreig-m> we have an ir rework station at work and the most i use it for is to warm things up to like 100C before doing hot air by hand
<therealprof[m]> Yeah, hot air works but connectors really don't like hot air.
<therealprof[m]> And it's far heavier on the PCB, too. I was really suprised how great this little thing works.
<adamgreig-m> they sure don't. love to build elaborate little foil shields and then find they melted anyway
<adamgreig-m> do they do a... slightly bigger one?
<adamgreig-m> though i have just bought the sensepeek pcbite kit so probably shouldn't buy a hotplate the same day :p
<therealprof[m]> They don't but the little size is surprisingly fantastic.
<therealprof[m]> I'd pay for for a 90W version...
<therealprof[m]> It is super slow to heat.
<adamgreig-m> nice and gentle on the PCB :P
<therealprof[m]> Yes. And I found you can conveniently put the PCB on, turn it on, get a coffee and then you're ready to do some work. 😀
<adamgreig-m> can probably use it to keep the coffee warm too :P
<adamgreig-m> can it hold temperatures below 100C?
<therealprof[m]> I've done like a 20 minute session without a problem. Just shift it around as needed to go to a different section of the board. The only worry is the board toppling over and falling off the surface. Probably should build table...
<therealprof[m]> I think the minimum is 100C.
<therealprof[m]> I was recently recycling some FPC connectors from a display adapter board which I designed the wrong way around (in v1). With hot air you get the smells, with this puppy: no worries.
<therealprof[m]> Need to figure out why it doesn't like the USB PD adapter I have on that bench though. I'm not willing to spend one of my expensive GaN PSUs on that thing and the included adapter requires that you plug it directly into the socket (which are "conveniently" mounted facing downwards on the back of my desk).
<Gireesh[m]> Can anyone share there rust-analyzer configurations for stm32 hal crates?
<Gireesh[m]> I am not sure which options to include
<Gireesh[m]> what are the default features everyone are using?
andres[m] has joined ##stm32-rs
<TimSmall> therealprof: I have a "ShengYang" "CTP2" €3 USB PD module, for turning misc DC supplies (6V - 35V - step-down only) into PD.
<TimSmall> The maximum Vout is = Vin + 1V . Max output is 3A @ 20V. Searching for "QC3.0 usb type-C" seems to find it.
<TimSmall> It seems to get good reviews, but I haven't used it much, so can't vouch for it strongly.
gdamjan[m]1 has quit [Quit: Idle for 30+ days]
Sijmen has quit [Quit: Idle for 30+ days]
t4d1[m] has quit [Quit: Idle for 30+ days]
gdamjan[m]1 has joined ##stm32-rs
HannoBraun[m]1 has joined ##stm32-rs
HannoBraun[m] has left ##stm32-rs ["User left"]
<henrik_alser[m]> Btw, can confirm there is a problem with address nack in f4xx hal as @peauters experienced. And just noticed someone had already opened an issue for it.. Seems the code at least tries to handle it, any ideas to why it’s not working?
<henrik_alser[m]> More specifically, the i2c hangs forever if no device responds on the bus
<TimSmall> * therealprof: I have a "ShengYang" "CTP2" €3 USB PD module, for turning misc DC supplies (6V - 35V - step-down only) into PD.
<TimSmall> The maximum Vout is = Vin - 1V . Max output is 3A @ 20V. Searching for "QC3.0 usb type-C" seems to find it.
<therealprof[m]> Err, sure. There's no timeout handling.
<henrik_alser[m]> <therealprof[m] "Err, sure. There's no timeout ha"> I though that was what L809 was supposed to do? And AF should be set in case of address failure no?
<henrik_alser[m]> Or am i missing something? :)
<dirbaio[m]> this should be possible to do without timeouts, it definitely works that way on nrf
<henrik_alser[m]> Yes exactly, i fixed this exact problem in nrf-hal, there i could just check the ”anack” flag
<henrik_alser[m]> Thought ”af” would be the same thing
<therealprof[m]> <henrik_alser[m] "Or am i missing something? :)"> That functionality is only available in SMBus mode.
<therealprof[m]> <dirbaio[m] "this should be possible to do wi"> Depends on your hardware setup. If everything is setup correctly you can certainly detect whether there's a device or not on the bus with a good probability. That's how I2C bus scanners work...
<henrik_alser[m]> <therealprof[m] "That functionality is only avail"> Ahh!
<firefrommoonligh> I don't know if this is related, but most HALs don't handle i2c repeating starts, ie will Nack. H7xx does it correctly,
<firefrommoonligh> You can troubleshoot by copying its EH read/write methods into f4xx etc
<firefrommoonligh> This will cause some devices to not work, but others are unaffected
<therealprof[m]> I would be very surprised if the H7 I2C peripheral is the stone old version of the F4.
<firefrommoonligh> It's not, but its main i2c code is conpatible
<firefrommoonligh> I haven't tested on f4, but it compiled, and I have tested on f3 and l4
<firefrommoonligh> Oops! You're right!
<firefrommoonligh> The H7 i2c code is compatible with f3, g0, g4, l4, and l5, but NOT f4
<dirbaio[m]> as predicted by the chibios table thingy :)
Mr_Electronico has joined ##stm32-rs
Mr_Electronico has quit [Remote host closed the connection]
<xoviat[m]> does anyone have any details on the "ST-MEMS motion sensor" on stm32f407 disovery board?
<therealprof[m]> It's a LIS302DL or LIS3DSH
Albru[m] has joined ##stm32-rs