--- Log opened la heinä 01 00:00:45 2023 --- Day changed la heinä 01 2023 2023-07-01T00:00:45 < nomorekaki> how is the project? 2023-07-01T00:00:52 < nomorekaki> (s) 2023-07-01T00:01:02 < nomorekaki> project(s)* 2023-07-01T00:19:06 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-01T00:20:37 < Steffanx> Can you eat that, nomorekaki ? 2023-07-01T00:21:10 < nomorekaki> eat what? 2023-07-01T00:21:18 < nomorekaki> projects? 2023-07-01T00:21:56 < Steffanx> Kyllä 2023-07-01T00:22:12 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 240 seconds] 2023-07-01T00:22:56 < nomorekaki> no 2023-07-01T00:29:19 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-07-01T00:35:03 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has joined ##stm32 2023-07-01T00:55:57 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-01T00:56:08 < Laurence_b> wtf twitter is dead, rip 2023-07-01T00:56:17 < Laurence_b> musk has killed it 4 sure this tiem 2023-07-01T01:10:01 < Steffanx> It works fine. Must be you 2023-07-01T01:12:16 < Laurence_b> I'm not logging in to that shit, ever 2023-07-01T01:16:52 < qyx> Steffanx: no worky without login 2023-07-01T01:36:41 < karlp> qyx: are you cheaping out and using hasl or actual enig with hard fingers? 2023-07-01T01:42:23 < qyx> hals of course 2023-07-01T01:42:23 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-01T01:44:16 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 250 seconds] 2023-07-01T02:05:47 < qyx> https://bin.jvnv.net/file/g462k/Screenshot_2023-07-01_01-05-29.png 2023-07-01T02:05:51 < qyx> that's not gonna work 2023-07-01T02:12:46 < josuah> qyx: what a curious mix of power-electronics-looking and high-throughput-looking board we got here 2023-07-01T02:13:44 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 250 seconds] 2023-07-01T02:14:22 < qyx> can-fd adapter with 24 V/20 W power out 2023-07-01T02:15:20 < josuah> nice! So is it CAN-FD on the green screw termains connectors? What about the parallel blue one? 2023-07-01T02:17:12 < qyx> nothing, I am just trying to see how the blue connector fits the form factor, I just added it 2023-07-01T02:17:25 < qyx> it doesn't fit 2023-07-01T02:18:29 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-01T02:22:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-01T03:07:00 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-01T03:23:05 < zyp> qyx, looks awful :D 2023-07-01T03:23:10 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-01T03:30:20 -!- nomorekaki [~nomorekak@37-219-47-33.nat.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-01T04:26:26 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has quit [Ping timeout: 252 seconds] 2023-07-01T05:08:10 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-07-01T05:43:28 -!- qyx [~qyx@84.245.121.96] has quit [Ping timeout: 250 seconds] 2023-07-01T05:45:36 -!- qyx [~qyx@84.245.121.252] has joined ##stm32 2023-07-01T05:53:16 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-01T06:02:32 -!- Thorn [~Thorn@188.251.245.218] has joined ##stm32 2023-07-01T06:02:32 -!- Thorn [~Thorn@188.251.245.218] has quit [Changing host] 2023-07-01T06:02:32 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-01T06:24:23 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has joined ##stm32 2023-07-01T06:32:18 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-01T06:50:22 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has quit [Ping timeout: 260 seconds] 2023-07-01T07:15:06 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 252 seconds] 2023-07-01T07:16:25 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-01T07:36:07 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-01T07:54:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-01T08:07:46 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-01T08:17:51 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-01T08:34:12 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-07-01T09:12:43 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-01T09:56:48 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 252 seconds] 2023-07-01T10:02:15 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-01T10:34:26 < qyx> yeah it is, there are also C/3 connectors but generally unavailable 2023-07-01T10:34:51 < qyx> or "modular" or "hard metric" connectors which don't fit 3TE width.. 2023-07-01T10:57:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-01T11:42:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3d72-c62a-82c-46a0.fixed6.kpn.net] has joined ##stm32 2023-07-01T12:03:39 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-01T12:05:18 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-01T12:13:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3d72-c62a-82c-46a0.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-01T12:55:33 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-07-01T12:57:17 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-01T13:00:23 < invzim> anyone else in here using TinyUSB? 2023-07-01T13:02:59 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-01T13:03:40 < invzim> not a fan of the tud_task() thingie, it's like going back to the microchip c18 stuff 2023-07-01T13:05:21 < Laurence_b> Do you have arrested development? Do you have a nasal voice and exaggerated vowel pronunciation? Are you very asocial and reclusive,  with an interest in stuff like Nintendo or something in adulthood, have delayed vocabulary or don't know certain slang words or names of activities or things in life everyone your age knows, live with parents, are a 2023-07-01T13:05:22 < Laurence_b> virgin with no social life? If you answered yes to all of these, then congratulations, you are an autistic redditor, and are eligible for membership of the ARAA (Autistic Redditor Association of America), sign up today! 2023-07-01T13:45:52 < BrainDamage> https://cdn.discordapp.com/attachments/942910059430699098/1124571853294411776/ipa.png 2023-07-01T14:00:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-01T14:09:59 -!- catphish [~quassel@user/catphish] has quit [Ping timeout: 240 seconds] 2023-07-01T14:31:52 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-07-01T14:51:02 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-07-01T15:13:11 < Laurence_b> https://github.com/longyap/nocode 2023-07-01T15:13:41 < catphish> is it a bug that this is defines as a uint32_t? https://github.com/STMicroelectronics/STM32CubeG4/blob/master/Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h#L729 2023-07-01T15:13:43 < Laurence_b> BrainDamage: huh? 2023-07-01T15:13:51 < Laurence_b> isopropanol and what tho 2023-07-01T15:14:13 < catphish> or is it perfectly reasonable that i have to manually cast it to a uint8_t pointer before i can use it? 2023-07-01T15:15:21 < qyx> BrainDamage: my chem-fu is not enough to get that joke 2023-07-01T15:16:49 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-01T15:38:56 < englishman> https://pubs.acs.org/doi/10.1021/ja01264a512 2023-07-01T15:39:08 < englishman> nice one bd 2023-07-01T15:49:04 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Quit: Leaving] 2023-07-01T15:53:59 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-01T15:57:38 < Laurence_b> holy shit 2023-07-01T15:57:51 < Laurence_b> I had better be careful with my isopropanol 2023-07-01T15:58:10 < Laurence_b> https://d1.amobbs.com/bbs_upload782111/files_51/ourdev_716992QS5UZP.pdf 2023-07-01T15:58:18 < Laurence_b> nine _hundred_ pages 2023-07-01T15:58:22 < Laurence_b> arggg 2023-07-01T16:03:26 < Laurence_b> I seriously doubt this code impliments the full protocol https://github.com/tuenhidiy/Arduino_Profibus_DP 2023-07-01T16:07:24 < Laurence_b> yeah I was right - profibus has object dictionary lookup at boot, but that code uses hardcoding 2023-07-01T16:07:58 < Laurence_b> I'm not a fan of this shit, less functional than USB yet even more complex 2023-07-01T16:20:54 < Laurence_b> wait I have an ebil plan: install random profibus driver on windozer, log the data, then hardcode it on muh stm32 2023-07-01T16:21:11 < Laurence_b> shit shit only has to work with my hardware config 2023-07-01T16:21:49 < Laurence_b> found a full stack on github, but its ripped off shitulink code lol https://github.com/fredericdepuydt/profibus-dp-software-stack 2023-07-01T16:25:09 < ventYl> is it? it doesn't look remotely as messy as I am used to 2023-07-01T16:26:38 < Laurence_b> lol ok 2023-07-01T16:26:51 < Laurence_b> I'll bite... compare it to CAN bus... 2023-07-01T16:27:00 < ventYl> at91_ 2023-07-01T16:27:01 < ventYl> meh 2023-07-01T16:27:19 < Laurence_b> there is code for tarduino hiding in all the #ifdef 2023-07-01T16:27:36 < Laurence_b> but it requires a hardware timer and I have none spare on muh stm32 2023-07-01T16:27:46 < ventYl> danger: cancer ahead 2023-07-01T16:27:50 < Laurence_b> heh 2023-07-01T16:28:08 < Laurence_b> I seriously doubt the timing is actually that tight - if you can accept reduced throughput 2023-07-01T16:29:00 < ventYl> I guess it might be. One of profibus uses I heard of was for very precise time synchronization 2023-07-01T16:29:01 < Laurence_b> I think the sane route is to find windozer application that can talk to my devices, then grab the data and impliment a really basic semi hardcoded version 2023-07-01T16:29:18 < Laurence_b> ventYl: I think device timeouts are fairly relaxed 2023-07-01T16:30:12 < ventYl> Laurence_b: I know absolutely nothing about profibus, thus... *shrugs* 2023-07-01T16:30:45 < Laurence_b> neither do I lol 2023-07-01T16:30:59 < ventYl> except of that it comes from germany, so there must be some way it sucks massively 2023-07-01T16:31:23 < Laurence_b> but hyperboss made a motor test cell that has a load of profibus devices, then wants to build a custom control panel for it powered by stm32 2023-07-01T16:32:01 < Laurence_b> the first guy he asked to do this jerb quit his job rather than do it lmao 2023-07-01T16:32:30 < ventYl> nice way to express an opinion 2023-07-01T16:33:20 < Laurence_b> it looks possible, but I bet I couldnt get that full stack working very quickly, and even then I would need to write wrapper code to locate and control the devices I need to control 2023-07-01T16:33:48 < Laurence_b> time to find windozer applications and wireshark them 2023-07-01T16:34:44 < Laurence_b> supposedly you need a GSD file to start talking to devices lmao 2023-07-01T16:35:00 < Laurence_b> how is this better than USB (other than physical layer) 2023-07-01T16:35:30 * Laurence_b sees a business opportunity for USB upper level protocols over RS485 physical layer 2023-07-01T16:36:09 < ventYl> wouldn't canopen or something do the job? 2023-07-01T16:36:19 < Laurence_b> yeah good point 2023-07-01T16:36:41 < Laurence_b> canopen achieves similar functionality but its arguably simpler than USB 2023-07-01T16:36:58 < Laurence_b> - similar functionality to profibus, less "zero config" than USB tho 2023-07-01T16:37:22 < Laurence_b> I've written my own canopen stack before and it wasnt especially unpleasant 2023-07-01T16:37:27 < ventYl> you could probably add that on top of it if you really wanted 2023-07-01T16:41:09 < ventYl> judging based on wikipedia article, profibus seems to be obsoleted by CAN 2023-07-01T16:41:40 < Laurence_b> yeah 2023-07-01T16:41:53 < zyp> I thought profibus mainly was obsoleted by profinet 2023-07-01T16:47:38 < Laurence_b> oh yeah https://sourceforge.net/projects/profim/ 2023-07-01T16:47:48 < karlp> and here's me who until today had zero idea that IPA was potentially hazardous if left standing, particular if left standing with daylight. 2023-07-01T16:48:00 < karlp> does seem to require concentrated IPA though? 2023-07-01T16:48:58 < Laurence_b> looks like profim uses regular serial device on windows, but need RTS to control RS485 direction, dunno if thats normal in dongles or if it needs custom hardware... 2023-07-01T16:50:46 < ventYl> I think that RTS is quite common even with cheaper dongles 2023-07-01T16:50:49 < zyp> any RS485 dongle should have direction control 2023-07-01T16:51:18 < Laurence_b> ok thanks 2023-07-01T16:51:21 -!- Ecco2 [~Ecco2@70-131-44-14.lightspeed.rlghnc.sbcglobal.net] has joined ##stm32 2023-07-01T16:51:23 < ventYl> meh, back to work, that water pipe won't cut and connect itself 2023-07-01T16:51:26 < Ecco2> Hi! 2023-07-01T16:51:29 < Ecco2> Chip quiz! 2023-07-01T16:51:53 < Ecco2> https://i.imgur.com/T9bk2cP.png 2023-07-01T16:51:57 < Ecco2> That's a chip-scale package 2023-07-01T16:52:04 < Ecco2> Any idea what it is? 2023-07-01T16:52:45 < Ecco2> Another chip that looks like a QFN: blob:https://imgur.com/6bfdf3ee-a17f-4de8-bdbe-abf37393bd70 2023-07-01T16:52:56 < Ecco2> Sorry https://i.imgur.com/uQbDTnW.png 2023-07-01T16:53:15 < ventYl> does it come from car? 2023-07-01T16:53:42 < zyp> karlp, hmm, news to me too 2023-07-01T16:53:49 < zyp> my IPA bottle is 10+ years 2023-07-01T16:54:28 < ventYl> I also have one *somewhere*. But stored in dark. 2023-07-01T16:54:38 < karlp> if I can read betweent he lines, if it's in an opaque bottle, it's... probably ok? 2023-07-01T16:55:07 < ventYl> yeah, but isn't IPA commonly sold in semi-translucent HDPE bottles? 2023-07-01T16:56:13 < karlp> both? 2023-07-01T16:56:23 < karlp> I've got a small bottle from the chemist like that, 2023-07-01T16:56:33 < karlp> and a bigger bottle from a supply place in solid white opaque 2023-07-01T16:56:49 < karlp> also, not sure I have concentrated enough IPA to be a risk for this? 2023-07-01T16:56:55 < zyp> hmm, there's an expiry date on my bottle 2023-07-01T16:57:02 < zyp> says 2013-08-22 2023-07-01T16:57:08 < karlp> hehe 2023-07-01T16:57:26 < ventYl> zyp: I'd like to remind you that there's also expiry date on himalayan salt 2023-07-01T16:58:58 < zyp> hmm, there might be some solids in it too, not sure if crystals or just shit that's gotten into it 2023-07-01T17:00:47 < zyp> looks like just a piece of paper towel 2023-07-01T17:00:48 < zyp> https://bin.jvnv.net/file/dIcLo.jpg 2023-07-01T17:03:30 < karlp> developing profibus in 2023 sounds like opening up a fortran shop. 2023-07-01T17:05:10 < ventYl> :> 2023-07-01T17:09:27 < Ecco2> So guys, no idea about what these 2 chips could be? 2023-07-01T17:11:00 < zyp> not without more context 2023-07-01T17:14:13 < ventYl> Ecco2: does it come from a car? if so, recently OEMs have requirement to anonymize chips used on board to prevent reverse engineering. 2023-07-01T17:14:56 -!- Ecco2 [~Ecco2@70-131-44-14.lightspeed.rlghnc.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2023-07-01T17:23:07 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-07-01T17:26:42 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 252 seconds] 2023-07-01T17:31:10 < mrec> does anyone use one of those stm32 nucleo boards with windows? I have the problem if I open a serial channel the first transaction doesn't seem to go through and is not visible on the uart bus, the second transaction is okay however. 2023-07-01T17:31:27 < mrec> I had similar issues with linux back then and used tcsendbreak() to fix it 2023-07-01T17:43:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3d90-13b-b34e-c500.fixed6.kpn.net] has joined ##stm32 2023-07-01T17:51:25 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-01T17:58:49 < mrec> seems like the receiving part is just dropped.. 2023-07-01T18:01:25 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has joined ##stm32 2023-07-01T18:02:16 -!- specing [~specing@user/specing] has quit [Ping timeout: 252 seconds] 2023-07-01T18:17:49 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:28a0:e204:8318:5598] has joined ##stm32 2023-07-01T18:17:49 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:28a0:e204:8318:5598] has quit [Changing host] 2023-07-01T18:17:50 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-01T18:37:06 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-01T18:43:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3d90-13b-b34e-c500.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-01T19:20:40 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-01T19:43:43 -!- JaguarKat [~JaguarKat@45-231-220-76.dyn.distrokom.net] has quit [Remote host closed the connection] 2023-07-01T20:39:22 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-01T21:29:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-01T22:12:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-07-01T23:16:46 -!- rajkosto [~rajkosto@178.220.166.75] has joined ##stm32 2023-07-01T23:17:00 -!- rajkosto [~rajkosto@178.220.166.75] has quit [Remote host closed the connection] 2023-07-01T23:37:00 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] --- Day changed su heinä 02 2023 2023-07-02T00:13:27 -!- nomorekaki [~nomorekak@37-219-170-184.nat.bb.dnainternet.fi] has joined ##stm32 2023-07-02T00:13:45 < nomorekaki> mawk: explain situation in france? 2023-07-02T00:14:12 < nomorekaki> status report 2023-07-02T00:17:55 < specing> Please wait, mawk is on fire 2023-07-02T00:18:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4526-2ea1-9d06-20b9.fixed6.kpn.net] has joined ##stm32 2023-07-02T00:42:52 < nomorekaki> everyone has been expecting martial law in US because of constant wanking about it in pop culture and chans for over a decade now 2023-07-02T00:43:54 < nomorekaki> but it's happening in marxist europe it appears 2023-07-02T01:07:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4526-2ea1-9d06-20b9.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-02T01:08:06 < Steffanx> People in Paris rioting is nothing new... 2023-07-02T01:08:29 < nomorekaki> we need the professional commentator lurencer to assess the situation by reading the sacred green scriptures 2023-07-02T01:09:45 < nomorekaki> or just enigmatically leave them scriptures to us without any comments 2023-07-02T01:16:08 < Steffanx> OK 2023-07-02T01:20:00 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-02T01:20:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-02T01:20:34 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-02T01:20:38 < Laurence_b> keek it gets worse 2023-07-02T01:20:39 < Laurence_b> https://www.bbc.co.uk/news/technology-66077195 2023-07-02T01:20:44 < Laurence_b> the absolute state of musk 2023-07-02T01:21:30 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-07-02T01:21:32 < nomorekaki> he is here Steffanx 2023-07-02T01:21:42 < Laurence_b> this is actually legit annoying - eg local bus company has no service status page and you have to read their twitter to see if busses are running 2023-07-02T01:22:05 < Steffanx> nomorekaki he won't listen to you anyway. 2023-07-02T01:22:13 < Laurence_b> >shut down ur sites and more to twitter 2023-07-02T01:22:21 < Laurence_b> >surprised when shit goes south 2023-07-02T01:22:54 < englishman> remember when canadian police announced a mass shooting on twitter and not via the emergency cell alert system 2023-07-02T01:23:10 < Laurence_b> maybe musky should pay for my taxi if I miss the bus 2023-07-02T01:23:12 < nomorekaki> Steffanx: we are to only receive the wisdom 2023-07-02T01:23:42 < nomorekaki> *only to 2023-07-02T01:24:25 < nomorekaki> Laurence_b: what are the sacred green scriptures saying about situation in france? 2023-07-02T01:24:32 < Steffanx> I don't remember, englishman, but lol. 2023-07-02T01:26:24 < Laurence_b> sacred green? 2023-07-02T01:26:27 < Laurence_b> islam? 2023-07-02T01:27:56 < nomorekaki> >sacred green scriptures 2023-07-02T01:29:50 < Laurence_b> oh lol 2023-07-02T01:30:00 < Laurence_b> >caring about France 2023-07-02T01:30:55 < nomorekaki> kek 2023-07-02T01:31:14 < Laurence_b> Musk should go totally batshit insane and do a Prigozhin, at least that would be actually funny 2023-07-02T01:37:42 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-07-02T01:54:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-02T01:56:59 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-02T02:38:47 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-07-02T03:00:12 -!- Netsplit *.net <-> *.split quits: Sadale, Fleck 2023-07-02T03:01:48 -!- Netsplit over, joins: Fleck 2023-07-02T03:02:45 -!- Netsplit over, joins: Sadale 2023-07-02T03:46:28 < mrec> well .. qserialport is crap 2023-07-02T05:13:17 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-02T07:20:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-02T07:58:30 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-02T08:01:33 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-02T08:26:59 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-02T08:46:17 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-02T11:18:22 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-02T11:32:38 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-02T12:03:45 < qyx> Steffanx: weren't they rioting because of fuel prices last time? 2023-07-02T12:04:33 < qyx> they seem to be a very unstable society 2023-07-02T12:13:23 < Steffanx> I think it was retirement related 2023-07-02T12:18:04 < jpa-> i thought they were protesting because they didn't like the color of the vests they bought 2023-07-02T12:25:47 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-1489-dfb8-8d0c-8c52.fixed6.kpn.net] has joined ##stm32 2023-07-02T12:59:03 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-02T13:14:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-1489-dfb8-8d0c-8c52.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-02T13:16:52 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-07-02T13:17:29 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-02T13:48:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-1489-dfb8-8d0c-8c52.fixed6.kpn.net] has joined ##stm32 2023-07-02T14:39:05 -!- drzacek [~drzacek@2a01:3d8:34b:8c00:8c46:199e:63b7:7f1c] has joined ##stm32 2023-07-02T15:57:31 -!- drzacek [~drzacek@2a01:3d8:34b:8c00:8c46:199e:63b7:7f1c] has quit [Quit: Leaving] 2023-07-02T16:58:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-02T17:28:14 < zyp> any suggestions for a gigabit magjack that doesn't have all the PHY-side CTs connected together? 2023-07-02T17:28:24 < zyp> > Since this device incorporates voltage driven DAC, it does not require magnetics center-tap supply. Instead, connect the magnetics center-tap to AC ground through individual 0.1 μF cap. 2023-07-02T17:28:31 < zyp> bonus if the magjack incorporates the caps 2023-07-02T17:31:01 < jpa-> ARJM11-xxx-805, -809, -811 2023-07-02T17:31:50 < jpa-> uh no.. hmm 2023-07-02T17:32:06 < jpa-> weird, the schematic has caps per transformer, but it is still connected all together? o_O 2023-07-02T17:32:11 < zyp> https://www.ttieurope.com/content/dam/tti-europe/manufacturers/te-connectivity/resources/RJ45%20Jacks%20with%20Integrated%20Magnetics,%20PoE%20and%20Discrete%20Magnetics%20-%20Commercial%20Training.pdf 2023-07-02T17:32:23 < zyp> ref. page 13 2023-07-02T17:32:35 < zyp> those are probably for decoupling 2023-07-02T17:32:56 < jpa-> indeed 2023-07-02T17:36:21 < jpa-> pulse JK0 series seems to have separate center taps, no integrated caps 2023-07-02T17:39:56 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-1489-dfb8-8d0c-8c52.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-02T17:40:43 < zyp> hmm, pulse J0G-0001NL also got that, and is in stock at jlc 2023-07-02T17:43:25 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Remote host closed the connection] 2023-07-02T17:44:56 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-02T18:05:54 < zyp> X01AQ038AB2AD looks like what I want 2023-07-02T18:06:25 < zyp> except the caps are 0.01uF, not 0.1uF 2023-07-02T19:34:33 < mawk> put ten of them in parallel 2023-07-02T19:35:23 < Mangy_Dog> Anyone used this type of display https://www.aliexpress.com/item/1888253533.html with the ST7701 driver? Its not entirely clear. Even reading the drivers datasheet. Theres IM0,1,2 pins for display mode... IE SPI or Parallel. But these displays dont have the IM broken out. Do they just accept Parallel signals without configuration? Or do they still need to be set through serial? like 2023-07-02T19:35:27 < Mangy_Dog> the ILI9342? 2023-07-02T19:53:35 < jpa-> Mangy_Dog: which of the models listed? 2023-07-02T19:53:57 < Mangy_Dog> any 2023-07-02T19:54:03 < Mangy_Dog> the difference is just cap touch glass 2023-07-02T19:54:04 < jpa-> but in general, you probably want to set some display controller registers 2023-07-02T19:54:11 < Mangy_Dog> i wondered that 2023-07-02T19:54:23 < Mangy_Dog> but even looking at the driver datasheet theres nothing jumping out at me for setting that 2023-07-02T19:55:04 < Mangy_Dog> which is why i wondered if these displays kinda default to it 2023-07-02T19:55:22 < jpa-> in ST7701 manual there is SPI protocol described for setting commands 2023-07-02T19:55:35 < jpa-> and under RGB interface it says e.g. "The Mode 1 and Mode 2 function is select by setting in the Command 2, please reference application note." 2023-07-02T19:55:36 < Mangy_Dog> nodnods 2023-07-02T19:55:52 < jpa-> so it seems that they expect you to hook up both RGB and SPI 2023-07-02T19:56:04 < Mangy_Dog> the breakout is there for rgb and spi 2023-07-02T19:56:51 < Mangy_Dog> tbh i half expected it to be liek the ILI that needed initilising with some serial commands first 2023-07-02T19:57:00 < jpa-> yes, it probably is 2023-07-02T19:57:26 < jpa-> it's quite typical for them to power on in some standby state 2023-07-02T19:59:52 < Mangy_Dog> i cant see anything in the command list for spi 2023-07-02T20:00:02 < Mangy_Dog> https://www.buydisplay.com/download/ic/ST7701.pdf 2023-07-02T20:00:44 < jpa-> you mean for enabling SPI mode? 2023-07-02T20:00:54 < Mangy_Dog> enabling RGB 2023-07-02T20:01:52 < jpa-> selecting the input interface is by the IM pins 2023-07-02T20:02:04 < jpa-> the SPI interface is for setting registers & commanding display power on etc. 2023-07-02T20:02:31 < Mangy_Dog> yeah teh IM pins arent broken out on the display 2023-07-02T20:02:40 < jpa-> yeah, probably strapped to RGB18 2023-07-02T20:02:42 < Mangy_Dog> but i think i MIGHT have found the spi command for it 2023-07-02T20:02:49 < Mangy_Dog> just reading 2023-07-02T20:03:43 < Mangy_Dog> page 272 2023-07-02T20:03:46 < Mangy_Dog> might be it 2023-07-02T20:06:16 < Mangy_Dog> i might have to hack together a suitable break out with enamaled wire :D 2023-07-02T20:06:22 < Mangy_Dog> to test 2023-07-02T20:07:05 < jpa-> if you mess with displays a lot, might be worth it to get some FPC breakout boards 2023-07-02T20:10:36 < Mangy_Dog> yeah i had a few 2023-07-02T20:10:43 < Mangy_Dog> but i dont have a 40 pin 0.5 pitch 2023-07-02T20:11:34 < jpa-> what does it matter though, can't you just figure it out when you have actual pcb made? 2023-07-02T20:11:39 < jpa-> you'll have to hook up SPI anyway 2023-07-02T20:11:56 < Mangy_Dog> oh sure 2023-07-02T20:12:03 < Mangy_Dog> ill have tghe spi attached anyway 2023-07-02T20:12:05 < Mangy_Dog> for the just in case 2023-07-02T20:12:06 < Mangy_Dog> but 2023-07-02T20:12:06 < Mangy_Dog> yeah 2023-07-02T20:12:15 < Mangy_Dog> id still like to know before hand :p 2023-07-02T20:12:15 < jpa-> no, for in any case 2023-07-02T20:12:39 < Mangy_Dog> well yes 2023-07-02T20:14:09 < jpa-> it seems to start in sleep mode that you need spi command to get out of 2023-07-02T20:17:31 < Mangy_Dog> nods 2023-07-02T20:21:47 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-02T20:30:42 -!- karlp [karlp@palmtreev6.beeroclock.net] has quit [Server closed connection] 2023-07-02T20:31:00 -!- karlp [karlp@palmtreev6.beeroclock.net] has joined ##stm32 2023-07-02T20:33:35 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 264 seconds] 2023-07-02T21:04:00 < Mangy_Dog> well 2023-07-02T21:04:01 < Mangy_Dog> lol 2023-07-02T21:04:10 < Mangy_Dog> tons of searching and github scraping 2023-07-02T21:04:18 < Mangy_Dog> but i MAY have found a set of init commands for it :d 2023-07-02T21:04:34 < Mangy_Dog> id need to go through it all and reference the datasheet to see what i need to keep or change or remove 2023-07-02T21:04:56 < Mangy_Dog> https://github.com/moononournation/Arduino_GFX/blob/d35c84cc5b46c0161bd4950a2e9de0e470ecbe9b/src/display/Arduino_RGB_Display.h#L215 2023-07-02T22:08:44 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-02T22:09:05 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-07-02T22:25:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-18eb-f53-967a-9809.fixed6.kpn.net] has joined ##stm32 2023-07-02T22:40:55 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-02T22:45:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-07-02T23:17:31 -!- Suspect [~rod@pa49-197-217-229.pa.qld.optusnet.com.au] has joined ##stm32 --- Day changed ma heinä 03 2023 2023-07-03T00:05:54 < ventYl> Mangy_Dog: isn't it just another variant for *the one and only* SPI display communication protocol? 2023-07-03T00:07:46 < Mangy_Dog> theres one and only? 2023-07-03T00:08:28 < Mangy_Dog> i mean the spi is an option but im gonna use parallel 2023-07-03T00:15:55 < ventYl> I've seen a few SPI displays and the bulk of the communication protocol was almost identical 2023-07-03T00:15:58 < ventYl> there were some changes 2023-07-03T00:16:15 < ventYl> in extended features, but the core was the same 2023-07-03T00:20:28 -!- Suspect [~rod@pa49-197-217-229.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-07-03T00:21:18 < ventYl> in fact the protocol is even transport agnostic 2023-07-03T00:21:56 < ventYl> I've seen controller with datasheet full of read this, read that function, but physically only the SCK and MOSI were wired so no read command could be reasonably issued 2023-07-03T00:33:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-03T00:43:53 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-03T01:22:47 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-07-03T01:45:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-18eb-f53-967a-9809.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-03T02:01:50 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-03T02:25:49 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-03T02:30:32 -!- drfff [~k\o\w@72.53.234.240] has quit [Read error: Connection reset by peer] 2023-07-03T04:04:48 -!- dreamcat4 [uid157427@id-157427.hampstead.irccloud.com] has joined ##stm32 2023-07-03T04:43:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-07-03T04:47:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-03T04:54:37 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd0b-8abd-fc66-5ef5.fixed6.kpn.net] has joined ##stm32 2023-07-03T04:56:47 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-03T05:03:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd0b-8abd-fc66-5ef5.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-03T05:15:27 -!- nomorekaki [~nomorekak@37-219-170-184.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-03T05:22:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-03T05:49:02 -!- qyx [~qyx@84.245.121.252] has quit [Ping timeout: 260 seconds] 2023-07-03T05:50:39 -!- qyx [~qyx@84.245.120.161] has joined ##stm32 2023-07-03T06:53:27 -!- Thorn_ [~Thorn@2001:8a0:dfd7:d500:6571:1d08:5085:bcc3] has joined ##stm32 2023-07-03T06:54:38 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-07-03T06:59:53 -!- Thorn_ [~Thorn@2001:8a0:dfd7:d500:6571:1d08:5085:bcc3] has quit [Ping timeout: 246 seconds] 2023-07-03T07:27:27 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-03T08:09:59 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-03T08:53:34 < jpa-> ventYl: ST7701 does not have framebuffer RAM, AFAIK it is incapable of receiving image data by SPI, only by RGB bus 2023-07-03T09:00:52 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-03T09:05:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e032-f4e2-3c74-9280.fixed6.kpn.net] has joined ##stm32 2023-07-03T09:24:02 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-03T09:24:22 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e032-f4e2-3c74-9280.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-03T09:32:48 -!- mawk [mawk@wireguard/contributor/mawk] has quit [Server closed connection] 2023-07-03T09:33:02 -!- mawk [mawk@wireguard/contributor/mawk] has joined ##stm32 2023-07-03T09:48:31 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-03T09:48:31 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-03T09:48:31 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-03T09:54:37 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-03T10:42:24 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 250 seconds] 2023-07-03T10:42:44 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-07-03T10:43:11 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-03T10:43:15 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-03T10:50:22 -!- Kerr [~quassel@174.31.113.57] has joined ##stm32 2023-07-03T11:35:32 -!- specing [~specing@user/specing] has quit [Ping timeout: 240 seconds] 2023-07-03T11:41:22 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-03T12:00:40 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4d48:af37:bffb:53b4] has joined ##stm32 2023-07-03T12:05:59 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4d48:af37:bffb:53b4] has quit [Ping timeout: 264 seconds] 2023-07-03T12:06:37 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:bddd:fe5c:7f8c:fdb8] has joined ##stm32 2023-07-03T12:17:00 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-03T12:24:35 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:bddd:fe5c:7f8c:fdb8] has quit [Ping timeout: 264 seconds] 2023-07-03T12:24:52 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b0ff:917e:e592:8c30] has joined ##stm32 2023-07-03T12:32:26 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-03T12:32:47 < Laurence_b> has anyone here ever used stm32duino? 2023-07-03T12:32:55 < Laurence_b> I cant get it to compile timer code 2023-07-03T12:33:13 < Laurence_b> TIM_TypeDef undefined 2023-07-03T12:40:42 < drzacek> have you installed the correct core packages? 2023-07-03T12:41:01 < Laurence_b> I havent a clue 2023-07-03T12:41:36 < Laurence_b>  "manage libraries"  ? 2023-07-03T12:42:44 < Laurence_b> what library name should I look for? 2023-07-03T12:42:56 < Laurence_b> oh, "core package" 2023-07-03T12:43:11 < drzacek> aka the stmduino itself if I'm not mistaken 2023-07-03T12:43:19 < Laurence_b> oh 2023-07-03T12:43:26 < Laurence_b> well it compiles basic demos 2023-07-03T12:43:47 < drzacek> you do it in arduino ide, right? 2023-07-03T12:44:53 < Laurence_b> yes 2023-07-03T12:45:03 < Laurence_b> how do I find the board manager config? 2023-07-03T12:45:47 < drzacek> https://github.com/stm32duino/Arduino_Core_STM32 2023-07-03T12:46:20 < drzacek> in getting started, you need to open preferences and paste the link, it will then update and stm32 will be available in boards manager 2023-07-03T12:46:47 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b0ff:917e:e592:8c30] has quit [Ping timeout: 264 seconds] 2023-07-03T12:48:17 < Laurence_b> ah its installing, thanks 2023-07-03T12:48:27 < drzacek> np 2023-07-03T12:54:28 < Laurence_b> hmm same error tho 2023-07-03T12:54:38 < Laurence_b> 'TIM_TypeDef' was not declared in this scope 2023-07-03T12:58:24 < Laurence_b> google isnt helping :( 2023-07-03T12:58:45 < drzacek> missing include? 2023-07-03T13:00:12 < drzacek> hmm shouldnt it be TIM_HandleTypeDef? 2023-07-03T13:00:25 < drzacek> that's whats HAL in my cubeIDE is using 2023-07-03T13:00:37 < Laurence_b> found the issue 2023-07-03T13:00:39 < Laurence_b> https://raw.githubusercontent.com/stm32duino/STM32Examples/main/examples/Peripherals/HardwareTimer/Timebase_callback/Timebase_callback.ino 2023-07-03T13:00:56 < Laurence_b> that code gives me a compile error as library is too old 2023-07-03T13:01:03 < drzacek> oh no, it also has TIM_TypeDef 2023-07-03T13:08:40 < Laurence_b> for some reason it has installed on stm32 core 2023-07-03T13:10:34 < Laurence_b> nah something makes no sense 2023-07-03T13:10:47 < Laurence_b> I cant find the value of STM32_CORE_VERSION 2023-07-03T13:11:47 < Laurence_b> aha its not defined 2023-07-03T13:14:26 < Laurence_b> hmm I'm out of ideas 2023-07-03T13:16:51 < drzacek> have you actually CHOSEN the right board in board selector? 2023-07-03T13:17:08 < drzacek> https://github.com/stm32duino/Arduino_Core_STM32/wiki/img/boardslist.png 2023-07-03T13:17:39 < drzacek> https://github.com/stm32duino/Arduino_Core_STM32/wiki/Getting-Started this goes a bit more in detail. 2023-07-03T13:17:48 < drzacek> otherwise might wanna ask in #arduino? 2023-07-03T13:21:58 < Laurence_b> ok i'll try there 2023-07-03T13:22:14 < Laurence_b> I've selected "Maple" 2023-07-03T13:23:12 < zyp> why bother? 2023-07-03T13:25:47 < Laurence_b> lol 2023-07-03T13:26:33 < Laurence_b> something is badly wrong with something 2023-07-03T13:27:34 < Laurence_b> yeah I might have to give up 2023-07-03T13:29:18 < Laurence_b> someone has got to have used maple with stm32duino 2023-07-03T13:29:38 < zyp> probably, but why do *you* want to do it? 2023-07-03T13:31:02 < Laurence_b> because there are some useful libraries that might speed things along 2023-07-03T13:31:10 < Laurence_b> but if I cant even compile code its no good 2023-07-03T13:31:40 < zyp> fighting getting shit to build doesn't sound like it's speeding anything along 2023-07-03T13:35:30 < drzacek> zyp, while I agree, this is natural part of the process and sofar I encountered the problem with each and every IDE, system and MCU I worked with. there is always some weird quirk to get shit running, something "obvious"* missing that makes it not run 2023-07-03T13:37:46 < Laurence_b> ok, I think I might have a strategy 2023-07-03T13:38:24 < Laurence_b> use the generic F1 board from the stmicroelectronics core boards package, then write my own custom board variant for maple 2023-07-03T13:38:46 < Laurence_b> problem is that generic stm32f1 wont compile as libraries are missing wire.h 2023-07-03T13:40:52 < drzacek> may I ask what is the end goal? wouldn't it be easier to just use cubeIDE with HAL? 2023-07-03T13:42:01 < Laurence_b> maybe, but I have a maple clone 2023-07-03T13:42:04 < Laurence_b> ooh it compiled 2023-07-03T13:43:44 < karlp> lolrence doing a mangy? 2023-07-03T13:43:54 < drzacek> it doesn't matter, you only need to select the MCU and define the pins in easy to use gui hardware configurator 2023-07-03T13:45:11 < Laurence_b> any ideas where boards.txt is located? 2023-07-03T13:57:54 < Laurence_b> ah its more complex, need to write some c code 2023-07-03T14:01:03 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-03T14:07:18 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:8af:86a4:d475:2d34] has joined ##stm32 2023-07-03T14:27:18 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:8af:86a4:d475:2d34] has quit [Ping timeout: 250 seconds] 2023-07-03T14:27:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:2cc8:24d2:8188:1c22] has joined ##stm32 2023-07-03T14:32:04 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-03T14:32:52 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:2cc8:24d2:8188:1c22] has quit [Ping timeout: 246 seconds] 2023-07-03T14:33:37 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c9f0:d2c7:b43b:a6f4] has joined ##stm32 2023-07-03T15:04:51 -!- Kamilion [kamilion@copper.sllabs.com] has quit [Read error: Connection reset by peer] 2023-07-03T15:06:25 -!- Kamilion [kamilion@copper.sllabs.com] has joined ##stm32 2023-07-03T15:42:41 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-03T16:20:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-03T16:46:44 -!- grindhold_ [~quassel@mail.skarphed.org] has quit [Read error: Connection reset by peer] 2023-07-03T16:51:27 -!- grindhold_ [~quassel@mail.skarphed.org] has joined ##stm32 2023-07-03T17:07:02 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-03T17:10:22 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 252 seconds] 2023-07-03T17:24:35 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-03T17:37:33 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Read error: Connection reset by peer] 2023-07-03T17:51:31 -!- catphish [~quassel@user/catphish] has quit [Read error: Connection reset by peer] 2023-07-03T17:51:42 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-07-03T18:34:05 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-03T18:40:40 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-07-03T19:44:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-cc2b-951c-e996-fd87.fixed6.kpn.net] has joined ##stm32 2023-07-03T19:56:40 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-cc2b-951c-e996-fd87.fixed6.kpn.net] has quit [Read error: Connection reset by peer] 2023-07-03T20:27:37 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-03T21:14:16 -!- nomorekaki [~nomorekak@37-136-106-128.rev.dnainternet.fi] has joined ##stm32 2023-07-03T21:27:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c0d-745-6304-45e1.fixed6.kpn.net] has joined ##stm32 2023-07-03T22:08:48 -!- oz4ga [~tim@hator.sunsite.lv] has quit [Server closed connection] 2023-07-03T22:09:04 -!- oz4ga [~tim@hator.sunsite.lv] has joined ##stm32 2023-07-03T22:22:12 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-07-03T23:09:16 < nomorekaki> early jello 2023-07-03T23:29:57 < Steffanx> Gooday sir nomorekaki 2023-07-03T23:30:31 < nomorekaki> how was steffday? 2023-07-03T23:35:08 < Steffanx> It was alright 2023-07-03T23:37:16 < nomorekaki> details 2023-07-03T23:37:36 < nomorekaki> please 2023-07-03T23:42:30 < nomorekaki> the day of secret steff 2023-07-03T23:47:17 < PlasmaHH> Just a quick reality check, what would you expect on an STM32U5A5 (or similar) would happen if you just try to read any of the TPIU peripheral registers? 2023-07-03T23:47:33 < Steffanx> Just work nomorekaki. 2023-07-03T23:48:01 < Steffanx> Working on secret new product x, y and z. 2023-07-03T23:51:20 < nomorekaki> yes 2023-07-03T23:54:30 < Steffanx> The client doesn't want me to disclose more. 2023-07-03T23:54:57 < nomorekaki> yes 2023-07-03T23:56:27 < nomorekaki> what you do before work? 2023-07-03T23:59:33 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:d8fc:6bf4:4999:a653] has joined ##stm32 --- Day changed ti heinä 04 2023 2023-07-04T00:01:29 < Steffanx> Sleep. 2023-07-04T00:01:45 < nomorekaki> yes 2023-07-04T00:01:47 < Steffanx> Drive in my car 2023-07-04T00:01:56 < Steffanx> Say hi to my colleagues 2023-07-04T00:02:06 < nomorekaki> do you toss your body in a car before waking up? 2023-07-04T00:02:08 < Steffanx> Go to the coffee corner. 2023-07-04T00:02:16 < Steffanx> Yeah pretty much 2023-07-04T00:02:25 < nomorekaki> okay we are similar in that sense 2023-07-04T00:03:01 < nomorekaki> just wake up during the day 2023-07-04T00:03:40 < Steffanx> And now it's 23.00. A good time to be finally awake 2023-07-04T00:04:40 < Steffanx> So enlighten us with today's activities nomorekaki 2023-07-04T00:06:32 < nomorekaki> yesterday I woke up and had a bread and coffee then I went driving tractor for few hours 2023-07-04T00:06:55 < nomorekaki> then around midday I drink a lot of coffee and eat pouridge 2023-07-04T00:07:09 < Steffanx> Oh it's tomorrow already 2023-07-04T00:07:58 < nomorekaki> then I drove tractor until 1800 or something and then ate dont remember what 2023-07-04T00:08:05 < nomorekaki> then I drove more tractor 2023-07-04T00:08:22 < Steffanx> True farmers life. 2023-07-04T00:08:33 < nomorekaki> yesteryesterday 2023-07-04T00:08:37 < nomorekaki> today is rainday 2023-07-04T00:08:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c0d-745-6304-45e1.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-04T00:09:29 < nomorekaki> around 0330 I stopped driving tractor and went to sauna 2023-07-04T00:10:20 < Steffanx> Fell asleep and are a shrimpy 🦐 now? 2023-07-04T00:11:32 < nomorekaki> I should have driven to 0800 or 0900 because rain f'ed the fields I didn't cover 2023-07-04T00:12:44 < nomorekaki> it's mud now and cannot carry the weight of machines 2023-07-04T00:15:11 < nomorekaki> just a small percentage of fields I didn't get to but hmm 2023-07-04T00:17:17 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-04T00:18:47 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-04T00:19:20 < Steffanx> Awh. 2023-07-04T00:19:46 < Steffanx> What's being farmed nomorekaki ? 2023-07-04T00:20:00 < nomorekaki> just cow poops 2023-07-04T00:21:06 < nomorekaki> I was returning the cow poops to fields so that that cow poop can become a cow poop again 2023-07-04T00:23:51 < Steffanx> Ah the smelly stuff. Fun fun 2023-07-04T00:29:09 < Steffanx> I think most farmers here inject the shit so its not as smelly. 2023-07-04T00:29:12 -!- catphish [~quassel@user/catphish] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 2023-07-04T00:30:28 < nomorekaki> yes pizza cutter type of thing multiplied by 50 or so 2023-07-04T00:32:43 < nomorekaki> apparently you can also add small amount of nitric acid to make it foam out of nozzles 2023-07-04T00:34:01 < nomorekaki> idea is more about preserving ammonia in the poops than the smell but works for the smell too 2023-07-04T01:03:55 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-04T01:05:11 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-04T01:22:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-07-04T01:32:37 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-04T01:56:46 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 260 seconds] 2023-07-04T02:08:06 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-04T02:24:20 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-04T02:31:11 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 264 seconds] 2023-07-04T02:46:29 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-07-04T02:56:01 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-04T03:13:22 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-04T03:15:14 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 246 seconds] 2023-07-04T03:29:50 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-07-04T03:38:34 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-04T04:10:07 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 246 seconds] 2023-07-04T04:14:47 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-04T04:17:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-04T04:21:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-04T04:24:59 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-07-04T04:43:50 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5320))] 2023-07-04T04:43:55 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-04T04:50:38 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-07-04T04:57:20 -!- Thorn [~Thorn@188.251.245.218] has joined ##stm32 2023-07-04T04:57:20 -!- Thorn [~Thorn@188.251.245.218] has quit [Changing host] 2023-07-04T04:57:20 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-04T05:42:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-04T06:05:48 -!- leptonix [~leptonix@134.122.103.122] has quit [Server closed connection] 2023-07-04T06:06:03 -!- leptonix [~leptonix@134.122.103.122] has joined ##stm32 2023-07-04T07:08:21 -!- Kerr [~quassel@174.31.113.57] has quit [Read error: Connection reset by peer] 2023-07-04T07:13:18 -!- blathijs [~matthijs@tika.stderr.nl] has quit [Server closed connection] 2023-07-04T07:13:43 -!- blathijs [~matthijs@tika.stderr.nl] has joined ##stm32 2023-07-04T07:37:00 -!- nomorekaki [~nomorekak@37-136-106-128.rev.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2023-07-04T08:20:56 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-04T08:50:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c9f0:d2c7:b43b:a6f4] has quit [Ping timeout: 264 seconds] 2023-07-04T09:01:03 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-04T09:11:20 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-04T09:19:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-04T09:41:45 -!- srk [~sorki@user/srk] has quit [Remote host closed the connection] 2023-07-04T09:42:04 -!- srk [~sorki@user/srk] has joined ##stm32 2023-07-04T10:13:33 -!- grindhold_ [~quassel@mail.skarphed.org] has quit [Read error: Connection reset by peer] 2023-07-04T10:18:29 -!- grindhold_ [~quassel@mail.skarphed.org] has joined ##stm32 2023-07-04T10:23:48 -!- ventYl [~ventyl@adsl-dyn11.78-99-63.t-com.sk] has quit [Server closed connection] 2023-07-04T10:24:02 -!- ventYl [~ventyl@adsl-dyn11.78-99-63.t-com.sk] has joined ##stm32 2023-07-04T10:48:19 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-04T10:57:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-04T11:47:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4c06:c432:5ba2:930d] has joined ##stm32 2023-07-04T11:55:08 < drzacek> hello there 2023-07-04T11:55:14 < drzacek> A small sanity check please? https://pic.infini.fr/C93CPlW2/RNARNfiv.png 2023-07-04T11:56:06 < drzacek> with MCU running at 80MHz, I set the prescaler value to 79 to get 1MHz (cause it isn't CLOCK / Prescaler, it is "Prescaler_value of 0 means it is CLOCK/1), so I need to substract, right? 2023-07-04T11:56:40 < drzacek> but for the count value, I want the full 16 bits, then it will overflow "naturally", so for comparing math should work fine? 2023-07-04T11:56:52 < drzacek> or do I put that "-1" there too? 2023-07-04T12:25:45 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-07-04T12:49:59 < qyx> 0xffff is the right value 2023-07-04T12:50:11 < qyx> for the ARR register 2023-07-04T12:55:48 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-04T13:11:38 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T13:11:40 < Laurence_b> const PinName outputs[8]={PA8,PB13,PA0,PA1,PC6,PC7,PB6,PB7}; 2023-07-04T13:11:54 < Laurence_b> error: invalid conversion from 'int' 2023-07-04T13:11:56 < Laurence_b> wtf? 2023-07-04T13:16:55 < ventYl> isn't it enum class? 2023-07-04T13:23:24 < Laurence_b> PinName(PA8) etc works 2023-07-04T13:23:32 < Laurence_b> nvm, "fixed" it 2023-07-04T13:25:59 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-04T13:36:55 < drzacek> qyx, thank you kind sir 2023-07-04T13:39:53 < ventYl> Laurence_b: out of curiosity, wouldn't {{ }} fix it? 2023-07-04T13:40:05 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T13:40:10 < ventYl> apparently not 2023-07-04T13:43:22 < PlasmaHH> quick reality check, what would you expect on an STM32U5A5 (or similar) would happen if you just try to read any of the TPIU peripheral registers? 2023-07-04T13:50:52 < jpa-> if you have enabled DEMCR_TRCENA, i would expect you to get the register value back 2023-07-04T13:51:38 < jpa-> on some STM32's, you cannot actually enable the trace module until a SWD debugger has connected, but if it has, CPU can read/write the registers fine 2023-07-04T13:52:03 < jpa-> AFAIK that applies to at least STM32F1, but this is poorly documented so i'm not sure whether it applies to all series 2023-07-04T13:57:58 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T13:58:10 < Laurence_b> hmm I badly need jtag on arduino clone board 2023-07-04T13:58:26 < PlasmaHH> jpa-: and the epxectation when its not enabled? 2023-07-04T14:00:18 < jpa-> PlasmaHH: IIRC writes do not get applied but reads return the register value 2023-07-04T14:00:35 < Laurence_b> https://pastebin.com/SPGm1aUR 2023-07-04T14:00:37 < jpa-> but could also return 0, i'm not sure if i have tested 2023-07-04T14:01:09 < PlasmaHH> jpa-: ok, so my expectations aren't that bad then... st has a different opinion and locks up the chip when I do ^^ 2023-07-04T14:01:25 < ventYl> some stuff has kind-of undocumented behavior 2023-07-04T14:01:29 < Laurence_b> seems to hardfault at line 241 2023-07-04T14:01:38 < Laurence_b> - first time it reaches line 241 2023-07-04T14:01:42 < jpa-> PlasmaHH: hmm, might have been so also 2023-07-04T14:02:01 < jpa-> PlasmaHH: maybe that is the reason why i return early here: https://github.com/PetteriAimonen/STM32_Trace_Example/blob/master/trace_example.c#L33-L40 2023-07-04T14:02:34 < ventYl> Laurence_b: I see you converted to Italian quisine 2023-07-04T14:03:28 < Laurence_b> lol 2023-07-04T14:03:29 < PlasmaHH> jpa-: yeah, I mean writes, ok, maybe, but reads... all other registers return 0 and those lock up the thing ... extremely annoying to debug and very annoying for the coworker having to get up and to your desk to reset the thing when you work from home ;) 2023-07-04T14:04:04 < drzacek> set up second device to remotely pull GPIO high/low for remote resets 2023-07-04T14:04:26 < drzacek> also shouldnt stlink be able to reset too? 2023-07-04T14:04:32 < Laurence_b> I dont understand how STM_PIN_CHANNEL can possibly work 2023-07-04T14:04:33 < PlasmaHH> drzacek: won't work, needs to be power cycled... I now have a setup for power cycling... 2023-07-04T14:04:45 < Laurence_b> how does it know which timer to select 2023-07-04T14:06:17 < drzacek> power cycling should be even easier? 230V smart plug? 2023-07-04T14:06:22 < drzacek> or any other relay? 2023-07-04T14:06:36 < PlasmaHH> yeah, got a relay board... 2023-07-04T14:06:49 < drzacek> neat 2023-07-04T14:06:56 < PlasmaHH> but things take a while in the company to order, received, approve... 2023-07-04T14:07:35 < drzacek> yeah I know something about that 2023-07-04T14:07:42 < jpa-> PlasmaHH: on STM32H7 there were plenty of bus lockup opportunities, maybe the same is true for STM32U also 2023-07-04T14:08:04 < drzacek> isn't u5 their newest family? 2023-07-04T14:08:09 < PlasmaHH> drzacek: it is 2023-07-04T14:08:11 < jpa-> NRST should work though 2023-07-04T14:08:12 < drzacek> (beside C0) 2023-07-04T14:08:19 < PlasmaHH> jpa-: nope, doesn't 2023-07-04T14:08:34 < PlasmaHH> jpa-: yeah, probably, its sad though that it is so undocumented and their support isn't really nice about this... 2023-07-04T14:08:43 < jpa-> sounds funny, but i guess it may not reset the debug domain 2023-07-04T14:08:45 < ventYl> PlasmaHH: some peripherals have poorly documented behavior, such as some DTW reads lead to undocumented HardFaults 2023-07-04T14:09:00 < ventYl> PlasmaHH: or maybe you are just lucky and you hit a new bug :) 2023-07-04T14:09:21 < PlasmaHH> ventYl: we will see when the next errata version arrives .. 2023-07-04T14:10:09 < ventYl> PlasmaHH: by any chance, isn't your core running as unprivileged? 2023-07-04T14:10:26 < PlasmaHH> but their support was like "well of course you need to enable it first before accessing the registers" and my complaint about it maybe not locking up so hard was totally ignored... at least "sorry its that way" would have been nice ;) 2023-07-04T14:11:20 < PlasmaHH> ventYl: when I discovered it should have been in the reset default which i guess is unpriviliged? been a while... 2023-07-04T14:12:14 < ventYl> reset default is privileged thread-mode 2023-07-04T14:12:55 < ventYl> you never run unprivileged unless you explicitly arrange to do so 2023-07-04T14:13:24 < PlasmaHH> ok, then it was that way around... I tend to forget how things are setup once I've done with it ;) 2023-07-04T14:14:07 < ventYl> I tend to try stupid things and then discover surprising interactions 2023-07-04T14:15:07 < PlasmaHH> I discovered that one when I wanted to implement some kind of "save all peripheral registers" feature for internal debugging... 2023-07-04T14:25:43 < PlasmaHH> jpa-: do you have any intimate knowledge of the ETM tracing on the U5 ? I have some trouble tracing with just one data pin and getting it to run with jtrace/ozone and was wondering if there would be anything fundamentally different than on the F4 2023-07-04T14:26:25 < jpa-> the registers vary a bit between models 2023-07-04T14:26:32 < jpa-> are you getting stuff outputted on SWO pin? 2023-07-04T14:32:35 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T14:49:11 < jadew> Q: Opening bracket on same line for classes and functions or on their own line? 2023-07-04T14:55:24 < jpa-> A: Follow the existing style in the project, otherwise throw a coin 2023-07-04T14:55:50 < PlasmaHH> jpa-: I am using the dedicated trace pin + clk setup... thing is, there is data but somehow ozone hiccups on it and gets confused and it trashes the integreated power tracing functionality... 2023-07-04T14:56:01 < PlasmaHH> jadew: on their own 2023-07-04T14:56:09 < zyp> jadew, same unless somebody forces you to choose otherwise 2023-07-04T14:57:46 < jadew> same here 2023-07-04T15:00:07 < zyp> PlasmaHH, how is the trace data clocked? 2023-07-04T15:00:32 < zyp> on f4, traceclk is derived from sysclk, but on h7 it's got a dedicated pll output 2023-07-04T15:00:37 < zyp> not sure what u5 got 2023-07-04T15:00:43 < PlasmaHH> zyp: on U5 its half the sysclk 2023-07-04T15:00:56 < zyp> right, same as f4 then 2023-07-04T15:01:54 < jadew> my new boss is very controlling... I'm not sure I'll be working here for as long as I hoped 2023-07-04T15:02:21 < zyp> other difference is ETMv3 vs ETMv4, but unless your ozone is very old, I expect that's already supported and not the issue 2023-07-04T15:02:50 < zyp> jadew, are you thinking about switching jobs because you don't get to decide where to put braces? 2023-07-04T15:03:19 < jadew> zyp, among other things, yes, especially since it's my job to decide that and the codebase currently doesn't have a clear coding style 2023-07-04T15:05:35 < zyp> sounds like you're getting hung up on bikeshedding 2023-07-04T15:05:37 < jadew> I don't mind using the silly opening bracket coding style, but I fear it's going to be like this all the time 2023-07-04T15:06:29 < jadew> it's not me that's doing that, it's my boss 2023-07-04T15:06:45 < zyp> FWIW I disagree with my company's default coding style as well, but I don't think it's worth wasting time arguing about it 2023-07-04T15:07:13 < jadew> my role is to literally set standards and crap like that, but my boss keeps interjecting and I have to explain and convince him about every little detail 2023-07-04T15:07:16 < jadew> including this thing 2023-07-04T15:09:19 < jadew> tbh, I don't mind that from time to time - it's his right, but I feel like I have to do extra work in order to be able to do my job 2023-07-04T15:12:33 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-04T15:13:22 < PlasmaHH> zyp: my rough guess is that something in the u5 is so new that ozone gets behind on processing it and everything internally goes out of sync... sadly their support says "well it works with the f4 demo board, what do you need more" 2023-07-04T15:14:43 < zyp> haha 2023-07-04T15:15:22 < jpa-> is ozone able to dump/take the trace stream from a file? that could be a reasonable way to provide the support something to try 2023-07-04T15:15:39 < zyp> Dave told me yesterday he was making some progress on ETMv4 support in orbuculum, so soon that'll be worth a try 2023-07-04T15:15:47 < PlasmaHH> zyp: and the full personal support for the jtracer ran out, you only have one year with the device, guess what you have to do to get more support... 2023-07-04T15:16:04 < PlasmaHH> jpa-: dunno, might have a look 2023-07-04T15:17:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-04T15:18:47 < qyx> oh PlasmaHH is the first U5 challenger here 2023-07-04T15:19:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-04T15:19:56 < PlasmaHH> qyx: not sure if thats a good or bad thing ;) 2023-07-04T15:20:54 < qyx> I haev a board with a U5 on my mid-term to-do list 2023-07-04T15:21:09 < qyx> I plan to do it before 2030, ideally 2023-07-04T15:21:36 < PlasmaHH> so about when it is not sold anymore? ;) 2023-07-04T15:22:22 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-07-04T15:22:46 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-04T15:22:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-04T15:27:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-04T15:59:09 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4c06:c432:5ba2:930d] has quit [Ping timeout: 240 seconds] 2023-07-04T16:02:02 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:25c1:cf67:24b6:7ba2] has joined ##stm32 2023-07-04T16:03:40 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:25c1:cf67:24b6:7ba2] has quit [Client Quit] 2023-07-04T16:09:56 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T16:12:34 < Laurence_b> nice 2023-07-04T16:12:38 < Laurence_b> pinmap_peripheral return NULL 2023-07-04T16:29:55 < Laurence_b> https://github.com/stm32duino/Arduino_Core_STM32/blob/15d59a3a4633badd38c27530ce90f3cfefdab592/variants/STM32F1xx/F103R(8-B)T/PeripheralPins.c 2023-07-04T16:30:05 < Laurence_b> why is line 100 set to "NONE" ? 2023-07-04T16:30:19 < Laurence_b> {PA_0, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, AFIO_NONE, 1, 0)}, // TIM2_CH1 2023-07-04T16:31:06 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3c9d:cd39:dfba:7a5d] has joined ##stm32 2023-07-04T16:31:52 < Laurence_b> for some reason Instance = (TIM_TypeDef *)pinmap_peripheral(outputs[n*2], PinMap_PWM); returns NULL for PA0 2023-07-04T16:43:12 < ventYl> Laurence_b: why the F are you using Eeerduino? 2023-07-04T16:56:18 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-04T17:04:20 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-04T17:05:08 < Laurence_b> hmm good question... 2023-07-04T17:07:18 < karlp> fheh, esp demo wave player, works good. add while(1) loop to it to keep going -> crashes. 2023-07-04T17:07:24 < karlp> demo mallocs but never frees :) 2023-07-04T17:09:04 < PlasmaHH> give it a sock 2023-07-04T17:09:33 < karlp> I wonder why it mallocs rather than using stack space personally, but there might be reasons for that... 2023-07-04T17:09:51 < karlp> I guess stack is iram/dram, and heap can be in the external psram.. 2023-07-04T17:11:29 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T17:25:08 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T17:25:54 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 260 seconds] 2023-07-04T17:26:00 < ventYl> karlp: what would prevent it from having stack in psram? 2023-07-04T17:28:48 < jpa-> psram is slower, so if you put stack there, everything will run slower 2023-07-04T17:35:59 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T17:38:35 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-04T17:47:04 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T17:50:51 < Laurence_b> hmm interdasting 2023-07-04T17:51:02 < Laurence_b> stm32duino hardfaults on return from loop() 2023-07-04T18:16:03 -!- Laurence_b56 [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T18:16:56 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T18:24:17 -!- Laurence_b56 [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-04T18:27:16 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-04T18:28:50 -!- fengdaolong [~fengdaolo@111.48.77.148] has joined ##stm32 2023-07-04T18:37:28 < qyx> rip max25231 2023-07-04T18:41:41 < qyx> oh found the issue, it was populated upside down 2023-07-04T19:01:58 -!- fengdaolong [~fengdaolo@111.48.77.148] has quit [Quit: WeeChat 4.0.1] 2023-07-04T19:09:55 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-04T19:57:47 < Steffanx> Time to find a better assembly house qyx 2023-07-04T19:58:34 < jpa-> yeah, rotated 180° i would understand but upside down takes some real dedication 2023-07-04T20:01:00 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3c9d:cd39:dfba:7a5d] has quit [Quit: Leaving] 2023-07-04T20:01:25 < zyp> happens sometimes 2023-07-04T20:02:11 < qyx> it probably corrupted the ADC too 2023-07-04T20:02:33 < qyx> all inputs can go to 0.7 V max 2023-07-04T20:42:43 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-04T20:59:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-404d-fce0-e83c-c416.fixed6.kpn.net] has joined ##stm32 2023-07-04T21:25:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-04T22:23:23 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-04T22:37:07 -!- Luggi09498284764 [~lux@91.65.169.204] has joined ##stm32 2023-07-04T22:49:25 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-404d-fce0-e83c-c416.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-04T23:02:29 -!- Luggi09498284764 [~lux@91.65.169.204] has quit [Ping timeout: 240 seconds] 2023-07-04T23:19:32 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-04T23:21:28 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-07-04T23:21:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-07-04T23:40:05 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has joined ##stm32 2023-07-04T23:52:30 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-04T23:53:01 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 --- Day changed ke heinä 05 2023 2023-07-05T00:05:28 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 240 seconds] 2023-07-05T00:19:23 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-05T00:44:23 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 264 seconds] 2023-07-05T01:05:29 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-05T01:10:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-05T01:28:54 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-05T01:45:07 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 246 seconds] 2023-07-05T01:45:51 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-05T02:02:48 -!- zapb_ [~zapb@static.127.92.47.78.clients.your-server.de] has quit [Server closed connection] 2023-07-05T02:02:57 -!- zapb_ [~zapb@2a01:4f8:c010:372f::1] has joined ##stm32 2023-07-05T02:06:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-05T02:13:09 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 240 seconds] 2023-07-05T02:13:13 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-05T02:14:07 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-05T02:46:28 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 240 seconds] 2023-07-05T02:46:31 -!- ferdna_ [~ferdna@ip24-255-219-65.ks.ks.cox.net] has joined ##stm32 2023-07-05T02:58:58 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-05T03:18:37 -!- ferdna_ [~ferdna@ip24-255-219-65.ks.ks.cox.net] has quit [Quit: Leaving] 2023-07-05T03:19:33 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-05T03:27:34 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-05T04:42:41 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-05T04:56:02 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-05T05:48:10 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-05T05:53:39 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-05T05:53:59 -!- qyx [~qyx@84.245.120.161] has quit [Ping timeout: 264 seconds] 2023-07-05T05:55:37 -!- qyx [~qyx@84.245.121.217] has joined ##stm32 2023-07-05T06:16:00 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-05T06:16:29 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-05T07:20:46 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 260 seconds] 2023-07-05T07:25:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-05T07:25:14 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-05T07:38:28 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 240 seconds] 2023-07-05T07:40:51 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-05T09:35:59 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 264 seconds] 2023-07-05T09:36:36 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-07-05T09:46:07 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-05T09:54:01 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-05T09:58:20 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-07-05T10:09:19 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-05T10:15:12 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-05T10:55:01 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:1841:4d5d:9414:61fb] has joined ##stm32 2023-07-05T10:57:41 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:d8fc:6bf4:4999:a653] has quit [Ping timeout: 246 seconds] 2023-07-05T11:54:00 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-05T11:54:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-05T11:57:02 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 260 seconds] 2023-07-05T11:57:30 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-05T12:02:11 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-05T12:02:40 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3c9d:cd39:dfba:7a5d] has joined ##stm32 2023-07-05T12:15:34 < Laurence_b> does openocd use stutil? 2023-07-05T12:17:17 * Laurence_b is trying to use st-link with visual studio code 2023-07-05T12:38:20 < jpa-> no, it doesn't 2023-07-05T12:45:24 < Laurence_b> this is not going well 2023-07-05T12:45:35 * Laurence_b is trying to use visual studio code with stm32 2023-07-05T12:46:07 < Laurence_b> I think maybe I need something called launch.json 2023-07-05T12:50:14 < specing> why do you bring suffering upon yourself, Laurence_b ... 2023-07-05T12:50:30 < Laurence_b> lol 2023-07-05T12:50:37 < Laurence_b> it looks easy in online tutorials 2023-07-05T12:53:29 < Laurence_b> yeah I dont know wtf is even going on 2023-07-05T12:53:40 < Laurence_b> I need to do... something 2023-07-05T12:59:34 < specing> Emacs 2023-07-05T13:04:24 < jpa-> you could try platformio 2023-07-05T13:04:47 < jpa-> but if you are going plain vscode, then you need to make the few json files to get automatic build / debug stuff going 2023-07-05T13:05:31 < Laurence_b>  a """"""few"""""" 2023-07-05T13:05:55 < Laurence_b> https://stm32duinoforum.com/forum/viewtopic_f_41_t_2366.html 2023-07-05T13:11:28 < Laurence_b> ok people are saying I should install platformio 2023-07-05T13:34:00 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-05T13:57:11 < ventYl> Laurence_b: I have it working. For demonstration purposes and with rp2040, but the difference is only in openocd.conf 2023-07-05T13:57:44 < Laurence_b> I made some progress, GDB is now working, but json config needs to be set with OpenOCD path 2023-07-05T13:57:47 < ventYl> Laurence_b: https://github.com/ventZl/debugging-pico 2023-07-05T13:57:51 < Laurence_b> thanks 2023-07-05T13:58:28 < ventYl> "searchDir" 2023-07-05T13:58:31 < ventYl> does the trick 2023-07-05T13:59:02 < ventYl> comments are in slovak language as this repo holds materials for lecture for high school teachers over here 2023-07-05T13:59:10 < karlp> vscode still feels like some weird cult koolaid everytime I try and use it. 2023-07-05T13:59:35 -!- Guest2 [~Guest71@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-05T14:00:56 < ventYl> I chose it because it was the least worst "IDE" I could use 2023-07-05T14:02:26 < jpa-> vscode works well for me, and i love how it works for *every* language i need 2023-07-05T14:02:48 < Laurence_b> is there a json argument to set the OpenOCD path? 2023-07-05T14:04:17 -!- Guest2 [~Guest71@cust226-dsl93-89-135.idnet.net] has quit [Client Quit] 2023-07-05T14:04:33 < ventYl> "searchDir" 2023-07-05T14:08:36 < Laurence_b> Launching gdb-server: openocd.exe -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "C:\\Users 2023-07-05T14:08:49 < Laurence_b> hmm looks like it needs a symlink to openocd.exe? 2023-07-05T14:09:35 < jpa-> some sane operating systems have this thing called "path" that is used to find installed applications ;) 2023-07-05T14:09:56 < Laurence_b> lol 2023-07-05T14:20:22 < zyp> the part I like about vscode is that it doesn't try dictating my workflow like other IDEs tend to do 2023-07-05T14:24:40 < Laurence_b> wow, progress 2023-07-05T14:24:42 < Laurence_b> Error: session transport was not selected. Use 'transport select ' 2023-07-05T14:37:09 < Laurence_b> Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND 2023-07-05T14:37:12 < Laurence_b> hmm, not good 2023-07-05T14:39:53 < Laurence_b> looks like an openocd issue 2023-07-05T14:40:03 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-05T14:41:50 < jpa-> did you do the zadig dance? 2023-07-05T14:41:58 < Laurence_b> lol 2023-07-05T14:45:27 < Laurence_b> maybe winusb not properly installed 2023-07-05T14:45:56 < specing> win... 2023-07-05T14:46:08 < specing> are you in masochism mode today Laurence_b 2023-07-05T14:46:27 < jpa-> you can win usb, but you cannot win winusb 2023-07-05T14:48:38 < mawk> did you plug in the stlink Laurence_b 2023-07-05T14:48:51 < Laurence_b> mawk: yeah 2023-07-05T14:49:00 < Laurence_b> same error with libusb updated 2023-07-05T14:49:14 < mawk> if you open a cmd and just run openocd manually does it work? 2023-07-05T14:49:47 < mawk> openocd.exe -f target/stm32xx.cfg -c 'transport select hla_swd' -f interface/stlink.cfg 2023-07-05T14:49:56 -!- haritz [~hrtz@user/haritz] has quit [Ping timeout: 260 seconds] 2023-07-05T14:49:59 < mawk> replace the xx by your relevant core 2023-07-05T14:50:23 < mawk> and same question in an admin cmd prompt just to check 2023-07-05T14:50:28 < jpa-> Laurence_b: did you set it to winusb driver using zadig? 2023-07-05T14:50:32 < Laurence_b> yes 2023-07-05T14:50:49 < Laurence_b> mawk: that -c option is missing, i'll add it 2023-07-05T14:54:06 < Laurence_b> hmm same error with same options 2023-07-05T14:54:17 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has joined ##stm32 2023-07-05T14:54:17 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has quit [Changing host] 2023-07-05T14:54:18 -!- haritz [~hrtz@user/haritz] has joined ##stm32 2023-07-05T14:58:27 -!- Laurence_b41 [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-05T14:59:15 < jpa-> http://paste.dy.fi/Anr/plain all the best spells 2023-07-05T14:59:47 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-05T16:00:47 < Laurence_b41> hmm I've connected, but now I cant resume... 2023-07-05T16:06:00 < Laurence_b41> woah it works, nice 2023-07-05T16:06:13 < Laurence_b41> visual studio debugging seems fully functional 2023-07-05T16:09:25 < karlp> I just can't get over how _bad_ it's code navigation is out of the box. ctrl-clicking finds just arbitrary code somewhere on disk that has the same _name_ with complete disregard for c/c++ or even just within the same project 2023-07-05T16:30:32 < josuah> I am clearly not a fan of visual studio for being electron and node.js, but at least they get one thing right: integration with 3rd-party goes as small command snippets 2023-07-05T16:30:46 < josuah> as opposed to a library/dll loaded as a plugin/extension 2023-07-05T16:31:05 < josuah> easier to debug that way: you can always launch the command yourself on a terminal to check what's wrong then. 2023-07-05T16:38:17 < drzacek> few noob questions 2023-07-05T16:39:33 < drzacek> how do I read contents of a register? some neat HAL function for that? Or I do some dirty (uint32_t*)0x42069? 2023-07-05T16:40:39 < drzacek> second, that dang uart, I still dont quite get it - I expect simple stuff to work yet I always struggle. So anyways, it has this Overrung thingy, and if it detects overrun, then it stops working until I wont clear it manually, right? 2023-07-05T16:41:46 < zyp> no, typically the overrun flag is just set when it drops a byte due to lack of space to store it 2023-07-05T16:42:01 < zyp> if there's space once the next byte arrives, it'll be received normally 2023-07-05T16:43:09 < drzacek> ok, so I access it via huart->instance handles, neat. 2023-07-05T16:43:37 < drzacek> zyp, I am not sure if it is overrun, just a guess based on google search. it just receives once and after wards just timeouts 2023-07-05T16:44:14 < zyp> why are you guessing instead of checking the status flags? 2023-07-05T16:44:52 < drzacek> that's why I asked, checking it now 2023-07-05T16:47:16 < drzacek> yep, ORE bit set 2023-07-05T16:52:10 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-05T16:52:11 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 264 seconds] 2023-07-05T17:00:13 -!- srk- [~sorki@user/srk] has joined ##stm32 2023-07-05T17:03:08 -!- srk [~sorki@user/srk] has quit [Ping timeout: 240 seconds] 2023-07-05T17:03:12 -!- srk- is now known as srk 2023-07-05T17:44:10 < zyp> anybody with experience with current clamp probes for oscilloscope? I'm considering buying one and I'm wondering where the right tradeoff between cheap and decent is 2023-07-05T17:44:17 < zyp> karlp maybe? 2023-07-05T17:46:35 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-05T17:50:02 < karlp> " High Sampling Rate: With a maximum sampling rate of 150kHz, this oscilloscope provides accurate and precise measurements for your needs." 2023-07-05T17:50:11 < karlp> hrm, not me sorry 2023-07-05T17:50:28 < karlp> I have a generic dmm plugin clamp meter, 2023-07-05T17:50:58 < karlp> saw this the other day though: https://github.com/westonb/rogowski-relief 2023-07-05T17:51:05 < karlp> madlad winds his own coil and everything. 2023-07-05T17:51:47 < karlp> these guys are apparently good, but... I didn't really look at the price: https://www.pemuk.com/products.aspx 2023-07-05T17:52:07 < karlp> I think you need to ask what sort of current ranges, and over what sort of wires, and ac or dc or ac+dc? 2023-07-05T17:54:40 < zyp> those rogowskis are cute, but not really necessary, a clamp that goes over a single wire is fine 2023-07-05T17:55:25 < zyp> current realisticly up to 10-20A or so, actually use probably mostly less 2023-07-05T17:56:34 < nomorekaki> https://www.youtube.com/watch?v=mDmHFBx_CVU musics trance 2023-07-05T17:57:02 < zyp> this sort of shit could work if it does what it claims: https://www.aliexpress.com/item/1005004233101404.html 2023-07-05T17:57:49 < karlp> right, they're probably fine, just depends how much accuracy you really want. 2023-07-05T17:58:25 < karlp> I think I have a 1mV per 1A clamp, and obviously, that's not goign to be _great_ with most DMMs 2023-07-05T17:59:25 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-05T17:59:41 -!- Laurence_b41 [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-05T17:59:58 < zyp> I wanna measure the output of the fanuc servo amp when I start poking at it, and compare that to the analog current feedback signal it's reporting 2023-07-05T18:00:04 < karlp> only thing you're looking for is the outputs, not just a plain clamp meter? 2023-07-05T18:00:20 < zyp> well, I also wanna see waveforms 2023-07-05T18:00:29 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-05T18:00:45 < karlp> right, have you considered just buying a plain CT? 2023-07-05T18:01:08 < zyp> and hooking it to the scope? 2023-07-05T18:01:11 < karlp> yeah 2023-07-05T18:01:21 < zyp> that wouldn't give me DC, would it 2023-07-05T18:01:23 < karlp> well, with whatever burden you want, 2023-07-05T18:01:30 < karlp> oh right, yeah, I'm still too much in AC mode :) 2023-07-05T18:01:48 < zyp> hmm, on DC, I probably want one with auto-zero 2023-07-05T18:02:07 < karlp> https://www.aliexpress.com/item/4000923507867.html? 2023-07-05T18:02:30 * karlp shrugs, not really me. lots of options though 2023-07-05T18:03:14 < zyp> people sell what you're suggesting: https://www.aliexpress.com/item/4000927831198.html :) 2023-07-05T18:05:44 < karlp> yeah, the CTs often have a burden already. 2023-07-05T18:05:50 < karlp> that's super skanky though :) 2023-07-05T18:06:01 < karlp> manually screwed together? nice one. 2023-07-05T18:06:44 < englishman> i have a little battery powered current clamp at work with amp in it. and bnc output for scope. it's pretty fast too, and i remember it being cheap 2023-07-05T18:07:06 < englishman> like this but... not this https://www.picoauto.com/products//current-clamps/20-a-60-a-dc-current-clamp 2023-07-05T18:07:24 < zyp> yeah, the first one I linked is also like that 2023-07-05T18:07:47 < englishman> ha yeah, it's like that 2023-07-05T18:07:59 < zyp> works well? 2023-07-05T18:08:28 < englishman> works great yeah. except it shut itself off after a while so long term acquisitions were annoying until i took it apart and remove the auto shut off 2023-07-05T18:08:48 < englishman> maybe that aliexpress one is more sensible 2023-07-05T18:09:23 < zyp> looks like a dumb mechanical switch, so I don't expect it to 2023-07-05T18:09:39 < englishman> if 400 Hz is enough for you 2023-07-05T18:11:11 < zyp> oh, right 2023-07-05T18:11:26 < zyp> I looked at some earlier that were some kHz, where did they go 2023-07-05T18:11:37 < englishman> http://www.hantek.com/products/detail/77 2023-07-05T18:12:01 < zyp> https://www.aliexpress.com/item/1005005486533722.html 2023-07-05T18:12:12 < englishman> https://www.fluke.com/en-ca/product/accessories/current-clamps/fluke-i30s 2023-07-05T18:12:39 < zyp> https://www.aliexpress.com/item/1005001776961743.html 2023-07-05T18:22:29 < zyp> ah, here's one of the ones I've looked at: https://www.aliexpress.com/item/1005004693406615.html 2023-07-05T18:22:45 < karlp> that's also starting to be "real money" again :) 2023-07-05T18:22:54 < zyp> yeah, and also doesn't seem to have battery 2023-07-05T18:22:55 < karlp> and if you really need 2.5Mhz 2023-07-05T18:23:06 < zyp> unlikely 2023-07-05T18:23:16 < zyp> the hantek one seems reasonable 2023-07-05T18:25:37 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-07-05T18:34:06 < zyp> okay, I ordered two 2023-07-05T18:50:50 < nomorekaki> I'm yet to mod smas into my uni-t clamps 2023-07-05T18:51:08 < nomorekaki> problem is it needs 1.8V offset or so 2023-07-05T18:51:40 < nomorekaki> buffered prefferably 2023-07-05T18:52:00 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-05T18:57:20 < nomorekaki> and calibration is needed too 2023-07-05T19:01:41 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-05T19:05:54 < mawk> I bricked a SARA-G350 modem 2023-07-05T19:06:02 < mawk> no response at all anymore on the AT interface, no matter the baudrate 2023-07-05T19:06:12 < mawk> no matter if I flip reset or power off and power on or whatever 2023-07-05T19:06:18 < mawk> that's not great if it happens in the field 2023-07-05T19:06:37 < mawk> I thought it might be stuck in update mode and then you just have to wait out the 109 seconds timeout, but even after the timeout it stays dead 2023-07-05T19:06:53 < mawk> I can still upgrade the firmware through the auxiliary UART so I can recover it now, but I can't do that in the field 2023-07-05T19:07:11 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3c9d:cd39:dfba:7a5d] has quit [Ping timeout: 264 seconds] 2023-07-05T19:07:20 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1938:fcb1:3249:75d5] has joined ##stm32 2023-07-05T19:09:18 < mawk> ah it's maybe because I flashed the wrong firmware file 2023-07-05T19:09:30 < mawk> but then why on earth do they not check the model before applying the firmware update 2023-07-05T19:27:12 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-05T19:27:19 < jpa-> no-one requested that feature ;) 2023-07-05T19:28:37 < mawk> truly insane programming 2023-07-05T19:28:45 < mawk> alongside with the automatic restart of the upgrade process at boot 2023-07-05T19:28:54 < mawk> with the 109 seconds timeout 2023-07-05T19:29:25 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-05T19:35:45 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-05T20:06:47 < mawk> no, it wasn't because of the wrong model firmware 2023-07-05T20:06:54 < mawk> it's still bricked if I interrupt the firmware update and reboot 2023-07-05T20:07:12 < mawk> shittiest modem on earth 2023-07-05T20:10:28 < mawk> I'll have to get the logic analyzer and see what's happening 2023-07-05T20:16:54 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-05T20:20:56 < qyx> which sarah? 2023-07-05T20:21:11 < qyx> what band is it? 2023-07-05T20:57:49 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-07-05T21:29:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-05T21:48:31 -!- alan_o [~alan_o@2600:1700:1902:210f:3d67:62eb:7f1f:1629] has quit [Remote host closed the connection] 2023-07-05T21:48:50 -!- alan_o [~alan_o@2600:1700:1902:210f:683e:8e8f:f938:4e27] has joined ##stm32 2023-07-05T22:23:42 -!- drzacek [~drzacek@2a01:3d8:359:cf00:d8b0:dc2f:4fbe:935d] has joined ##stm32 2023-07-05T22:57:25 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 2023-07-05T23:00:27 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-07-05T23:09:01 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-05T23:09:04 < Laurence_b> https://www.rgbautomatyka.pl/en/2-518-for-gx100-800-adl-id79340.html 2023-07-05T23:09:30 < Laurence_b> anyone know what that is? 2023-07-05T23:09:46 < Laurence_b> I see a dual optocoupler, and a couple of other components 2023-07-05T23:14:13 < machinehum> My from scratch buck supply works quite well actually 2023-07-05T23:14:47 < qyx> idk 2023-07-05T23:15:44 < machinehum> The output caps get real hot around 4A... but there's space I can just go with lower esr 2023-07-05T23:17:54 < machinehum> I guess the thermals of the inductor will also be effected if the caps have a high esr... more AC current flowing... 2023-07-05T23:30:29 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1938:fcb1:3249:75d5] has quit [Ping timeout: 240 seconds] 2023-07-05T23:30:37 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d146:8164:34f2:8cf6] has joined ##stm32 2023-07-05T23:32:26 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-05T23:40:47 < Laurence_b> https://i.ebayimg.com/images/g/JSsAAOSw73phb~Ds/s-l1600.jpg 2023-07-05T23:40:53 < Laurence_b> can anyone read the Ti IC? 2023-07-05T23:41:56 < qyx> mc1458 opamp? 2023-07-05T23:42:11 < qyx> quite common in the past --- Day changed to heinä 06 2023 2023-07-06T00:11:25 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-06T00:11:56 -!- drzacek [~drzacek@2a01:3d8:359:cf00:d8b0:dc2f:4fbe:935d] has quit [Quit: Leaving] 2023-07-06T00:45:50 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-06T00:45:55 < Laurence_b> thanks qyx, looks like that is it 2023-07-06T00:46:24 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-06T00:47:38 < Laurence_b> I'm trying to work out what that board does, pinout doesnt seem to match RS232 2023-07-06T00:47:57 < Laurence_b> also there are no voltages on the pins and RS232 dongle gets no data 2023-07-06T00:48:33 < Laurence_b> I cant actually see the PCB as the PSU case is threadlocked closed.. maybe it could be dismantled tho 2023-07-06T00:52:06 < Laurence_b> maybe I should try driving the opto inputs lol 2023-07-06T01:13:05 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-06T01:17:19 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-06T01:17:31 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 245 seconds] 2023-07-06T01:21:16 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-06T01:26:14 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-07-06T01:34:49 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-06T01:49:50 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-07-06T02:11:59 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 264 seconds] 2023-07-06T02:47:34 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-06T03:45:41 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-06T04:20:25 < mawk> qyx SARA-G3 2023-07-06T04:20:28 < mawk> It's GSM 2023-07-06T04:33:33 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-06T05:44:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-06T05:45:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-06T05:58:33 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-06T07:06:02 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-06T07:13:12 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-06T07:13:58 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-06T07:13:58 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-06T07:13:58 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-06T07:24:28 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d146:8164:34f2:8cf6] has quit [Ping timeout: 252 seconds] 2023-07-06T07:48:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-06T07:51:04 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-06T08:41:29 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has quit [Ping timeout: 240 seconds] 2023-07-06T08:49:03 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has joined ##stm32 2023-07-06T09:20:19 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-06T09:23:27 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-06T09:42:26 < qyx> g-s-m? 2023-07-06T09:47:33 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-06T09:53:29 -!- Thorn_ [~Thorn@2001:8a0:dfd7:d500:5029:e7d3:19f1:39d] has joined ##stm32 2023-07-06T09:55:48 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-07-06T10:27:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-06T10:34:26 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-07-06T10:36:57 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-06T10:47:35 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-06T10:50:12 < Laurence_b> argg windozer 2023-07-06T10:50:20 < Laurence_b> COM17 both exists and does not exist 2023-07-06T10:50:22 < Laurence_b> at the same time 2023-07-06T10:52:27 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-06T10:52:56 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-06T10:59:58 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-06T11:00:00 < Laurence_b> Description: STM Serial (COM17) 2023-07-06T11:00:01 < Laurence_b> Opening port. 2023-07-06T11:00:01 < Laurence_b> Lost Device after reset, assuming prod_id was incremented by oneNo DFU capable USB device found 2023-07-06T11:10:02 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-06T11:26:51 -!- Kamilion|ZNC [kamilion@copper.sllabs.com] has joined ##stm32 2023-07-06T11:26:59 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 246 seconds] 2023-07-06T11:27:20 -!- Kamilion [kamilion@copper.sllabs.com] has quit [Ping timeout: 246 seconds] 2023-07-06T11:29:10 -!- Kamilion|ZNC is now known as Kamilion 2023-07-06T11:30:18 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-06T11:53:54 < mawk> saleaeaeae logic is not free anymore???? 2023-07-06T11:53:57 < mawk> why do they talk about demo 2023-07-06T11:54:05 < mawk> ah no they mean demo of the device 2023-07-06T11:54:27 < drzacek> wtf 2023-07-06T11:54:35 < drzacek> why must you scare me 2023-07-06T11:54:38 < drzacek> I just connected mine 2023-07-06T12:04:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ef-c404-57ff-fca7.fixed6.kpn.net] has joined ##stm32 2023-07-06T12:15:14 < mawk> yes qyx 2023-07-06T12:15:22 < mawk> GSM or GRPS or EDGE or whatever 2023-07-06T12:15:24 < mawk> two gee 2023-07-06T12:15:35 < mawk> SARA-G340 and SARA-G350 2023-07-06T12:15:42 < mawk> both models in our devices 2023-07-06T12:17:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ef-c404-57ff-fca7.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-06T12:34:29 < mawk> they added USB-C to kube 2023-07-06T12:56:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c1c7:5434:16e0:9991] has joined ##stm32 2023-07-06T13:13:47 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-06T13:14:51 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-06T13:51:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-06T14:00:19 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-06T14:05:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ef-c404-57ff-fca7.fixed6.kpn.net] has joined ##stm32 2023-07-06T14:07:45 < Laurence_b> hmm 2023-07-06T14:07:56 < Laurence_b> https://pastebin.com/QWEsxDLt 2023-07-06T14:08:05 < Laurence_b> timers 2,3,4 work, timer1 is stuck high 2023-07-06T14:09:16 < qyx> tim1 is from the advanced timer group 2023-07-06T14:09:55 < jpa-> probably gotcha 3: http://www.efton.sk/STM32/gotcha/g3.html 2023-07-06T14:11:04 < Laurence_b> hmm interesting, thanks 2023-07-06T14:11:08 < qyx> leading to a frustrating "PWM does not work" problem. 2023-07-06T14:11:08 < qyx> haha 2023-07-06T14:15:51 < Laurence_b> https://github.com/stm32duino/Arduino_Core_STM32/blob/main/system/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c#L1447 2023-07-06T14:15:57 < Laurence_b> handled automatically? 2023-07-06T14:31:00 < jpa-> look at registers with debugger, don't trust HAL layers 2023-07-06T14:31:32 < jpa-> i also don't see you calling HAL_TIM_PWM_Start() 2023-07-06T14:31:55 < Laurence_b> ok 2023-07-06T14:36:05 < Laurence_b> I might have found the problem 2023-07-06T14:36:20 < Laurence_b> hardwaretimer library uses abstract timer channel numbers 2023-07-06T14:36:51 < Laurence_b> I was trying to hardcode them 1,2,3,4, but its not that simple, prob breaks advanced control timers 2023-07-06T14:41:44 < mawk> look at ze defines 2023-07-06T14:44:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ef-c404-57ff-fca7.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-06T14:55:06 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Ping timeout: 246 seconds] 2023-07-06T15:08:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-fca4-191d-6784-f19d.fixed6.kpn.net] has joined ##stm32 2023-07-06T15:12:36 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-fca4-191d-6784-f19d.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-06T15:32:35 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-06T15:49:00 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-06T15:51:46 < Laurence_b> hmm no I was wrong 2023-07-06T16:04:38 < catphish> i'm trying to use stm32cubeide and HAL for the first time (because i actually want to finish a project instead of just reading the reference manual all day), anyway, it seems to have generated me some nice code to initialize a USART, but i'm confused, while it's generated code to set up the GPIO for the UART AF, that code doesn't seem to get called anywhere. am i just not seeing it? 2023-07-06T16:05:18 < catphish> i have this funtion HAL_UART_MspInit() that seems to set up the pins, but do i have to call it manually? seems like it should generate that automatically but i'm not seeing it 2023-07-06T16:05:53 < drzacek> dont you have it in main() after /* Initialize all configured peripherals */ 2023-07-06T16:07:20 < catphish> i have MX_USART3_UART_Init() 2023-07-06T16:07:27 < catphish> but that never calls HAL_UART_MspInit() 2023-07-06T16:07:31 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-06T16:07:40 < catphish> it configured the peripheral, but not the port, i think 2023-07-06T16:09:05 < catphish> but there's also a reasonable chance i'm just misunderstanding 2023-07-06T16:10:21 < drzacek> hmm you are right, I dont see any function calling it. 2023-07-06T16:10:28 < catphish> ah i think maybe MX_USART3_UART_Init calls HAL_UART_Init which calls back to it 2023-07-06T16:11:08 < catphish> HAL_UART_Init does appear to call HAL_UART_MspInit 2023-07-06T16:16:10 < catphish> yeah it works fine, it's only my wiring that's bad :) 2023-07-06T16:16:13 < ventYl> well, you can build it with -ffunction-sections -Wl,-gc-sections and if it wasn't called anywhere it wouldn't be part of the image 2023-07-06T16:16:46 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-06T16:16:57 * Laurence_b still has no timer1 2023-07-06T16:17:59 < Laurence_b> https://pastebin.com/AbFJ2d3M 2023-07-06T16:19:16 < Laurence_b> the weird thing is that when I call set_pwm_mask for the third channel (of my outputs) it sets the first output to low 2023-07-06T16:24:25 < Laurence_b> its almost as if pins are mixed up 2023-07-06T16:24:31 < Laurence_b> time to check hardware gain 2023-07-06T16:25:39 < qyx> that's a very good plan 2023-07-06T16:25:40 < Laurence_b> nah, line 169 works fine 2023-07-06T16:25:42 < qyx> been there yesterday 2023-07-06T16:25:54 < Laurence_b> pulses pins low at boot 2023-07-06T16:26:00 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-06T16:28:01 < Laurence_b> I'm going to have to use debugger, but it breaks maple bootloader for some reason 2023-07-06T16:28:58 < drzacek> why you need so many timers? 2023-07-06T16:30:11 < Laurence_b> yes 2023-07-06T16:30:17 < Laurence_b> I need 16 pwm io 2023-07-06T16:30:33 < Laurence_b> this is for testing train motor controllers 2023-07-06T16:31:01 < Laurence_b> oh I found issue in visual studio - it isnt configured for bootloader 2023-07-06T16:35:15 < qyx> wht about just buying NI industrial IO + do some clicky clacky in labview? 2023-07-06T16:41:34 < Laurence_b> lol 2023-07-06T16:41:38 < Laurence_b> prob faster than this 2023-07-06T16:44:51 < catphish> does the HAL provide a buffered UART? ie i want to DMA received data into a buffer, and then read it in a normal blocking fashion 2023-07-06T16:45:22 < catphish> all the examples i find seem to use an interrupt when the DMA is full, but i really just want to poll 2023-07-06T16:46:19 < catphish> i guess there's a flag i can poll to see when the DMA is full 2023-07-06T16:47:30 < drzacek> no but you can set a flag from interrupt when dma is full 2023-07-06T16:48:14 < ventYl> guessing by the awful user experience I assume that Microsoft Store is a dead thing, isn't it? 2023-07-06T16:48:37 < Laurence_b> think so 2023-07-06T16:48:48 < Laurence_b> hmm debugger looks fine 2023-07-06T16:49:34 < Laurence_b> must be something being done wrong 2023-07-06T16:49:53 < Laurence_b> the AF mode is also failing 2023-07-06T16:50:08 < Laurence_b> as TIM1 CH1 pin is stuck high 2023-07-06T16:50:24 < catphish> drzacek: HAL_DMA_PollForTransfer() seems to be a thing, looking at that first 2023-07-06T16:52:04 < Laurence_b> const PinName outputs[8]={PinName(PA_8),PinName(PB_13),PinName(PA_0) 2023-07-06T16:52:42 < Laurence_b> this seems suspect, when the PWM is turning on on PA_0 (Timer 2), then PA_8 goes low (TIM1) 2023-07-06T16:53:15 < Laurence_b> maybe the AFIO function can one process uint8_t somewhere 2023-07-06T16:56:01 < drzacek> which part? 2023-07-06T16:56:03 < drzacek> f103? 2023-07-06T16:56:07 < Laurence_b> yes 2023-07-06T16:56:53 < Laurence_b> line 252 https://pastebin.com/QWEsxDLt 2023-07-06T16:56:58 < drzacek> The advanced-control (TIM1 and TIM8) and general-purpose (TIMx) timers are completely 2023-07-06T16:56:59 < drzacek> independent, and do not share any resources. 2023-07-06T16:57:56 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-06T16:58:23 < Laurence_b> yeah 2023-07-06T16:58:34 < Laurence_b> I'm suspecting STM_LL_GPIO_PIN 2023-07-06T16:58:42 < Laurence_b> is somehow misbehaving 2023-07-06T17:00:03 < drzacek> https://community.st.com/t5/stm32-mcu-products/pwm-output-timer1/td-p/467267 2023-07-06T17:00:09 < drzacek> TIM_CtrlPWMOutputs(TIM1, ENABLE); 2023-07-06T17:01:29 < Laurence_b> I think this should all be inside the libraries 2023-07-06T17:01:48 < Laurence_b> but my GPIO mutex is misbehaving for sure 2023-07-06T17:01:50 < catphish> well HAL_DMA_PollForTransfer doesn't work, but setting a flag in the DMA interrupt does 2023-07-06T17:02:17 < catphish> i feel like there should just be a flag i can poll though 2023-07-06T17:04:43 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-06T17:04:49 < Laurence_b> hmm yeah I cant see the error 2023-07-06T17:06:15 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-06T17:07:05 < Laurence_b> 'TIM_CtrlPWMOutputs' was not declared in this scope 2023-07-06T17:11:11 < Laurence_b> LL_TIM_EnableAllOutputs(MyTims[0]->getHandle()->Instance);  doesnt change behaviour 2023-07-06T17:12:38 < Laurence_b> maybe I should try pwm example code 2023-07-06T17:19:08 < Laurence_b> reeee 2023-07-06T17:19:11 < Laurence_b> demo code works 2023-07-06T17:19:24 < Laurence_b> I done goofed... somewhere 2023-07-06T17:21:45 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-06T17:24:54 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-06T17:28:48 < Laurence_b> argg wtf 2023-07-06T17:28:52 < Laurence_b> demo code just works 2023-07-06T17:37:56 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-06T17:48:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-06T17:52:34 < Laurence_b> aha 2023-07-06T17:52:47 < Laurence_b> demo code has same behaviour when combined with my gpio mux code 2023-07-06T17:56:47 < Laurence_b> part of the issue is that calling setPWM twice causes timer to lock up 2023-07-06T18:02:56 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-06T18:25:44 < Laurence_b> works now 2023-07-06T18:42:52 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-06T18:57:20 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-06T19:34:15 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 245 seconds] 2023-07-06T19:35:23 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-06T19:54:58 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-06T20:24:19 -!- specing [~specing@user/specing] has quit [Ping timeout: 246 seconds] 2023-07-06T20:34:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-06T20:52:27 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-06T20:58:56 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-07-06T21:10:52 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-06T22:09:15 -!- drzacek [~drzacek@2a01:3d8:35f:8300:fdfd:e28e:26ba:bfdd] has joined ##stm32 2023-07-06T22:23:28 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-07-06T22:25:20 -!- Thorn_ [~Thorn@2001:8a0:dfd7:d500:5029:e7d3:19f1:39d] has quit [Ping timeout: 246 seconds] 2023-07-06T22:55:19 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [] 2023-07-06T23:03:28 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c1c7:5434:16e0:9991] has quit [Ping timeout: 240 seconds] 2023-07-06T23:04:19 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-07-06T23:13:22 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 260 seconds] 2023-07-06T23:19:08 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-06T23:19:11 < Laurence_b> https://www.ftdichip.com/old2020/Products/Cables/USBRS485.htm 2023-07-06T23:19:24 < Laurence_b> does anybody have any clues how this swaps from tx to rx? 2023-07-06T23:19:51 < Laurence_b> I know the rs232 adaptors use RTS to control direction, but the schematic for that dongle uses gpio on the ftdi ic 2023-07-06T23:30:07 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-06T23:33:12 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-06T23:47:01 -!- drzacek [~drzacek@2a01:3d8:35f:8300:fdfd:e28e:26ba:bfdd] has quit [Quit: Leaving] 2023-07-06T23:50:17 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] --- Day changed pe heinä 07 2023 2023-07-07T00:03:12 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-07T00:11:13 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-07T00:12:45 < qyx> webdev pros, which MQ over websockets is cool nowadays? 2023-07-07T00:13:41 < qyx> one choice is mosquitto + mqtt.js 2023-07-07T00:34:31 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has joined ##stm32 2023-07-07T00:36:14 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 246 seconds] 2023-07-07T00:45:34 < catphish> can i make my generated stm32cubeide project have a makefile so i can build it outside of the IDE? 2023-07-07T00:48:15 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-07T00:50:52 < Laurence_b> sheeet 2023-07-07T00:51:04 < Laurence_b> >profibus uses "rs485" but logic levels are inverted 2023-07-07T00:51:06 < Laurence_b> epin fail 2023-07-07T00:51:15 < Laurence_b> also its offset by 2.5V from GND 2023-07-07T00:51:55 < Laurence_b> I can see my slaves "talking", but packets are garbled, this makes sense now 2023-07-07T00:52:57 < PlasmaHH> the offset is only when used in MBP configuration afik 2023-07-07T00:53:02 < Laurence_b> ok 2023-07-07T00:53:21 < Laurence_b> do you know of any windows software for it? 2023-07-07T00:53:36 < PlasmaHH> nope, haven't done much on windows in decades 2023-07-07T00:54:17 < machinehum> PID tuning a buck supply is really hard 2023-07-07T00:54:27 < machinehum> There isn't any recourse for dealing with overshoot 2023-07-07T00:54:49 < machinehum> Especially if the load is light 2023-07-07T00:54:58 < PlasmaHH> Laurence_b: also keep in mind 485 is a differential bus, you need proper impedances and termination 2023-07-07T00:55:27 < Laurence_b> yeah I've terminated it 2023-07-07T00:55:32 < Laurence_b> oh wait.. only at one end 2023-07-07T01:02:30 < PlasmaHH> also I thought apl was all the rage ;) 2023-07-07T01:08:05 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-07T01:13:33 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-07T01:17:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-07T01:34:32 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-07-07T01:34:34 < zyp> Laurence_b, rs485 being differential, logic levels inverted just means the two signal wires are swapped, and it's not like rs485 has a uniform convention on what's what 2023-07-07T01:35:01 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-07T01:35:49 < zyp> also, rs485 is often terminated with pullups/pulldowns in addition to the resistor across the signals, which at a 5V supply will place the signals at 2.5V when idle 2023-07-07T01:36:54 < zyp> as for the ftdi gpio, the ftdi might have a rs485 mode where the gpio automatically drives DE when it's transmitting 2023-07-07T01:37:11 < zyp> some of the stm32 UARTs also have that 2023-07-07T01:39:22 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-07T01:42:24 < Laurence_b> ah ok 2023-07-07T01:47:39 < karlp> first rule of rs485 debugging is to swap a/b... 2023-07-07T01:50:52 < catphish> same as CAN 2023-07-07T01:54:05 < zyp> CAN doesn't have the same issue, CANL and CANH are unambiguous 2023-07-07T01:54:20 < zyp> but nobody seems to agree on whether A or B is the positive signal 2023-07-07T02:02:34 < catphish> i see 2023-07-07T02:02:52 < catphish> CAN is at least well defined 2023-07-07T02:03:17 < catphish> i've just worked on enough cars to know people suck at connecting them the right way round 2023-07-07T02:04:56 -!- Laurence_b [~Laurenceb@50.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-07T02:07:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-07T02:36:12 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 252 seconds] 2023-07-07T03:05:51 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-07-07T03:21:31 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 246 seconds] 2023-07-07T03:26:38 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-07T03:52:47 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 264 seconds] 2023-07-07T04:05:35 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-07T04:20:30 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-07T05:08:58 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-07T05:10:02 -!- lemmi [~lemmi@user/lemmi] has quit [Remote host closed the connection] 2023-07-07T05:15:00 -!- lemmi [~lemmi@user/lemmi] has joined ##stm32 2023-07-07T05:48:03 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Quit: Leaving] 2023-07-07T05:58:32 -!- qyx [~qyx@84.245.121.217] has quit [Ping timeout: 245 seconds] 2023-07-07T06:55:34 -!- qyx [~qyx@84.245.120.13] has joined ##stm32 2023-07-07T07:08:14 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-07T07:10:07 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-07T07:23:26 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 246 seconds] 2023-07-07T07:48:42 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-07T07:51:55 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-07T09:05:26 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-07T09:05:48 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-07T09:27:21 < rob_w> can someone name me a example linker file for a stm32h750 for which i place the app inside a external qspi flash and execute it from there (XiP) ? 2023-07-07T09:29:06 < ventYl> hm, from linker point of view, it is just a matter of changing the address of .text and .rodata to where your external flash will be mapped into address space, isn't it? 2023-07-07T09:31:17 < jpa-> should be 2023-07-07T09:32:39 < rob_w> hmm 2023-07-07T09:33:16 < rob_w> i changed the FLASH() addresss accordingly and used cubeprogrammer , but the app doesnt startup it seem 2023-07-07T09:35:22 < ventYl> rob_w: well, you need small piece of trampoline code inside actual flash in MCU which initialized XIP and then jumps to the code there 2023-07-07T09:35:55 < ventYl> I'd copy FLASH() section to something like SQPI() section, giving it proper address 2023-07-07T09:36:16 < ventYl> and then copy .text and .rodata to something like .mcu_text and .mcu_rodata 2023-07-07T09:36:39 < ventYl> .text and .rodata would go > SQPI and .mcu_text and .mcu_rodata would go > FLASH 2023-07-07T09:36:51 < qyx> I would check bootmodes of H7 first 2023-07-07T09:37:21 < rob_w> well i am so new to all this , so ur saying i couldnt use cubebprog and only flash the qspi code and let it start via cubeprog.. 2023-07-07T09:38:02 < ventYl> qyx knows more about H7, maybe it is able to jump start into XIP directly 2023-07-07T09:38:12 < ventYl> I have ever used it with internal flash 2023-07-07T09:38:41 < qyx> I guess it can't but it is unusual in many ways 2023-07-07T09:39:11 < qyx> I am actually quite surprised you managed to get cube programmer working with an external qspi 2023-07-07T09:39:17 < jpa-> AN5188 is useful read 2023-07-07T09:39:58 < rob_w> well .. i will keep digging and work on the final setup with a small boot app inside the real flash to map qspi and jump ( using cubeprog to laod the qspi before) 2023-07-07T09:40:42 < rob_w> qyx: yeah it seems i was lucky and find some external loader code for my flash chip , just had to mux it differntly to our board 2023-07-07T09:41:24 < qyx> I was just "oh wtf no" 2023-07-07T09:41:41 < qyx> with jlink it was click click 2023-07-07T09:41:49 < qyx> even with openocd it was kinda easy on F7 2023-07-07T09:41:57 < ventYl> rob_w: if you follow what I suggested then be careful with what piece of code ends up where. You may easily end up in situation that your main() will be inside MCU but startup code will end up being linked into .text residing in QSPI and that would be no worky 2023-07-07T09:42:19 < qyx> but with cubeprogrammer I didn't have the Force for writing the loader 2023-07-07T09:43:15 < rob_w> qyx: openocd can do that too ? 2023-07-07T09:43:24 < rob_w> that would be so nice for our production line ... 2023-07-07T09:43:51 < ventYl> yes, with dirty hacks even quite nasty stuff 2023-07-07T09:45:27 < qyx> https://forums.pimoroni.com/t/accessing-external-flash-from-openocd/12558 2023-07-07T09:45:32 < qyx> this looks complex 2023-07-07T09:45:38 < qyx> I am not sure I did that 2023-07-07T09:53:53 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-07T10:05:23 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-07T10:08:27 < PlasmaHH> I have a really hard time wrapping my head around the results of etm streaming trace in ozone... so that one function takes ~300µs realtime (measure with entry/exit GPIO pin on the scope ... ozone in its trace says that too, most of the time, but reports an amount of cycles that suggests just one third, and sometimes the results in ozone also just show ~100µs which is just plain wrong... 2023-07-07T10:11:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-07T10:53:29 -!- Thorn_ [~Thorn@188.251.245.218] has joined ##stm32 2023-07-07T10:54:46 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-07-07T11:24:22 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 245 seconds] 2023-07-07T11:37:44 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Ping timeout: 246 seconds] 2023-07-07T12:15:24 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-07T12:25:15 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-07T12:46:35 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-07T13:36:39 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-07T13:36:43 < Laurence_b> hmf muh profibus is dead 2023-07-07T13:36:53 < Laurence_b> anyone know any profibus software for PC? 2023-07-07T14:23:18 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-07T14:24:06 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-07T14:38:19 < catphish> can i generate a project with a makefile in cubeide, and then just use another text editor and make to build it? i don't see a makefile 2023-07-07T14:42:33 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-07T15:13:03 < PlasmaHH> catphish: I know that at least cubemx can generate projects for different target compilers and when you do a gcc project it comes with makefiles 2023-07-07T15:40:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-07T15:50:21 -!- Thorn_ [~Thorn@188.251.245.218] has quit [Quit: Some folks are wise, and some otherwise.] 2023-07-07T16:11:05 -!- specing [~specing@user/specing] has quit [Ping timeout: 246 seconds] 2023-07-07T16:12:12 * PlasmaHH wonders if the industry is moving away from bit-banding completely... 2023-07-07T16:18:47 -!- alan_o [~alan_o@2600:1700:1902:210f:683e:8e8f:f938:4e27] has quit [Ping timeout: 246 seconds] 2023-07-07T16:28:36 -!- alan_o [~alan_o@2600:1700:1902:210f:d91a:db75:a8cb:eb7c] has joined ##stm32 2023-07-07T16:30:02 < catphish> PlasmaHH: thanks, perhaps i'll try cubemx instead of the IDE version 2023-07-07T17:05:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-07T17:15:52 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 240 seconds] 2023-07-07T17:29:09 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-07T17:31:26 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-07T17:45:02 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-07T18:20:06 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-07T18:37:23 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-07T19:12:36 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-07T19:14:52 < catphish> weird, CDC_Receive_FS seems to get called with chunks if data i've transmitted, like they're getting partially echoed back 2023-07-07T19:15:59 < catphish> even if my PC sends nothing, CDC_Receive_FS gets called with lengths of data, and its buffer contains stuff the MCU recently sent out 2023-07-07T19:30:48 < mawk> a buffer is getting reused 2023-07-07T19:30:51 < mawk> or overflowed 2023-07-07T19:31:53 < catphish> yes, i think this is indeed a buffer reuse issue, the length of the data it thinks it's receiving is always 1, which makes me suspect there really isn't any data, but if there's no data, why is it calling CDC_Receive_FS with Len=1 2023-07-07T19:44:56 < catphish> yep seems when there *is* data it works fine, but when there isn't, CDC_Receive_FS is just called repeatedly with Len=1 and points to garbage 2023-07-07T19:48:25 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-07T20:02:41 < zyp> jpa-, got a new toy today: https://cdn.discordapp.com/attachments/813547772337979442/1126892575962431488/IMG_20230707_170831.jpg 2023-07-07T20:02:55 < zyp> now it's time to figure out how to do motor control with fpga 2023-07-07T20:03:38 < jpa-> gate driver, fets, is the third chip current measurement? 2023-07-07T20:04:11 < jpa-> yes, it is - googled :) 2023-07-07T20:04:21 < zyp> almost correct, the six identical ones are integrated dual FETs with driver, two in parallel per channel 2023-07-07T20:04:54 < jpa-> on an FPGA, i would go DTC route 2023-07-07T20:06:04 < jpa-> measure phase voltages, that gives you backemf vector, normalize it and multiply by wanted torque to get target current vector, run high speed control loop or bang-bang control to keep actual current vector vector matched to target 2023-07-07T20:06:11 < zyp> i.e. just calculate the currents I want and run a short bang-bang feedback loop to hit those? 2023-07-07T20:06:37 < jpa-> yeah 2023-07-07T20:07:13 < zyp> do I need backemf vector if I've got encoder? 2023-07-07T20:07:32 < jpa-> you can do some mild fancier than bang-bang algorithms to reduce average switching frequency if switching losses are important 2023-07-07T20:07:45 < jpa-> no 2023-07-07T20:10:57 < zyp> so I've got rotor angle from encoder, «multiply by wanted torque» is effectively park transform IIRC 2023-07-07T20:11:00 < jpa-> (of the fancier methods, the most basic is to adjust hysteresis of phase current regulation based on the total current - e.g. if you are driving 1A current between phase 1 & 2, then 0.1A hysteresis is fine for phase 3 also; but if you are driving just 0.1A torque, reduce hysteresis) 2023-07-07T20:11:36 < catphish> my USB problem seems to be more linux related than STM32 related, different serial port access programs give different (and weird) results :) 2023-07-07T20:12:12 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-07T20:12:14 < jpa-> i think that's clarke transform, park transform is the other direction 2023-07-07T20:15:20 < zyp> no, clarke is alpha-beta to abc, i.e. between a 2D vector and a three phase system 2023-07-07T20:15:33 < zyp> while park is just a 2D rotation matrix 2023-07-07T20:16:36 < jpa-> hmm, maybe 2023-07-07T20:16:52 < jpa-> i don't really bother with them, instead using just complex numbers 2023-07-07T20:17:32 < zyp> how do I do the comparison between current and target current, given that it's multidimensional? 2023-07-07T20:17:48 < jpa-> you can regulate each phase separately 2023-07-07T20:18:32 < zyp> i.e. do the regulation after converting it to a three phase current vector? 2023-07-07T20:18:37 < jpa-> yeah 2023-07-07T20:18:47 < jpa-> generally you only need to regulate two phases and let one be at constant 0 2023-07-07T20:21:32 < jpa-> for generating the three phase current vector, i would have a ram block contain lookup table for sin() at the encoder resolution, read that at sin(enc_angle), sin(enc_angle + 120°) and sin(enc_angle + 240°), and then multiply the results by the wanted torque to get the phase currents 2023-07-07T20:23:41 < jpa-> this works fine for torque & velocity control, but if you need position control at low speeds, you'll want to apply some rotor-aligned current also (helps dampen oscillations and reduce velocity ripple) 2023-07-07T20:24:18 < zyp> hmm, here's what I did on stm32g4: https://paste.jvnv.net/view/VrLwD 2023-07-07T20:25:02 < zyp> because it turned out that just running three channels like that magically creates nice waveforms 2023-07-07T20:26:02 < jpa-> std::polar() is doing the sin() lookup but with 0° and 90° base vectors; you can go directly to 120° base vectors to avoid the extra multiply step in inverse_clark() 2023-07-07T20:26:14 < zyp> yep 2023-07-07T20:27:16 < zyp> I was considering attempting a cordic implementation, but maybe a LUT is simpler :) 2023-07-07T20:28:08 < jpa-> considering that the current vector update doesn't have to run that often, you can run it even on a softcore or something :) 2023-07-07T20:28:29 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 240 seconds] 2023-07-07T20:29:24 < zyp> if 1kHz is enough, I could do it in linuxcnc :p 2023-07-07T20:30:02 < jpa-> you'd generally want at least 12 updates per electrical rotation 2023-07-07T20:31:28 < jpa-> doing it in linuxcnc has the advantage that if anything goes wrong, motor will stop spinning, unlike if you send target current updates or target velocity updates without timeout value :) 2023-07-07T20:32:16 < zyp> assuming there's no load on the motor :) 2023-07-07T20:32:19 < jpa-> the difference in sound between constant frequency PWM and DTC is surprisingly noticeable - even if the constant frequency PWM frequency is outside audible range, when you accelerate a motor it tends to generate some interference between harmonics that folds back to lower frequency and can be heard 2023-07-07T20:32:38 < zyp> tuning J2 and J3 on the robot arm is gonna be fun 2023-07-07T20:33:19 < jpa-> while with DTC it is just white noise; just a hiss until you accelerate enough that motor bearings are loudest noise 2023-07-07T20:33:58 < zyp> I got this board for prototyping the code intended for the new fanuc controller 2023-07-07T20:37:09 < zyp> hmm, LUT is advantageous because I can generate it for arbitrary encoder ranges, doesn't have to be a power of two 2023-07-07T20:37:38 < zyp> IIRC the motor I'm prototyping on got a 1000ppr encoder, so I've got 4000 steps 2023-07-07T20:39:26 < zyp> and if I'm not reading my old code wrong, it's got a pole count of 8, i.e. four electrical rotations per physical 2023-07-07T20:40:10 < jpa-> you can also divide down, the efficiency loss is on the level of sin(angle_increment) so even with 256 entry lut just 2% loss 2023-07-07T20:41:28 < zyp> I don't remember rated speed exactly, was somewhere on the order of 3-4000 rpm; 4000 rpm * 4 * 12 is 3.2 kHz 2023-07-07T20:42:02 < jpa-> or actually just half that, because you only have +- angle_increment/2 error of angle 2023-07-07T20:42:38 < zyp> what pwm resolution makes sense? 2023-07-07T20:42:52 < zyp> i.e. what should LUT width be? comparable to the ADC I guess 2023-07-07T20:43:22 < jpa-> typically you won't have PWM with DTC 2023-07-07T20:43:35 < jpa-> but the LUT width should indeed match ADC 2023-07-07T20:44:09 < zyp> fair point 2023-07-07T20:44:59 < zyp> ecp5 blockram is 18kb, and it doesn't make too much sense to not fill it, so I could do a 1k*18 LUT 2023-07-07T20:45:03 < veverak> why not taylor approx. for the sin/ocs ? 2023-07-07T20:45:05 < veverak> *sin cos 2023-07-07T20:45:44 < zyp> and since I've effectively got 1000 encoder steps per electrical rotation, that matches well 2023-07-07T20:46:16 < jpa-> or actually it doesn't have to be as wide as ADC, because the multiplication by torque current comes after the LUT; so the LUT only affects the angle resolution 2023-07-07T20:46:30 < veverak> hmm, it needs 3-5 iterations to approximate well on -pi/2 to pi/2 2023-07-07T20:48:38 < zyp> jpa-, IIRC the torque is one half of a vector where the other part is flux linkage, which is usually 0, right? 2023-07-07T20:49:15 < jpa-> as a rough guess, because sin() derivative is at most 1, the number of bits per LUT value should be at least the same as the address bits for the LUT; i.e. for 1024 entry LUT, 10 bits value 2023-07-07T20:49:24 < zyp> IIRC the only situation where you want it nonezero is if you want to run faster than rated speed 2023-07-07T20:49:44 < jpa-> yes, torque is the part perpendicular to rotor direction 2023-07-07T20:50:01 < jpa-> but the aligned component is useful for controlling position at low speed/torque 2023-07-07T20:50:37 < zyp> that's what multiplying before inverse clark gets me 2023-07-07T20:50:59 < jpa-> you can consider it like electromagnet around a compass - if you can only apply force perpendicular, you need to switch it constantly to keep the needle centered, but if you can apply a small field along the needle, it will stay in place by itself 2023-07-07T20:51:09 < zyp> yeah 2023-07-07T20:51:26 < zyp> and given that the robot arm will be doing positioning, I guess it can be useful 2023-07-07T20:51:42 < zyp> so I should design in both 2023-07-07T20:52:04 < jpa-> to do the same with the LUT method, you'd sample the sin table at 0+90, 120+90, 240+90 and then multiply that by the "aligned current" and add the values together 2023-07-07T20:52:26 < jpa-> not sure whether the number of multiplications is higher or lower than by separate polar() + inverse_clark() 2023-07-07T20:54:12 < zyp> I don't have to do polar + inverse clark, I could take the flux+torque vector as a polar magnitude + angle, add the angle to the encoder angle before lookup and multiply the magnitude after 2023-07-07T20:54:25 < jpa-> hmm, true 2023-07-07T20:55:03 < zyp> it's a bit moot since it's not in the fast path, but I guess I'll try working out what's easier to pipeline 2023-07-07T20:55:04 < jpa-> also because there will be plenty of clock cycles per update, you can run all the components through a single multiplier on FPGA 2023-07-07T20:55:11 < zyp> exactly 2023-07-07T20:56:11 < zyp> i.e. the number of multiplications matters less than where in the pipeline the multiplications have to happen :) 2023-07-07T20:58:54 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-07-07T21:10:49 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-07T21:24:18 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 260 seconds] 2023-07-07T21:27:48 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-07T21:44:39 -!- hsv [~unknown@user/hsv] has joined ##stm32 2023-07-07T22:06:12 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-07T22:10:47 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 264 seconds] 2023-07-07T22:42:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-07T22:57:25 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-07T23:02:58 -!- drzacek [~drzacek@2a01:3d8:365:e00:b94a:869e:dc46:26ca] has joined ##stm32 2023-07-07T23:15:32 -!- drzacek [~drzacek@2a01:3d8:365:e00:b94a:869e:dc46:26ca] has quit [Read error: Connection reset by peer] 2023-07-07T23:52:42 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 --- Day changed la heinä 08 2023 2023-07-08T00:18:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-08T00:38:33 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-08T00:40:33 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-08T00:50:57 -!- \dev\ice [~eabdb@user/device/x-9920846] has joined ##stm32 2023-07-08T01:11:52 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-08T01:28:47 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-08T02:58:16 -!- kow__ [~k\o\w@2607:fea8:1d00:89f0:2ccc:7d4:2f99:d066] has joined ##stm32 2023-07-08T02:59:09 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 246 seconds] 2023-07-08T03:01:09 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:1841:4d5d:9414:61fb] has quit [Ping timeout: 240 seconds] 2023-07-08T03:19:34 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-07-08T03:22:00 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-08T03:39:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-07-08T03:40:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-08T03:55:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-07-08T03:56:38 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-08T04:46:27 -!- splud [~noneya.bi@user/splud] has quit [Ping timeout: 245 seconds] 2023-07-08T05:07:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-08T05:20:24 -!- hexo__ [~hexo@user/hexo] has quit [Remote host closed the connection] 2023-07-08T05:25:03 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-08T05:31:24 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 246 seconds] 2023-07-08T06:00:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-08T06:05:00 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-07-08T06:26:30 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-08T07:16:23 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-08T07:20:13 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-08T07:38:14 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 246 seconds] 2023-07-08T08:27:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-08T08:35:35 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-08T08:50:59 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-08T09:12:51 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-08T09:33:39 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-08T09:38:49 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 240 seconds] 2023-07-08T11:03:34 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-08T11:16:16 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-07-08T11:19:21 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-08T12:35:54 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-08T13:08:21 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 245 seconds] 2023-07-08T14:55:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-08T14:57:12 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-08T15:03:15 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-08T16:00:59 -!- drzacek [~drzacek@2a01:3d8:36a:6200:153a:7c84:6105:8ef0] has joined ##stm32 2023-07-08T16:41:34 -!- drzacek [~drzacek@2a01:3d8:36a:6200:153a:7c84:6105:8ef0] has quit [Read error: Connection reset by peer] 2023-07-08T18:37:31 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-07-08T19:00:56 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-08T19:07:23 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-07-08T19:11:14 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-08T20:54:21 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-07-08T21:06:56 -!- josuah [~josuah@46.23.94.12] has quit [Read error: Connection reset by peer] 2023-07-08T22:12:11 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-08T22:35:10 -!- oz4ga [~tim@hator.sunsite.lv] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-07-08T22:50:44 < invzim> meeeh, my teledyne lecroy t2c is not recording/capturing :( 2023-07-08T23:34:12 -!- Suspect [~rod@211.30.185.75] has joined ##stm32 --- Day changed su heinä 09 2023 2023-07-09T00:36:42 -!- Suspect [~rod@211.30.185.75] has quit [Quit: Leaving] 2023-07-09T00:37:58 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-09T00:44:17 -!- grindhold_ [~quassel@mail.skarphed.org] has quit [Read error: Connection reset by peer] 2023-07-09T00:48:48 -!- grindhold_ [~quassel@mail.skarphed.org] has joined ##stm32 2023-07-09T01:17:10 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Quit: Bye] 2023-07-09T01:38:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-09T01:46:10 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-07-09T02:46:41 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-07-09T02:57:56 -!- ventYl [~ventyl@adsl-dyn11.78-99-63.t-com.sk] has quit [Server closed connection] 2023-07-09T02:58:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-09T02:58:10 -!- ventYl [~ventyl@adsl-dyn11.78-99-63.t-com.sk] has joined ##stm32 2023-07-09T03:02:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-09T04:43:53 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5324))] 2023-07-09T04:43:58 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-09T06:03:30 -!- qyx [~qyx@84.245.120.13] has quit [Ping timeout: 246 seconds] 2023-07-09T06:07:56 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Server closed connection] 2023-07-09T06:08:14 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-09T06:10:16 -!- zapb_ [~zapb@2a01:4f8:c010:372f::1] has quit [Server closed connection] 2023-07-09T06:10:25 -!- zapb_ [~zapb@2a01:4f8:c010:372f::1] has joined ##stm32 2023-07-09T06:55:39 -!- qyx [~qyx@84.245.120.135] has joined ##stm32 2023-07-09T07:11:37 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-09T07:44:59 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 264 seconds] 2023-07-09T08:01:28 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-09T08:22:32 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-09T09:44:55 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-09T09:48:32 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-09T10:52:36 -!- Kamilion [kamilion@copper.sllabs.com] has quit [Server closed connection] 2023-07-09T10:52:55 -!- Kamilion [kamilion@copper.sllabs.com] has joined ##stm32 2023-07-09T10:57:56 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Server closed connection] 2023-07-09T10:58:15 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-09T11:13:11 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-09T12:44:39 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-09T12:52:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-09T13:11:11 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-09T13:33:38 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-09T14:16:39 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-07-09T14:17:41 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-07-09T15:17:54 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-09T16:08:46 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-09T16:09:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-09T16:10:50 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-09T16:22:28 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Quit: Bye] 2023-07-09T16:33:22 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 260 seconds] 2023-07-09T16:45:26 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-09T18:05:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-d3d-158c-3b0a-7d14.fixed6.kpn.net] has joined ##stm32 2023-07-09T18:22:12 -!- noarb [~noarb@user/noarb] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-07-09T18:22:24 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-09T18:23:49 -!- noarb [~noarb@user/noarb] has joined ##stm32 2023-07-09T18:26:03 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-09T18:29:34 -!- specing [~specing@user/specing] has quit [Ping timeout: 260 seconds] 2023-07-09T18:52:56 < qyx> ded chats today 2023-07-09T18:53:11 < qyx> nobody working? 2023-07-09T19:01:18 < zyp> on a sunday? 2023-07-09T19:25:24 < qyx> for sure 2023-07-09T19:25:58 < Steffanx> We can talk about the weather: it's warm 2023-07-09T19:33:33 < qyx> same here stef 2023-07-09T19:38:08 < Steffanx> Temperatures are dropping rapidly though. 2023-07-09T19:38:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-d3d-158c-3b0a-7d14.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-07-09T19:49:25 < jpa-> next week looks like it is time to wash the rugs 2023-07-09T19:52:40 < Steffanx> The snow is finally gone jpa- ? 2023-07-09T19:54:19 < jpa-> yeah 2023-07-09T20:01:36 < catphish> quick sanity check - can one apply GPIO pullups to pins conneted to other peripherals? specifically can i have a PWM input pin on a timer with a pullup? it seems like i can but hoped someone could confirm that this interacts correctly 2023-07-09T20:03:04 < catphish> seems reasonable to assume that since cubemx allows this, but doesn't on pins connected to certain peripherals like USB, that it is supported 2023-07-09T20:23:38 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-d3d-158c-3b0a-7d14.fixed6.kpn.net] has joined ##stm32 2023-07-09T20:41:37 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-07-09T20:44:11 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 245 seconds] 2023-07-09T21:14:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-07-09T21:26:06 -!- ferdna_ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-09T21:27:47 < qyx> catphish: yes 2023-07-09T21:28:03 < catphish> thanks 2023-07-09T21:28:29 < qyx> but check their value, they are too weak for anything serious 2023-07-09T21:28:51 < qyx> somewhere around 50k iirc 2023-07-09T21:44:02 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 252 seconds] 2023-07-09T21:48:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-09T21:49:10 -!- dima [~dima@2a02:8010:679f:0:ca85:6068:42e3:2044] has joined ##stm32 2023-07-09T22:00:25 < benishor> close to being drunk 2023-07-09T22:00:32 < benishor> this summer weather is weird as fuck 2023-07-09T22:01:00 < benishor> one can't tell if it's time for beer or wine 2023-07-09T22:01:15 < benishor> https://www.youtube.com/watch?v=spd8K7UjBdM 2023-07-09T22:01:26 -!- dima [~dima@2a02:8010:679f:0:ca85:6068:42e3:2044] has quit [Ping timeout: 260 seconds] 2023-07-09T22:02:51 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-09T22:34:20 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-07-09T22:46:03 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-09T22:50:29 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-09T23:10:46 < Steffanx> Water is fine with me, benishor 2023-07-09T23:11:25 < PaulFertser> Steffanx: you mean you do not do anything mind-altering at all? 2023-07-09T23:12:50 < Steffanx> Does caffeine count PaulFertser ? 2023-07-09T23:13:05 < PaulFertser> Steffanx: guess yes 2023-07-09T23:13:34 < PaulFertser> I got a lever espresso machine at home. But still can't do proper milk foam for latte :( 2023-07-09T23:14:42 < Steffanx> My brain is broken enough on its own. It doesn't need more shit 2023-07-09T23:15:50 < PaulFertser> Hm, I mean not real lever, disregard. 2023-07-09T23:17:03 < PaulFertser> Just a regular machine with portafilter. Automatic volumetric control though. 2023-07-09T23:18:50 < PaulFertser> BTW, got some tea from https://kingteamall.com/ , can recommend. 2023-07-09T23:33:47 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-07-09T23:47:22 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 --- Day changed ma heinä 10 2023 2023-07-10T00:11:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-10T00:12:57 < qyx> PaulFertser: negative here 2023-07-10T00:13:28 < qyx> not even a coffee (instant coffee-like drinks don't count) 2023-07-10T00:21:45 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-10T00:36:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-10T00:37:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-10T00:40:12 < PaulFertser> qyx: both tea and instant coffee contain caffeine though. 2023-07-10T00:41:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-d3d-158c-3b0a-7d14.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-10T00:44:19 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-10T00:45:30 < Steffanx> So does cheap Aldi/lidl cola 2023-07-10T00:58:31 < BrainDamage> I used to get mine from adagio.uk.com, before lolbrexit 2023-07-10T00:59:22 < BrainDamage> I think they even closed their uk warehouse now 2023-07-10T01:03:15 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-10T01:08:57 < zyp> jpa-, I added input capability to my ethernet thing, now I can quickly do fpga-accelerated logic gates: https://paste.jvnv.net/view/f5Iwc 2023-07-10T01:09:00 < zyp> https://bin.jvnv.net/file/9oHeW.png 2023-07-10T01:16:41 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 245 seconds] 2023-07-10T01:28:22 < qyx> Steffanx: :( 2023-07-10T01:29:40 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-10T01:31:34 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-10T01:33:54 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-10T01:54:58 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-10T01:57:51 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-07-10T02:00:38 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-07-10T02:00:50 < BrainDamage> tcl? 2023-07-10T02:01:01 < BrainDamage> (not judging, just curious) 2023-07-10T02:01:37 < zyp> no, python, it's litex-based 2023-07-10T02:02:45 < BrainDamage> I meant the jraphical interface 2023-07-10T02:03:15 < zyp> ah, no idea 2023-07-10T02:04:11 < zyp> yeah, looks like tcl/tk: https://linuxcnc.org/docs/html/hal/halshow.html 2023-07-10T02:06:22 < zyp> what I'm doing is that I can declare HAL pins directly in the fpga code, and the linuxcnc driver just reads the metadata and makes HAL pin instances 2023-07-10T02:07:33 < zyp> so the host side driver needs no specific support for any features in a given fpga bitstream, it just exposes the signals that are declared 2023-07-10T02:10:27 -!- ferdna_ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-10T02:36:48 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-10T02:42:40 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-10T03:08:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-07-10T03:13:55 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-10T03:15:33 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-10T03:36:41 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 245 seconds] 2023-07-10T05:07:29 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-10T05:57:01 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-10T06:33:01 -!- oz4ga [~tim@hator.sunsite.lv] has joined ##stm32 2023-07-10T07:47:38 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-10T08:18:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-10T08:36:48 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-10T08:50:57 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-10T09:02:29 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-10T09:17:10 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 260 seconds] 2023-07-10T09:44:06 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-10T09:44:06 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-10T09:44:06 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-10T10:00:35 < qyx> how's karl's matters? 2023-07-10T10:05:30 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-10T10:06:41 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-10T10:50:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-10T11:53:24 < qyx> I have been debugging a failing CAN-FD bus 2 days 2023-07-10T11:54:17 < qyx> very interesting issue, kind of an open circuit or failed common mode choke or transient supressors 2023-07-10T11:54:57 < qyx> I replaced all (possibly affected) components 2023-07-10T11:55:02 < qyx> but kept the MCU 2023-07-10T11:55:12 < qyx> because CAN_TX was okay on the MCU side 2023-07-10T11:55:58 < qyx> so, the issue was.. one pin on a connector not soldered 2023-07-10T12:02:05 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-10T12:16:13 < PlasmaHH> qyx: one of the reasons why I like it when you can quickly grab another board... I personally constantly fry testpin output stages ;) 2023-07-10T12:24:52 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 250 seconds] 2023-07-10T12:37:49 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-10T13:51:17 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 246 seconds] 2023-07-10T13:51:31 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-10T14:04:46 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f854:8ba4:76c7:b0f2] has joined ##stm32 2023-07-10T14:24:51 < karlp> qyx: contract finished, might be more later. 2023-07-10T14:24:58 < karlp> not spending more time on it right now. 2023-07-10T14:25:03 < karlp> just melting at the summerhouse 2023-07-10T15:02:58 < qyx> is it that wrong? 20°C? 2023-07-10T15:03:13 < qyx> sorry, bad 2023-07-10T15:03:32 < qyx> melting too, 34 2023-07-10T15:31:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-10T15:36:27 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-10T16:13:06 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has quit [Ping timeout: 246 seconds] 2023-07-10T16:13:59 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has joined ##stm32 2023-07-10T16:22:02 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-07-10T16:23:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-10T16:34:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-10T16:41:52 < veverak> so, got a Q for ya: how painfull it would be to have multiple stm32g4 devices as slaves on i2c (all of which I control) and let them have "group i2c address" used only for writing to teh devices? 2023-07-10T16:42:12 < veverak> (that is, they would most propably all ACK at the same time, but I wonder whenever g4 would dislike that) 2023-07-10T16:44:34 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-10T16:52:58 < jpa-> should work, but I2C slave is annoying in general 2023-07-10T16:53:22 < jpa-> because of the short deadline for sending the response bytes 2023-07-10T17:07:46 < qyx> single wire uart not good? 2023-07-10T17:08:02 < qyx> it would be basically the same 2023-07-10T17:08:07 < qyx> (with a pullup) 2023-07-10T17:49:26 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 250 seconds] 2023-07-10T17:55:18 -!- rajkosto [~rajkosto@93-86-91-214.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-10T18:05:29 < catphish> stm32 question: how does the built in protection on IO pins work? with a suitable resistor can they take an essentially unlimited voltage, or is is more complicated than that? 2023-07-10T18:06:04 < mawk> it's diodes no? 2023-07-10T18:06:22 < mawk> proteccion diodes 2023-07-10T18:06:49 < BrainDamage> it's diodes other than the parasitic effect of the mos 2023-07-10T18:07:00 < BrainDamage> so they can handle higher current densities 2023-07-10T18:07:18 < BrainDamage> the external resistor is to limit the current so that they don't blow up from thermal effects 2023-07-10T18:07:47 < catphish> the reason for my question is basically this: i have an ADC input that's expecting 0-3V, but there's a good chance it accidentallky gets connected to +/- 15V 2023-07-10T18:08:02 < catphish> so i'm wondering how to protect this without messing up the linearity of the meaurement 2023-07-10T18:08:39 < BrainDamage> put a couple of zeners back to back to ground 2023-07-10T18:09:14 < catphish> i've done this in the past and quickly discovered that zeners draw current at well below their zener voltage 2023-07-10T18:09:25 < qyx> no zeners 2023-07-10T18:09:30 < qyx> much leakage, don't work 2023-07-10T18:09:34 < catphish> ^ this 2023-07-10T18:09:49 < BrainDamage> tvs then? 2023-07-10T18:10:01 < qyx> schottky to VSSA and VDDA 2023-07-10T18:10:17 < catphish> qyx: that sounds ideal actually 2023-07-10T18:10:19 < qyx> and a large cap + tvs/zener between VDDA and VSSA 2023-07-10T18:11:46 < qyx> but large series resistor adds noise and increases imput impedance seen by the ADC 2023-07-10T18:11:58 < qyx> so depending on the sample rate you may have to buffer that 2023-07-10T18:12:39 < catphish> it's very slow, and i'll put a 100n buffer cap on it 2023-07-10T18:12:40 < qyx> parallel cap to ground on the ADC input helps to some degree 2023-07-10T18:13:31 < catphish> and the STM32 doesn't have these diodes built in? 2023-07-10T18:13:43 < qyx> iirc not in analol mode 2023-07-10T18:13:47 < qyx> check the ds 2023-07-10T18:13:50 < catphish> ah that makes sense 2023-07-10T18:13:59 < qyx> I may be wrog 2023-07-10T18:14:03 < qyx> *frog 2023-07-10T18:14:06 < qyx> *wrong 2023-07-10T18:21:55 < catphish> rivet 2023-07-10T18:33:37 < catphish> ah yes, schottky to 3v3 creates a brand new problem because it will raise my whole power rail to thet voltage, so will need more protection there too 2023-07-10T18:34:31 < qyx> yeah that's ok as long as your consumption is bigger than the current you are limiting to 2023-07-10T18:34:38 < qyx> vreg will regulate that 2023-07-10T18:34:49 < qyx> and if not, use a zener/tvs on the VDDA rail 2023-07-10T18:36:59 < catphish> yeah, was just thinking about that, the setup is supposed to have a very low power standby power consumption so will need to be careful 2023-07-10T18:39:51 < catphish> this should work: https://i.imgur.com/GFiYKsk.png 2023-07-10T18:39:51 < catphish> i'm actually only measuring *resistance* of an input, so here D9 can block positive input voltages, and D8 can protect against negative input voltages 2023-07-10T18:39:55 < catphish> thanks 2023-07-10T18:40:14 < catphish> PP is just a resistor to GND that i want to measure 2023-07-10T18:40:41 < catphish> but a resistor to GND that idiots have access to :) 2023-07-10T18:53:16 < BrainDamage> catphish: https://0x0.st/Hjr3.png 2023-07-10T18:53:34 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-07-10T18:54:01 < BrainDamage> replace the zener with a tvs proper 2023-07-10T18:54:07 < BrainDamage> circuitjs didn't have it 2023-07-10T19:57:18 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-10T20:25:50 < catphish> BrainDamage: thanks, i pretty much settled on this: https://tinyurl.com/25osghvh 2023-07-10T20:30:13 < catphish> with this setup i can measure the value of the resistor with as much accuracy as i need to, positive input voltages (likely) are harmless, and negative input voltages (less likely) induce some current and a voltage of -0.6v on the ADC, but shouldn't damage anything in a hurry 2023-07-10T20:49:34 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f021-9def-e440-e2c1.fixed6.kpn.net] has joined ##stm32 2023-07-10T21:06:09 < qyx> replace the diode with a schottky and you can get around -0.2 v 2023-07-10T21:14:24 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-10T21:39:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f021-9def-e440-e2c1.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-10T21:42:47 < zyp> catphish, if you want it to survive -20V, remember to pick the right power rating for that 330R 2023-07-10T21:43:03 < zyp> it says it'll dissipate 1.521W at -20V 2023-07-10T21:45:06 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-10T21:49:35 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 258 seconds] 2023-07-10T22:48:15 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-10T23:42:35 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 264 seconds] 2023-07-10T23:54:59 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-10T23:57:06 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-10T23:57:09 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-10T23:59:18 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 246 seconds] --- Day changed ti heinä 11 2023 2023-07-11T00:02:49 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-11T00:06:02 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-11T00:09:27 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-07-11T00:11:11 < nomorekaki> hello late 2023-07-11T00:11:22 < zyp> ok 2023-07-11T00:22:17 < nomorekaki> how is innovating? 2023-07-11T00:22:42 < karlp> qyx: 29 in the kitchen here yesterday, 27 now. too hot for us at home :) 2023-07-11T00:23:19 < zyp> nomorekaki, I improved my linuxcnc protocol thing, now I can do fpga-accelerated addition and subtraction as well: https://bin.jvnv.net/file/WYbrd.png 2023-07-11T00:23:49 < nomorekaki> but opensores must barelly work? 2023-07-11T00:23:58 < nomorekaki> just barelly 2023-07-11T00:24:18 < zyp> fpga side code is still as convenient as before: https://paste.jvnv.net/view/Gy09s 2023-07-11T00:24:38 < nomorekaki> you have the fastest linuxcnc in the world no question 2023-07-11T00:24:51 < zyp> the fastnetest at least 2023-07-11T00:29:27 < qyx> hm, which js lib have you used for timeseries if any? 2023-07-11T00:29:38 < qyx> all seem to be slow and lagging 2023-07-11T00:39:24 < karlp> you need to filter server side in my limited experience. 2023-07-11T00:39:41 < karlp> most of them expect no mor ethan a few thousand points tops. 2023-07-11T00:39:56 < karlp> but I generally tried to avoid doing this personally. 2023-07-11T00:40:16 < karlp> grafana saved dashboards as a proof of concept, .... 2023-07-11T00:40:48 < qyx> tried plotly.js and chart.js so far 2023-07-11T00:40:54 < qyx> one is svg based, the other one is canvas based 2023-07-11T00:41:23 < qyx> a 500 point graph takes 250ms to render, that's bs 2023-07-11T00:41:40 < qyx> basically a one minute record of 1 sps data, 8 channels 2023-07-11T00:41:44 < qyx> nothing special 2023-07-11T00:45:42 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Quit: martinmoene] 2023-07-11T00:48:17 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-75da-a7d5-a6f3-87b2.fixed6.kpn.net] has joined ##stm32 2023-07-11T01:06:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-75da-a7d5-a6f3-87b2.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-11T01:10:52 -!- oz4ga [~tim@hator.sunsite.lv] has quit [Remote host closed the connection] 2023-07-11T01:11:23 -!- oz4ga [~tim@hator.sunsite.lv] has joined ##stm32 2023-07-11T01:52:55 < qyx> the whole problem was in x-axis min/max recomputation in the timeseries data 2023-07-11T01:53:14 < qyx> if I set min/max (since/to) statically, it is quite fast 2023-07-11T02:22:56 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 250 seconds] 2023-07-11T02:37:14 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 250 seconds] 2023-07-11T02:41:04 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-11T03:09:55 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-07-11T03:13:52 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-11T04:36:25 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-07-11T04:40:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-11T05:27:27 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-11T05:40:45 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-11T06:08:41 -!- qyx [~qyx@84.245.120.135] has quit [Ping timeout: 246 seconds] 2023-07-11T06:10:50 -!- qyx [~qyx@84.245.121.221] has joined ##stm32 2023-07-11T07:11:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-11T07:42:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-11T07:43:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-11T08:05:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-11T08:27:02 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-11T08:37:26 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-11T08:57:31 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-11T08:59:25 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 240 seconds] 2023-07-11T09:35:08 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-11T09:35:47 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-11T09:53:30 < rob_w> hi guys .. can one point me or help me on a generic way to debug hardfaults or even a IACCVIOL - Instruction access violations ? 2023-07-11T09:54:43 < ventYl> I usually take a look on stack trace to see what's the point of failure 2023-07-11T09:55:58 < ventYl> nasty hardfaults usually come when you forget to ISB() or DSB() 2023-07-11T09:57:16 < rob_w> my scenario is that i got a working code which was in flash in a previous cpu with more flash and port it to XiP qspi on a same cpu with lower flash 2023-07-11T09:57:52 < rob_w> so i guess either the my .ld or the init of the code from qpsi is needing attentions 2023-07-11T09:59:07 < ventYl> at what point in the code you get the hardfault? 2023-07-11T09:59:51 < rob_w> at a later stage ... quite some code starts and runs ... if i take out some code before, the hardfault or mem_fault wanders to a different point 2023-07-11T10:00:47 < ventYl> does it already run out of QSPI? 2023-07-11T10:01:01 < rob_w> so to me as a linux guy , this either looks like a overflow ( buggy code ) which now arises or the wron qspi init/linker 2023-07-11T10:01:05 < rob_w> yes it works 2023-07-11T10:01:28 < rob_w> i am able to load via external loader from stm32 ide and be able to step and break it 2023-07-11T10:01:43 < ventYl> I'd check the stack trace, if the address of instruction makes sense (is reasonably within code area as well reasonably within QSPI) 2023-07-11T10:02:06 < ventYl> and then the registers 2023-07-11T10:02:59 < ventYl> if there was some kind of overflow, you'd have bullshit entry in the stack trace 2023-07-11T10:04:36 < rob_w> i added -fstack-usage but somehow the ide doesnt recognize it 2023-07-11T10:06:05 < ventYl> if you get iaccviol, I assume you get PC wrong. you have to find out why 2023-07-11T10:06:31 < ventYl> ARM does not store return address on the stack implicitly, so dealing with stack usage may be futile 2023-07-11T10:07:15 < rob_w> thx sofar ventYl 2023-07-11T10:07:33 < rob_w> i never dove into regs too deep , seems time has come 2023-07-11T10:08:57 < rob_w> true .. pc show a strange address 2023-07-11T10:09:21 < ventYl> jump one frame out and check what code led to that strange address 2023-07-11T10:09:38 < ventYl> of course, if the whole stack is not already entirely corrupted 2023-07-11T10:10:13 < ventYl> and yeah, it is always worth of checking if your stack wasn't corrupted because if overflown 2023-07-11T10:10:36 < rob_w> when i look at the calling functiosn pc, looks ok .. but in the "fault analyzer" i see pc becomes a 0xbf00bd10 which is odd to me 2023-07-11T10:10:57 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-11T10:12:51 < rob_w> ok .. r3 hold that 0xbfd address .. lets see 2023-07-11T10:13:08 < ventYl> i don't know what fault analyzer is, i have never seen cube ide running 2023-07-11T10:13:22 < rob_w> lucky u ventYl ! 2023-07-11T11:04:04 < rob_w> as i am switching from a stm32h743 to a stm32h750 .. do you think dma and ram related stuff might be off ? 2023-07-11T11:13:41 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-07-11T11:14:17 < ventYl> most probably not 2023-07-11T11:24:58 < qyx> you can easily check on h743, change the load address from 0x08000000 to something else (shift by 256 bytes or so) 2023-07-11T11:25:26 < qyx> if it works, check if it works on h743 from qspi from 0xc0000000 or whatever the exact address is 2023-07-11T11:25:39 < qyx> if both yes, move on to h750 2023-07-11T11:25:58 < qyx> or choose a more systematic approach, open datasheets, RMs and gdb and invsetigate 2023-07-11T11:28:14 < qyx> karlp: simcom A7672 is < 10e in bulk, lte cat 1 + lowers 2023-07-11T11:28:29 < qyx> but probably not relevant anymore 2023-07-11T11:31:20 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-11T11:45:14 < drzacek> oooo h7 bois, those are fancy. but also scary 2023-07-11T11:45:29 < drzacek> I dont dare to touch them, seems so much more complex compared to F103 2023-07-11T11:56:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-11T11:57:25 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f854:8ba4:76c7:b0f2] has quit [Ping timeout: 240 seconds] 2023-07-11T11:57:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:21df:fa50:61c7:d80] has joined ##stm32 2023-07-11T12:01:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-11T12:19:26 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-11T12:47:03 < qyx> also, fuk cellular, so damned technology even in 2023 2023-07-11T12:58:47 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-11T12:59:03 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-11T13:11:39 < karlp> qyx: yea, seen them, was looking at getting one of the lilygo dev boards to play with it, but... yeah, don't actualy have a project for it right now of my own :) 2023-07-11T13:12:42 < karlp> cavli has a 7€ or something module too these days, 2023-07-11T13:12:45 < karlp> cat1bis 2023-07-11T13:17:51 < qyx> I probably have a project for it but I wanted to use ubloces 2023-07-11T13:18:11 < qyx> because swiss and what not, must be high quality 2023-07-11T13:18:20 < qyx> despite mawk raging about them 2023-07-11T13:19:07 < qyx> so let's find a suitable pdip/soic opamp and try to buffer that reference 2023-07-11T13:20:14 < karlp> I have virtually zero reason to actually believe ublox is "better" than anyone else... 2023-07-11T13:20:31 < karlp> you may be able to contact engineering with more ease than simcom though. 2023-07-11T13:21:02 < karlp> quectel simply replied to me first and the price difference for round 1 stuff was not worth looking at the simcom stuff harder, 2023-07-11T13:21:19 < karlp> our old manufacturing partner in .dk used simcom stuff for the price, but I was doing it without them :) 2023-07-11T13:21:27 < qyx> not because they are better but because geopolitics marketing 2023-07-11T13:21:42 < karlp> well, there is that, yes. 2023-07-11T13:21:57 < karlp> quacktel is china too, 2023-07-11T13:22:29 < qyx> and having ST build their fab in france both stm32 and ublox should be pretty obtainable in long term 2023-07-11T13:23:22 < qyx> I am not saying chinks are particulary bad but they are risky now I would say 2023-07-11T13:24:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:21df:fa50:61c7:d80] has quit [Ping timeout: 240 seconds] 2023-07-11T13:41:30 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:ad1d:a05a:b2c5:66dc] has joined ##stm32 2023-07-11T13:47:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:ad1d:a05a:b2c5:66dc] has quit [Ping timeout: 264 seconds] 2023-07-11T13:49:05 < karlp> ublox is just rebadging with sw aren't they? 2023-07-11T13:49:13 < karlp> lots of their parts are nordicks or espressif inside... 2023-07-11T13:55:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:8c97:9ee4:3b9b:acdf] has joined ##stm32 2023-07-11T14:00:36 < Steffanx> Yeah.. 2023-07-11T14:38:29 < qyx> hm 2023-07-11T14:41:51 < qyx> fixed my adc by an order of magnitude with a bit shitty MCP6002 2023-07-11T14:43:32 < qyx> https://bin.jvnv.net/file/i0riR 2023-07-11T14:45:27 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 245 seconds] 2023-07-11T14:47:08 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-11T14:50:25 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:8c97:9ee4:3b9b:acdf] has quit [Ping timeout: 240 seconds] 2023-07-11T15:06:25 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-11T16:03:51 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:5946:9831:d9f:4b79] has joined ##stm32 2023-07-11T16:36:15 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c15a-bf3f-f65c-9691.fixed6.kpn.net] has joined ##stm32 2023-07-11T16:46:33 < mawk> are you sure karlp ? 2023-07-11T17:09:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-11T17:12:15 < Steffanx> Are you, mawk? 2023-07-11T17:12:48 < mawk> no 2023-07-11T17:15:00 < ventYl> :> 2023-07-11T17:18:24 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-11T17:32:04 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:5946:9831:d9f:4b79] has quit [Ping timeout: 250 seconds] 2023-07-11T17:35:43 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f0d9:74f0:83dc:8616] has joined ##stm32 2023-07-11T17:39:23 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-11T17:40:55 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-07-11T17:59:02 < zyp> jpa-, the zero-pulse on my motor's encoder is inconveniently wide: https://bin.jvnv.net/file/SO2Io.png 2023-07-11T18:17:25 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Read error: Connection reset by peer] 2023-07-11T18:18:58 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-11T18:58:42 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-11T19:02:12 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f0d9:74f0:83dc:8616] has quit [Ping timeout: 250 seconds] 2023-07-11T19:02:37 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:5096:3265:d1c3:a042] has joined ##stm32 2023-07-11T19:21:18 < jpa-> zyp: kind-of, but wouldn't you use it only during homing anyway? so should be reasonable to trigger on an edge of it 2023-07-11T19:31:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c15a-bf3f-f65c-9691.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-11T19:41:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:5096:3265:d1c3:a042] has quit [Ping timeout: 252 seconds] 2023-07-11T19:42:09 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4898:bd7b:2ba9:4be6] has joined ##stm32 2023-07-11T19:45:07 -!- specing_ [~specing@user/specing] has joined ##stm32 2023-07-11T19:45:07 -!- specing [~specing@user/specing] has quit [Killed (NickServ (GHOST command used by specing_))] 2023-07-11T19:46:52 -!- specing_ is now known as specing 2023-07-11T20:06:46 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-11T20:30:30 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 252 seconds] 2023-07-11T20:37:20 < machinehum> MCAC50P03B-TP 2023-07-11T20:37:27 < machinehum> What do you guys think about that fet? 2023-07-11T21:05:12 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-11T21:13:38 < jpa-> the name feels a bit too long and complex 2023-07-11T21:17:33 < jpa-> you may want to consider if you benefit from the logic level gate drive - for a P-mosfet that doesn't seem that useful, and if your gate driver is weak, it carries the risk of induced turn-on and slow turn-off due to gate-drain capacitance 2023-07-11T21:21:39 < qyx> it is not from a reputable manufacturer 2023-07-11T21:35:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e139-c7de-651e-d663.fixed6.kpn.net] has joined ##stm32 2023-07-11T21:43:06 < machinehum> I think I'll probably redesign it to use N fets 2023-07-11T21:44:38 < machinehum> My ideal diode isn't working https://i.imgur.com/Md1fHqK.png 2023-07-11T21:45:10 < machinehum> When powered from 12V, I'm seeing 3.3V at Vin, which I can draw 100mA with a 1V drop 2023-07-11T21:45:13 < machinehum> I guess it's kinda working 2023-07-11T21:47:31 < machinehum> Oh now that doesn't happen anymore 2023-07-11T21:47:40 < zyp> jpa-, indeed, but it has two edges :) 2023-07-11T21:53:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-11T22:06:59 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-11T22:35:20 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-11T22:35:38 < nomorekaki> there was very fine ideal diode design on this channel a year ago maybe 2023-07-11T22:58:22 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4898:bd7b:2ba9:4be6] has quit [Ping timeout: 250 seconds] 2023-07-11T22:58:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:45c4:936a:3c84:1c72] has joined ##stm32 2023-07-11T23:07:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e139-c7de-651e-d663.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-11T23:31:21 < nomorekaki> Steffanx: you plan to have summer vac? 2023-07-11T23:35:38 < machinehum> nomorekaki: I'll look around 2023-07-11T23:35:53 < machinehum> My issue is Q3A is on 2023-07-11T23:36:02 < machinehum> When Vin > 12V 2023-07-11T23:36:12 < machinehum> Meaning Q7 is off 2023-07-11T23:36:17 < machinehum> Which is not what I want 2023-07-11T23:39:35 < Steffanx> Yeah nomorekaki 2023-07-11T23:43:12 < nomorekaki> trance musics for steff https://www.youtube.com/watch?v=mDmHFBx_CVU ? 2023-07-11T23:50:25 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] --- Day changed ke heinä 12 2023 2023-07-12T00:14:57 < karlp> mawk: some of their stuff is qualcomm inside, sure, probably others, but htat' sit. you're paying for the software and branding. 2023-07-12T00:15:23 < karlp> qyx: what did you do, replace xxx with mcp6002 or replace mcp6002 with xxx? 2023-07-12T00:15:38 < Steffanx> What about me nomorekaki ? 2023-07-12T00:15:42 < Steffanx> Mr* 2023-07-12T00:16:08 < nomorekaki> Pardon Sir? 2023-07-12T00:16:13 < qyx> karlp: added mcp6002 to buffer the reference 2023-07-12T00:16:40 < qyx> because mcp3561 (surprise) doesn't buffer VREF+ 2023-07-12T00:16:55 < Steffanx> What about Mr nomorekaki and holiday plans 2023-07-12T00:17:07 < nomorekaki> ah 2023-07-12T00:17:12 < nomorekaki> no 2023-07-12T00:19:24 < karlp> mawk: ex: https://fccid.io/XPY2AGQN4NNN/Internal-Photos/Internal-Photos-5768513 2023-07-12T00:19:32 < karlp> you can take your pick of ublox parts... 2023-07-12T00:20:40 < mawk> I tore down a SARA-R510S once but I don't remember a notable chip vendor logo inside it 2023-07-12T00:21:07 < mawk> I didn't specifically look for it though 2023-07-12T00:21:32 < mawk> yeah the ones I was working with were very likely qualcomm 2023-07-12T00:21:45 < mawk> since the super secret tool to analyze traces was some qualcomm weird thing 2023-07-12T00:21:51 < qyx> why is the balun thing tombstoned 2023-07-12T00:21:55 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has quit [Ping timeout: 240 seconds] 2023-07-12T00:22:06 < karlp> maybe they make their own gnss stuff, but ?all? their modems are qualcom or others to my understanding. 2023-07-12T00:22:16 < karlp> and I've seen espressif and nordicks inside too 2023-07-12T00:22:35 < karlp> https://www.u-blox.com/en/product/nina-b1-series-open-cpu even advertises it 2023-07-12T00:22:36 < mawk> broke it when desoldering qyx I guess 2023-07-12T00:22:47 < qyx> I don't mind qualcomm if they manage to fix their sw 2023-07-12T00:23:00 -!- Luggi09498284764 [~lux@91.66.48.25] has joined ##stm32 2023-07-12T00:23:16 < karlp> https://www.u-blox.com/en/u-blox-announces-compact-Bluetooth-LE-and-Wi-Fi-module-for-demanding-customer-applications is esp32-s3.... 2023-07-12T00:23:26 < mawk> R510S isn't GNSS it's LTE-M/NB-IoT 2023-07-12T00:24:17 < karlp> no, I mean, maybe some of their gnss parts were their own silicon, I don't know about them. 2023-07-12T00:37:09 < mawk> ah right 2023-07-12T01:02:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e5eb-3922-180a-d341.fixed6.kpn.net] has joined ##stm32 2023-07-12T01:28:10 < karlp> whee, blinky on bl616 works. 2023-07-12T01:28:37 < karlp> have to download a china binary "open riscv" toolchain, but ... command line compiles, flashing is quick, 2023-07-12T01:28:40 < karlp> could have been worse! 2023-07-12T01:30:41 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-12T01:32:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-12T02:05:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e5eb-3922-180a-d341.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-12T02:08:21 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 245 seconds] 2023-07-12T02:23:45 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-12T02:45:31 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T02:48:45 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T02:49:35 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 246 seconds] 2023-07-12T02:53:05 -!- duude__- [~duude__@user/duude/x-4676560] has quit [Ping timeout: 246 seconds] 2023-07-12T03:10:14 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T03:14:00 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T03:14:55 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-07-12T03:17:43 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T03:18:48 -!- duude__- [~duude__@user/duude/x-4676560] has quit [Ping timeout: 250 seconds] 2023-07-12T03:20:32 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:45c4:936a:3c84:1c72] has quit [Ping timeout: 250 seconds] 2023-07-12T03:20:49 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c8aa:8d9:ad7b:fa07] has joined ##stm32 2023-07-12T03:22:45 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-12T03:23:25 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-07-12T03:25:07 -!- duude__- is now known as duude__ 2023-07-12T04:26:08 < zyp> one of the power stage chips on this bldc pmod was misaligned and shorting out its bootstrap cap, which means it shorted out the logic supply rail when attempting to charge it 2023-07-12T04:27:06 < zyp> after hotairing it a couple of times, it doesn't do that anymore, now it shorts out the power bus rail instead when it tries driving high 2023-07-12T04:27:52 < zyp> most likely I got it misaligned the other way instead so it doesn't enable correctly, and still drives low when the parallel one attempts driving high 2023-07-12T04:28:19 < zyp> I think I hate this package 2023-07-12T05:12:56 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 245 seconds] 2023-07-12T05:13:06 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-12T06:46:18 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-12T07:20:37 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-12T07:32:54 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 260 seconds] 2023-07-12T07:45:03 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-12T08:19:50 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-07-12T08:28:57 -!- rkta_ [~rkta@user/rkta] has joined ##stm32 2023-07-12T08:29:33 -!- rkta_ [~rkta@user/rkta] has quit [Client Quit] 2023-07-12T08:32:48 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-12T08:46:08 -!- rkta [~rkta@user/rkta] has quit [Quit: zzz] 2023-07-12T08:46:22 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-12T08:47:20 -!- Kerr [~Kerr@174.31.113.57] has joined ##stm32 2023-07-12T08:54:25 < jpa-> zyp: you know which way you are spinning, rising edge is falling edge when direction is negative :) 2023-07-12T08:57:35 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 264 seconds] 2023-07-12T08:58:24 < jpa-> machinehum: why is R20 larger than R19? wouldn't that bias the circuit toward Q7 staying off unless there is significant current draw? 2023-07-12T08:58:49 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:b001:236f:2e35:49a6] has joined ##stm32 2023-07-12T08:59:41 < jpa-> apparently direct from https://www.powerelectronictips.com/inexpensive-ideal-diode-mosfet-circuit/ 2023-07-12T09:00:49 < jpa-> which from the graphs seems to indeed only conduct at high currents 2023-07-12T09:01:26 < jpa-> not very good behavior, a simple comparator chip would be more effective :) 2023-07-12T09:01:29 -!- kow__ [~k\o\w@2607:fea8:1d00:89f0:2ccc:7d4:2f99:d066] has quit [Ping timeout: 246 seconds] 2023-07-12T09:11:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-12T09:18:41 -!- srk [~sorki@user/srk] has quit [Remote host closed the connection] 2023-07-12T09:19:00 -!- srk [~sorki@user/srk] has joined ##stm32 2023-07-12T09:22:00 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-12T09:33:55 -!- Kerr [~Kerr@174.31.113.57] has quit [Quit: Client closed] 2023-07-12T09:36:55 -!- Kerr [~Kerr@174.31.113.57] has joined ##stm32 2023-07-12T09:52:59 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-12T10:01:00 -!- Kerr [~Kerr@174.31.113.57] has quit [Quit: Client closed] 2023-07-12T10:09:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-07-12T10:14:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-12T11:10:48 < qyx> where do you order ~10" LCDs from? 2023-07-12T11:11:04 < qyx> bare bones hdmi 2023-07-12T11:25:18 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-12T11:41:46 < Steffanx> Alibaba 2023-07-12T11:44:32 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-07-12T11:45:29 < qyx> I want to do this in a peli case https://hackaday.io/project/186670/gallery#a82a6f98fe13008b885d082878f5687f 2023-07-12T11:46:13 < qyx> apparently it is called "cyberdeck" nowadays for reasons unknown to me 2023-07-12T11:53:14 < zyp> jpa-, yeah, except it gets annoying to keep track of 2023-07-12T11:53:26 < zyp> so I'm not going to :) 2023-07-12T11:54:42 < zyp> I ended up doing this: https://paste.jvnv.net/view/9DDwo 2023-07-12T11:57:28 < c10ud> qyx, buydisplay.com 2023-07-12T11:58:13 < zyp> I think I'm going to split it in two parts, joined by the up/down/zero signals, to make it easy to attach multiple counters to the same decoder 2023-07-12T11:59:31 < zyp> e.g. to have one that wraps with the electrical angle of the motor, and one that's large enough to not wrap, to track absolute position 2023-07-12T12:01:22 < qyx> c10ud: are they eu friendly now? 2023-07-12T12:02:11 < c10ud> i believe they always had been, but it's been a while since i last ordered.. 2023-07-12T12:03:12 < qyx> same here 2023-07-12T12:11:07 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c8aa:8d9:ad7b:fa07] has quit [Ping timeout: 258 seconds] 2023-07-12T12:11:19 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d871:342c:c557:fdb0] has joined ##stm32 2023-07-12T12:47:57 < qyx> kikecad refuses to connect my pads https://bin.jvnv.net/file/CBxoF/Screenshot_2023-07-12_11-47-27.png 2023-07-12T12:48:25 < qyx> it works for net earth and layer 2, doesn't work for net gndd, layer 3 2023-07-12T12:48:44 < qyx> it even looks connected 2023-07-12T12:58:28 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-12T13:07:47 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d871:342c:c557:fdb0] has quit [Ping timeout: 264 seconds] 2023-07-12T13:08:50 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:fc76:5ace:211b:52de] has joined ##stm32 2023-07-12T13:32:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:fc76:5ace:211b:52de] has quit [Ping timeout: 258 seconds] 2023-07-12T13:32:49 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4008:e4b8:d034:7938] has joined ##stm32 2023-07-12T15:22:01 < josuah> qyx: I had that when starting a wire from nowhere and reaching a pad back, but that looks a bit different than what you have there... 2023-07-12T15:22:20 < josuah> Are there other GNDD things which are correctly wired and recognized as such on that layer? 2023-07-12T15:22:48 < josuah> what happens when you try to put a trace directly from one pad to the other rather than using the plane? 2023-07-12T15:23:00 < josuah> could be worth trying to delete and rebuild the plane, just to check 2023-07-12T15:39:52 < qyx> I did all, a dedicated wire connects them, rebuilding doesn't help 2023-07-12T16:06:37 < ventYl> have you tried turning it off and on again? 2023-07-12T16:19:54 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4008:e4b8:d034:7938] has quit [Ping timeout: 258 seconds] 2023-07-12T16:20:19 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c827:f7ad:4e7b:ecaf] has joined ##stm32 2023-07-12T16:24:52 < Steffanx> Is qyx still on kicad 5? 2023-07-12T16:45:22 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-12T16:52:27 < qyx> of course 2023-07-12T17:00:01 < zyp> jpa-, https://bin.jvnv.net/file/h9WQ1.mp4 2023-07-12T17:01:12 < zyp> currently driving it from linuxcnc's bldc block: https://bin.jvnv.net/file/uOFWD.png 2023-07-12T17:02:02 < qyx> how hard is to get BLE working between let's say esp32 and a linux box with a USB dongs? 2023-07-12T17:02:25 < qyx> I need to transfer one fload per minute or so 2023-07-12T17:02:28 < zyp> idk about the esp32 side, but bleak works pretty well for the linux side 2023-07-12T17:02:31 < qyx> *float 2023-07-12T17:03:15 < qyx> I am BLE noob, is there some common device class I may use? 2023-07-12T17:03:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-12T17:03:56 < zyp> I don't think there's a point in shoehorning it into a class 2023-07-12T17:05:42 < zyp> you can add arbitrary data to the periodic advertisement messages the device is broadcasting if you want 2023-07-12T17:06:10 < zyp> or you could make a notification characteristic that you can connect and subscribe to 2023-07-12T17:07:15 < qyx> reading some random tutorial 2023-07-12T17:07:16 < qyx> https://randomnerdtutorials.com/esp32-ble-server-client/ 2023-07-12T17:07:25 < qyx> looks pretty trivial 2023-07-12T17:07:36 < zyp> yes 2023-07-12T17:07:46 < Steffanx> To forget to pay the 10k euro BLE fee 2023-07-12T17:08:29 < qyx> fuk fees, I only want soil humidity sensors for my garden 2023-07-12T17:09:08 < qyx> and I have a bag of esp32-c3 2023-07-12T17:09:28 < Steffanx> Don't forget to* 2023-07-12T17:09:31 < specing> lol 2023-07-12T17:11:57 < ventYl> qyx: basically the only "issue" is that you have to have an app to talk to the other end 2023-07-12T17:12:07 < ventYl> there is no such thing as system-supported classes you can rely on 2023-07-12T17:13:50 < ventYl> "classes" are being defined for certain devices. but that boils down to characteristics these devices shall provide. many older stuff predates those "classes" so it does whatever it wants 2023-07-12T17:15:37 < zyp> like USB, «classes» are useful when you want to talk to existing software through a defined interface 2023-07-12T17:15:50 < zyp> if you're doing both ends yourself, you don't care about that 2023-07-12T17:16:13 < ventYl> well, I somehow expected these classes to be already existing 2023-07-12T17:16:39 < ventYl> by the time I was investigating BLE (~1 year ago) the classes were WIP) 2023-07-12T17:16:55 < ventYl> so there's ton of software at both ends which has different and generally incompatible interface 2023-07-12T17:17:30 < jbo> moin 2023-07-12T17:17:30 < zyp> uh, there were already standard classes available first time I played with BLE like ten years ago 2023-07-12T17:17:42 < zyp> like e.g. HID, for BLE keyboards 2023-07-12T17:18:27 < qyx> so a single characteristic you say and that's enough if I know the UUID 2023-07-12T17:19:29 < zyp> characteristics can have names and other metadata, so you can connect to a device and query what characteristics it has and their names 2023-07-12T17:22:30 < qyx> oh 2023-07-12T17:24:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-12T18:02:59 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c827:f7ad:4e7b:ecaf] has quit [Ping timeout: 264 seconds] 2023-07-12T18:03:20 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:183c:bae0:8f1c:f87c] has joined ##stm32 2023-07-12T18:36:16 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-07-12T19:24:02 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-12T19:43:07 < machinehum> jpa-: Honestly I don't fully understand the circuit which is part of the problem. I'm just going to go with this guy https://www.diodes.com/assets/Datasheets/AP74700Q.pdf 2023-07-12T19:46:03 < qyx> 74700 is good 2023-07-12T20:07:42 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-12T20:09:35 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:183c:bae0:8f1c:f87c] has quit [Ping timeout: 264 seconds] 2023-07-12T20:10:20 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:611c:60b6:5d56:3add] has joined ##stm32 2023-07-12T20:21:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b405-e1f7-36ea-84ec.fixed6.kpn.net] has joined ##stm32 2023-07-12T20:58:59 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-07-12T21:17:17 -!- specing_ [~specing@user/specing] has joined ##stm32 2023-07-12T21:17:18 -!- specing [~specing@user/specing] has quit [Killed (NickServ (GHOST command used by specing_))] 2023-07-12T21:19:02 -!- specing_ is now known as specing 2023-07-12T21:29:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-12T21:32:04 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-12T21:48:49 -!- drzacek [~drzacek@2a01:3d8:37f:8b00:282f:724a:d99a:31d3] has joined ##stm32 2023-07-12T22:15:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-12T22:21:09 < veverak> I need rubber ducky help /o\ 2023-07-12T22:21:31 < veverak> Let's say that you have STM32G4 and the firmware suddently starts to go into reset handler, you can trigger that stiuation manually and reliably 2023-07-12T22:21:34 < veverak> what now? 2023-07-12T22:21:52 < veverak> (I am just running out of fantasy and it's late here, so I hope I dont need that much of a help) 2023-07-12T22:28:25 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 240 seconds] 2023-07-12T22:29:58 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-12T22:30:05 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-07-12T22:36:43 -!- drzacek [~drzacek@2a01:3d8:37f:8b00:282f:724a:d99a:31d3] has quit [Read error: Connection reset by peer] 2023-07-12T23:14:36 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 245 seconds] 2023-07-12T23:17:55 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 240 seconds] 2023-07-12T23:25:44 < machinehum> qyx: Thanks 2023-07-12T23:26:04 < machinehum> And suggesion for a highside Nmos driver, 500khz? 2023-07-12T23:26:06 < machinehum> any* 2023-07-12T23:26:49 < machinehum> https://i.imgur.com/p6CZWIC.png 2023-07-12T23:27:28 < machinehum> That's the topology, however ofcourse Q1 will go to an Nmos. On second though I guess it would be a high/low side Nmos driver. 2023-07-12T23:27:42 < qyx> what's the VBAT voltage? 2023-07-12T23:27:50 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-12T23:28:38 < qyx> if it is 20 V-ish, I would definitely go with an integrated buck power stage 2023-07-12T23:29:55 < machinehum> It's 4x 18640 cell in series. So like 12V-16V type of thing 2023-07-12T23:30:13 < machinehum> While Vout is 12V 2023-07-12T23:32:41 < qyx> CSD97395 for example 2023-07-12T23:32:51 < qyx> there are many and are cheap 2023-07-12T23:33:09 < qyx> much cheaper than a dedicated solution comprising 2 FETs and two drivers or a dual driver 2023-07-12T23:33:41 < qyx> sic531, sic521, etc. 2023-07-12T23:39:40 < catphish> sorry all, i have another question! 2023-07-12T23:39:49 < machinehum> qyx: I'm lost 2023-07-12T23:40:09 < machinehum> two of these would replace the two fets and the driver?/ 2023-07-12T23:40:31 < qyx> no, you only need one 2023-07-12T23:40:49 < catphish> is there a way to calculate or measure available / used DMA memory bandwidth? i spent a couple of hours today debugging an issue that seems to have been caused by not having enogh DMA bandwidth, but it seems to be a black box, i don't like "seems to work" 2023-07-12T23:41:00 < qyx> it contains the whole half bridge power stage (two fets) + driver + zero crossing detector 2023-07-12T23:41:39 < qyx> you just feed it a pwm 2023-07-12T23:41:55 < machinehum> https://i.imgur.com/w8Eh0CY.png control fet and sync fet replace my two fets? 2023-07-12T23:42:36 < qyx> yes 2023-07-12T23:43:30 < catphish> i'm loading 4 CCR values into a timer every 3uS, running the chip at 16MHz this seemed intermittently unreliable, cranked the clock up to 160MHz and everythng is fine, but i'd like to be able to objectively work out how much resource i'm using / not using 2023-07-12T23:44:25 < ventYl> whoever decided, that "be" will be *exceptional* trigger for snipet in vim did awful job 2023-07-12T23:44:43 < machinehum> https://i.imgur.com/ZQnYw4k.png I don't think that logic will work for me. When I'm PWMing the buck fet I don't want the boost fet doing anything 2023-07-12T23:46:17 < qyx> when you are PWMing the high side FET to do buck, you also want to PWM the low side FET to sync rectify 2023-07-12T23:46:39 < qyx> the internal body diode is not meant to be used the way you want 2023-07-12T23:46:54 < qyx> expect huge losses 2023-07-12T23:47:25 < qyx> also, with your logic when doing boost, you would want the high side mosfet to be continuously conducting 2023-07-12T23:47:38 < qyx> which is not possible with a cap-bootstrapped high side driver 2023-07-12T23:47:44 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has joined ##stm32 2023-07-12T23:47:50 < qyx> gate/driver leakage will turn it off after some time 2023-07-12T23:49:05 < machinehum> That would mean a short from Vbat 2023-07-12T23:49:23 < machinehum> If Q1 and Q2 are both on 2023-07-12T23:49:41 < qyx> they will not be of course 2023-07-12T23:49:56 < qyx> see sync rectification waveforms 2023-07-12T23:50:11 < qyx> in ccm and dcm mode, that's what the zero crossing detection is for 2023-07-12T23:50:23 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b405-e1f7-36ea-84ec.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-07-12T23:51:52 -!- turnip420 [~machinehu@2604:3d08:937f:cf00:247c:b98e:568d:8ef0] has quit [Ping timeout: 245 seconds] 2023-07-12T23:52:02 < qyx> oh and it works, I did use it for a liion battery charging in the past 2023-07-12T23:52:29 < qyx> then I realised and tested it works in the opposite direction too although not specced to be used like that 2023-07-12T23:53:09 < qyx> I used CSD95379Q3M 2023-07-12T23:53:46 < machinehum> This seems like the way to go 2023-07-12T23:54:37 < qyx> and I am about to abuse it again for a similar design soon 2023-07-12T23:54:57 < qyx> in a month or so, no time now 2023-07-12T23:57:02 < machinehum> In my first design the controller was very much in either buck or boost mode 2023-07-12T23:57:12 < machinehum> I'm struggling 2023-07-12T23:57:23 < machinehum> to see how that would work with this part 2023-07-12T23:58:21 < machinehum> Meaning, I'm either running a control loop to boost 12V up to the cells, or buck the cells down to 12v, depending if the UPS is plugged in or not --- Day changed to heinä 13 2023 2023-07-13T00:00:14 < machinehum> I guess the difference here is the target changes in the PID loop, in buck mode I'm feeding in the 12V output and boost mode I'm feeding in the cell voltage 2023-07-13T00:00:25 < machinehum> Well... current depending if in CC or CV mode 2023-07-13T00:00:55 < qyx> my theory arising from the past observation is a single PID should be enough 2023-07-13T00:01:03 < qyx> actually a combined open-loop and PID 2023-07-13T00:01:17 < machinehum> Really... 2023-07-13T00:01:35 < machinehum> Same constants for buck and boost?? 2023-07-13T00:01:42 < qyx> voltages manage the open-loop part and PID regulates the current flow 2023-07-13T00:01:56 < machinehum> What was Iout? 2023-07-13T00:02:22 < qyx> because whatever the mode is (buck or boost) the duty cycle is roughly the same when the voltages are kept constant 2023-07-13T00:02:44 < qyx> and varying the duty cycle a bit makes your current flow from/to the battery 2023-07-13T00:02:44 < machinehum> Depending on load 2023-07-13T00:03:02 < machinehum> My battery charge current is much less than my Iout 2023-07-13T00:03:25 < qyx> my iout was 4 A 2023-07-13T00:03:56 < machinehum> Charge current like 500mA, Iout 10A 2023-07-13T00:06:31 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b405-e1f7-36ea-84ec.fixed6.kpn.net] has joined ##stm32 2023-07-13T00:06:38 < machinehum> Anyways, thanks qyx. Super helpful I'll give this a go 2023-07-13T00:06:51 < machinehum> I kept blowing up the fets onboard 2023-07-13T01:14:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b405-e1f7-36ea-84ec.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-13T01:31:50 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-07-13T01:45:45 -!- Yurtdejure [~Yurtdejur@gateway/vpn/pia/yurtdejure] has joined ##stm32 2023-07-13T01:48:10 < Yurtdejure> For those of you who actually work with STM32 for your job, what sorts of skills are worth learning for industry? 2023-07-13T01:51:06 < ventYl> patience 2023-07-13T01:52:31 < Yurtdejure> yeah I can definitely see that one after spending all of last week trying to figure out timer interrupts 2023-07-13T01:53:06 < Yurtdejure> turned out I just forgot to turn on the global interrupt flag in stm32 cube 2023-07-13T02:01:23 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-13T02:09:33 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-13T02:25:00 -!- sync_ [~sync@2a01:4f8:121:2c1::2] has joined ##stm32 2023-07-13T02:25:37 -!- mawk` [mawk@wireguard/contributor/mawk] has joined ##stm32 2023-07-13T02:28:16 -!- krjt [~krjst@2604:a880:800:c1::16b:8001] has joined ##stm32 2023-07-13T02:28:56 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-07-13T02:31:33 -!- kitzman_ [~kitzman@user/dekenevs] has joined ##stm32 2023-07-13T02:32:31 -!- Netsplit *.net <-> *.split quits: dobson`, krjst, sync, kitzman, mawk, aandrew 2023-07-13T02:32:31 -!- mawk` is now known as mawk 2023-07-13T02:56:06 -!- Yurtdejure1 [~Yurtdejur@128.153.220.246] has joined ##stm32 2023-07-13T02:58:35 < zyp> what skills are not worth learning? when you're getting paid to solve problems, anything that helps you solve them faster are good to know 2023-07-13T02:59:11 -!- Yurtdejure [~Yurtdejur@gateway/vpn/pia/yurtdejure] has quit [Ping timeout: 245 seconds] 2023-07-13T02:59:19 < Yurtdejure1> I suppose, I was more just looking for broad strokes on what functionality is commonly used 2023-07-13T03:00:13 < Yurtdejure1> I'm going to have a lot of time to practice with a black pill in August so I wanted to know what to center projects around 2023-07-13T03:09:49 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-13T03:09:53 -!- Yurtdejure1 [~Yurtdejur@128.153.220.246] has quit [Quit: Leaving.] 2023-07-13T03:12:16 -!- Yurtdejure [~Yurtdejur@128.153.220.246] has joined ##stm32 2023-07-13T03:20:46 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:611c:60b6:5d56:3add] has quit [Ping timeout: 258 seconds] 2023-07-13T03:22:10 -!- Yurtdejure [~Yurtdejur@128.153.220.246] has left ##stm32 [] 2023-07-13T03:23:21 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-07-13T03:23:31 -!- Yurtdejure [~Yurtdejur@128.153.220.246] has joined ##stm32 2023-07-13T03:26:52 -!- aandrew [~aandrew@mail.mixdown.ca] has joined ##stm32 2023-07-13T03:26:55 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-13T04:16:33 -!- Yurtdejure [~Yurtdejur@128.153.220.246] has left ##stm32 [] 2023-07-13T05:22:19 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-13T05:24:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-13T05:24:56 -!- [_] is now known as [itchyjunk] 2023-07-13T06:13:44 -!- qyx [~qyx@84.245.121.221] has quit [Ping timeout: 246 seconds] 2023-07-13T06:15:56 -!- qyx [~qyx@84.245.121.93] has joined ##stm32 2023-07-13T06:36:48 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-13T06:38:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 252 seconds] 2023-07-13T07:29:22 < octorian> I really wish TinyUSB had host support for STM32. Seems they've only had the chance to write the host code for a small number of platforms so far. 2023-07-13T07:30:18 < octorian> Looks like I may be back to simply hacking on the ST USB Host library, to get it to work for me. Really wish I had another option, but I really don't know of any that won't require restrictive licensing. 2023-07-13T07:33:07 < octorian> This is interesting... Just stumbled across CherryUSB. I wonder if that's any good. 2023-07-13T08:00:15 < octorian> And now that I go looking at translated Chinese docs, cross-checking with the code, it seems as though CherryUSB may not support the specific USB host peripheral I want to use. (FS device on STM32F411... They only thought it made sense to care about the HS one I don't have.) 2023-07-13T09:02:57 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-13T09:47:27 < qyx> huh, reading "practice with a black pill" and "skills for industry" in the same context 2023-07-13T10:31:26 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-13T12:13:43 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-13T12:16:04 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-f546-d8aa-98cc-b21.fixed6.kpn.net] has joined ##stm32 2023-07-13T12:18:08 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-13T12:18:25 -!- martinmoene1 is now known as martinmoene 2023-07-13T12:28:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f546-d8aa-98cc-b21.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-13T13:11:31 < mawk> make:r skills qyx 2023-07-13T13:17:53 < Steffanx> Who cares on what board the mcu is? 2023-07-13T13:21:32 < zyp> agreed, a breakout board is a breakout board whatever people call it 2023-07-13T13:21:49 < zyp> in the «industry» you use whatever gets shit done 2023-07-13T13:59:03 -!- catphish [~quassel@user/catphish] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 2023-07-13T14:00:33 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-07-13T14:02:54 < qyx> because 1. on a pill you are not even sure if the mcu is legit and 2. your usb may be fukd 2023-07-13T14:03:17 < qyx> also no debugger 2023-07-13T14:03:54 < qyx> why do people always try this shit for learning when a proper nucleo is 10 eur incl. stlink 2023-07-13T14:15:43 < mawk> the usb is fukkd on the bluepill no? 2023-07-13T14:15:46 < mawk> also the others? 2023-07-13T14:23:25 < aandrew> qyx is spitting fire here 2023-07-13T14:23:31 < aandrew> 100% agreed on all points 2023-07-13T14:24:07 < aandrew> two in the pink, one in the st-link 2023-07-13T14:24:34 < jpa-> why no debugger? 2023-07-13T14:24:40 < jpa-> just connect one 2023-07-13T14:24:55 < jpa-> but yeah, i'd also prefer a nucleo, unless size is a concern 2023-07-13T14:27:06 < aandrew> jpa-: I think he's saying the debugger is already there for $10 2023-07-13T14:27:50 < jpa-> ah, ok 2023-07-13T14:28:10 < aandrew> I've had enough trouble with knockoff debuggers and cheap shit *pill boards that unless I'm trying to do something where size/cost is a concern, I won't bother. and even then the second the board acts weird I don't waste time trying to debug, I toss it 2023-07-13T14:28:13 < jpa-> i guess some people don't have their drawers full of stlinks.. 2023-07-13T14:28:31 < aandrew> a newbie doesn't have that experience to draw from so they end up questioning themselves and going around in circles 2023-07-13T14:45:37 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-07-13T15:13:51 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-13T15:15:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-13T15:34:04 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-13T16:09:47 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-13T17:12:07 -!- kitzman_ [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-07-13T17:30:22 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-13T17:34:22 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-13T17:40:09 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-13T17:51:52 -!- jadew [~rcc@5.12.180.208] has quit [Ping timeout: 245 seconds] 2023-07-13T18:21:46 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-13T18:58:30 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-13T19:07:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-13T20:14:18 -!- mrec [~mrec@sundtek.de] has quit [Changing host] 2023-07-13T20:14:18 -!- mrec [~mrec@user/mrec] has joined ##stm32 2023-07-13T20:47:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-13T21:05:00 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-13T21:06:50 < machinehum> MCU is not real 2023-07-13T21:07:00 < machinehum> MCU's were fished out of a dumpers 2023-07-13T21:07:06 < machinehum> dumpster 2023-07-13T21:07:36 < machinehum> There's a reason why the pn said it has 64k flash but you can flash 256k 2023-07-13T21:15:23 < aandrew> it's almost always the other way round :-) 2023-07-13T21:21:50 < Steffanx> Not entirely machinehum . There some F103s actually had more flash than what they should have according to the part number. 2023-07-13T21:21:55 < Steffanx> -there 2023-07-13T21:22:13 < Steffanx> Real ones. 2023-07-13T21:28:30 < machinehum> Steffanx: that's what I said 2023-07-13T21:31:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-13T21:31:43 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-13T21:33:00 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 252 seconds] 2023-07-13T21:33:58 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-07-13T21:36:21 < Steffanx> You said not real 2023-07-13T21:36:47 -!- octorian_ [octo@2600:3c00::f03c:91ff:fe93:a61c] has joined ##stm32 2023-07-13T21:37:22 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-07-13T21:38:05 -!- PaulFertser_ [paul@paulfertser.info] has joined ##stm32 2023-07-13T21:40:48 -!- englishman1 [englishman@user/englishman] has joined ##stm32 2023-07-13T21:42:11 -!- Netsplit *.net <-> *.split quits: yukam, chiptuner, octorian, CygniX_, PaulFertser, englishman 2023-07-13T21:42:11 -!- englishman1 is now known as englishman 2023-07-13T21:44:31 -!- yukam [~yukam@user/yukam] has joined ##stm32 2023-07-13T21:45:10 -!- chiptuner [~bobby@user/chiptuner] has joined ##stm32 2023-07-13T22:29:08 -!- octorian_ is now known as octorian 2023-07-13T22:44:39 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-07-13T23:06:38 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-13T23:23:30 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-13T23:59:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 --- Day changed pe heinä 14 2023 2023-07-14T00:09:19 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-07-14T00:10:06 < machinehum> https://i.imgur.com/PknklxY.png hacking on a adapter boards to the main board to test qyx's CSD97395Q4M 2023-07-14T00:10:31 < machinehum> Should work I think... I'm picking up the pads from the caps which I will depop 2023-07-14T00:11:05 < machinehum> https://i.imgur.com/oDYgWFb.png 2023-07-14T00:13:51 < zyp> qyx'? 2023-07-14T00:13:58 < zyp> that's the same chip I was hotairing yesterday 2023-07-14T00:14:11 < machinehum> Oh shit sorry wrong person 2023-07-14T00:15:05 < machinehum> No it was qyx that was talking about this guy 2023-07-14T00:15:24 < zyp> that's the chip used on this thing: https://bin.jvnv.net/file/h9WQ1.mp4 2023-07-14T00:15:34 < machinehum> Oh 2023-07-14T00:15:39 < machinehum> Guess everyone is using it 2023-07-14T00:15:58 < zyp> probably just baader-meinhof 2023-07-14T00:16:12 < zyp> FWIW I don't think I like it 2023-07-14T00:16:22 < machinehum> Why? 2023-07-14T00:16:32 < zyp> I mean, functionality wise it's cute, but I don't think I like the footprint 2023-07-14T00:17:02 < zyp> considering I received this board in a defective state and had to make like three attempts at hotairing it to fix it 2023-07-14T00:17:56 < zyp> https://cdn.discordapp.com/attachments/813547772337979442/1128466893884375080/IMG_20230712_012353.jpg 2023-07-14T00:18:36 < zyp> there's a few huge pads on the left side, and six small pads on the right side 2023-07-14T00:19:00 < qyx> oh I liked it 2023-07-14T00:19:18 < qyx> footprint is pretty good except those pads tend to reflow together and the chip is a bit off then 2023-07-14T00:19:19 < zyp> and it doesn't appear to self-align from surface tension very well 2023-07-14T00:19:30 < qyx> yeah 2023-07-14T00:19:37 < zyp> i.e. poor DFM 2023-07-14T00:19:59 < machinehum> https://i.imgur.com/at1gGvP.png 2023-07-14T00:19:59 < zyp> I'd worry about yield if putting this in one of my own designs 2023-07-14T00:20:07 < machinehum> Does that look somewhat reasonable? 2023-07-14T00:20:28 < machinehum> Or is there other shit I need 2023-07-14T00:20:37 < machinehum> I'm basically going to fly wired to the test points 2023-07-14T00:20:43 < machinehum> wired 2023-07-14T00:20:48 < qyx> yes and no 2023-07-14T00:20:55 < machinehum> lol dope 2023-07-14T00:20:58 < zyp> I think datasheet states you shouldn't power up with SKIP tristated 2023-07-14T00:21:16 < machinehum> I will wire that in... somewhere 2023-07-14T00:21:24 < machinehum> Once I read what it's for 2023-07-14T00:21:44 < zyp> skip tristated is super low power sleep or something like that 2023-07-14T00:21:52 < zyp> lower power than just pwm tristated 2023-07-14T00:22:16 < qyx> your L/C values looks a bit mis/un-calculated 2023-07-14T00:22:41 < qyx> I would guess at 500 kHz 2u2-4u7 with about 20-100 uF capacitance should do 2023-07-14T00:22:45 < qyx> ceramic only 2023-07-14T00:23:26 < qyx> my 4 A converter was hm 2023-07-14T00:24:02 < qyx> L was 1u/10A Isat 2023-07-14T00:24:13 < qyx> and 7x 10u/10V 0805 caps 2023-07-14T00:24:23 < machinehum> https://www.ti.com/lit/an/snva038b/snva038b.pdf 2023-07-14T00:24:26 < machinehum> I used that guy 2023-07-14T00:24:41 < zyp> for what frequency? 2023-07-14T00:24:47 < machinehum> 500khz 2023-07-14T00:26:22 < machinehum> Let me revisit 2023-07-14T00:28:51 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [] 2023-07-14T00:30:32 < machinehum> Yeah, dunno, maybe it's a shit/old app note 2023-07-14T00:30:41 < machinehum> 11.85uH 2023-07-14T00:32:17 < qyx> interesting 2023-07-14T00:32:44 < qyx> 10u for a 10 amp zdroj is gonna be beefy 2023-07-14T00:32:45 < machinehum> And then Cout was ... kinda just from a guess 2023-07-14T00:32:53 < qyx> sorry s/zdroj/power supply 2023-07-14T00:36:53 < machinehum> hmm? 2023-07-14T00:37:12 < machinehum> Well I did actually calculate Cout... with the same appnote, came to... 2.2uF 2023-07-14T00:37:58 < machinehum> Anyways I can hack with the passives a bit later I'll get this board ordered 2023-07-14T01:01:16 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-ec1d-1aa-aab-2577.fixed6.kpn.net] has joined ##stm32 2023-07-14T01:04:28 < karlp> "Check if the WIFI router is 5G or 2.4G. This product supports 2.4G (if it is dual band router, please upgrade to 2.4G.) 2023-07-14T01:10:25 < karlp> machinehum: jpa: we did this last time: https://tinyurl.com/2pllzyso I have that from an orangepi sch as well, BCM857BS is the matched pair to use apparently. 2023-07-14T01:10:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-14T01:10:39 < karlp> it doesn't behave as well with just discrete bjts 2023-07-14T01:14:51 < karlp> octorian: cherryusb is used as the "standard" for the bouffalo labs parts sdk at least, I've heard good things, but never used it beyond demos. 2023-07-14T01:18:05 < octorian> karlp, The CherryUSB docs claim that they only support the STM32F4's HS USB peripheral for host mode, not the FS one. That alone is unfortunately a dealbreaker. 2023-07-14T01:18:24 < karlp> that would be a _very_ minor change to jsut hack it in though... 2023-07-14T01:18:47 < octorian> Or more specifically, it only supports host /w DMA, which supposedly only the HS peripheral has. 2023-07-14T01:19:02 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Quit: Client closed] 2023-07-14T01:20:00 < karlp> yeah, well, host is always the lest trodden path 2023-07-14T01:27:11 < octorian> It really comes down to a question of whether I want to deep dive on the USB peripheral integration, or on the class drivers. 2023-07-14T01:28:15 < karlp> this is a fork of libopencm3 with usb host added, it maybe useful: https://github.com/insane-adding-machines/unicore-mx/ 2023-07-14T01:28:41 < karlp> it... kinda went idle as soon as they added in their usbhost and commits taht weren't accepted for whatever reason upstream though, so.. just another fork, 2023-07-14T01:29:12 < karlp> "but for our projects we need a higher commit rate than" (last commit, 2018....) 2023-07-14T01:32:27 < machinehum> karlp: Thanks 2023-07-14T01:33:21 < octorian> So far I've been working with ST's USB host library. Which works, but I had to put in a fair bit of effort to add support for multiple vendor-class drivers, to work around some interrupt handler state issues with one of them, and generally not being terribly fond of its license. 2023-07-14T01:33:38 < octorian> And if I keep using it, I think I'm going to have to make a lot of improvements/fixes to the CDC class driver too. 2023-07-14T01:34:09 < octorian> But I see working on that area of code a lot less daunting than trying to hack on direct peripheral control code written by somebody else. 2023-07-14T01:36:18 < karlp> your call, go all in on st vendor code, or pick a project that you generally like, and maybe just work on expanding it. 2023-07-14T01:36:51 < zyp> I should implement host support on laks some time 2023-07-14T01:36:52 < karlp> locally hacking st code is a quick path to glory, but you'rr in a nasty path of having to maintain patches against a code base you have no control over. 2023-07-14T01:37:27 < zyp> I just don't tend to have the kind of projects that'd call for host support 2023-07-14T01:37:29 < karlp> hacking some other project is absolutely a harder path up front, no debate, but I'd say the rewards are worth it, iff the project has a longe rlifetime. 2023-07-14T01:37:42 < karlp> yeah, for me, if you are at the stage of wanting host support, you throw linux at it. 2023-07-14T01:38:10 < karlp> anyway, I came back tot this window to paste this: https://discuss.systems/@ricci/109461947381276059 2023-07-14T01:39:44 < zyp> sounds about right 2023-07-14T01:40:30 < karlp> reminds me mostly of this meme, or the first two parts, couldn't find the right one: https://twitter.com/juliagalef/status/950973936455446528 2023-07-14T01:41:05 < karlp> like, "lol, my k8s on rpis cluster to run theentire stack of my home is a valley unicorn company" 2023-07-14T01:41:14 < karlp> blyeha 2023-07-14T01:41:43 < karlp> in other (not) news, china seems to be able to turn out products insanely cheaply. 2023-07-14T01:47:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-ec1d-1aa-aab-2577.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-14T01:53:48 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-14T02:04:44 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-14T02:11:39 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-14T02:18:35 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 264 seconds] 2023-07-14T02:38:04 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 252 seconds] 2023-07-14T02:46:40 < octorian> I'd be hacking on it regardless of which library I use. The main difference is what parts I'd be hacking on. 2023-07-14T02:47:45 < octorian> I'd much prefer to contribute to TinyUSB or CherryUSB, no doubt about it. But I'm much more comfortable working on class driver code than fiddling peripheral state and registers I'm not intimately familiar with. 2023-07-14T02:49:44 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-14T02:52:51 < octorian> Still might be worth it to at least try tinkering with CherryUSB, even if as a side project. Though there comes a point where its a question of "wasting time on unnecessary complex tasks" and simply "getting the damn thing done." 2023-07-14T02:53:34 < octorian> Right now, I've already done enough work on top of the ST library that the only thing I'd need to do right now is fix/improve the CDC class host driver. 2023-07-14T02:54:28 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-14T02:58:43 < octorian> Nothing I'm using USB host for is particularly performance-sensitive anyways. Basically just a way to connect a variety of input devices (via HID, CDC, or various vendor-class serial adapters), and MSC for firmware updates and config backup with thumbdrives. 2023-07-14T03:06:38 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-14T03:06:56 < octorian> Though if the differences between the FS and HS peripherals really are minimal and easy enough to figure out, it might be worth trying to hack on CherryUSB's driver code. 2023-07-14T03:07:21 < octorian> (Depending on how easy it is to implement non-DMA usage) 2023-07-14T03:48:14 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-07-14T04:04:30 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-07-14T04:13:34 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-07-14T04:18:10 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 252 seconds] 2023-07-14T04:43:47 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5321))] 2023-07-14T04:43:52 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-14T05:30:55 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-63.hsd1.wa.comcast.net] has joined ##stm32 2023-07-14T06:16:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-14T07:59:12 -!- rkta_ [~rkta@user/rkta] has joined ##stm32 2023-07-14T07:59:26 -!- rkta_ is now known as rkta 2023-07-14T08:29:43 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-14T09:00:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-14T09:01:20 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-14T09:21:20 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e1f9-358a-38bb-2a28.fixed6.kpn.net] has joined ##stm32 2023-07-14T09:43:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e1f9-358a-38bb-2a28.fixed6.kpn.net] has quit [Ping timeout: 272 seconds] 2023-07-14T09:43:58 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-14T09:56:58 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Ping timeout: 252 seconds] 2023-07-14T10:10:40 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-14T11:38:33 -!- kow__ [~k\o\w@2607:fea8:1d00:89f0:7073:d0b8:88f5:e1af] has joined ##stm32 2023-07-14T11:40:55 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:b001:236f:2e35:49a6] has quit [Ping timeout: 240 seconds] 2023-07-14T11:48:18 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-14T11:52:20 -!- PaulFertser_ is now known as PaulFertser 2023-07-14T12:29:55 -!- Luggi09498284764 [~lux@91.66.48.25] has quit [Ping timeout: 240 seconds] 2023-07-14T12:56:57 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-14T12:57:51 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has joined ##stm32 2023-07-14T13:05:28 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has quit [Ping timeout: 250 seconds] 2023-07-14T13:38:01 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-14T13:55:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-14T13:58:57 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has joined ##stm32 2023-07-14T14:54:27 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-14T15:45:05 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-14T16:23:58 -!- alan_o [~alan_o@2600:1700:1902:210f:d91a:db75:a8cb:eb7c] has quit [Remote host closed the connection] 2023-07-14T16:24:16 -!- alan_o [~alan_o@2600:1700:1902:210f:e9d3:51ee:5f4a:e27a] has joined ##stm32 2023-07-14T16:30:04 -!- Guest84 [~Guest84@213.147.117.12] has joined ##stm32 2023-07-14T16:33:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-14T17:00:55 -!- Guest84 [~Guest84@213.147.117.12] has quit [Quit: Client closed] 2023-07-14T17:13:18 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-14T17:32:34 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-14T17:32:47 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-63.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-14T17:33:18 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-47.hsd1.wa.comcast.net] has joined ##stm32 2023-07-14T17:42:19 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-47.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 2023-07-14T18:20:08 -!- c10ud [~c10ud@user/c10ud] has quit [Quit: Leaving] 2023-07-14T19:09:20 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-14T19:24:55 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-14T20:45:06 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-07-14T20:45:28 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-14T20:46:10 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 272 seconds] 2023-07-14T21:55:17 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-14T23:11:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-fd1a-277-7aa-ea2f.fixed6.kpn.net] has joined ##stm32 2023-07-14T23:12:58 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-14T23:42:35 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 264 seconds] --- Day changed la heinä 15 2023 2023-07-15T00:06:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-15T00:18:19 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-15T00:18:22 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-fd1a-277-7aa-ea2f.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-15T00:30:24 -!- kow__ [~k\o\w@2607:fea8:1d00:89f0:7073:d0b8:88f5:e1af] has quit [Read error: Connection reset by peer] 2023-07-15T00:43:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-200a-a31a-ebb5-e3bd.fixed6.kpn.net] has joined ##stm32 2023-07-15T00:56:38 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-200a-a31a-ebb5-e3bd.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-15T01:07:46 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has joined ##stm32 2023-07-15T01:13:17 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-07-15T01:14:11 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-15T01:23:25 < nomorekaki> early boys 2023-07-15T01:24:54 < nomorekaki> and girls possibly 2023-07-15T01:41:19 < qyx> g-what? 2023-07-15T01:52:58 -!- sauce [~sauce@free.and.open.sauce.icu] has quit [Ping timeout: 258 seconds] 2023-07-15T01:53:44 -!- sauce [~sauce@free.and.open.sauce.icu] has joined ##stm32 2023-07-15T02:17:20 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-15T03:03:43 < specing> qyx: trans women obv 2023-07-15T04:25:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 272 seconds] 2023-07-15T04:36:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-15T04:44:18 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-15T05:21:31 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-15T05:36:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-15T05:50:47 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-15T06:19:07 -!- qyx [~qyx@84.245.121.93] has quit [Ping timeout: 245 seconds] 2023-07-15T06:20:58 -!- qyx [~qyx@84.245.121.82] has joined ##stm32 2023-07-15T06:43:39 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-15T08:41:39 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-15T09:23:32 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-07-15T10:49:02 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Read error: Connection reset by peer] 2023-07-15T10:57:35 -!- Suspect [~rod@pa49-182-39-135.pa.qld.optusnet.com.au] has joined ##stm32 2023-07-15T11:12:15 -!- Suspect [~rod@pa49-182-39-135.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-07-15T12:40:11 -!- nomorekaki [~nomorekak@37-136-148-62.rev.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-15T12:41:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-15T12:44:49 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-15T14:12:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-15T15:11:47 < Steffanx> What do you feel like today specing ? 2023-07-15T15:45:51 < specing> Steffanx: I feel like banning cars. Today is a good day to ban cars 2023-07-15T15:45:55 < specing> https://libreddit.kavin.rocks/vid/ce9n8mm2lxbb1/360.mp4 2023-07-15T16:23:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-15T16:33:14 < Steffanx> Banning humans would solve more problems. 2023-07-15T16:41:54 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-15T16:50:57 < qyx> I'll ban myself from doing any work 2023-07-15T16:52:49 < BrainDamage> do you plan to become a jew? the more extremist ones have pretty bonkers rules about doing work 2023-07-15T16:57:16 < qyx> oh I watched a wideo about that manhattan wire enclosing their homes to allowe them to actually carry anything 2023-07-15T16:58:09 < qyx> so a customer's 230 V inverter died 2023-07-15T16:58:31 < qyx> it survived a pretty bad winter with a lot of water andhumidity 2023-07-15T16:58:50 < qyx> it works for about 5 minutes and then stops 2023-07-15T16:59:02 < qyx> and doesn't want to start again unless kept off for at least 4 hours 2023-07-15T16:59:29 < qyx> its pcb is conformally coated and there are no visible signs of corrosion caused by water/whatever ingress 2023-07-15T16:59:32 < qyx> so idk 2023-07-15T17:00:05 < qyx> stops = display is on, buttons don't respond, some LEDs are lit and no 230 V on the output terminals 2023-07-15T17:02:44 < specing> so ... it heats up.. something happens 2023-07-15T17:04:00 < qyx> it looks like if the MCU simply stopped 2023-07-15T17:05:04 < qyx> I guess they had some EMC issues as all the wires inside are wrapped around ferrites 2023-07-15T17:05:33 < qyx> including the one going to the display, to power on/off button, etc.. 2023-07-15T17:42:16 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-15T17:51:51 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-15T19:09:04 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 252 seconds] 2023-07-15T19:24:41 -!- kilobyte_ch [~kbch@77.109.171.69] has joined ##stm32 2023-07-15T20:36:07 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-07-15T20:54:12 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-15T20:54:40 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-07-15T20:54:55 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-15T21:23:17 -!- kilobyte_ch [~kbch@77.109.171.69] has quit [Ping timeout: 245 seconds] 2023-07-15T21:38:02 -!- kilobyte_ch [~kbch@77.109.171.77] has joined ##stm32 2023-07-15T21:39:46 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-15T21:45:33 < bitmask> oh boy 2023-07-15T21:45:53 < bitmask> big changes comin 2023-07-15T21:47:30 < bitmask> I'm turning into an old man and gonna try living off mostly soylent 2023-07-15T21:48:12 < mawk> why 2023-07-15T21:48:27 < zyp> too much hassle to cook and eat 2023-07-15T21:48:29 < bitmask> because my stomach hurts all day every day and i gotta try something extreme 2023-07-15T21:50:46 < bitmask> I also ordered a 6 month supply of finasteride and midoxinil or whatever they are from forhims.com maybe I can stop my hair from thinning :P 2023-07-15T21:54:44 < bitmask> its $220 a month for 17 full days of meals (2000 calories) 2023-07-15T21:55:06 < zyp> didn't know there's only 17 days in a month 2023-07-15T21:55:22 < bitmask> I got mostly premixed vanilla/strawberry shakes but a little less than half in plain powder 2023-07-15T21:55:29 < bitmask> im not switching over 100% 2023-07-15T21:55:32 < bitmask> im still gonna eat 2023-07-15T21:57:35 < bitmask> i tried soylent once before like 6-7 years ago, it lasted like 2 weeks :P 2023-07-15T21:58:07 < bitmask> but my stomach hurts more now and im also gonna put in effort to make it better tasting 2023-07-15T21:58:18 < bitmask> so yea, it will work 2023-07-15T22:00:01 < mawk> ah you have crohn's bitmask ? 2023-07-15T22:00:04 < mawk> I forgot about that 2023-07-15T22:00:06 < zyp> haven't tried soylent, but I've tried jimmy joy and queal 2023-07-15T22:00:08 < bitmask> yea 2023-07-15T22:01:00 < mawk> I tried "Feed.", it was very hard to dissolve 2023-07-15T22:01:14 < mawk> and made dried powder chunks 2023-07-15T22:01:37 < zyp> shake better 2023-07-15T22:01:47 < mawk> my arm was sore from shaking for 20 minutes already 2023-07-15T22:01:48 < bitmask> I ordered a nutribullet to make it easier 2023-07-15T22:02:06 < bitmask> $50, def worth it 2023-07-15T22:02:43 < bitmask> I didnt realize there were other meal replacement brands like soylent, maybe i shoulda done some research 2023-07-15T22:02:52 < mawk> my sister-in-law's wife has crohn's, and used to vape high amounts of nicotine to help it 2023-07-15T22:02:56 < mawk> apparently it worked 2023-07-15T22:03:02 < bitmask> though i doubt the ones you mentioned are in the US 2023-07-15T22:03:12 < mawk> but then he transformed into a woman maybe that's related 2023-07-15T22:03:22 < bitmask> haha 2023-07-15T22:03:37 < bitmask> yea smoking is supposed to help, i dont smoke anymore though 2023-07-15T22:03:51 < zyp> I don't think soylent was available in europe when I were into that stuff 2023-07-15T22:04:25 < zyp> jimmy joy were originally called joylent, before soylent's lawyers got angry with them :p 2023-07-15T22:04:31 < bitmask> i also dont even know if my current problems are crohns related. my lab tests are fine, but my stomach still just always hurts like from gas and stuff. the methadone bringing it to a standstill doesnt help 2023-07-15T22:05:26 < bitmask> but the methadone is also the only thing that helps me get through the day. so I wonder if its causing it completely and I should just stop or if staying on is helping 2023-07-15T22:06:27 < bitmask> oh shit its already 3pm, i gotta get back to work. gotta pay for this stuff somehow... more AI training 2023-07-15T22:07:33 < mawk> bitmask in the us an opiate antagonist that doesn't cross the BBB was approved 2023-07-15T22:07:44 < mawk> you can take it alongside methadone and completely negate the GI effects 2023-07-15T22:07:48 < mawk> and get your transit back 2023-07-15T22:07:51 < mawk> I forgot the name though 2023-07-15T22:08:08 < mawk> it's not yet available in Europe sadly 2023-07-15T22:08:39 < bitmask> interesting 2023-07-15T22:41:34 < mawk> bitmask naloxegol 2023-07-15T22:41:50 < bitmask> thx i'll look it up later 2023-07-15T22:41:50 < mawk> it's PEGylated naloxone or something like that 2023-07-15T22:42:12 < mawk> so it can't cross the blood-brain-barrier 2023-07-15T22:42:25 < bitmask> PEG like miralax? 2023-07-15T22:42:39 < bitmask> polyethylene glycol 2023-07-15T22:42:46 < mawk> well yes it's the same kind of molecule, but it's not used the same way 2023-07-15T22:42:53 < bitmask> right 2023-07-15T22:43:03 < mawk> here it's just a few units of PEG stuck to naloxone so it can't enter the brain 2023-07-15T22:43:13 < mawk> but it's still the naloxone having the effect 2023-07-15T22:43:15 < mawk> not the PEG 2023-07-15T22:43:20 < bitmask> yea 2023-07-15T22:43:21 < bitmask> k 2023-07-15T22:56:30 -!- nomorekaki [~nomorekak@37-219-146-83.nat.bb.dnainternet.fi] has joined ##stm32 2023-07-15T23:07:56 < nomorekaki> hello early 2023-07-15T23:11:51 < Steffanx> Gooday nomorekaki 2023-07-15T23:14:39 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-15T23:22:36 < ventYl> damn 2023-07-15T23:22:55 < ventYl> Mikuni must be a Japan word meaning "revenge for lost war" 2023-07-15T23:25:00 < PaulFertser> ventYl: having fun with carb? 2023-07-15T23:26:19 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-15T23:26:29 < ventYl> I am very close to throwing that shit out and converting it to injection 2023-07-15T23:29:56 < PaulFertser> Somehow I was quite lucky with them, never had a serious issue. 2023-07-15T23:30:43 < PaulFertser> (though some minor issues were quite annoying but they should have been obvious to a real mechanic, not me) 2023-07-15T23:32:18 < ventYl> mine are leaking and it is virtually impossible to set them up 2023-07-15T23:33:54 < PaulFertser> You mean changing the needle and the saddle to new doesn't help to stop leaking? 2023-07-15T23:35:01 < ventYl> the trick is, that mine have plastic saddle 2023-07-15T23:35:18 < ventYl> which is integrated into float holder and choke channel 2023-07-15T23:35:27 < PaulFertser> damn 2023-07-15T23:36:01 < ventYl> which is weird, because different bikes of same make and roughly same years have *same* carbs, but those have brass saddle which is not part of float holder 2023-07-15T23:36:45 < ventYl> question worth of 50 euro is, how bad those chinesium rebuild kits are 2023-07-15T23:37:30 < PaulFertser> I miss my bike. Now I only ride a 24" push bike I found in trash. 2023-07-15T23:38:45 < ventYl> hm, I have just found chinesium rebuild kit which contains the other type of float holder 2023-07-15T23:40:18 < nomorekaki> are you motorcycling ventYl or why you play with mikuni? 2023-07-15T23:40:21 < ventYl> what bike did you have? 2023-07-15T23:41:04 < ventYl> nomorekaki: I am trying, but those carbs are actively preventing me from that. because each time I try to do a cold start, bike ends up in Exxon Valdez state leaking gasoline out of each available oriffice 2023-07-15T23:41:17 < ventYl> sometimes even from places where no oriffices are 2023-07-15T23:41:25 < nomorekaki> R6 2002 2023-07-15T23:42:05 < ventYl> PaulFertser: ^^ 2023-07-15T23:42:14 < nomorekaki> has some bullshit carbs with all kind of sliders and membranes for ram compensation but still worki 2023-07-15T23:42:50 < PaulFertser> ventYl: YBR-125 heh 2023-07-15T23:45:00 < ventYl> single cylinder := 1/4 the amount of problems 2023-07-15T23:47:59 < ventYl> all chinesium rebuild sets contain one screw I don't recognize 2023-07-15T23:48:46 < ventYl> nomorekaki: have photo? I have never seen ram air carb 2023-07-15T23:49:00 < PaulFertser> ventYl: sure, single cylinder is much easy in every regard, agreed. 2023-07-15T23:50:14 < ventYl> ah, it will most probably be screw for ballancing 2023-07-15T23:50:50 < ventYl> PaulFertser: I also had one single cylinder bike. It was some 60 years old. I only ever did like 50 km on it and then sold it 2023-07-15T23:51:03 < ventYl> because it had recurring problem with rust in fuel tank 2023-07-15T23:51:05 < nomorekaki> ventYl: "CV keihin carburetor" 2023-07-15T23:51:47 < ventYl> new owner then told me that he found remains of fuel sift in the tank which rusted away from the ring holding it under the filler cap 2023-07-15T23:52:19 < ventYl> nomorekaki: well, CV keihin carbs are pretty much standard stuff on motorbikes. CV means constant velocity and is used normally even on bikes without ram air 2023-07-15T23:53:21 < nomorekaki> anyways compensation pipes are connected to the chamber 2023-07-15T23:53:33 < nomorekaki> or something 2023-07-15T23:54:27 < nomorekaki> it's just some pipes and compensation is done 2023-07-15T23:54:38 < nomorekaki> otherwise it's just a keihin carb 2023-07-15T23:55:48 < nomorekaki> pressure difference acts on membrane 2023-07-15T23:56:22 < ventYl> the standard problem with pressurized carburetor is that pressure displaces fuel 2023-07-15T23:56:32 < ventYl> Renault 5 turbo had the same problem 2023-07-15T23:57:46 < nomorekaki> I think float chamber is compensated too 2023-07-15T23:57:57 < nomorekaki> and also fuel pump 2023-07-15T23:58:03 < nomorekaki> there is fuel pump 2023-07-15T23:58:24 < nomorekaki> what moped you are trying to get working? 2023-07-15T23:58:28 < ventYl> ok that makes sense 2023-07-15T23:58:32 < ventYl> Suzuki Bandit 400 2023-07-15T23:58:38 < nomorekaki> ah 2023-07-15T23:59:01 < nomorekaki> that should be rather reliable thing 2023-07-15T23:59:19 < ventYl> it was the second cheapest japanese bike of the era 2023-07-15T23:59:36 < ventYl> it is essentially crap 2023-07-15T23:59:57 < nomorekaki> what era we are talking about? --- Day changed su heinä 16 2023 2023-07-16T00:00:46 < ventYl> 1989 - 1993 2023-07-16T00:02:08 < nomorekaki> that thing is the first actual motorcycle I ever drove on road 2023-07-16T00:02:17 < nomorekaki> friend had one 2023-07-16T00:02:37 < nomorekaki> he said downstairs will last 150k easy 2023-07-16T00:02:49 < ventYl> what thing? R6? 2023-07-16T00:03:02 < nomorekaki> bandit 2023-07-16T00:03:14 < ventYl> 400? 2023-07-16T00:03:19 < nomorekaki> I guess 2023-07-16T00:03:20 < ventYl> those are rather rare 2023-07-16T00:03:34 < ventYl> usually you get 600s 2023-07-16T00:03:34 < nomorekaki> I think it was something like 1997 2023-07-16T00:03:59 < ventYl> that was most probably 600, 400s stopped being imported into Europe after 1997 model year 2023-07-16T00:03:59 < nomorekaki> ye it may have been 600 or something 2023-07-16T00:04:09 < nomorekaki> looks the same 2023-07-16T00:04:43 < nomorekaki> did you get fever? motobug bite you? 2023-07-16T00:05:05 < ventYl> post 2001 bandit 600 looks very close to 400, 1997-2001 little bit less 2023-07-16T00:05:15 < ventYl> I own it for 10 years :) 2023-07-16T00:07:45 < qyx> have you considered converting it to human power? 2023-07-16T00:07:58 < ventYl> too heavy frame 2023-07-16T00:08:06 < ventYl> but I might convert it into scrap metal 2023-07-16T00:09:07 < nomorekaki> bandits are rather inexpensive 2023-07-16T00:09:36 < nomorekaki> basically half of the bikes are bandits 2023-07-16T00:10:10 < ventYl> not anymore 2023-07-16T00:13:20 < ventYl> these 400s had routinely failing voltage "regulators", igniters 2023-07-16T00:13:41 < ventYl> mine as a bonus also had failed crankshaft position sensor 2023-07-16T00:20:00 < nomorekaki> lets find new moped for you 2023-07-16T00:20:27 < Steffanx> It's not even a moped 2023-07-16T00:20:45 < nomorekaki> legally no 2023-07-16T00:21:16 < ventYl> I have aftermarket replacement for both igniter and regulator which should be more beefy than the original ones 2023-07-16T00:21:27 < ventYl> igniter fails on final stage BJTs 2023-07-16T00:21:50 < nomorekaki> my moped has basically only one failure mode 2023-07-16T00:22:02 < ventYl> and this year kawasaki wants to release new 4 cylinder ninja 400 2023-07-16T00:22:03 < nomorekaki> catastrophic failure of cylinder liners 2023-07-16T00:22:45 < nomorekaki> nickel chrome bullshit cracks and falls off 2023-07-16T00:22:53 < nomorekaki> from cylinder walls 2023-07-16T00:26:50 < nomorekaki> I think that could be a result from problems of inlet air / mixture control 2023-07-16T00:31:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 272 seconds] 2023-07-16T00:48:58 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Ping timeout: 252 seconds] 2023-07-16T00:49:38 < ventYl> ok, so chinesium rebuild kits all have wrong main jet 2023-07-16T01:02:02 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-16T01:10:52 < catphish> interesting question just came up elsewhere - how does a USB OTG device with a USB C port know when to become the host? 2023-07-16T01:18:33 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-16T01:42:49 < zyp> catphish, that's what the CC pins are for 2023-07-16T01:43:39 < zyp> devices pull down, hosts pulls up, dual role devices alternate between pulling down and up while sensing for a connection 2023-07-16T01:44:31 < zyp> i.e. a USB-C OTG device knows to become a host when it's sensing a pulldown on the other end while it's pulling up 2023-07-16T01:46:09 < zyp> which means that when you plug two OTG devices into each other, it's random which of them becomes the host, it just depends who is pulling up and who is pulling down when they detect each other 2023-07-16T01:48:33 < zyp> IIRC a device can spend a larger portion of time pulling a specific direction if it prefers a given role, to make it more likely it happens to be detected that way 2023-07-16T01:49:14 < zyp> and if they're unhappy with the assigned roles, there's also a way to negotiate a role swap, but I haven't read up on the details of that 2023-07-16T02:23:58 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-16T02:42:12 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-07-16T03:04:07 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-16T05:11:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-16T05:20:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-16T05:36:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-16T05:44:03 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-16T06:43:18 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-16T07:17:28 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-16T07:37:07 -!- bulletsquid [~bulletsqu@user/bulletsquid] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-07-16T07:41:22 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-16T07:42:38 < \dev\ice> can stm32 boot from external nor flash? 2023-07-16T08:22:59 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-16T08:49:31 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-16T09:04:57 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-16T10:43:20 < qyx> no 2023-07-16T10:43:37 < qyx> wewere talking about ir recently 2023-07-16T10:43:41 < qyx> even h7 can't 2023-07-16T10:43:50 < qyx> mp1 can though 2023-07-16T10:46:21 < \dev\ice> ty 2023-07-16T11:00:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5be-56cc-a9fe-4fb2.fixed6.kpn.net] has joined ##stm32 2023-07-16T11:10:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5be-56cc-a9fe-4fb2.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-07-16T11:21:42 < qyx> you can make a bootstrap firmware in the internal flash which configures the external QSPI one in XIP mode, relocates vectors and jumps there 2023-07-16T11:45:39 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5323))] 2023-07-16T11:45:45 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-16T11:47:08 -!- rkta_ [~rkta@user/rkta] has joined ##stm32 2023-07-16T11:49:30 -!- BrainDamage_ [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-16T11:49:35 -!- qyx_ [~qyx@84.245.121.82] has joined ##stm32 2023-07-16T11:53:31 -!- Netsplit *.net <-> *.split quits: kilobyte_ch, nerozero, alan_o, BrainDamage, boB_K7IQ, qyx 2023-07-16T11:53:50 -!- Netsplit over, joins: boB_K7IQ 2023-07-16T11:54:23 -!- BrainDamage_ is now known as BrainDamage 2023-07-16T11:56:23 -!- alan_o [~alan_o@2600:1700:1902:210f:f5a4:4651:38dc:5a33] has joined ##stm32 2023-07-16T12:00:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-16T12:01:04 -!- kilobyte_ch [~kbch@77.109.171.77] has joined ##stm32 2023-07-16T12:05:41 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-151e-d6ac-be78-b8f4.fixed6.kpn.net] has joined ##stm32 2023-07-16T12:15:26 < invzim> EXPERTS! I need to refit a few qfp's, anyone tried specialized hot air nozzles for removing them, like https://www.tequipment.net/Quick/NK3125/Nozzles/?OrderItemId=7691714 ? 2023-07-16T12:17:55 < qyx_> I have those but never tried them 2023-07-16T12:18:03 < qyx_> qfp up to 64 can be done the usual way 2023-07-16T12:18:15 < qyx_> I am using 5 mm nozzle 2023-07-16T12:18:25 -!- qyx_ is now known as qyx 2023-07-16T12:21:20 < invzim> actually found a video, https://youtu.be/uqye4qcBRB8?t=121 2023-07-16T12:26:02 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-16T12:40:16 < qyx> distrelec'ing subracks, zyp's favourite activity 2023-07-16T12:52:01 < zyp> :D 2023-07-16T13:00:50 < qyx> I have a dillema, do you put decoupling caps on the backplane? 2023-07-16T13:01:00 < qyx> near each connector 2023-07-16T13:07:40 < qyx> it keeps emptying my shopping cart 2023-07-16T13:10:21 < zyp> no 2023-07-16T13:15:51 < nomorekaki> https://www.youtube.com/watch?v=574lC1W8T5o 2023-07-16T13:21:53 < Steffanx> Early kaki. 2023-07-16T13:23:18 < Steffanx> You better go back to sleep nomorekaki. Enough internet for you today 2023-07-16T13:41:37 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 245 seconds] 2023-07-16T13:46:44 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-07-16T14:06:34 < qyx> a single board has 264 components, I need 10 2023-07-16T14:06:56 < qyx> and I am able to populate them at a rate 5 cpm 2023-07-16T14:07:20 < qyx> hm, the whole board under an hour, still reasonable 2023-07-16T14:10:13 < qyx> so back to the actual work, 5V/8A psu 2023-07-16T14:11:07 < qyx> and I can't tolerate more than 1-1.5 W power loss, that's gonna be tough 2023-07-16T14:11:51 < qyx> GaNs to the rescue 2023-07-16T14:12:24 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-16T14:29:44 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Ping timeout: 272 seconds] 2023-07-16T14:30:50 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-16T14:32:15 -!- rajkohaxor [~rajkosto@109-93-203-178.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-16T14:32:18 -!- rajkohaxor [~rajkosto@109-93-203-178.dynamic.isp.telekom.rs] has quit [Remote host closed the connection] 2023-07-16T14:36:04 -!- rajkosto [~rajkosto@178-222-72-56.dynamic.isp.telekom.rs] has quit [Ping timeout: 272 seconds] 2023-07-16T14:37:23 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Read error: Connection reset by peer] 2023-07-16T14:41:47 < BrainDamage> wrt the paste drying, you could try to make a box with saturate alcohol vapors 2023-07-16T14:42:11 < BrainDamage> then you should be able to be able to pause and resume population over the arc of few days 2023-07-16T14:57:34 < benishor> what crystals do you guys favor for HSE? 2023-07-16T14:57:57 < benishor> is there anything better suited than 25MHz? 2023-07-16T14:58:16 < benishor> with respect to I2S, USB and such 2023-07-16T15:01:02 < zyp> on what part? generally it doesn't matter because you start by dividing it down to 1MHz before feeding the PLL 2023-07-16T15:01:29 < zyp> so any integer MHz from 4..26 will work the same 2023-07-16T15:01:35 < zyp> or something like that 2023-07-16T15:02:22 < zyp> for me the traditional choice is 8 MHz, but on newer stuff I've typically used 12 MHz since it's available in smaller packages 2023-07-16T15:03:04 < zyp> if you need a special rate for I2S or something, you might want to put more thought into it 2023-07-16T15:12:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-16T15:32:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-16T15:33:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-16T16:00:29 < aandrew> I'm usually 16, 25 or 50MHz as I tend to have them around. 25/50 mostly for ethernet PHYs 2023-07-16T16:02:00 < qyx> my standard is 16 2023-07-16T16:02:17 < qyx> and yeah, I only keep 16 and 25 2023-07-16T16:16:14 < jpa-> if you want to use built-in USB bootloader, IIRC some parts had a problem where they cannot properly distinguish between 24 MHz and 25 MHz crystals in the autoconfig 2023-07-16T16:52:17 < aandrew> yes this is true 2023-07-16T16:52:34 < aandrew> there are a few that can do crystallless too because they recover 48MHz from the USB connection 2023-07-16T16:52:47 < aandrew> funnily enough I do very little USB stuff 2023-07-16T16:52:57 < aandrew> it's always a "nice to have" but never something I specifically build for 2023-07-16T16:53:22 < qyx> no usb good usb 2023-07-16T17:14:29 < englishman> it’s because you only build reliable hardware 2023-07-16T17:17:21 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-16T17:20:17 < Steffanx> *try to 2023-07-16T18:55:01 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-16T19:08:02 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-07-16T19:30:17 -!- bulletsquid [~bulletsqu@user/bulletsquid] has joined ##stm32 2023-07-16T19:34:46 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-19af-b032-720d-e618.fixed6.kpn.net] has joined ##stm32 2023-07-16T19:36:18 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-151e-d6ac-be78-b8f4.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-16T19:36:18 -!- martinmoene1 is now known as martinmoene 2023-07-16T19:45:20 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-242.hsd1.wa.comcast.net] has joined ##stm32 2023-07-16T19:50:11 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Ping timeout: 260 seconds] 2023-07-16T20:06:25 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-242.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 2023-07-16T20:31:33 < qyx> ttieurope.com legit? 2023-07-16T20:34:29 < qyx> hm, shipping from germany, 11 € 2023-07-16T20:34:31 < qyx> sounds good 2023-07-16T21:02:30 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-07-16T21:35:20 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 246 seconds] 2023-07-16T22:03:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-19af-b032-720d-e618.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-16T22:32:10 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-16T22:43:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-07-16T22:51:55 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 240 seconds] 2023-07-16T22:55:38 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-16T23:02:06 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 272 seconds] 2023-07-16T23:07:18 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-07-16T23:36:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-07-16T23:37:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-16T23:45:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-16T23:49:05 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-16T23:58:34 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] --- Day changed ma heinä 17 2023 2023-07-17T00:25:39 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-07-17T00:26:04 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-17T00:43:52 -!- ventYl [~ventyl@adsl-dyn11.78-99-63.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-07-17T01:00:53 -!- ventYl [~ventyl@bband-dyn96.178-40-12.t-com.sk] has joined ##stm32 2023-07-17T01:15:14 < catphish> zyp: thanks, that's what i suspected, someone was complaining their device wouldn't work when connected to their otg phone with USB C, but did with USB A, i suspected missing CC pins, but wasn't sure if this was the mechanism for OTG as well as power delivery 2023-07-17T01:19:12 < zyp> so a C-C cable doesn't work, but a C-A adapter followed by an A-C cable does? 2023-07-17T01:19:30 < zyp> in that case, that's likely a wrong CC implementation 2023-07-17T01:20:09 < zyp> a C host isn't allowed to output vbus before it's detected a correct CC pulldown signalling a connected device 2023-07-17T01:20:34 < zyp> in the case of a C-A adapter, those will be in the adapter, and whatever is on the target device is ignored 2023-07-17T03:08:51 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-17T03:11:38 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 272 seconds] 2023-07-17T03:20:59 -!- [_] is now known as [itchyjunk] 2023-07-17T05:17:58 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-17T06:24:32 -!- qyx [~qyx@84.245.121.82] has quit [Ping timeout: 250 seconds] 2023-07-17T06:26:35 -!- qyx [~qyx@84.245.121.73] has joined ##stm32 2023-07-17T06:37:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-17T07:07:19 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-17T07:09:50 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Ping timeout: 252 seconds] 2023-07-17T07:18:14 -!- nomorekaki [~nomorekak@37-219-146-83.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-17T08:06:36 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-17T08:16:20 -!- specing [~specing@user/specing] has quit [Ping timeout: 250 seconds] 2023-07-17T08:17:57 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-17T09:01:31 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-17T09:47:36 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-17T09:47:36 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-17T09:47:36 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-17T09:50:01 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-17T09:53:28 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-17T09:53:28 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-17T09:53:29 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-17T09:55:15 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-17T10:00:46 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 272 seconds] 2023-07-17T11:03:02 -!- rkta_ is now known as rkta 2023-07-17T13:31:19 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-17T14:07:11 < qyx> stm32 related question, do you tend to use some sort of xtal freq autodetection? 2023-07-17T14:08:38 < qyx> for some reason I used 19.2 MHz crystal oscillators in the previous batches 2023-07-17T14:08:55 < qyx> (some = to be able to PLL a suitable clock for the external ADC) 2023-07-17T14:09:13 < qyx> but for the MCU I decided to go with /6, *40, /2 to get 64 MHz 2023-07-17T14:17:59 < benishor> what's the xtal freq autodetection supposed to do? 2023-07-17T14:18:24 < qyx> to detect roughly which freq xtal is populated on the board and adapt PLL settings for it 2023-07-17T14:19:59 < benishor> right 2023-07-17T14:20:14 < benishor> you need a reference point I think 2023-07-17T14:21:10 < benishor> perhaps have an external rc, charge it and see how many cycles it took 2023-07-17T14:21:37 < PaulFertser> They all have internal rc though 2023-07-17T14:22:17 < benishor> if there would be a way to somehow use both LSI and HSE 2023-07-17T14:22:56 < zyp> HSI and HSE, and yes 2023-07-17T14:23:04 < zyp> the ROM bootloader does that 2023-07-17T14:23:16 < zyp> at least on the USB capable parts without HSI48 2023-07-17T14:23:46 < zyp> e.g. parts like stm32f4, it needs an external crystal to do USB 2023-07-17T14:23:53 < benishor> if not, you can have an external oscillator with a known frequency and use an interrupt on an input pin 2023-07-17T14:24:04 < benishor> measure the time it takes 2023-07-17T14:24:29 < zyp> so the ROM bootloader will autodetect what frequency the crystal has, and configure the PLL from that 2023-07-17T14:24:59 < benishor> qyx: why do you need it dynamic though? 2023-07-17T14:25:23 < benishor> can't you have a list of predefined xtal values and have a hardware way of chosing the proper one? 2023-07-17T14:25:29 < benishor> like jumpers 2023-07-17T14:25:46 < benishor> I'm curious what the use case is which requires extreme adaptability 2023-07-17T14:26:16 < benishor> you mentioned "to detect which... roughly" , that means you have a known list 2023-07-17T14:26:20 < zyp> the way to do this is to have two timers, one configured to run from HSI and one configured to run from HSE, one timer will run for a given number of cycles and the other will count how many cycles the other clock does in the same period 2023-07-17T14:26:34 < benishor> zyp: that's what I aimed for too 2023-07-17T14:26:35 < zyp> should be an appnote on how to do it 2023-07-17T14:30:54 < qyx> zyp: yeah I was more like how to achieve that to run one timer off HSE directly before it is configured as PLL source 2023-07-17T14:31:09 < qyx> hm, appnotes, yeah, there are appnotes 2023-07-17T14:33:21 < zyp> qyx, I believe that's a config option for one of the timers 2023-07-17T14:36:56 < zyp> ah, it's not an appnote, it's documented in the RM itself, see e.g. 7.2.11 on page 222 here: https://www.st.com/resource/en/reference_manual/rm0090-stm32f405415-stm32f407417-stm32f427437-and-stm32f429439-advanced-armbased-32bit-mcus-stmicroelectronics.pdf 2023-07-17T14:38:39 < qyx> it requires LSE/LSI but should work too 2023-07-17T14:39:39 < qyx> oh TIM11 HSE_RTC 2023-07-17T14:39:49 < qyx> great 2023-07-17T15:08:46 < benishor> sounds like problem solved 2023-07-17T15:08:52 < benishor> \o/ 2023-07-17T15:14:14 < qyx> another oneis to detect HSE bypass/no bypass 2023-07-17T15:14:35 < qyx> and for bonus points TCXO vs. VCTCXO 2023-07-17T15:42:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-17T16:21:34 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-17T16:49:05 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-07-17T17:22:55 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-17T18:18:06 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-17T18:18:08 < Laurence_b> undefined reference to `HardwareSerial::begin(unsigned long, unsigned char) 2023-07-17T18:18:10 < Laurence_b> nice 2023-07-17T18:19:27 < Laurence_b> dunno where to start debugging this 2023-07-17T18:22:40 < Laurence_b> some library... bad 2023-07-17T18:29:15 < Laurence_b> woah 2023-07-17T18:29:22 < Laurence_b> something has corrupted library files 2023-07-17T19:41:23 -!- Laurence_b [~Laurenceb@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-07-17T20:03:07 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-17T20:09:49 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-17T20:19:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9ddc-ba35-d3c3-68df.fixed6.kpn.net] has joined ##stm32 2023-07-17T20:25:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9ddc-ba35-d3c3-68df.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-17T21:05:55 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-07-17T21:16:25 < zyp> new toy day: https://cdn.discordapp.com/attachments/813547772337979442/1130561316441038999/IMG_20230717_200552.jpg 2023-07-17T21:19:25 < catphish> i made my STM32 fly :) https://www.youtube.com/watch?v=zesEHCQ3JEI 2023-07-17T21:19:34 < englishman> nice 2023-07-17T21:21:14 < zyp> nice, that's better behaved than I ever got mine 2023-07-17T21:21:22 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-07-17T21:21:45 < machinehum> Has anyone used the XB8089D before? 2023-07-17T21:21:50 < machinehum> Or anything like it? 2023-07-17T21:26:55 < catphish> zyp: this time around i have a much better understanding of how quadcopters work :) 2023-07-17T21:27:08 < catphish> (and how to fly them) 2023-07-17T21:28:43 < catphish> the first time i tried to do this, i didn't even know that gyro-stabilization-only (acro) mode was a thing, so i was trying to do accelerometer-first, that was never going to work, this time, i got it flying perfectly in acro mode before i even started looking at the accelerometer and auto-levelong 2023-07-17T21:29:36 < catphish> it turns out, once you have it in a state where you can reliably command a rate of rotation in each axis, the upper layers are a lot simpler 2023-07-17T21:32:51 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-17T21:33:05 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-17T21:36:30 < PaulFertser> catphish: do you plan to implement FBL heli next? ;) 2023-07-17T21:37:39 < catphish> PaulFertser: i imagine the control algorithm is very similar, but no 2023-07-17T21:38:32 < PaulFertser> catphish: I'm not sure, FBL does something tricky even for standard heli flying (which is similar to quad "acro" mode). 2023-07-17T21:39:47 < catphish> i know very little about helis, but i imagine it uses the gyro the same was as a quad and ajusts the rotor in the opposite directon to the gyro sensor 2023-07-17T21:39:53 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-17T21:40:18 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-17T21:40:22 < catphish> the algorithm for a quad in acro mode is absurdly simple, you iterally just subtract the gyro input from the motor output 2023-07-17T21:40:49 < catphish> this is the face i make when i'm really hoping i don't accidentally fly the quad into my face https://i.imgur.com/sN7Rl7g.png 2023-07-17T21:41:37 < PaulFertser> With a heli you're even more likely to do that. 2023-07-17T21:42:01 < catphish> i've flown a FBL heli, it's basically the same as flying a quad, just scarier 2023-07-17T21:42:19 < catphish> now i'm rather good at flying a quad, i think i'd be fine with a heli too 2023-07-17T21:42:23 < PaulFertser> catphish: a proper CP one? 2023-07-17T21:43:16 < catphish> CP is the one where the rotor spins at a fixed speed and you control the pitch? 2023-07-17T21:43:58 < catphish> if so, yes, that's what i've flown before, however back when i did that i did not have that much flying experience, so i was really just hovering it tentatively 2023-07-17T21:44:24 < PaulFertser> Well, it's not exactly that, you can have a curve which allows for different speed with different position of your stick. Adjusting collective pitch at the same time (while the other stick adjusts pitch in a way for the heli to fly some direction). 2023-07-17T21:44:41 < catphish> yeah i remember that 2023-07-17T21:44:51 < catphish> i kinda wish i still had that heli 2023-07-17T21:45:09 < PaulFertser> Interesting you didn't crash it on the first flight. They're furious and if you're not used to "acro" mode it's really hard to get them back level after you tilt. 2023-07-17T21:46:32 < catphish> the one i had was a Blade 300X 2023-07-17T21:48:11 < catphish> i never crashed it, but i never really flew it properly either, just hovered it a while and got comfortable with acro flying 2023-07-17T21:48:32 < PaulFertser> Nice! 2023-07-17T21:48:33 < catphish> since then, i learned how to fly quads properly 2023-07-17T21:49:52 < catphish> PaulFertser: this is me flying my quad https://www.youtube.com/watch?v=ti0W7AbXkug 2023-07-17T21:49:57 < catphish> i'm harly a pro, but i can fly :) 2023-07-17T21:50:54 < PaulFertser> catphish: that was FPV flight, not LOS? 2023-07-17T21:59:38 < catphish> PaulFertser: yes 2023-07-17T22:00:28 < catphish> i still haven't learned to fly in all orientations LOS :( 2023-07-17T22:00:45 < PaulFertser> On that first video where you fly your own controller it shows. 2023-07-17T22:01:05 < ventYl> as part of my work I had to learn to fly with kind-of hardcore flight simulation containing some helis 2023-07-17T22:01:32 < ventYl> I've been able to take off in 1 attempts out of 5. at best 2023-07-17T22:02:08 < PaulFertser> ventYl: the more impressive catphish didn't crash that real heli, eh? 2023-07-17T22:02:11 < catphish> PaulFertser: that first video i stay behind the quad so it's always oriented :D 2023-07-17T22:02:30 < catphish> i'm happy with LOS as long as i maintain orientation 2023-07-17T22:02:59 < PaulFertser> catphish: that's what I mean :) 2023-07-17T22:03:08 < ventYl> PaulFertser: yeah. I didn't even get how the thing gets commanded. some reactions to my input were just nonsense 2023-07-17T22:03:10 < catphish> as soon as things are reversed, that's a big no from my tiny brain :D 2023-07-17T22:03:14 < ventYl> including falling from the sky like a rock 2023-07-17T22:03:24 < ventYl> which happened 85% of time 2023-07-17T22:03:30 < PaulFertser> catphish: you're doing so many other very cool and complicated things with tech though. 2023-07-17T22:04:37 < catphish> my heli https://i.imgur.com/FFLurSU.jpg 2023-07-17T22:06:07 < PaulFertser> Probably it had some super slow mode for beginners, no idea how you managed to not crash it really :) 2023-07-17T22:06:12 < catphish> i gave away all my flying kit in 2020, in hindsight, that was a bit silly since i picked the hobby up again only 3 years later 2023-07-17T22:07:27 < catphish> PaulFertser: "with care" basically, it's not that hard to learn acro mode if you just hover a couple of inches off the ground and practice roll/pitch for a while 2023-07-17T22:08:31 < PaulFertser> idk, I got some real cuts with my tiny wltoys v977 doing just that. 2023-07-17T22:09:15 < catphish> i never had the space / confidence to enjoy it though 2023-07-17T22:09:41 < catphish> had a lot more fun when i bought a tiny FPV quad instead :) 2023-07-17T22:09:48 < catphish> crashed that about 100 times :) 2023-07-17T22:09:48 < ventYl> PaulFertser: BTW I ended up ordering chinesium repair kit for carbs. It contains wrong main jet almost for sure, but that won't be a problem as it is large and does not get any wear during the use. 2023-07-17T22:11:33 < PaulFertser> ventYl: I hope it has usable parts that did wear, good luck with it! 2023-07-17T22:13:41 < ventYl> PaulFertser: as I rarely ride it at WOT I don't have wear even on parts which are reported to be susceptible for wear. All I need are four O-rings, float bowl gasket and idle jet 2023-07-17T22:22:01 < nomorekaki> catphish: nice looking place in the video 2023-07-17T22:26:19 < catphish> nomorekaki: it's a nice part of the world to live :) 2023-07-17T22:26:31 < nomorekaki> tell me again how much south from london you lived? 2023-07-17T22:27:15 < catphish> here https://www.google.co.uk/maps/@50.8510687,-2.1640861,12.25z?entry=ttu 2023-07-17T22:28:19 < PaulFertser> I'd say it looks pretty similar to central european part of russia. 2023-07-17T22:28:47 < nomorekaki> y 2023-07-17T22:28:51 < nomorekaki> houses are different 2023-07-17T22:29:14 < catphish> this my village: https://www.google.co.uk/maps/@50.8595538,-2.1827815,3a,75y,173.36h,90.73t/data=!3m6!1e1!3m4!1sGhpzETqfk-sLlF2mTy6bPw!2e0!7i13312!8i6656?entry=ttu 2023-07-17T22:29:19 < PaulFertser> nomorekaki: plenty of houses of any style there 2023-07-17T22:29:57 < PaulFertser> The trees, the grass, the fields... Very familiar looking. 2023-07-17T22:31:17 < ventYl> its the mild climate belt, or what is the scientific name for it 2023-07-17T22:31:51 < nomorekaki> subtropic 2023-07-17T22:32:28 < nomorekaki> no 2023-07-17T22:33:46 < nomorekaki> https://en.wikipedia.org/wiki/Trewartha_climate_classification 2023-07-17T22:34:27 < nomorekaki> temperate oceanic 2023-07-17T22:35:29 < nomorekaki> kaki is living in boreal area 2023-07-17T22:36:06 < Steffanx> Time for some musics nomorekaki https://www.youtube.com/watch?v=kch_O0h2As0 2023-07-17T22:36:58 < nomorekaki> hmm 2023-07-17T22:38:00 < nomorekaki> somebody has copied that melody 2023-07-17T22:38:13 < Steffanx> Totally. 2023-07-17T22:38:16 < nomorekaki> I don't know what band but i know this 2023-07-17T22:38:23 < nomorekaki> but i don¨t 2023-07-17T22:38:36 < Steffanx> They went to a some island. 2023-07-17T22:38:55 < Steffanx> aka ibiza 2023-07-17T22:39:47 < nomorekaki> ah Vengaboys 2023-07-17T22:40:14 < nomorekaki> I'm feeling sharp now steff 2023-07-17T22:40:19 < nomorekaki> maybe I should code 2023-07-17T22:40:29 < Steffanx> All up to you. 2023-07-17T22:40:41 < Steffanx> You can also go outside and count the stars 2023-07-17T22:40:47 < Steffanx> you see 2023-07-17T22:42:08 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2023-07-17T22:42:48 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-17T22:43:21 < nomorekaki> I can't steff 2023-07-17T22:44:48 < nomorekaki> for a month maybe 2023-07-17T22:45:01 < nomorekaki> or two to nights to get dark 2023-07-17T22:45:13 < Steffanx> oh lol 2023-07-17T22:51:05 < nomorekaki> interesting music excercise 2023-07-17T22:51:22 < nomorekaki> have you been in ibiza? 2023-07-17T22:52:42 < invzim> balls.. only 3 usable USB endpoints - but kudos to tinyusb for pointing it out 2023-07-17T22:54:04 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Ping timeout: 272 seconds] 2023-07-17T23:06:46 < invzim> stm32f401 -> stm32f446 would be an easy migration with 5 usable endpoints, AN4879 has number of endpoints pr family listed 2023-07-17T23:09:53 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-17T23:10:59 < Steffanx> No, not my kind of thing nomorekaki 2023-07-17T23:16:52 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 272 seconds] 2023-07-17T23:44:32 -!- machinehum1 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has joined ##stm32 2023-07-17T23:44:36 < machinehum1> BQ76920 Seems like a nice part 2023-07-17T23:45:05 < machinehum1> Looks like it does exactly what I need, I can ditch all my passive cell balancing circuits and shit 2023-07-17T23:45:19 < machinehum1> First page says their targeting UPS's 2023-07-17T23:45:37 < machinehum1> What was the cheap lower power stm? 2023-07-17T23:45:43 < machinehum1> g0 or something? 2023-07-17T23:52:05 < specing> L0? --- Day changed ti heinä 18 2023 2023-07-18T00:04:39 < machinehum1> sure 2023-07-18T00:13:42 -!- kilobyte_ch [~kbch@77.109.171.77] has quit [Ping timeout: 245 seconds] 2023-07-18T00:27:44 < karlp> check the numbers though, l0 is kinda old, and both u5 and g0 also advertise very low power figures. 2023-07-18T00:28:01 < karlp> l0 has "eeprom" though, which none of the newer parts have standard. 2023-07-18T01:41:16 -!- machinehum1 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has quit [Ping timeout: 272 seconds] 2023-07-18T01:41:22 -!- machinehum2 [~machinehu@209.52.88.240] has joined ##stm32 2023-07-18T01:53:08 < machinehum2> karlp: Thanks 2023-07-18T02:01:41 -!- machinehum2 [~machinehu@209.52.88.240] has quit [Ping timeout: 245 seconds] 2023-07-18T02:06:11 -!- machinehum2 [~machinehu@209.52.88.129] has joined ##stm32 2023-07-18T02:11:49 < catphish> cheap + low power = L0 2023-07-18T02:12:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-18T02:16:22 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-18T02:20:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-18T02:29:49 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-18T02:38:21 -!- machinehum2 [~machinehu@209.52.88.129] has quit [Ping timeout: 245 seconds] 2023-07-18T03:48:32 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-18T04:37:16 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-18T04:54:31 < qyx> shortage = L0 or G0 and then bang your head while fitting both bootloader and application into 16 KB of flash 2023-07-18T04:55:24 -!- [itchyjunk] is now known as [notItchy] 2023-07-18T05:57:02 -!- [notItchy] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-18T07:47:30 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-18T07:59:22 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 272 seconds] 2023-07-18T08:41:58 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-18T09:30:58 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-18T09:40:01 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-18T09:53:56 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-18T09:54:17 < rob_w> good morning guys .. i am still on migrating code from normal flash execution to qspi xip ... beside the flash address in the linker , would i need to change anything else ? 2023-07-18T09:55:22 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-18T09:55:22 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-18T09:55:22 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-18T09:55:31 < ventYl> wasn't the code already running from the flash for you? 2023-07-18T09:57:17 < rob_w> depends on what u mean 2023-07-18T09:57:53 < rob_w> i got the stuff sofar that i am able to jump to the qspi code and exectute it ... quite far but still at the beginning , then i end up in a hardfault 2023-07-18T09:58:35 < rob_w> and may times its close or nearby allocs of either lwip or framebuffer stuff 2023-07-18T09:58:54 < rob_w> i can also move the hardfault around by adding code upfront etc 2023-07-18T09:59:14 < rob_w> so either my alloc scenario is broken now or i run out of memory or or or 2023-07-18T09:59:44 < rob_w> .. i just veryfied that qspi is still working ,, iassume a stop there or such 2023-07-18T10:01:09 < rob_w> this code was running from flash ( from a stm32h74x with 2mb flash but now i am on a h750 with 128kb flash and 8mb qspi .. 2023-07-18T10:01:32 < rob_w> so i wonder what else beside the flash address in the linker i would need to change in the target app 2023-07-18T10:22:22 < ventYl> assuming that the right code goes to right place, not much 2023-07-18T10:22:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-cd8b-48f4-ca60-f5ee.fixed6.kpn.net] has joined ##stm32 2023-07-18T10:22:55 < ventYl> if your code was already executing from the qspi, it means that your startup landed in internal flash and executed properly 2023-07-18T10:23:15 < ventYl> it may remain there and code from the flash will be referencing it 2023-07-18T10:25:41 < ventYl> as for allocations, have you traced down in what scope the hardfault happens? 2023-07-18T10:26:18 < ventYl> H7 SCB should be beefy enough to provide you both the address of faulting instruction and address of faulting memory access as well as the nature of the access (instruction load / read / write) 2023-07-18T10:26:37 < rob_w> its jumping ,, u cant get a definitive place ... but i just came around a issue i forgot 2023-07-18T10:26:41 < ventYl> inspecting this information it should be pretty straightforward to identify what and why I went wrong 2023-07-18T10:27:36 < rob_w> we have a eeprom emulation in the orig code which uses the acutal flash as eeprom ... that is of course totally obsolete 2023-07-18T10:28:28 < rob_w> let me meditate about that ... i ll be back 2023-07-18T10:45:31 < ventYl> FEE ... mmmm ... sweet 2023-07-18T11:19:33 < qyx> rob_w: did you relocate vectors before jumping? 2023-07-18T11:20:50 < ventYl> does he have to do so? can't vectors from flash coexist with qspi? 2023-07-18T11:22:26 < qyx> I guess the app in qspi wants to jump to its own handlers instead of jumping to unimplemented ones in the flash 2023-07-18T11:23:03 < ventYl> nah 2023-07-18T12:07:13 < rob_w> any hint in why my .map file looks pretty broken, hardly anything in there ? 2023-07-18T12:21:53 < mawk> you can ask ld to be verbose about what it's doing 2023-07-18T12:22:48 < mawk> add -v to the gcc link step 2023-07-18T12:22:50 < mawk> I think 2023-07-18T12:25:49 < mawk> try it rob_w 2023-07-18T12:25:53 < mawk> and paste the output somewhere 2023-07-18T12:26:12 < mawk> also you can add -Wl,-M to CFLAGS and see what happens 2023-07-18T12:26:25 < mawk> or to LDFLAGS rather 2023-07-18T12:26:25 < rob_w> hang on 2023-07-18T12:26:29 < mawk> it should print a bunch of stuff in the standard output during linking 2023-07-18T12:29:23 < ventYl> isn't -M for creating map file? 2023-07-18T12:30:41 < rob_w> yes 2023-07-18T12:33:31 < rob_w> fixed .. my old makefile did overwrite the .map with some other stuff ... 2023-07-18T13:14:29 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-07-18T13:40:58 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-18T13:42:38 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Read error: Connection reset by peer] 2023-07-18T13:43:50 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-07-18T14:02:57 < mawk> it's to print it to stdout 2023-07-18T14:03:29 < mawk> to make sure this didn't happen: [11:33:31] fixed .. my old makefile did overwrite the .map with some other stuff ... 2023-07-18T14:08:23 < rob_w> i had -Map in the linker cmd to my.map but i had also separate calls to objdump to the same file 2023-07-18T14:31:36 < rob_w> ... stupid f..ing stuff ... i hate it. why are those f... h743 not availble anymore ... grrrrrrrr 2023-07-18T14:38:20 < rob_w> .... in the end i my collegue build some overflow and that kills me now 2023-07-18T14:53:54 -!- josuah [~josuah@46.23.94.12] has quit [Remote host closed the connection] 2023-07-18T14:54:19 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-07-18T15:07:57 < qyx> any specific reason for using h7? 2023-07-18T15:21:47 < c10ud> available when fxx were missing 2023-07-18T15:23:55 < rob_w> ^ true 2023-07-18T15:24:45 < rob_w> sorry f743 was the old h750 is the new 2023-07-18T15:25:07 < rob_w> no .. h743 .. wtf .. i am done for today 2023-07-18T15:31:11 < qyx> idk if h7 was available during shortage 2023-07-18T15:31:26 < qyx> L0, G0 and L1 were 2023-07-18T15:32:16 < c10ud> it was, we bought a batch and then designed the board lol 2023-07-18T15:32:51 < c10ud> was kind of the only opt for m4 or m7 2023-07-18T15:33:36 < qyx> yeah I didn't like that reverse design approach 2023-07-18T15:34:03 < qyx> "buy what is available and then do some magic" 2023-07-18T15:34:13 < c10ud> def not the nicest... 2023-07-18T15:34:28 < c10ud> at least we learned a lot about pin to pin replacements of digital ics 2023-07-18T15:45:14 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 2023-07-18T15:50:52 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Ping timeout: 250 seconds] 2023-07-18T16:03:08 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-18T16:23:20 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-18T16:34:23 < rob_w> so i disabled every task/thread i got a hardfault in .. there are quite some tasks left over but now i dont get the hardfault .. what is this telling me ? heap / stack issues ? 2023-07-18T16:47:31 < mawk> you could try to increase the heap size or stack size whatever 2023-07-18T16:50:38 < PaulFertser> FreeRTOS has integrated functions to see how much free stack you have in every thread. As to the common heap, you can get the amount of free mem in there at any moment obviously. 2023-07-18T16:52:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-cd8b-48f4-ca60-f5ee.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-18T16:59:23 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 264 seconds] 2023-07-18T16:59:28 < ventYl> another day without memory protection, another stack overflow :) 2023-07-18T17:07:56 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-18T17:38:06 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-18T17:41:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-18T18:23:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 272 seconds] 2023-07-18T18:57:31 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-18T19:27:06 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 252 seconds] 2023-07-18T19:37:46 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-07-18T19:44:30 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-18T19:51:14 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 272 seconds] 2023-07-18T20:02:06 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-18T20:10:35 < aandrew> PaulFertser: One of my typical things to do early in the dev cycle is to create a thread which is used to monitor other threads; it gathers stack/heap info, thread runtime/deltas, etc and can implement a "software watchdog" or watchdog management layer as well that ensures that all registered threads have had *some* runtime before it pets the real watchdog 2023-07-18T20:18:22 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-18T20:22:53 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 258 seconds] 2023-07-18T20:29:42 < PaulFertser> aandrew: professional approach 2023-07-18T20:39:56 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-07-18T20:41:54 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 272 seconds] 2023-07-18T20:47:32 -!- specing [~specing@user/specing] has quit [Ping timeout: 246 seconds] 2023-07-18T20:57:25 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-07-18T20:57:30 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-18T20:58:58 -!- duude__- is now known as duude__ 2023-07-18T21:13:21 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-18T21:13:29 -!- Laurence_b [~Laurenceb@26.177.208.46.dyn.plus.net] has joined ##stm32 2023-07-18T21:13:32 < Laurence_b> lol https://forum.nasaspaceflight.com/index.php?topic=50041.380 2023-07-18T21:13:42 < Laurence_b> even nasaspaceflight are trolling them at this point 2023-07-18T21:17:03 < machinehum> https://i.imgur.com/fXUUQKi.png 2023-07-18T21:17:12 < machinehum> That look okay? 2023-07-18T21:17:29 < machinehum> I've never used the G0 before wondering is there's anything else going on that needs to happen 2023-07-18T21:26:06 < aandrew> no pullups on rst/i2c but otherwise probably fine. I haven't looked at the datasheet 2023-07-18T21:26:43 < machinehum> i2c are not pictured, says there are internal ones on reset but yeah I'll put one on 2023-07-18T21:29:52 < aandrew> I never trust internal pulls unless there's a real good reason to. Even SWD I'll put external pullup/down, you can always depop but it's easier to have the pads there and not need them than not have the pads and need them 2023-07-18T21:30:09 < machinehum> For sure 2023-07-18T21:30:20 < machinehum> boot0 stuff was unclear in the datasheet 2023-07-18T21:32:05 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-18T21:44:12 < machinehum> karlp: Any examples for the g0 libopencm3? 2023-07-18T21:44:36 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-18T22:14:23 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 264 seconds] 2023-07-18T22:14:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f5da-d8aa-b6dd-ec0c.fixed6.kpn.net] has joined ##stm32 2023-07-18T22:15:36 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-9c1d-fb66-ef0a-a17c.fixed6.kpn.net] has joined ##stm32 2023-07-18T22:18:46 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-18T22:19:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f5da-d8aa-b6dd-ec0c.fixed6.kpn.net] has quit [Ping timeout: 272 seconds] 2023-07-18T22:19:26 -!- martinmoene1 is now known as martinmoene 2023-07-18T22:34:32 -!- Laurence_b [~Laurenceb@26.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-07-18T22:37:17 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-18T22:39:56 < PlasmaHH> Hi, got some H7 and it seems that it can only erase 128k flash at once... which gulps a bit too much current sometimes... anyone knows if you could make it erase slower, or in smaller pages or something like that? 2023-07-18T22:48:21 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-18T22:49:08 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 252 seconds] 2023-07-18T22:49:53 -!- duude__- is now known as duude__ 2023-07-18T23:05:56 -!- akaWolf [~akaWolf@akawolf.org] has quit [Ping timeout: 250 seconds] 2023-07-18T23:16:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c1d-fb66-ef0a-a17c.fixed6.kpn.net] has quit [Ping timeout: 272 seconds] 2023-07-18T23:22:50 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 250 seconds] 2023-07-18T23:32:07 < karlp> moah caps 2023-07-18T23:33:18 < catphish> i'm trying to work out what's contributing to the size of my stm32 program, but right now i'm a little confused, when i objdump my elf, i see stuff that (afaik) really has no business being there, syscalls like fflush, write, kill 2023-07-18T23:33:58 < catphish> why are those in my compiled elf, will they be copied to my binary? do i need to do some incantation to stop them wasting space? 2023-07-18T23:34:00 < zyp> why have they no business being there? 2023-07-18T23:34:37 < zyp> they're probably coming from libnosys, which you've probably linked in 2023-07-18T23:34:38 < catphish> well at its simplest, because i don't call them in my program 2023-07-18T23:35:04 < catphish> doesn't the linker know to only include things that are actually used? 2023-07-18T23:35:06 < zyp> do you call any libc functions at all? 2023-07-18T23:36:30 < catphish> yes, occasionally, i use trig functions from math.h which seem to call some libc functions. and i think the ST provided initialization code calls some too 2023-07-18T23:36:50 < PaulFertser> catphish: do you have gc-sections and -ffunction-sections enabled? 2023-07-18T23:36:56 < catphish> but i assumed lib wasn't an "all of nothing" deal 2023-07-18T23:37:08 < catphish> i don't think so 2023-07-18T23:37:22 < zyp> -ffunction-sections doesn't really make a difference in this case 2023-07-18T23:37:49 < catphish> ^ i tried, it didn't 2023-07-18T23:38:14 < zyp> it's not an all or nothing deal, you should only get symbols that are referenced in some way or another 2023-07-18T23:38:17 < catphish> oh, wait... maybe it did 2023-07-18T23:38:55 < zyp> -ffunction-sections divides *your* code into sections so the linker can throw out unused functions 2023-07-18T23:39:02 < zyp> it doesn't affect libraries that are already built 2023-07-18T23:39:25 < PaulFertser> zyp: it could make a difference if there was an unneeded function in catphish's code that would be referencing those library calls. 2023-07-18T23:39:48 < catphish> yeah, it didn't help, the libc is all still there 2023-07-18T23:40:08 < zyp> PaulFertser, that is true, but unlikely to matter 2023-07-18T23:40:21 < catphish> for example, i'm not using printf at all, but i still have a load of printf functions in my compiled code 2023-07-18T23:40:38 < zyp> well, you're calling something that's calling printf 2023-07-18T23:40:56 < zyp> and printf indirectly calls write and flush 2023-07-18T23:41:04 < catphish> that makes a lot of sense 2023-07-18T23:41:13 < catphish> i wonder what / why :) 2023-07-18T23:41:28 < zyp> you'll want to look at a call graph 2023-07-18T23:41:50 < zyp> idk what's a good tool to make one, apart from ghidra, which might be overkill for this 2023-07-18T23:41:52 < catphish> that sounds ideal. how do i generate it? 2023-07-18T23:41:56 < catphish> ah 2023-07-18T23:42:18 < catphish> i can potentially trace that specific example manually with objdump 2023-07-18T23:42:39 < PaulFertser> Or set breakpoint on printf and let firmware run 2023-07-18T23:42:44 < zyp> I was looking for a callgraph tool some months ago, but I failed to find anything I liked and ended up manually jumping through the disassembly instead 2023-07-18T23:43:52 < PaulFertser> I thought the map file included mentions on why exactly some section was needed, so you should be able to trace it back via that. 2023-07-18T23:44:18 < catphish> ooh, i see the problem, i copied some code thta calls assert() which goes on a wild ride 2023-07-18T23:44:29 < PaulFertser> Yeah, from the very beginning "Archive member included to satisfy reference by file (symbol)" 2023-07-18T23:44:44 < PaulFertser> Isn't that enough to trace it easily? 2023-07-18T23:45:26 < zyp> perhaps 2023-07-18T23:45:52 < zyp> going up the call graph tends to be easier than going down it 2023-07-18T23:47:07 < catphish> remving the assert() calls has slashed my program from 30KB to 22KB, thanks, i shall continue in this manner 2023-07-18T23:57:24 < catphish> yep, all the unwanted code was stuff i'd accidentally called, thanks for confirming this :) 2023-07-18T23:58:15 < catphish> a couple of float literals accidentally defined without an f prefix pulled in library functions for handling doubles, all much tidier now --- Day changed ke heinä 19 2023 2023-07-19T00:01:57 -!- akaWolf [~akaWolf@akawolf.org] has joined ##stm32 2023-07-19T00:03:27 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-19T00:46:16 < zyp> IIRC there's a flag that treats all double literals as float literals 2023-07-19T00:46:25 < karlp> those literal doubles are tricksy, easy to fall into. 2023-07-19T00:48:36 < zyp> hmm, looks like the flag I'm thinking of got removed, but -Wdouble-promotion should help 2023-07-19T00:51:00 < qyx> whoever even needs double precision 2023-07-19T00:51:23 < zyp> hmm, -fsingle-precision-constant is the flag I was thinking of 2023-07-19T00:52:52 < zyp> hmm, might still exist, not sure 2023-07-19T00:56:14 < catphish> thanks, might try it 2023-07-19T01:00:20 < aandrew> lol yes H7 flash pages are ENORMOUS, I don't know why they didn't give us variable pages like so many other STM32s... couple 8k pages, few 16k pages then the bigass 128k ones would be ideal for a bootloader, especially since they also have some nice protection features (secure memory, PCROP, etc.) 2023-07-19T01:12:24 < machinehum> qyx: I don't think this part will actually work for me. There's situations where I need both fets off 2023-07-19T01:12:42 < machinehum> For instance battery is fully charged 2023-07-19T01:12:54 < machinehum> And you just need a 12V passthrough 2023-07-19T01:14:39 < machinehum> Or actually I guess in that scenario you would just be holding the cell in CV 2023-07-19T01:20:58 < machinehum> But then the buck fet would be on for a large duty cycle, causing current to flow from Vbat to Vout... https://i.imgur.com/RCNGl24.png 2023-07-19T01:22:33 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-19T01:23:13 < machinehum> Oh the PWM pin is tristate 2023-07-19T02:32:31 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-07-19T03:17:07 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-19T03:33:14 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-19T04:40:46 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-19T06:29:36 -!- qyx [~qyx@84.245.121.73] has quit [Ping timeout: 245 seconds] 2023-07-19T06:31:35 -!- qyx [~qyx@84.245.121.171] has joined ##stm32 2023-07-19T06:33:10 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-19T06:33:38 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-19T07:27:21 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-19T07:43:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-19T07:54:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-19T08:32:27 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 245 seconds] 2023-07-19T08:36:55 -!- begriffs [~begriffs@user/begriffs] has quit [Remote host closed the connection] 2023-07-19T08:37:16 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-19T08:42:03 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-19T09:21:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 272 seconds] 2023-07-19T09:23:43 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-19T09:49:38 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-19T10:29:00 -!- jerkey_ [~jerkey@artsf1.spaz.org] has joined ##stm32 2023-07-19T10:29:16 -!- jerkey_ is now known as jerkey 2023-07-19T11:29:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-19T12:04:36 < rob_w> hi guys , what effect is it , that when debug and step through and on returning a function the code jumps back into the functions and keeps looping it ? 2023-07-19T12:06:52 < drzacek> any chance you're using interrupt and another interrupt has triggered in the meantime? 2023-07-19T12:10:14 < rob_w> doesnt look that way 2023-07-19T12:11:12 < drzacek> post some code 2023-07-19T12:13:09 < ventYl> rob_w: it would really help to step instruction by instruction to see why it jumps back to the first line and what is the register contents when it happens 2023-07-19T12:13:21 < ventYl> then you can backtrack to figure out why the register content is as it is 2023-07-19T12:14:13 < rob_w> https://pastebin.com/ZYbfWbSJ i am basicly looping between line 48 and the final return ,, its the ltdc HAL 2023-07-19T12:15:00 < rob_w> i just come to know that my code uses HAL_LTDC_Init() 2 times ... need to see why, dont think that is correct 2023-07-19T12:19:39 < zyp> rob_w, so you're stepping through source lines? 2023-07-19T12:21:51 < rob_w> yes 2023-07-19T12:23:08 < zyp> when the compiler is optimizing code, it typically jumbles up the order of instructions compared to the order of the source lines they originated from 2023-07-19T12:24:00 < zyp> so when you're stepping through the resulting assembly instructions, it looks like you're jumping back and forth without much sense in the source 2023-07-19T12:24:21 < ventYl> and sometimes debugger even loses ability to trace what happens in there 2023-07-19T12:24:55 < zyp> in other words, each source line can result in multiple instructions, and they're not guaranteed to be consecutive or in the order that they were in the source 2023-07-19T12:26:50 < ventYl> or it may result in no instruction at all 2023-07-19T12:27:28 < jpa-> stepping instruction-by-instruction with "display /i $pc" and "stepi" is a good idea when you need the details 2023-07-19T12:27:35 < jpa-> "layout asm" is not bad either 2023-07-19T12:28:10 < zyp> yeah, I generally use layout asm for single stepping 2023-07-19T12:28:12 < rob_w> hmmm 2023-07-19T12:28:34 < ventYl> stepping debug build, or something less optimized is also often good idea 2023-07-19T12:28:37 < ventYl> as long as it is possible 2023-07-19T12:29:11 < zyp> stepping through source doesn't make a whole lot of sense because it's not the source that's executing, and I'm not a big fan of making less optimized builds 2023-07-19T12:29:57 < ventYl> yeah, but something like -O2 -flto may turn the assembly into mess 2023-07-19T12:30:14 < ventYl> compilers these days are quite good at optimizing the assembly 2023-07-19T12:30:39 < zyp> I prefer debugging the same build that would end up as the final build, otherwise you risk easily missing bugs resulting from undefined behavior, because they happen to not manifest in the debug build 2023-07-19T12:31:04 < ventYl> oh, there's misunderstanding 2023-07-19T12:31:40 < ventYl> I usually debug release build, but when something nasty shows up that wants me to step it, then I usually switch to debug build, because it tends to be faster 2023-07-19T12:32:10 < zyp> yeah, I sometimes do that too 2023-07-19T12:32:13 < ventYl> but there are lazy embedded devs out there who think that if your debug is running, release build is not worth of the effort 2023-07-19T12:32:45 < zyp> could stick e.g. #pragma GCC optimize right in the source file to reduce optimization just of the specific area you'll be stepping through too 2023-07-19T12:35:09 < mawk> how about making a debug release build so everyone is happy 2023-07-19T12:35:37 < ventYl> zyp: that works for -O2, but I assume that not for -flto 2023-07-19T12:36:17 < zyp> I'm not sure about that, haven't experimented much with lto 2023-07-19T12:42:14 < ventYl> right now I don't recall how did it work with my RPC mechanism 2023-07-19T12:42:23 < ventYl> I'd expect that those two wouldn't be compatible 2023-07-19T14:45:32 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-19T16:23:08 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-19T16:25:27 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-19T16:25:30 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-19T17:09:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-19T18:39:10 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-19T18:43:18 < catphish> not sure if being dumb here, i'm trying to use I2C, as soon as i configure the data pin as the I2C alternative function, it gets pulled low, and it stays low no matter what, i see some pulses on the clock pin (though only 4 of them) but the data pin is just stuck low 2023-07-19T18:44:22 < catphish> i assume low isn't a natural idle state here :( 2023-07-19T18:54:16 < qyx> which stm32 2023-07-19T18:54:46 < catphish> G4 2023-07-19T18:56:31 < qyx> worksforme on g4 2023-07-19T18:56:50 < qyx> are you sure it is the master which is pulling low? 2023-07-19T18:58:26 < catphish> actually, it looks like the problem is actually my GPIO config macro, i copied some older code that worked on this same chip, and it works now 2023-07-19T18:59:05 < catphish> yes, it was definitely the master pulling low, seems like my code just wasn't actually initializing the pins as the correct AF 2023-07-19T19:00:13 < qyx> pleased to be a rubber duck 2023-07-19T19:00:24 < catphish> thank you :) 2023-07-19T19:00:29 < catphish> now i glance at the code, the problem is obvious: https://github.com/catphish/openuav/blob/master/firmware/src/gpio.c#L18 2023-07-19T19:02:17 < catphish> tiby typo, huge pain :) 2023-07-19T19:11:04 < ventYl> don't worry. I spend like two days wondering why reading pointer causes HardFault 2023-07-19T19:11:17 < ventYl> only to realize that the pointer was outside current MPU readable region 2023-07-19T19:11:47 < Steffanx> Why only -O0 catphish ? (Optimization level in your makefile) 2023-07-19T19:14:25 < catphish> Steffanx: gotta use those CPU cycles somehow 2023-07-19T19:14:46 < Steffanx> True 2023-07-19T19:16:01 < catphish> but more seriously, when i start enabling optimizations, things stop working 2023-07-19T19:16:11 < catphish> i don't know why, and i haven't had time to debug this 2023-07-19T19:19:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-19T20:06:03 < mawk> unit test it catphish 2023-07-19T20:06:13 < mawk> then you can run valgrind on it 2023-07-19T20:16:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-19T20:27:30 < \dev\ice> can you recommend some other bootloader (not mcuboot)? 2023-07-19T20:29:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f58d-ffeb-b25f-a02f.fixed6.kpn.net] has joined ##stm32 2023-07-19T20:47:46 < ventYl> catphish: I find it better strategy to make optimizations working with smaller codebase. less things to investigate 2023-07-19T20:55:49 < Steffanx> Lol mawk is all into unit tests now. 2023-07-19T20:56:03 < mawk> lol 2023-07-19T20:56:14 < Steffanx> Valgrind won't tell you have timing issues 2023-07-19T20:56:42 < mawk> no 2023-07-19T20:56:47 < mawk> but buffer overflow and such 2023-07-19T20:57:01 < ventYl> I am also writing tests for my code 2023-07-19T20:57:08 < ventYl> without them it falls apart 2023-07-19T20:57:13 < mawk> what framework do you use 2023-07-19T20:57:21 < ventYl> i already wrote some 8 of them 2023-07-19T20:57:42 < Steffanx> A whole 8. Yay 2023-07-19T20:57:54 < mawk> I wrote around 150 tests and coverage is now around 5% 2023-07-19T20:58:05 < mawk> I'm not about to be done anytime soon 2023-07-19T20:58:21 < Steffanx> Make your colleagues write the tests 2023-07-19T20:58:23 < ventYl> mawk: for unit tests I use cTest (not CTest from CMake), higher level is mostly covered by my RPC interface and for HW-SW integration I put together short GDB script and CMake witchery, so I can spawn test drivers easily 2023-07-19T20:59:08 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f58d-ffeb-b25f-a02f.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-19T20:59:37 < mawk> o 2023-07-19T20:59:43 < ventYl> Steffanx: there are some unit tests already, those 8 guys are "HW-SW integration level" as automotive morons would call it 2023-07-19T21:00:00 < mawk> I use cmock to mock stuff 2023-07-19T21:00:08 < mawk> and unity to run the tests 2023-07-19T21:00:25 < ventYl> I need some high level tests to check that high level functionality still works as I am moving things around 2023-07-19T21:00:46 < mawk> to mock a header I just have to do #include "mock_header.h" and then a magic ruby script will automatically mock every function from it 2023-07-19T21:00:48 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-19T21:01:31 < ventYl> mocking usually is not my biggest problem 2023-07-19T21:01:37 < ventYl> one does not simply unit test the RTOS kernel 2023-07-19T21:06:25 < Steffanx> Why not? Just fake it all. 2023-07-19T21:09:29 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-07-19T21:24:00 < ventYl> yeah, just the original implementation was all-in-one, high level functions mixed up with low level HW manipulation so faking wasn't trivial 2023-07-19T21:55:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-19T22:00:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f58d-ffeb-b25f-a02f.fixed6.kpn.net] has joined ##stm32 2023-07-19T22:08:53 < nomorekaki> it's so eearly 2023-07-19T22:12:55 < Steffanx> Yes why nomorekaki ? 2023-07-19T22:13:08 < nomorekaki> it's weird 2023-07-19T22:15:14 < Steffanx> Yes, why nomorekaki ? 2023-07-19T22:15:59 < nomorekaki> idk I'm weird 2023-07-19T22:16:11 < Steffanx> People tell you this often? 2023-07-19T22:31:58 < nomorekaki> yet again - only you 2023-07-19T23:11:52 < nomorekaki> in C can I do thing where buffer[x].frame gives raw data in underlying type uint32_t 2023-07-19T23:12:06 < nomorekaki> but 2023-07-19T23:12:51 < nomorekaki> have buffer[x].frame.fields. for individual fields 2023-07-19T23:13:27 < nomorekaki> now I have .bits and .fields. and .parity_fields. 2023-07-19T23:13:33 < nomorekaki> as an union 2023-07-19T23:15:31 < qyx> yes 2023-07-19T23:16:30 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f58d-ffeb-b25f-a02f.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-19T23:17:17 < nomorekaki> how? 2023-07-19T23:27:02 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-19T23:33:06 < Steffanx> Not me. Haven't said that for a looooong time Mr nomorekaki 2023-07-19T23:39:06 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-19T23:48:15 < jerkey> I am trying to get an STM32F412RGT6 to work with Arduino and the "stm32duino" project, which allows "Upload method: HID Bootloader 2.2" which is apparently https://github.com/serasidis/stm32_hid_bootloader but I am unable to get the bootloader to work. My hardware is good (if I pullup boot0 i get the ROM DFU USB bootloader) but if i flash hid_bootloader.elf it doesn't show up as a USB at all. Am I 2023-07-19T23:48:21 < jerkey> supposed to do something other than "make" to get the right .elf for my chip? --- Day changed to heinä 20 2023 2023-07-20T00:03:13 < ventYl> do yourself a favor and throw stm32duino into trashcan 2023-07-20T00:21:32 -!- Luggi09498284764 [~lux@ip5b423019.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer] 2023-07-20T00:24:11 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 245 seconds] 2023-07-20T00:25:33 < jerkey> ventYl: what do you recommend instead? i have 100 of hardware that i want my friends to be able to hack on but they are barely capable of Arduino 2023-07-20T00:27:15 < ventYl> jerkey: depends on if you want to just flash other's software into hardware or to develop something own 2023-07-20T00:27:53 < ventYl> in the latter case ignore incompetency of your friends 2023-07-20T00:30:02 < jerkey> ok let me rephrase my question, I want to get hid-flash to work on an STM32RGT6 but i can't figure out where to get the correct bootloader .elf and examining https://github.com/serasidis/stm32_hid_bootloader doesn't explain, and the .elf produced by "make" doesn't seem to work 2023-07-20T00:30:59 < qyx> are you sure your hardware and bootloader are compatible? 2023-07-20T00:32:13 < qyx> I mean, is the bootloader meant to be run on your hardware? 2023-07-20T00:32:20 < qyx> or you are just assuming thay 2023-07-20T00:32:34 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 250 seconds] 2023-07-20T00:35:22 < jerkey> qyx that's the question i'm asking. "This is a driverless (no USB drivers needed, even on Windows) USB HID bootloader for STM32F10x and STM32F4xx devices." and "For your convenience, you can find here the hid-flash tool for these three platforms and the F1 and F4 firmware binaries. 2023-07-20T00:35:53 < jerkey> so it seems that they make a firmware for STM32F4xx which presumably includes STM32F412RGT6 which has USB (and which works in DFU mode) 2023-07-20T00:37:11 < qyx> but it may need eg. a specific frequency crystal 2023-07-20T00:37:34 < qyx> Iam not sure if F4 has crystalless USB 2023-07-20T00:38:23 < karlp> pretty sure none of them have it 2023-07-20T00:39:23 < qyx> DFU does crystal freq autodetection we were talking about recentyl 2023-07-20T00:41:04 < karlp> yes, but not crystalless. 2023-07-20T00:41:33 < qyx> yes, I was referring to him saying DFU BL works on his board 2023-07-20T00:41:53 < qyx> but unless we know what board it is 2023-07-20T00:44:31 < jerkey> qyx that's good information, explains why DFU mode (boot1 pulled high) does work for me 2023-07-20T01:15:17 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-20T03:38:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-20T03:43:40 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-20T04:25:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-20T04:30:15 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-20T05:06:31 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-20T05:54:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-20T07:14:43 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-20T07:40:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-20T08:12:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 272 seconds] 2023-07-20T08:40:36 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-20T09:05:55 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 240 seconds] 2023-07-20T09:25:43 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-20T10:58:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6ca7-3190-1ca4-6329.fixed6.kpn.net] has joined ##stm32 2023-07-20T11:12:43 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-20T12:02:17 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-20T13:05:40 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6ca7-3190-1ca4-6329.fixed6.kpn.net] has quit [Ping timeout: 272 seconds] 2023-07-20T14:02:51 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-20T14:59:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c199-6dc4-8cb1-f5b8.fixed6.kpn.net] has joined ##stm32 2023-07-20T15:00:54 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-20T15:32:53 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c199-6dc4-8cb1-f5b8.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-07-20T15:38:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-07-20T16:42:17 < \dev\ice> I'm trying to send 9 bits UART data. In CubeMX cofigured to 9 bits. Sending: uint8_t buff1[2] = {'U', 1}; HAL_UART_Transmit(&huart1, buff2, 2, 100); (as in https://community.st.com/t5/stm32-mcu-products/9-bit-uart-transmission-stm32-cubemx-hal-driver/td-p/327138 ) but on logic analyzer I see it's still 8 bits. Any suggestions?. 2023-07-20T17:25:12 -!- catphish [~quassel@user/catphish] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 2023-07-20T17:26:49 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-07-20T17:28:44 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-07-20T17:46:23 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-20T18:00:03 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-20T19:44:02 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 272 seconds] 2023-07-20T20:02:36 < machinehum> Can you OR a supply like this https://i.imgur.com/gFa9MnT.png 2023-07-20T20:03:37 < machinehum> I want U11 to be powered by Vbat when Vin isn't there. But sometimes Vbat will get disconnected in ship mode 2023-07-20T20:03:52 < machinehum> But when the user plugs in Vin it should come alive again 2023-07-20T20:05:46 < BrainDamage> machinehum: yes 2023-07-20T20:06:27 < machinehum> BrainDamage: Thanks for the sanity check... I suppose I could also use LM74700 in the OR config 2023-07-20T20:06:38 < BrainDamage> bear in mind that depending on relative voltages, either one or the other will end up used 2023-07-20T20:06:39 < machinehum> But current into that supply isn't a lot 2023-07-20T20:06:50 < machinehum> Yeah that okay 2023-07-20T20:10:41 < jpa-> what is minimum voltage on Vbat? 2023-07-20T20:10:51 < machinehum> 12V 2023-07-20T20:11:02 < machinehum> It's a 4S stack 2023-07-20T20:11:05 < jpa-> yeah, should work fine then 2023-07-20T20:11:53 < machinehum> tyty 2023-07-20T20:12:24 < machinehum> I've switched over to the BQ76920PW to manage the stack 2023-07-20T20:12:43 < machinehum> It's 800x times better than my other solution, but requires some firmware 2023-07-20T20:25:45 < machinehum> https://drive.google.com/file/d/1ut6qZnLm98BdCopEhmq2_U89IDfn5XD8/view?usp=sharing 2023-07-20T20:26:03 < machinehum> What do you guys think? I'm hoping there's nothing wildly insane 2023-07-20T20:26:37 < machinehum> Still need to figure out what to do with the CC pin of the USBC 2023-07-20T20:29:44 < BrainDamage> are those dc barrel jacks? 2023-07-20T20:29:50 < machinehum> Yeah 2023-07-20T20:29:56 < machinehum> It's a 12V in/out UPS 2023-07-20T20:30:12 < BrainDamage> also, uninterruptible power supply - @interruptlabs.ca 2023-07-20T20:30:51 < machinehum> Removed my clients name so you guys don't DM him, telling him I suck 2023-07-20T20:31:15 < BrainDamage> no, I mean the irony of the name 2023-07-20T20:31:27 < machinehum> Oh, yeah, heh 2023-07-20T20:31:50 < machinehum> Never noticed that 2023-07-20T20:31:52 < BrainDamage> BT2A is backwards 2023-07-20T20:32:17 < BrainDamage> and BT5A 2023-07-20T20:32:21 < machinehum> Oh, yeah I need to change the symbol 2023-07-20T20:33:39 < BrainDamage> why is C26 to -Vbat? 2023-07-20T20:34:53 < machinehum> Because the datasheet of the BQ76920PW said to do it that way 2023-07-20T20:35:00 < machinehum> https://i.imgur.com/lQQ5oN0.png 2023-07-20T20:35:22 < machinehum> The sleds are 2x, and to keep things nice the cell direction changes in the middle sled 2023-07-20T20:35:34 < machinehum> w/o doing that routing gets unideal 2023-07-20T20:35:50 < machinehum> However of course some of that silk needs to change 2023-07-20T20:47:14 < machinehum> BrainDamage: Thanks for taking a quick look 2023-07-20T21:00:14 < qyx> what is tp5and tp6? 2023-07-20T21:00:26 < qyx> is it a current measurement resistor? 2023-07-20T21:14:40 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-20T21:18:30 < qyx> yeah and a small one, kelvin connection is somewhat mandatory 2023-07-20T21:19:15 < qyx> and if your Ibat is 10 A as you mentioned recently, those two small 220u caps will likely blow 2023-07-20T21:19:23 < qyx> because unable to handle the ripple current 2023-07-20T21:19:58 < machinehum> Tp5/Tp6 just some testpoints so I can connect a dmm 2023-07-20T21:20:43 < qyx> for current sensing, I would reserve DNP footprints for some filtering caps, I could be needed 2023-07-20T21:20:52 < qyx> *it 2023-07-20T21:21:22 < machinehum> Something like the circuit for R27> 2023-07-20T21:21:26 < machinehum> R27? 2023-07-20T21:22:03 < qyx> yeah 2023-07-20T21:22:10 < machinehum> 220uF electro's should go to ceramics? 2023-07-20T21:22:33 < qyx> no you just need to open the datasheets and rate things properly 2023-07-20T21:23:30 < qyx> 220u/16V poscap of that size can handle about 500mA of ripple (citation needed) 2023-07-20T21:23:47 < qyx> you are having something in the order of 3A 2023-07-20T21:23:54 < qyx> or what did you compute 2023-07-20T21:25:51 < machinehum> lemme check 2023-07-20T21:29:59 < machinehum> So I calculated 444mA, but that's because my L is huge. If I change L to 2uH or your 3A number is correct 2023-07-20T21:30:27 < qyx> 400m is okish then 2023-07-20T21:30:44 < qyx> should be, check the caps rating 2023-07-20T21:30:57 < machinehum> Disadvantage of a high L is a lower current rating? 2023-07-20T21:31:16 < machinehum> I'm just wonddering if I should go to a lower L and get better caps 2023-07-20T21:32:31 < machinehum> The extent of my experiance with supplies like this is slamming down a LT part and all their recommended components I've never done anything like this before 2023-07-20T21:32:58 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 272 seconds] 2023-07-20T21:36:24 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-20T22:24:27 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-20T22:43:15 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-20T23:00:22 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 272 seconds] 2023-07-20T23:09:17 < PlasmaHH> got some H7 and it seems that it can only erase 128k flash at once... which gulps a bit too much current sometimes... anyone knows if you could make it erase slower, or in smaller pages or something like that? 2023-07-20T23:12:13 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-20T23:28:47 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 264 seconds] 2023-07-20T23:32:15 < qyx> machinehum: usually the size and/or DCR/losses counts 2023-07-20T23:33:10 < qyx> that's the reason you are chasing mosfets with low total gate charge, sub-1u unductors with ~1-10 mohm or so DCR and small size 2023-07-20T23:33:35 < qyx> also higher frequency lowers the capacity needed to filter inputs/outputs 2023-07-20T23:34:09 < qyx> but I am not a smps pro, there are others for that 2023-07-20T23:34:26 -!- jadew [~rcc@user/rcc] has joined ##stm32 2023-07-20T23:35:07 < jadew> So many keyboard options out there and I can't find one that I like... 2023-07-20T23:35:11 < BrainDamage> high freq also lowers the inductor size 2023-07-20T23:35:26 < PlasmaHH> jadew: I recommend at least one with letters, possibly numbers are nice too 2023-07-20T23:35:46 < BrainDamage> simply because power = energy / time, so by increasing the freq you shorten the time 2023-07-20T23:36:03 < BrainDamage> and for the same power, you can store less energy in the reactive elements 2023-07-20T23:36:40 < BrainDamage> dcdc work kinda like a bucket brigade, bouncing energy from one reactive element to the other 2023-07-20T23:38:37 < machinehum> qyx: Thanks 2023-07-20T23:41:43 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-20T23:52:19 < qyx> machinehum: but beware that alu electrolytics are really not suitable for such buck, go at least with alu polymer --- Day changed pe heinä 21 2023 2023-07-21T00:01:24 < machinehum> That's what I'm shopping around for right now actually. 2023-07-21T00:01:43 < machinehum> https://www.digikey.com/en/products/detail/panasonic-electronic-components/20SVPF120M/4204830 2023-07-21T00:02:22 < machinehum> Go for a higher ripple current, because I'll probably try dropping L down to 1u 2023-07-21T00:11:43 < machinehum> qyx: I have one question about the CSD97395Q4M and it's PWM input. Lets say I'm charging the battery and am for whatever need a 1% DUC. Does't this mean the higher fet will have a 99% DUC, effectivly connecting VBAT to 12V 2023-07-21T00:13:37 < machinehum> I shouldn't have this issue with the buck, because the sync fet has this "skip" or diode emulation mode 2023-07-21T00:13:59 < machinehum> But the control fet doesn't have a diode emulation mode 2023-07-21T00:19:12 < qyx> for the bucking direction you can use the diode emulation mode/skip mode for low light load efficiency 2023-07-21T00:20:14 < qyx> for the other direction you have low limit for your charging current so you can stay in pwm/ccm mode without the need for diode emulation 2023-07-21T00:20:50 < qyx> you just need to compute what DUC is the threshold 2023-07-21T00:21:07 < qyx> you should terminate charging if the current drops too low anyway 2023-07-21T00:22:21 < machinehum> I fail to see how current won't flow from VBAT to 12V during a low DUT boost cycle 2023-07-21T00:22:57 < machinehum> VBAT will be higher than 12V, will be 15/16V or whatever 2023-07-21T00:23:50 < qyx> oh the other way around 2023-07-21T00:24:05 < machinehum> Yeah 2023-07-21T00:24:37 < qyx> it will of course, the key point is to keep the duty cycle in the range dictated by VBAT/12V 2023-07-21T00:25:21 < qyx> pls use protected cells :> 2023-07-21T00:25:32 < machinehum> Protection is on the PCB 2023-07-21T00:25:49 < machinehum> What do you mean by "VBAT/12V" 2023-07-21T00:26:13 < machinehum> If I need to change the cells in CC mode I'm looking at the current in the shunt and PIDing according to that 2023-07-21T00:26:19 < machinehum> charge* 2023-07-21T00:27:00 < qyx> the inherent feature of a buck/boost converter of this topology is that it tries to steer its input/output according to the duty cycle applied 2023-07-21T00:27:46 < qyx> if the battery is 16 V, DUC is 75% and 12V rail is 12 V, no current will flow 2023-07-21T00:28:07 < qyx> but as the 12V rail starts to drop, the current will start to flow from the battery 2023-07-21T00:28:46 < qyx> and vice versa, if the 12 V rail is constant and the battery starts discharging below 16 V, if you keep ypur DUC at 75 % intact, current will start to flow to the battery 2023-07-21T00:29:14 < qyx> by changing the DUC you can increase/decrease the current 2023-07-21T00:29:39 < qyx> changing the DUC to the exact value of VBAT/12V will zero the current again 2023-07-21T00:31:20 < qyx> there is another very interesting topology called dual-active-bridge which works the same except it uses 50% PWM all the time and you change the phase of the two driving signals 2023-07-21T00:31:43 < machinehum> I'm really struggling to see how I can't set VBAT to whatever I want while keeping 12V constant 2023-07-21T00:32:23 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-07-21T00:32:35 < qyx> nah I can't explain it better 2023-07-21T00:32:48 < machinehum> Sorry ahaha I'll read up a little more 2023-07-21T00:40:11 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-21T00:42:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-21T00:46:45 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-21T01:09:42 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-21T01:51:45 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-21T02:04:24 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-07-21T02:04:53 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-21T02:15:22 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Ping timeout: 245 seconds] 2023-07-21T02:30:26 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-07-21T02:39:56 < jerkey> qyx do you see where i would configure this project for my crystal frequency? https://github.com/serasidis/stm32_hid_bootloader 2023-07-21T02:44:06 < zyp> jerkey, e.g. here: https://github.com/Serasidis/STM32_HID_Bootloader/blob/master/bootloader/F4/Src/main.c#L235 2023-07-21T02:47:21 < zyp> if I'm reading that right, it's configured for a 8MHz crystal, divided by 4 (PLLM) for a 2 MHz PLL input 2023-07-21T02:47:36 < zyp> so if e.g. you're reconfiguring that for a 12MHz crystal, you'd set PLLM to 6 2023-07-21T02:49:10 < zyp> alternatively if you're building the F1 variant, here's what you have to change: https://github.com/Serasidis/STM32_HID_Bootloader/blob/master/bootloader/F1/Src/main.c#L142 2023-07-21T02:49:26 < zyp> this one does 8MHz * 9 = 72 MHz 2023-07-21T02:50:01 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-21T02:50:16 < zyp> so this one would have to be changed to PLLMULL6 for a 12MHz crystal, i.e. to get 12MHz * 6 = 72MHzz 2023-07-21T03:00:08 -!- Netsplit *.net <-> *.split quits: duude__, jadew, bulletsquid, jmcgnh 2023-07-21T03:00:23 -!- jadew [~rcc@5.12.176.34] has joined ##stm32 2023-07-21T03:00:54 -!- Netsplit over, joins: duude__ 2023-07-21T03:02:02 -!- Netsplit over, joins: bulletsquid 2023-07-21T03:10:23 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-07-21T03:13:49 < jerkey> omg zyp thank you!!! 2023-07-21T03:17:08 < jerkey> zyp is it normal to put constants like this in the middle of a program rather than in some sort of .h file? 2023-07-21T03:21:20 < jerkey> is there a way to read the crystal frequency from DFU mode? 2023-07-21T03:24:44 < jerkey> ok i have a 16mhz crystal so i changed PLLM from 4 to 8 2023-07-21T03:29:48 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-21T03:36:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-21T03:38:42 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-21T05:06:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-21T05:33:11 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-07-21T05:46:31 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-21T06:30:23 < jerkey> zyp: it worked!!!!!! 2023-07-21T06:34:48 -!- qyx [~qyx@84.245.121.171] has quit [Ping timeout: 250 seconds] 2023-07-21T06:36:36 -!- qyx [~qyx@84.245.120.134] has joined ##stm32 2023-07-21T08:07:34 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-21T08:08:55 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 240 seconds] 2023-07-21T08:26:48 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-21T08:48:32 -!- rob_w [~bob@2001:a61:6119:801:d1ac:90bb:bde6:7989] has joined ##stm32 2023-07-21T08:48:43 < qyx> omg zyp did it work 2023-07-21T08:48:50 < qyx> sorry jerkey 2023-07-21T08:56:55 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 240 seconds] 2023-07-21T08:57:25 < jerkey> qyx yes, I changed PLLM to 8 since zyp explained what it was doing, and i have a 16MHz crystal, and then it worked 2023-07-21T08:59:34 < jerkey> but to have to look inside a function in main.c instead of a header with defines, or the Makefile, is not what i would have expected 2023-07-21T09:00:20 < jerkey> i've discovered other little things with this repo such as this unmerged pull request that might have saved me some time https://github.com/Serasidis/STM32_HID_Bootloader/pull/30 2023-07-21T09:25:55 < benishor> https://9gag.com/gag/a1PwdvG?utm_source=Whatsapp&utm_medium=post_share 2023-07-21T09:45:41 < jerkey> that seems like irrelevant spam 2023-07-21T09:47:31 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-07-21T09:56:07 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-21T10:26:37 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-21T10:47:32 -!- tkoskine [tkoskine@kapsi.fi] has quit [Ping timeout: 240 seconds] 2023-07-21T11:03:40 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-07-21T11:03:59 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-21T11:28:21 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-21T12:08:32 -!- tkoskine [tkoskine@kapsi.fi] has joined ##stm32 2023-07-21T12:30:22 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-07-21T12:34:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-21T12:57:07 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-21T13:08:37 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-21T13:13:34 < benishor> jerkey: I'd say you are irrelevant 2023-07-21T13:13:41 < benishor> there is no such thing as spam 2023-07-21T13:18:31 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-21T13:30:50 < Mangy_Dog> Finally finished this video... New tricorder version 🙂 https://t.co/a85CkGJZuB 2023-07-21T13:44:57 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-07-21T14:01:37 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-21T14:50:49 < benishor> Mangy_Dog: condoleances 2023-07-21T15:10:25 < benishor> that's a cool tricorder, btw 2023-07-21T15:15:05 < Mangy_Dog> thank you :) 2023-07-21T15:17:48 < PlasmaHH> shahriar recently posted a video about a "real tricorder" 2023-07-21T15:22:13 < Mangy_Dog> ?? 2023-07-21T15:22:23 < Mangy_Dog> got a link? 2023-07-21T15:23:10 < PlasmaHH> Mangy_Dog: https://www.youtube.com/watch?v=89_HY1oV_J0 basically a portable raman spectrometer 2023-07-21T15:25:31 < Mangy_Dog> looks nothing like a tricorder! It doesnt have loads of blinkies when its scanning :p 2023-07-21T15:26:16 < Mangy_Dog> it is really very cool though 2023-07-21T15:27:13 < benishor> I drool everytime I see that wall of equipment in his background 2023-07-21T15:27:19 < Mangy_Dog> :D 2023-07-21T15:53:44 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-07-21T15:54:23 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-07-21T15:55:15 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-07-21T15:56:53 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Client Quit] 2023-07-21T15:59:28 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-07-21T16:36:48 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-07-21T17:13:15 -!- rob_w [~bob@2001:a61:6119:801:d1ac:90bb:bde6:7989] has quit [Ping timeout: 246 seconds] 2023-07-21T17:53:28 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 244 seconds] 2023-07-21T18:06:20 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-21T18:22:44 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-21T19:55:22 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-21T19:56:05 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-21T20:08:59 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 264 seconds] 2023-07-21T20:37:19 -!- [_] is now known as [itchyjunk] 2023-07-21T20:51:30 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-07-21T22:22:41 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-07-21T22:33:09 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-21T22:37:13 -!- drzacek [~drzacek@2a01:3d8:3be:5100:691c:784e:3251:41c7] has joined ##stm32 2023-07-21T22:47:33 -!- ColdKeybo[a]rd [~ColdKeybo@user/coldkeyboard] has joined ##stm32 2023-07-21T22:48:57 -!- mlaga97_ [~quassel@user/mlaga97] has joined ##stm32 2023-07-21T22:54:15 -!- Netsplit *.net <-> *.split quits: mlaga97, ds2, mid-kid, ColdKeyboard, hackkitten 2023-07-21T22:56:45 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Ping timeout: 244 seconds] 2023-07-21T22:56:54 -!- Netsplit over, joins: ds2 2023-07-21T23:01:43 -!- hackkitten [~hackkitte@2a00:6020:5090:5700::878] has joined ##stm32 2023-07-21T23:01:47 -!- mid-kid [~mid-kid@2a01:7c8:aac8:1e8:5054:ff:fe5e:cd48] has joined ##stm32 2023-07-21T23:08:42 -!- machinehum [~machinehu@2604:3d08:937f:cf00::6f0] has joined ##stm32 2023-07-21T23:21:02 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] 2023-07-21T23:29:16 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-07-21T23:33:28 -!- drzacek [~drzacek@2a01:3d8:3be:5100:691c:784e:3251:41c7] has quit [Quit: Leaving] 2023-07-21T23:58:08 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 --- Day changed la heinä 22 2023 2023-07-22T00:04:50 < invzim> f me, 0201 is tiiiny 2023-07-22T00:04:55 < mouseghost> meow 2023-07-22T00:05:01 < mouseghost> invzim, yes, its like sand 2023-07-22T00:05:15 < mouseghost> 0603 is manageable 2023-07-22T00:05:21 < invzim> managed to accidentally desolder, damage and loose one 2023-07-22T00:08:43 < invzim> https://kirurg.org/drop/IMG00309.JPG - the little bastard before it escaped 2023-07-22T00:09:33 < invzim> luckily the pads look OK, was afraid I ripped one off - https://kirurg.org/drop/IMG00311.JPG 2023-07-22T00:12:37 < mouseghost> so tiny uwu 2023-07-22T00:12:45 < mouseghost> what microscope do you have invzim 2023-07-22T00:15:35 < invzim> something off ali 2023-07-22T00:16:56 < invzim> http://www.touptek.com/product/showproduct.php?lang=en&id=294 2023-07-22T00:17:49 < nomorekaki> 0402 is manageable 2023-07-22T00:18:18 < invzim> this is the camera - super nice to have mouse control, plugged in a logitech unifying dongle and can just switch on my desktop mouse 2023-07-22T00:29:49 < nomorekaki> microscopes cost a ton of money 2023-07-22T00:30:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-22T00:31:08 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-22T00:31:23 < catphish> morning 2023-07-22T00:31:58 < invzim> I use a microscope for pretty much all soldering, even PTH 2023-07-22T00:32:36 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 252 seconds] 2023-07-22T00:34:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-22T00:44:40 < qyx> bad eyes? 2023-07-22T00:45:02 < qyx> fear of tin splatter? 2023-07-22T01:16:53 -!- machinehum [~machinehu@2604:3d08:937f:cf00::6f0] has quit [Ping timeout: 246 seconds] 2023-07-22T01:19:07 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-07-22T01:37:26 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-22T01:39:11 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-07-22T01:58:48 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-07-22T05:21:09 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-22T06:14:46 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-22T06:47:07 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 258 seconds] 2023-07-22T09:08:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-22T09:19:22 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-22T12:27:50 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-22T12:31:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-22T12:32:47 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-22T13:10:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-35d1-322d-4a08-e90b.fixed6.kpn.net] has joined ##stm32 2023-07-22T13:17:52 < josuah> UVC is nice! Plug it to a laptop -> it works 2023-07-22T13:18:01 < josuah> sometimes, latency is not perfect though 2023-07-22T13:18:44 < josuah> UVC being that USB protocol that webcam make use of 2023-07-22T13:19:13 < josuah> qyx: better precision too maybe? I'll try to see the difference. 2023-07-22T13:19:28 < jpa-> somehow UVC latency depends a lot on software used; guvcview gives the lowest latency for me 2023-07-22T13:26:12 < josuah> I will try, thank you! 2023-07-22T13:26:30 < josuah> oh noes! USB Type-A to Type-A cable? :P http://www.touptek.com/upload/XCAM1080PHA/XCAM1080PHA4.jpg 2023-07-22T13:26:46 < josuah> or maybe it is USB input 2023-07-22T13:29:03 < josuah> > Set capture method [read | mmap (def)] 2023-07-22T13:29:12 < josuah> maybe mmap being used has some advantages 2023-07-22T13:38:07 < jpa-> some such cameras can save to USB stick 2023-07-22T13:38:13 < jpa-> but hard to say 2023-07-22T13:49:36 < jpa-> any elegant ideas on how to detect rotation direction from analog hall sensor values? https://jpa.kapsi.fi/stuff/pix/hall_encoder.png doesn't need to be exact, i just want to know approximate speed and direction 2023-07-22T14:00:53 < BrainDamage> RC opamp with large values will give you the derivative of the signal 2023-07-22T14:02:19 < jpa-> actually doing the processing in software, the values are being captured by ADC 2023-07-22T14:02:34 < jpa-> i think i'll try posting in dsp stackexchange and see if that gives any good ideas 2023-07-22T14:03:08 < jpa-> so far my best idea is to track the min & max values to threshold it to a digital quadrature signal.. works reasonably but i'm not fully satisfied 2023-07-22T14:17:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-22T14:17:42 < jpa-> https://jpa.kapsi.fi/stuff/pix/hall_encoder2.png hmh, from the test data it feels like my current approach should work well enough 2023-07-22T14:17:55 < jpa-> i guess i have some bug why it doesn't actually work that well in practice 2023-07-22T14:37:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-35d1-322d-4a08-e90b.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-22T14:46:55 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-07-22T15:22:07 -!- alan_o [~alan_o@2600:1700:1902:210f:f5a4:4651:38dc:5a33] has quit [Remote host closed the connection] 2023-07-22T15:22:26 -!- alan_o [~alan_o@2600:1700:1902:210f:70ef:474f:41c6:5328] has joined ##stm32 2023-07-22T15:47:55 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2023-07-22T16:47:37 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a09e-c1ff-eda6-2f12.fixed6.kpn.net] has joined ##stm32 2023-07-22T17:01:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a09e-c1ff-eda6-2f12.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-22T17:51:43 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-22T18:15:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a09e-c1ff-eda6-2f12.fixed6.kpn.net] has joined ##stm32 2023-07-22T18:15:33 -!- Guest72 [~Guest65@cpc122406-bmly11-2-0-cust151.2-3.cable.virginm.net] has joined ##stm32 2023-07-22T18:56:18 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has joined ##stm32 2023-07-22T18:57:45 < nomorekaki> can macro define with argument be empty? 2023-07-22T18:58:15 < nomorekaki> #define asd_assert(expr) 2023-07-22T18:58:59 < nomorekaki> and is it called empty macro? 2023-07-22T18:59:05 < nomorekaki> *an empty macro 2023-07-22T18:59:44 < nomorekaki> does it even need the (expr) part? 2023-07-22T19:00:06 < nomorekaki> just #define asd_assert //Do nothing 2023-07-22T19:01:33 < nomorekaki> oh wait if I want to do an assert for my code it's big no no to leave it empty 2023-07-22T19:01:54 < nomorekaki> the code in expression needs to be executed 2023-07-22T19:02:48 < nomorekaki> ah no it's big no no to do anything functional in assert expression 2023-07-22T19:11:54 < nomorekaki> good 2023-07-22T19:17:10 -!- Guest72 [~Guest65@cpc122406-bmly11-2-0-cust151.2-3.cable.virginm.net] has quit [Quit: Client closed] 2023-07-22T19:17:20 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-07-22T19:17:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-22T19:26:53 -!- nerozero [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-07-22T19:27:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-22T19:31:19 -!- chris_99 [uid26561@id-26561.lymington.irccloud.com] has joined ##stm32 2023-07-22T19:33:12 < chris_99> Hi, just wondering if anyone could possibly give me any pointers, i'm playing with - https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA_Init/Src/main.c#L469 but changing TIMER_FREQUENCY to 1e6, then timer reload becomes zero though, from their calculations, as far as i understand the prescaler can only be max 16bit though 2023-07-22T19:56:14 -!- nerozero [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-07-22T19:56:23 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a09e-c1ff-eda6-2f12.fixed6.kpn.net] has quit [Ping timeout: 244 seconds] 2023-07-22T19:56:28 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-22T19:58:48 -!- nerozero [~nerozero@87.253.63.54] has quit [Client Quit] 2023-07-22T19:59:03 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-22T20:20:16 -!- jerkey [~jerkey@artsf1.spaz.org] has quit [Ping timeout: 250 seconds] 2023-07-22T20:48:19 -!- nerozero [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-07-22T20:48:33 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-22T21:15:04 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-07-22T21:26:53 < nomorekaki> Steffanx: there is a new MI movie 2023-07-22T21:30:05 < Steffanx> i know sir nomorekaki 2023-07-22T21:30:18 < nomorekaki> TIL 2023-07-22T21:30:49 < nomorekaki> but I think I should go see that Barbie movie instead of Oppenheimer or MI 2023-07-22T21:31:23 < Steffanx> oh dear 2023-07-22T21:31:49 < Steffanx> did you google "barbie movie" yet? 2023-07-22T21:35:05 < jpa-> remember to keep your eyes open for steffanx' cameo appearance 2023-07-22T21:36:02 < Steffanx> Did you do some secret recording of me jpa- ? 2023-07-22T21:36:29 < jpa-> yes, in the pink dress 2023-07-22T21:38:57 < Steffanx> Ah, i remember you in your tiger print mankini holding a camera. :P 2023-07-22T21:39:52 < jpa-> it's a very manly mankini 2023-07-22T21:40:42 -!- srk_ [~sorki@user/srk] has joined ##stm32 2023-07-22T21:40:43 < Steffanx> Fake chest hair isnt. 2023-07-22T21:40:57 < Steffanx> I mean hi jpa- . How are you today? 2023-07-22T21:43:26 < jpa-> i was in circus today 2023-07-22T21:43:29 -!- srk [~sorki@user/srk] has quit [Ping timeout: 246 seconds] 2023-07-22T21:43:31 -!- srk_ is now known as srk 2023-07-22T21:44:55 < Steffanx> I hope jjpa- and the parrot enjoyed it. 2023-07-22T21:45:26 < jpa-> the parrot pooped on the stage and the clown had to wash it off 2023-07-22T21:46:05 < jpa-> kid enjoyed 2023-07-22T21:47:16 < Steffanx> Ah thats better than what dutch tourists do in Spain. I read they poop in homeless people. 2023-07-22T21:47:31 < Steffanx> on* 2023-07-22T21:49:43 < jpa-> dutch are weird enough that i would have believed the first one also 2023-07-22T21:51:40 < Steffanx> True. 2023-07-22T22:02:54 -!- alan_o [~alan_o@2600:1700:1902:210f:70ef:474f:41c6:5328] has quit [Ping timeout: 260 seconds] 2023-07-22T22:05:47 -!- alan_o [~alan_o@172-7-159-77.lightspeed.dybhfl.sbcglobal.net] has joined ##stm32 2023-07-22T22:22:52 -!- drzacek [~drzacek@2a01:3d8:3c5:d200:4161:e374:cac5:7ea2] has joined ##stm32 2023-07-22T22:22:53 < nomorekaki> qyx: about the union between raw value and fields 2023-07-22T22:24:07 < nomorekaki> instead of accessing .bits in the union just access the union variable to get the raw value? 2023-07-22T22:24:15 < nomorekaki> of the underlying type 2023-07-22T22:24:23 < nomorekaki> "raw value" 2023-07-22T22:24:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-22T22:25:46 < nomorekaki> there really isn't underlying type is there? 2023-07-22T22:26:07 < Steffanx> or the .raw_value 2023-07-22T22:26:12 < nomorekaki> yes 2023-07-22T22:26:20 < nomorekaki> or .bit_values 2023-07-22T22:26:21 < Steffanx> Maybe 2023-07-22T22:27:20 < nomorekaki> I can make an union of uint32_t and list of 2 uint16_t's so which one is the underlying type 2023-07-22T22:27:38 < nomorekaki> ^not a question 2023-07-22T22:27:44 < Steffanx> ok 2023-07-22T22:28:12 < nomorekaki> maybe I need to do something like .bits.bits or .status.status 2023-07-22T22:28:25 < Steffanx> add more bits 2023-07-22T22:36:51 -!- kraiskil [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has joined ##stm32 2023-07-22T23:02:59 -!- chris_99 [uid26561@id-26561.lymington.irccloud.com] has quit [] 2023-07-22T23:12:10 -!- drzacek [~drzacek@2a01:3d8:3c5:d200:4161:e374:cac5:7ea2] has quit [Quit: Leaving] 2023-07-22T23:25:01 -!- kraiskil [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has quit [Ping timeout: 245 seconds] 2023-07-22T23:34:52 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 2023-07-22T23:37:50 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-07-22T23:58:29 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 --- Day changed su heinä 23 2023 2023-07-23T00:08:54 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 260 seconds] 2023-07-23T00:20:05 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-23T00:20:39 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-23T00:30:54 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-23T00:31:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 264 seconds] 2023-07-23T01:02:00 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has joined ##stm32 2023-07-23T01:03:41 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-23T01:05:01 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 245 seconds] 2023-07-23T01:08:32 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-23T01:18:19 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:f517:a40c:a12f:7111] has quit [Ping timeout: 260 seconds] 2023-07-23T01:24:05 < nomorekaki> solar storm? 2023-07-23T02:29:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-23T02:46:24 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-23T03:06:53 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 258 seconds] 2023-07-23T03:19:31 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-23T04:03:33 -!- machinehum2 [~machinehu@209.121.20.2] has joined ##stm32 2023-07-23T04:17:02 -!- machinehum2 [~machinehu@209.121.20.2] has quit [Ping timeout: 245 seconds] 2023-07-23T06:38:46 -!- qyx [~qyx@84.245.120.134] has quit [Ping timeout: 245 seconds] 2023-07-23T06:42:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-23T06:45:34 -!- qyx [~qyx@84.245.121.167] has joined ##stm32 2023-07-23T07:01:26 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-23T08:00:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-23T09:51:12 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-07-23T09:55:05 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-23T10:13:23 -!- kraiskil [~kraiskil@2a02:1210:943c:2900:782d:ae79:e975:6b07] has joined ##stm32 2023-07-23T10:20:59 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-23T10:55:18 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-23T11:42:02 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 252 seconds] 2023-07-23T11:47:35 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-23T12:12:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-23T12:37:34 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c928-e230-6e71-a01c.fixed6.kpn.net] has joined ##stm32 2023-07-23T12:39:04 -!- kraiskil [~kraiskil@2a02:1210:943c:2900:782d:ae79:e975:6b07] has quit [Ping timeout: 260 seconds] 2023-07-23T13:40:01 -!- drzacek [~drzacek@2a01:3d8:3cd:1b00:8c47:10a4:d6fd:7ded] has joined ##stm32 2023-07-23T13:52:54 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-23T14:51:09 -!- drzacek [~drzacek@2a01:3d8:3cd:1b00:8c47:10a4:d6fd:7ded] has quit [Quit: Leaving] 2023-07-23T15:15:23 -!- sauce [~sauce@free.and.open.sauce.icu] has quit [Ping timeout: 246 seconds] 2023-07-23T15:18:02 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-23T15:41:23 -!- nomorekaki [~nomorekak@178-55-236-4.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-23T16:12:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c928-e230-6e71-a01c.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-23T16:18:06 -!- kraiskil [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has joined ##stm32 2023-07-23T16:23:50 -!- perdmann [~patrick@138.201.194.96] has quit [Remote host closed the connection] 2023-07-23T16:24:26 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:782d:ae79:e975:6b07] has joined ##stm32 2023-07-23T16:27:55 -!- kraiskil [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has quit [Ping timeout: 240 seconds] 2023-07-23T16:55:10 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-23T16:58:27 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-23T17:04:58 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-23T17:20:14 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-23T17:32:48 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-23T18:27:05 -!- sugarbeet [~barbas@81.4.123.134] has quit [Read error: Connection reset by peer] 2023-07-23T18:30:14 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:782d:ae79:e975:6b07] has quit [Ping timeout: 260 seconds] 2023-07-23T18:33:03 -!- kraiskil_ [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has joined ##stm32 2023-07-23T18:51:48 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-07-23T19:41:03 < nomorekaki> coding stuff is a lot of work 2023-07-23T19:42:09 < nomorekaki> you can see the big lines of the code project at first night coding it 2023-07-23T19:42:42 < nomorekaki> then it's fast couple of days and then it slows down 2023-07-23T19:43:32 < nomorekaki> then it just approaches eternity 2023-07-23T19:43:45 < Steffanx> Maybe you're over complicating things as well? 2023-07-23T19:45:36 < nomorekaki> some feature creep ofc 2023-07-23T20:21:45 < nomorekaki> 1000lines of code is pretty consuming when it's all a state machine and special cases and covering weird errors that should not happen 2023-07-23T20:33:35 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 264 seconds] 2023-07-23T20:43:21 -!- kraiskil_ [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has quit [Ping timeout: 244 seconds] 2023-07-23T20:49:52 < jadew> do any of you know how to copy a partition over to another disk? is dd the answer? 2023-07-23T20:50:10 < jadew> I'm trying to move /home to a larger partition, but rsync won't preserve creation time 2023-07-23T20:51:19 < PaulFertser> rsync -a even? 2023-07-23T20:51:44 < jadew> yeah... it just made them all created today :/ 2023-07-23T20:52:09 < PaulFertser> -aN then? 2023-07-23T20:52:20 < jadew> let me check -N 2023-07-23T20:53:22 < jadew> hmm, I thought -a included that for some reason 2023-07-23T20:54:42 < jadew> rsync: This rsync does not support --crtimes (-N) 2023-07-23T20:54:54 < jadew> why the fuck is it listing it in --help then... 2023-07-23T20:57:26 < jadew> https://github.com/WayneD/rsync/issues/166 2023-07-23T20:57:39 < jadew> From the rsync maintainer: "Linux doesn't support crtimes in general, but if someone has a portable extension patch feel free to submit it." 2023-07-23T20:57:55 < PaulFertser> https://unix.stackexchange.com/questions/591384/copying-or-restoring-crtime-for-files-directories-on-ext4fs-filesystem 2023-07-23T20:59:21 < jadew> the fuck... that guy is writing directly to the partition? 2023-07-23T21:02:05 < PaulFertser> :) 2023-07-23T21:04:30 < jadew> I guess I'll have to take my chances with dd 2023-07-23T21:07:12 < jadew> I'll try dd 2023-07-23T21:08:03 < PaulFertser> Sure, dd will work, then you'll expand it to cover all the space of the new partition. 2023-07-23T21:08:10 < jadew> yeah 2023-07-23T21:08:26 < PaulFertser> ext4 resizing (up) even works for mounted rootfs. 2023-07-23T21:10:59 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has joined ##stm32 2023-07-23T21:28:38 -!- drzacek [~drzacek@2a01:3d8:3cd:1b00:8c3a:9325:d52c:f9e2] has joined ##stm32 2023-07-23T21:31:44 -!- sauce [~sauce@free.and.open.sauce.icu] has joined ##stm32 2023-07-23T21:55:11 < jadew> had the chance to test ubuntu 23 (so I could do the dd thing) 2023-07-23T21:55:49 < jadew> had no video output, until I hit the power button, then it displayed the shutting down animation on all monitors and then it froze 2023-07-23T21:57:06 < jadew> might install it later, so I can experience that daily 2023-07-23T22:10:04 < nomorekaki> maybe it has new x server 2023-07-23T22:10:19 < nomorekaki> or expermental video driver 2023-07-23T22:17:06 < nomorekaki> finally 2023-07-23T22:17:34 < nomorekaki> I get to steal back my nick while services are down 2023-07-23T22:22:24 < Steffanx> Run kaki run 2023-07-23T22:40:32 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has quit [Ping timeout: 240 seconds] 2023-07-23T23:04:50 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has joined ##stm32 2023-07-23T23:08:12 -!- drzacek [~drzacek@2a01:3d8:3cd:1b00:8c3a:9325:d52c:f9e2] has quit [Quit: Leaving] 2023-07-23T23:10:59 < jadew> nomorekaki, not sure, luckily it has a Ubuntu (safe video) option or something like that 2023-07-23T23:11:01 < jadew> which worked 2023-07-23T23:11:12 < jadew> I was able to dd and resize2fs, all good so far 2023-07-23T23:11:22 < jadew> now I'm trying to move the operating system's partiton 2023-07-23T23:13:17 < jadew> the whole PC needs so much work, it's crazy 2023-07-23T23:14:45 < jadew> I fried a memory board on Friday, trying to vacuum an M2 slot that was right next to it 2023-07-23T23:16:34 < jadew> my replacement HDD for the raid 1, doesn't have the same physical sector size, so I can't use it, and my BIOS refuses to use the correct video card (I did work around this tho) 2023-07-23T23:17:03 < jadew> all I wanted to do was to learn some python 2023-07-23T23:20:16 < jadew> I came across a bug that would be funny if I reported (the situation is so stupid) 2023-07-23T23:22:38 < PaulFertser> vacuum ESD'd RAM? 2023-07-23T23:22:49 < jadew> yeah 2023-07-23T23:23:28 < jadew> windows kept crashing due to the corrupted bits, linux didn't 2023-07-23T23:23:43 < jadew> which is not good, obviously 2023-07-23T23:26:27 < jadew> I wonder if I bought the specially paired kind of RAM, for dual-channel 2023-07-23T23:26:55 < jadew> If I did, I suppose I'll have to replace both boards 2023-07-23T23:53:05 < nomorekaki> advanced C macro pro help required 2023-07-23T23:53:39 < nomorekaki> https://www.nongnu.org/avr-libc/user-manual/atomic_8h_source.html line 205 2023-07-23T23:53:51 < nomorekaki> I have never seen such macro 2023-07-23T23:54:02 < nomorekaki> but I need to understand it now 2023-07-23T23:57:49 < jadew> huh? which one is tripping you off? 2023-07-23T23:58:00 < nomorekaki> line 205 2023-07-23T23:58:12 < jadew> it' 2023-07-23T23:58:16 < jadew> it's a two line define 2023-07-23T23:58:35 < jadew> takes type as an argument and will replace it in that expression 2023-07-23T23:58:52 < nomorekaki> where does it take the code block 2023-07-23T23:58:55 < jadew> for ( _type_, etc) \ (this means new line 2023-07-23T23:59:05 < jadew> it doesn't 2023-07-23T23:59:13 < jadew> it just opens the block 2023-07-23T23:59:49 < jadew> if you have for (...) as the #define FOR 2023-07-23T23:59:57 < jadew> and you say FOR { your shit } --- Day changed ma heinä 24 2023 2023-07-24T00:00:11 < jadew> it's going to become for (...) { your shit } 2023-07-24T00:00:17 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-24T00:01:22 < nomorekaki> I'm not understanding 2023-07-24T00:01:41 < nomorekaki> could any macro accept a code block? 2023-07-24T00:01:50 < jadew> none does 2023-07-24T00:01:54 < jadew> consider this: 2023-07-24T00:02:27 < jadew> ATOMIC_BLOCK(shit) { thisIsMyBlock(); IDoStuffWithIt(); } 2023-07-24T00:02:40 < jadew> ATOMIC_BLOCK(this) is what the preprocessor replaces 2023-07-24T00:02:44 < jadew> and it becomes this: 2023-07-24T00:03:04 < nomorekaki> I'm understanding 2023-07-24T00:03:14 < nomorekaki> already maybe 2023-07-24T00:03:14 < jadew> for ( !!!shit!!!, __ToDo = __iCliRetVal(); __ToDo ; __ToDo = 0 ) { thisIsMyBlock(); IDoStuffWithIt(); } 2023-07-24T00:03:38 < nomorekaki> holy shit that's brilliant 2023-07-24T00:04:32 < nomorekaki> I understand it now 2023-07-24T00:04:35 < nomorekaki> thanks 2023-07-24T00:04:38 < jadew> np 2023-07-24T00:05:01 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-24T00:06:29 < jadew> I managed to move my operating system too 2023-07-24T00:06:35 < jadew> ø/ 2023-07-24T00:06:48 < nomorekaki> for loop is brilliant for wrapping blocks 2023-07-24T00:07:51 < nomorekaki> get a header and a footer for that code 2023-07-24T00:09:38 < nomorekaki> and whatnot 2023-07-24T00:14:57 < jadew> so moving the filesystem was as easy as dd + chroot, install-grub and update-grub 2023-07-24T00:18:34 < nomorekaki> for(uint8_t sreg_save __attribute__((__cleanup__(__iRestore))) = SREG,  __ToDo = foo(); ... 2023-07-24T00:19:19 < nomorekaki> is uint8_t a = 1, b = 2; correct syntax? 2023-07-24T00:19:34 < Steffanx> Does it compile? 2023-07-24T00:20:10 < nomorekaki> a sec 2023-07-24T00:21:04 < Steffanx> I should 2023-07-24T00:21:38 < nomorekaki> yep 2023-07-24T00:21:43 < nomorekaki> it compiles 2023-07-24T00:21:58 < nomorekaki> never seen that before 2023-07-24T00:23:24 < nomorekaki> it also cannot give multiple variables the same value 2023-07-24T00:23:39 < nomorekaki> like uint8_t a,b,c = 1; 2023-07-24T00:23:51 < nomorekaki> only c is 1 ofc. others 0 2023-07-24T00:24:57 < nomorekaki> saves lines if you need a ton of variables with same type 2023-07-24T00:27:17 < nomorekaki> ofc. I have seen int a,b,c; 2023-07-24T00:27:41 < nomorekaki> I just don't remember 2023-07-24T00:30:01 < Steffanx> 😝 2023-07-24T00:35:20 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 244 seconds] 2023-07-24T00:45:54 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has quit [Ping timeout: 260 seconds] 2023-07-24T00:51:31 < nomorekaki> now it's just about building the code.c and the test.c 2023-07-24T00:52:04 < nomorekaki> actually just test.c 2023-07-24T01:03:09 < nomorekaki> I maybe need to move this to vscode or something 2023-07-24T01:40:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-24T01:49:47 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-24T02:46:00 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-24T04:10:04 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-24T04:22:19 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-24T04:24:04 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-24T05:01:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-07-24T05:07:03 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-24T05:29:20 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-24T06:53:32 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 244 seconds] 2023-07-24T06:57:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-24T07:05:51 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-24T07:12:25 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-24T07:31:06 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-24T08:12:44 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-24T08:47:32 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-24T09:15:48 -!- jerkey [~jerkey@artsf1.spaz.org] has joined ##stm32 2023-07-24T09:19:05 < jerkey> i have a simple program to blink an LED on my STM32F412RGT6 using libopencm3 and it works. linker script is tiny, -nostartfiles, installing it with dfu or swd works fine. I installed stm32_hid_bootloader and tweaked my linker script for 0x08004000 and flashed the bin with hid-flash but it doesnt work 2023-07-24T09:19:59 < jerkey> and the device still enumarates on USB with "usb 1-1: Product: STM32 HID bootloader" and I dont understand why it doesn't proceed to the blinking? 2023-07-24T09:22:35 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-24T09:27:35 < jpa-> do you have boot1 pin low? 2023-07-24T09:29:16 < jpa-> that bootloader also seems to jump to application after initializing clocks and some GPIOs, which in my opinion is a bad idea because it can cause a hang in later clock initialization if you are not careful 2023-07-24T09:33:55 < jerkey> jpa i have boot0 low so boot1 is irrelevant 2023-07-24T09:36:14 < jpa-> nope, the hig_bootloader checks it separately https://github.com/Serasidis/STM32_HID_Bootloader/blob/master/bootloader/F4/Src/main.c#L138-L140 though now i'm unsure whether it should be high or low for normal boot, because readme says low but source code seems to say high 2023-07-24T09:39:59 < jerkey> ok i looked it up and measured it. my boot1 is tied low which selects "system memory" as the boot space. Anyway if boot0 is low, which it is, boot1 is irrelevant. Page 55 https://www.st.com/resource/en/reference_manual/dm00180369-stm32f412-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdf 2023-07-24T09:40:36 < jerkey> oh shittttt you're talking about hid_bootloader sorry 2023-07-24T09:41:04 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-24T09:41:04 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-24T09:41:04 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-24T10:00:03 < jerkey> ok jpa- i have a 4.7kΩ pullup on PB2 aka boot1 pin 28 (LQFP64) but it still boots up to HID bootloader :( 2023-07-24T10:04:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3003-ee47-2b12-b507.fixed6.kpn.net] has joined ##stm32 2023-07-24T10:59:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-24T11:58:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-3003-ee47-2b12-b507.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-07-24T12:07:51 < mawk> jerkey is that BOOT0? 2023-07-24T12:08:02 < mawk> also check option bytes in the EEPROM 2023-07-24T12:10:50 < qyx> his sole problem is the ardweeno bootloader 2023-07-24T12:11:07 < qyx> as long as stm32 boots into the bootloader, stm32 is completely fine 2023-07-24T12:11:26 < qyx> if the bootloader doesn't want to jump to the application, it is not a stm32 issue 2023-07-24T12:12:05 < mawk> can you show your tweaked linker script jerkey ? 2023-07-24T12:12:26 < mawk> also, does it work when you flash your application directly to 0x08000000 instead of 0x08004000 ? 2023-07-24T12:19:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7021-efe0-b091-3309.fixed6.kpn.net] has joined ##stm32 2023-07-24T12:26:57 < jerkey> so mawk to be clear, i have dfu mode working fine (the built in bootloader in "system memory") when i pull boot0 high 2023-07-24T12:27:52 < jerkey> i wanted stm32_hid_bootloader to work and i flashed it onto my chip (using dfu mode) but it doesn't run the program i loaded onto it, even when i pull boot1 high (or load) it just goes into hid bootloader mode. So i gave up 2023-07-24T12:28:20 < jerkey> mawk which option bytes are you talking about? 2023-07-24T12:28:21 < PaulFertser> jerkey: but you have SWD, can't you step through that hid bootloader code to see why it doesn't run the program? 2023-07-24T12:29:06 < mawk> nBOOT0 jerkey 2023-07-24T12:29:37 < jerkey> PaulFertser that is possible but i don't have that skill set yet :) also i gave up and added dfu support to arduino, only to discover that there is a pull request nearly 4 years old that does the same thing https://github.com/stm32duino/Arduino_Core_STM32/pull/718 2023-07-24T12:29:37 < mawk> so did you try running only your application jerkey ? 2023-07-24T12:29:41 < mawk> and show the linker script 2023-07-24T12:33:52 < jerkey> MEMORY { rom (rx) : ORIGIN = 0x08004000, LENGTH = 1008K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K ccm (rwx) : ORIGIN = 0x10000000, LENGTH = 64K } INCLUDE cortex-m-generic.ld 2023-07-24T12:35:16 < jerkey> anyway whether i compiled it myself that way and flashed it with hid-flash, or uploaded it from Arduino (using hid-flash) it didn't work and showed up as usb hid even though i had boot1 pulled high (tried it low too) so it just wasn't leaving the bootloader no matter what i did 2023-07-24T12:35:59 < jerkey> yes when i use dfu mode to put the application at 8000000 it works, both from my code and from arduino now that i added the same stuff as that pull request i linked 2023-07-24T12:36:15 < jerkey> good night friends 2023-07-24T12:37:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-24T14:36:51 * qyx testing MEIGlink 2023-07-24T14:57:38 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 2023-07-24T14:57:56 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-07-24T14:58:06 -!- hackkitten [~hackkitte@2a00:6020:5090:5700::878] has quit [Remote host closed the connection] 2023-07-24T14:58:22 -!- hackkitten [~hackkitte@94.31.104.136] has joined ##stm32 2023-07-24T15:05:44 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-24T15:20:19 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-24T15:20:22 < Laurence_b> supppp 2023-07-24T15:20:30 * Laurence_b is trying to get stm32duino to work 2023-07-24T15:20:46 < Laurence_b> looks like usb cdc gets called with an insane transaction size 2023-07-24T15:21:15 < Laurence_b> void CDC_TransmitQueue_Enqueue(CDC_TransmitQueue_TypeDef *queue, const uint8_t *buffer, uint32_t size); gets called with huge size 2023-07-24T15:29:53 < Laurence_b> hmm, transaction size is set to 0x200018F0 2023-07-24T15:33:11 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-24T15:33:32 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-24T15:40:27 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-24T16:10:20 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-24T16:16:59 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-07-24T16:18:37 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-24T17:01:57 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-24T17:04:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-07-24T17:12:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 2023-07-24T17:29:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7021-efe0-b091-3309.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-07-24T17:43:23 -!- rob_w [~rob@2001:a61:6119:801:e10d:fdd4:10d3:f625] has joined ##stm32 2023-07-24T17:44:19 < rob_w> i think i need some mpu wisdom 2023-07-24T17:52:53 < rob_w> if i take a firmware and use it from mmapped qspi instead of internal flash, after it becomes 0x9000000, will the dma mapping acording wieth qspi as source still apply ? 2023-07-24T17:54:39 < jpa-> so are you planning to do DMA transfers from QSPI at the same time that code is executing from it? 2023-07-24T17:55:58 < rob_w> i guess , those parts which where int flash rodata etc becomes "0x9000000" ro_data , no ? 2023-07-24T17:56:54 < jpa-> yeah, and you can use them as memory source like you would internal flash, and rely on bus arbitration 2023-07-24T17:57:01 < rob_w> is that Xip scenario , where a flash fw fires up qspi memory mapping and jump into the qspi area 2023-07-24T17:58:53 < rob_w> i see 2023-07-24T17:58:53 < jpa-> i don't think you can use QSPI peripheral controlled DMA when the memory mapping is active, so the memory mapping is the only option 2023-07-24T17:59:30 < rob_w> i think so too 2023-07-24T17:59:43 < jpa-> it may be somewhat slower than otherwise, especially if simultaneously executing code results in QSPI access 2023-07-24T17:59:52 < jpa-> but caches should reduce that 2023-07-24T18:00:10 < rob_w> its the only path on those boards 2023-07-24T18:00:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7021-efe0-b091-3309.fixed6.kpn.net] has joined ##stm32 2023-07-24T18:01:15 < rob_w> its a dreadfull situation 2023-07-24T18:03:11 < rob_w> so ive to keep digging 2023-07-24T18:10:07 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-24T18:10:34 < Laurence_b> libbacktrace could not find executable to open 2023-07-24T18:10:43 < Laurence_b> anyone know what tarduino says this? 2023-07-24T18:10:47 < Laurence_b> *why 2023-07-24T18:12:09 -!- srk_ [~sorki@user/srk] has joined ##stm32 2023-07-24T18:15:08 < Laurence_b> i'll try rebooting 2023-07-24T18:15:11 -!- srk [~sorki@user/srk] has quit [Ping timeout: 246 seconds] 2023-07-24T18:15:12 -!- srk_ is now known as srk 2023-07-24T18:15:13 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-24T18:17:22 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-24T18:21:05 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-24T18:41:59 -!- srk_ [~sorki@user/srk] has joined ##stm32 2023-07-24T18:44:49 -!- AckbarSpaceFish [~Lando-Spa@user/lando-spacepimp] has joined ##stm32 2023-07-24T18:45:00 < AckbarSpaceFish> WAAAAAAAAAAAAAT 2023-07-24T18:45:04 -!- srk [~sorki@user/srk] has quit [Ping timeout: 260 seconds] 2023-07-24T18:45:04 -!- srk_ is now known as srk 2023-07-24T18:46:21 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-24T18:46:40 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-24T18:48:39 < AckbarSpaceFish> [_], itchy 2023-07-24T18:49:30 < [_]> hi 2023-07-24T18:52:24 < AckbarSpaceFish> IT'S A TRAP!! 2023-07-24T18:54:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7021-efe0-b091-3309.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-24T19:06:50 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-24T19:17:33 -!- rob_w [~rob@2001:a61:6119:801:e10d:fdd4:10d3:f625] has quit [Quit: Leaving] 2023-07-24T19:48:50 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-07-24T20:01:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-24T20:01:56 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-24T20:30:35 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 264 seconds] 2023-07-24T20:46:38 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-24T21:03:25 -!- u003d35b2e050-86 [~u003d35b2@162-224-126-2.lightspeed.stlsmo.sbcglobal.net] has joined ##stm32 2023-07-24T21:17:13 -!- AckbarSpaceFish [~Lando-Spa@user/lando-spacepimp] has left ##stm32 [They told me they fixed it. I trusted them to fix it. It's not my fault!] 2023-07-24T21:24:05 -!- u003d35b2e050-86 [~u003d35b2@162-224-126-2.lightspeed.stlsmo.sbcglobal.net] has quit [Quit: Connection closed] 2023-07-24T21:27:47 -!- kraiskil_ [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has joined ##stm32 2023-07-24T21:51:39 -!- alan_o [~alan_o@172-7-159-77.lightspeed.dybhfl.sbcglobal.net] has quit [Remote host closed the connection] 2023-07-24T21:51:53 -!- alan_o [~alan_o@2600:1700:1902:210f:481d:9297:9ff2:65e] has joined ##stm32 2023-07-24T21:52:05 -!- drzacek [~drzacek@2a01:3d8:3d4:5000:f179:c22a:530b:2e28] has joined ##stm32 2023-07-24T21:57:31 -!- kraiskil_ [~kraiskil@mob-194-230-161-199.cgn.sunrise.net] has quit [Ping timeout: 245 seconds] 2023-07-24T22:31:23 < nomorekaki> how to initialize multiple, but not all bit field values in one statement? 2023-07-24T22:32:28 < Steffanx> Union it. Set value. 2023-07-24T22:33:09 < Steffanx> Oh one statement without modifying the others. Good luck. 2023-07-24T22:37:35 < nomorekaki> I could do one field 2023-07-24T22:38:42 < nomorekaki> when I try {.fields.insufficient_pause = 1, .fields.process_late = 1} intelisense thinks it's not a good idea 2023-07-24T22:39:54 < nomorekaki> errors_expected = {.fields.insufficient_pause = 1} works fine 2023-07-24T22:40:17 < nomorekaki> maybe it's time to bitshift and shit 2023-07-24T22:43:01 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-24T22:46:02 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-24T22:46:48 < Steffanx> Yes 2023-07-24T22:52:47 < nomorekaki> No 2023-07-24T22:52:50 < nomorekaki> .errors_expected = {.fields = { .insufficient_pause = 1, .process_late = 1}} 2023-07-24T22:55:27 < nomorekaki> I think I need to go see Barbie movie stephan 2023-07-24T22:56:34 < nomorekaki> just out of curiosity 2023-07-24T23:03:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-07-24T23:18:49 < Steffanx> Is all up to you nomorekaki 2023-07-24T23:19:26 < nomorekaki> dressed as a Barbie 2023-07-24T23:19:32 < nomorekaki> ? 2023-07-24T23:21:17 < Steffanx> Yeah why not 2023-07-24T23:21:28 < Steffanx> Maybe you can take jpa- with you 2023-07-24T23:24:31 < englishman> its far more politically charged and controversial than oppenheimer 2023-07-24T23:24:48 < Steffanx> Oppenheimer was too much drama too I heard 2023-07-24T23:24:54 < Steffanx> Not a lot of physics 2023-07-24T23:25:08 < englishman> it was ok. some parts really sucked 2023-07-24T23:26:42 < nomorekaki> I bet it's as good as biography drama can be 2023-07-24T23:26:57 -!- drzacek [~drzacek@2a01:3d8:3d4:5000:f179:c22a:530b:2e28] has quit [Quit: Leaving] 2023-07-24T23:31:07 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-24T23:31:12 < Laurence_b> suppp 2023-07-24T23:31:24 < Laurence_b> looks like stm32duino usb serial driver has some sort of issue 2023-07-24T23:31:45 < Laurence_b> its getting a hardfault as its trying to send megabytes of data in a single write 2023-07-24T23:32:35 < Steffanx> So don't do that 2023-07-24T23:32:38 < Laurence_b> extern "C" { 2023-07-24T23:32:38 < Laurence_b> #endif 2023-07-24T23:32:39 < Laurence_b> int _write(int fd, char *buf, int count) { Serial.write((const uint8_t*)buf,count) ;} 2023-07-24T23:33:07 < Laurence_b> issue is somewhere in newlib nano I think 2023-07-24T23:33:21 < Laurence_b> count is only equal to 7 2023-07-24T23:35:21 < Laurence_b> I'm using printf, but the data gets screwed somewhere in the middle of newlib nano 2023-07-24T23:35:39 < Laurence_b> I cant debug it for some reason - elf file has no symbols for the newlib nano stuff 2023-07-24T23:36:34 < Laurence_b> the weird thing is that the data arrives at the usb write function, but then a ton of phantom data is sent on the next loop() iteration --- Day changed ti heinä 25 2023 2023-07-25T00:04:48 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 244 seconds] 2023-07-25T00:22:54 < nomorekaki> ever wonder why some products have separate ftdi chip even when the mcu has usb? 2023-07-25T00:23:59 < nomorekaki> yeah 2023-07-25T00:29:11 < qyx> so my miglink doesn't work 2023-07-25T00:29:16 < qyx> *meiglink 2023-07-25T00:29:29 < qyx> and that's sad 2023-07-25T00:30:11 < nomorekaki> meig? 2023-07-25T00:30:51 < qyx> SLM320 modem 2023-07-25T00:36:37 < qyx> huh it is a UNISOC 8910DM 2023-07-25T00:37:01 < qyx> dual core cortex-A5, 64 Mbit SPI flash, 128 Mbit PSRAM 2023-07-25T00:43:18 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-25T00:56:01 < jerkey> nomorekaki: its because people dont want to tell their employer that they don't know how to implement usb 2023-07-25T00:57:02 < nomorekaki> sounds relatable 2023-07-25T01:05:16 < jerkey> it used to be hard to get USB to come up on windows without a microsoft-signed driver, and FTDI had that, so that was a strong motivator, but for a while now there have been standard implementations of serial and stuff, but it's newer than a lot of people were ready for 2023-07-25T01:05:37 < jerkey> so using an FTDI chip was a way to simplify windows compatibility and programming...but theres no excuse anymore 2023-07-25T01:05:57 < jerkey> also it's a pretty trashy company and their chips are expensive 2023-07-25T01:24:54 -!- specing [~specing@user/specing] has quit [Ping timeout: 258 seconds] 2023-07-25T01:26:03 -!- specing [~specing@user/specing] has joined ##stm32 --- Log opened ti heinä 25 09:17:27 2023 2023-07-25T09:17:27 -!- jpa- [jpa@hilla.kapsi.fi] has joined ##stm32 2023-07-25T09:17:27 -!- Irssi: ##stm32: Total of 83 nicks [0 ops, 0 halfops, 0 voices, 83 normal] 2023-07-25T09:17:57 -!- Irssi: Join to ##stm32 was synced in 39 secs 2023-07-25T09:39:24 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-25T10:48:33 < rob_w> so what i got is that a unaligned access is likey to a wrong configured mpu settings, right ? 2023-07-25T11:06:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-25T11:21:06 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-25T11:24:35 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 264 seconds] 2023-07-25T11:28:02 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-25T11:36:59 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-25T11:40:05 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-25T12:52:07 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-07-25T13:09:05 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-25T13:12:47 < qyx> karlp: hjalp, what do I have to do to make my unisoc shit recognised by the option driver? apparently most of lte cat. 1 are similar in design 2023-07-25T13:18:38 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 252 seconds] 2023-07-25T13:36:48 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-07-25T13:59:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5824-6c85-ddc7-e8df.fixed6.kpn.net] has joined ##stm32 2023-07-25T14:36:32 -!- jadew [~rcc@5.12.176.34] has quit [Ping timeout: 246 seconds] 2023-07-25T14:50:34 -!- jadew [~rcc@5.12.190.164] has joined ##stm32 2023-07-25T14:51:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5824-6c85-ddc7-e8df.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-07-25T15:09:21 -!- drzacek [~drzacek@2a01:3d8:3db:a500:385c:1ec1:b9ed:5cb6] has joined ##stm32 2023-07-25T15:32:51 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-25T16:30:57 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-25T16:31:14 < Laurence_b> hi, on F1, which timers can do input capture on both edges? 2023-07-25T16:31:20 < Laurence_b> only >=9  ? 2023-07-25T16:33:10 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-25T16:44:39 -!- drzacek [~drzacek@2a01:3d8:3db:a500:385c:1ec1:b9ed:5cb6] has quit [Quit: Leaving] 2023-07-25T16:57:49 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has joined ##stm32 2023-07-25T17:07:47 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 264 seconds] 2023-07-25T17:08:58 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-25T17:10:30 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-25T17:23:24 < catphish> is there a correct process to stop USB prior to entering STOP mode and re-initialize it when waking up? i'm using HAL, and right now, it seems to hang when calling USBD_Start after waking 2023-07-25T17:23:35 < Laurence_b> anyone used input capture on F1? 2023-07-25T17:23:52 < Laurence_b> I'm trying to alternate between rising and falling edge, but no luck so far 2023-07-25T17:29:16 < catphish> ah, fixed it, HAL_PWR_EnterSTOPMode seems to stop clocks, but doesn't restore them after 2023-07-25T17:30:46 < Laurence_b> hmm looks like channel state is busy 2023-07-25T17:36:27 < Laurence_b> https://pastebin.com/eMWWuTEb 2023-07-25T17:36:32 < Laurence_b> does this look sane? 2023-07-25T17:36:38 < Laurence_b> its not having any effect 2023-07-25T17:37:09 < Laurence_b> annoyingly debugging is not working 2023-07-25T17:37:16 < Laurence_b> its like lines 7 and 8 do not exist 2023-07-25T17:38:00 < Laurence_b> I'll recompile with -Og 2023-07-25T17:44:18 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-25T17:46:04 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-25T17:46:07 < Laurence_b> argg 2023-07-25T17:46:09 < Laurence_b> wtf 2023-07-25T17:47:30 < Laurence_b> cant hit breakpoints 2023-07-25T17:47:42 < Laurence_b> something is clearly wrong 2023-07-25T17:48:44 < Laurence_b> stepping through the code jumps past lines 7 and 8 2023-07-25T17:52:09 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-25T18:04:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-25T18:07:09 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-25T18:07:15 < Laurence_b> hmm I think I will have to resort to raw register hacking 2023-07-25T18:07:22 < Laurence_b> cant debug this code... 2023-07-25T18:07:28 < Laurence_b> breakpoints just arent working 2023-07-25T18:07:43 < Laurence_b> does anyone know where the register names are defined in HAL? 2023-07-25T18:43:08 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-25T18:48:26 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-25T18:53:50 -!- alan_o_ [~alan_o@209.242.144.154] has joined ##stm32 2023-07-25T18:54:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-25T19:16:51 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-25T19:37:14 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 2023-07-25T19:56:40 -!- rajkosto [~rajkosto@178-222-74-250.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-07-25T20:29:44 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7923-fa4-8a3b-ca9d.fixed6.kpn.net] has joined ##stm32 2023-07-25T20:30:45 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-95db-da0e-7907-fdad.fixed6.kpn.net] has joined ##stm32 2023-07-25T20:34:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7923-fa4-8a3b-ca9d.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-25T20:35:34 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-95db-da0e-7907-fdad.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-25T20:35:37 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c90-6622-b154-cb66.fixed6.kpn.net] has joined ##stm32 2023-07-25T20:44:39 < nomorekaki> https://www.youtube.com/watch?v=x2E6bVOjAUY tractor? 2023-07-25T20:49:40 < machinehum> Anyone have a decently priced USB-C connector that will fit a 1.6mm PCB 2023-07-25T20:53:26 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-25T21:00:41 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-25T21:05:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c90-6622-b154-cb66.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-25T21:23:35 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has joined ##stm32 2023-07-25T21:34:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b8c4-f66-ecb0-7c47.fixed6.kpn.net] has joined ##stm32 2023-07-25T21:53:32 < josuah> machinehum: why would a 1.6mm PCB not work? 2023-07-25T21:54:57 < josuah> if worried about thickness, some Type-C connectors can be soldered from gullwings, with the main body fitting a cutout in the PCB, likely to save room, maybe to gain a bit of robustness? 2023-07-25T21:54:58 < machinehum> Most legs are too short 2023-07-25T21:55:58 < machinehum> I want something like USB4085-GF-A, but with SMD pins 2023-07-25T21:57:33 < zyp> machinehum, usb-c sockets are typically designed with the mechanical pins designed for a pin in paste assembly style, where they don't have to protrude through the board like for conventional soldering from the bottom side 2023-07-25T21:59:25 < zyp> i.e. the mechanical pads with holes are stencilled along with the smt pads and reflowed 2023-07-25T22:02:06 < machinehum> Oh shit really 2023-07-25T22:02:27 < machinehum> But then you need a paste layer on the bottom of the board 2023-07-25T22:02:38 < zyp> no, they're pasted from the top 2023-07-25T22:03:01 < machinehum> Oh interesting 2023-07-25T22:03:08 < machinehum> I guess my paste layer was wrong then 2023-07-25T22:05:01 < zyp> https://bin.jvnv.net/file/dBTCL.jpg https://bin.jvnv.net/file/Hrbev.jpg 2023-07-25T22:06:29 < machinehum> Interesting 2023-07-25T22:06:40 < machinehum> I guess obviuosly that sucker is strong enough? 2023-07-25T22:09:08 < zyp> I haven't pulled any off yet 2023-07-25T22:09:59 < zyp> I've had a few customers lever off micro-usb connectors in the same style though, but you have to put in some effort 2023-07-25T22:10:08 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-07-25T22:10:36 < zyp> https://bin.jvnv.net/file/s177m.JPG https://bin.jvnv.net/file/g1Ja8.JPG 2023-07-25T22:11:08 < zyp> pulled out the entire via, so I'd say the solder joint itself is strong enough :) 2023-07-25T22:11:15 < machinehum> It ripped off the pad before the solder joint broke 2023-07-25T22:11:17 < machinehum> Yeah 2023-07-25T22:11:34 < machinehum> That would require... quite a lot of force 2023-07-25T22:11:36 < machinehum> https://i.imgur.com/NVurwUD.png 2023-07-25T22:12:09 < machinehum> On the topic of USBC, D+/D- pins should just get shorted like this right? 2023-07-25T22:12:19 < zyp> yes 2023-07-25T22:12:46 < machinehum> 5.1k pulldown on CC1/CC2 indicate dumb device no PD etc...? 2023-07-25T22:12:49 < zyp> and CC1/CC2 should have individual pulldowns like that, so it all looks good 2023-07-25T22:12:58 < machinehum> Cool 2023-07-25T22:13:04 < machinehum> Thanks for the sanity check 2023-07-25T22:13:37 < machinehum> zyp: I still havn't tried your device yet 2023-07-25T22:20:52 -!- kraiskil_ [~kraiskil@2a02:1210:943c:2900:373a:46da:a1e6:a827] has quit [Ping timeout: 240 seconds] 2023-07-25T22:41:52 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-25T22:46:32 -!- bmt-test-user_00 [~bmt-test-@2001:470:69fc:105::3:89b9] has joined ##stm32 2023-07-25T22:47:24 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 260 seconds] 2023-07-25T22:47:49 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-25T23:01:14 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-25T23:05:13 < nomorekaki> is "the second next" correct english? 2023-07-25T23:05:32 < nomorekaki> meaning 2 steps ahead in queue 2023-07-25T23:06:09 < nomorekaki> queue, list, whatnot 2023-07-25T23:14:20 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-25T23:15:46 < bitmask> wassup 2023-07-25T23:17:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b8c4-f66-ecb0-7c47.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-07-25T23:30:42 < nomorekaki> bitmask: is "the second next" correct english? 2023-07-25T23:30:58 < nomorekaki> meaning 2 steps ahead in queue, list, whatnot 2023-07-25T23:31:03 < nomorekaki> array 2023-07-25T23:31:12 < nomorekaki> buffer 2023-07-25T23:41:11 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-25T23:46:00 < Steffanx> How would you say it in Finnish nomorekaki ? 2023-07-25T23:46:15 < nomorekaki> hmm 2023-07-25T23:46:37 < nomorekaki> like next from next 2023-07-25T23:46:40 < nomorekaki> maybe 2023-07-25T23:47:14 < nomorekaki> or 2 ahead 2023-07-25T23:49:11 < nomorekaki> hmm 2023-07-25T23:54:57 < nomorekaki> of course 2023-07-25T23:55:06 < nomorekaki> toiseksi seuraava 2023-07-25T23:55:22 < nomorekaki> "the second following" 2023-07-25T23:55:46 < nomorekaki> is in english second the next 2023-07-25T23:56:02 < nomorekaki> does second the next sound correct? 2023-07-25T23:58:08 < qyx> Iw ould say I am the second in the row 2023-07-25T23:58:28 < qyx> or maybe the third in your case, becase the second one is the "next" 2023-07-25T23:59:19 < qyx> or wait a bit and say "I am the next" --- Day changed ke heinä 26 2023 2023-07-26T00:05:16 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 244 seconds] 2023-07-26T00:07:21 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-26T00:07:33 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-26T00:19:58 < jerkey> machinehum: I just did a very similar thing! I soldered on a cut USBC cable to my board, and i found only one wire that went to CC1. I gave it a resistor to ground and it seemed to work 2023-07-26T00:24:52 < zyp> plugs only have one CC pin, sockets have two 2023-07-26T00:25:20 < zyp> the point of CC is after all to detect orientation, so naturally they're different in the plug :) 2023-07-26T00:25:27 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-26T00:25:27 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-07-26T00:25:42 < zyp> the one that's not CC is used for VCONN to power active circuitry in the plug 2023-07-26T00:54:47 < jerkey> ahh thank you zyp that makes more sense now. the whole usbc thing is complex in order to make it simple for the end user lol 2023-07-26T00:55:13 < jerkey> i love that i can plug this thing into my phone and it works fine 2023-07-26T00:57:35 < machinehum> huh 2023-07-26T01:00:19 < Steffanx> Huh? 2023-07-26T01:00:38 < Steffanx> How's the USB drive project machinehum ? 2023-07-26T01:02:00 < machinehum> Things are alright I've been really consumed by this UPS 2023-07-26T01:02:31 < machinehum> I just got in a bunch of NAND flash in, test those out 2023-07-26T01:26:05 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-26T01:33:58 < Laurence_b> if I have a sensor that samples at sample rate x and I read the sensor at rate y (y>x), is there an algorithm to determine the lag on the sensor readings? 2023-07-26T01:44:17 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-26T01:46:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] 2023-07-26T01:51:59 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-26T01:53:57 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-26T01:54:02 < Laurence_b> if I have a sensor that samples at sample rate x and I read the sensor at rate y (y>x), is there an algorithm to determine the lag on the sensor readings? 2023-07-26T01:57:20 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-26T02:07:42 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 250 seconds] 2023-07-26T02:21:40 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 244 seconds] 2023-07-26T02:33:09 < zyp> Laurence_b, lag in what sense? the time between the sample timepoint and the read timepoint? 2023-07-26T02:37:11 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-26T02:53:01 -!- alan_o_ [~alan_o@209.242.144.154] has quit [Quit: Leaving] 2023-07-26T03:00:08 -!- Netsplit *.net <-> *.split quits: rkta, veverak, sync_, jadew, hsv, zapb_, esden, c10ud, krjt, dreamcat4 2023-07-26T03:00:30 -!- Netsplit over, joins: sync_, veverak, jadew 2023-07-26T03:00:36 -!- Netsplit over, joins: dreamcat4 2023-07-26T03:00:43 -!- Netsplit over, joins: esden 2023-07-26T03:01:14 -!- zapb_ [~zapb@static.127.92.47.78.clients.your-server.de] has joined ##stm32 2023-07-26T03:03:57 -!- Netsplit over, joins: krjt 2023-07-26T03:05:34 -!- Netsplit over, joins: hsv 2023-07-26T03:16:18 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-26T03:26:48 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-26T03:27:13 < catphish> weird coincidence, i just asked almost the same question in another channel 2023-07-26T03:27:58 < catphish> actually not quite, i was interested in the lag between an analog change and the digital reading 2023-07-26T03:28:52 < catphish> the 2023-07-26T04:26:38 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-26T04:32:20 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-26T04:56:11 < qyx> it depends on the adc type and filtering (which must be always present) 2023-07-26T05:50:19 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-26T06:02:38 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-26T06:04:18 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T06:11:54 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T06:37:06 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T06:41:41 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T06:53:39 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T07:29:44 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5324))] 2023-07-26T07:29:49 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-26T07:34:21 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-26T08:23:47 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T08:24:51 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-26T08:31:40 -!- bmt-test-user_00 [~bmt-test-@2001:470:69fc:105::3:89b9] has left ##stm32 [] 2023-07-26T08:44:58 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T08:49:47 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 264 seconds] 2023-07-26T08:56:51 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-26T09:17:17 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T10:03:34 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 244 seconds] 2023-07-26T10:13:26 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-26T10:13:26 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-26T10:13:26 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-26T10:17:00 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T10:20:39 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-26T10:21:17 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 246 seconds] 2023-07-26T10:34:29 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T10:47:17 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T11:08:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-26T11:31:44 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T11:36:12 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 245 seconds] 2023-07-26T12:05:28 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T12:10:06 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T12:38:56 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T12:39:45 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-26T12:43:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 246 seconds] 2023-07-26T12:46:19 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 244 seconds] 2023-07-26T12:50:14 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-26T13:13:11 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T13:17:46 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T13:30:44 < karlp> qyx: I didn't need option driver? 2023-07-26T13:31:05 < karlp> qyx: I had qmi and used modemmanager, worked fine 2023-07-26T13:31:21 < karlp> uqmi with openwrt's "own" shit was pretty busted though. 2023-07-26T13:31:59 < invzim> is the premium for western brand crystal crystal oscillators worth it for stm32s? Have a design with a TXC that's no longer available.. 2023-07-26T13:47:08 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T13:51:35 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 264 seconds] 2023-07-26T14:19:35 < jbo> just got 40kg of LiFePO4 delivered :D 2023-07-26T14:20:31 < jbo> invzim, I guess that depends on what the device requirements are. to flash an LED? no. for a DAQ? Probably yes. 2023-07-26T14:22:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T14:27:05 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 258 seconds] 2023-07-26T14:49:09 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T14:54:02 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T15:09:55 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-26T15:10:02 < Laurence_b> anyone here ever used olimexino? 2023-07-26T15:10:13 < Laurence_b> mine is overheating and shutting down 2023-07-26T15:10:26 < Laurence_b> cant work this shit out 2023-07-26T15:10:27 < Laurence_b> https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/resources/OLIMEXINO-STM32_sch_latest.pdf 2023-07-26T15:10:53 < Laurence_b> it runs fine off usb, and the board on its own will run off 30V DC 2023-07-26T15:20:47 < Laurence_b> problem identified, I think 2023-07-26T15:20:53 < Laurence_b> olimex screwed up 2023-07-26T15:21:11 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T15:25:22 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 245 seconds] 2023-07-26T15:25:43 < Laurence_b> something is wrong with the DC-DC 2023-07-26T15:27:58 < jbo> Laurence_b, I have 2023-07-26T15:28:13 < jbo> Laurence_b, first time I had bad experiences with Olimex (both on the product & support side) 2023-07-26T15:28:35 < Laurence_b> interesting 2023-07-26T15:28:44 < Laurence_b> yeah something is badly wrong with the design here 2023-07-26T15:29:04 < jbo> they also had some claims in their docs which turned out to be incorrect. I asked about why stuff isn't the way they documented. they said it was documented incorrectly and they knew it wasn't like that for months. they updated the docs, I asked for a refund based on "selling stuff that doesn't perform as advertised". they rejected. 2023-07-26T15:30:24 < Laurence_b> this is really weird 2023-07-26T15:30:40 < Laurence_b> DC-DC should be fine to 35V according to datasheet, but its being weird 2023-07-26T15:31:10 < Laurence_b> if I just run the micro it seems fine, but if I draw an extra 150mA at 5V it all goes wrong 2023-07-26T15:31:34 < Laurence_b> efficiency is low and DC-DC overheats, efficiency also gets rapidly worst 2023-07-26T15:33:04 < Laurence_b> hmm yeah at 80mA load, efficiency is ~90% 2023-07-26T15:33:21 < Laurence_b> at 200mA load, efficiency is <25% 2023-07-26T15:34:22 < Laurence_b> this should handle >1.2A, they don goofed somewhere 2023-07-26T15:35:40 < Laurence_b> time to check the design against the datasheet 2023-07-26T15:40:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-26T15:41:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-26T15:48:45 < Laurence_b> what the fuuuuu 2023-07-26T15:49:06 < Laurence_b> found the issue: they shaved money off the BOM by using a crappy inductor 2023-07-26T15:50:15 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 244 seconds] 2023-07-26T15:53:00 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-26T15:53:50 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-26T15:54:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T15:58:38 < jbo> aye 2023-07-26T15:58:45 < jbo> not sure what is happening over at Olimex lately 2023-07-26T15:58:51 < jbo> had zero problems with them for over a decade 2023-07-26T15:58:54 < jbo> and then that shit show happened 2023-07-26T15:59:18 < jbo> you might want to get in touch with them to inform them of the issue tho (that is at least what I did) 2023-07-26T15:59:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 264 seconds] 2023-07-26T16:02:54 < zyp> could be component shortage related 2023-07-26T16:13:21 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-26T16:28:31 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-07-26T16:28:46 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T16:28:57 < Laurence_b> https://www.ti.com/lit/ds/symlink/mc33063a.pdf?HQS=dis-mous-null-mousermode-dsf-pf-null-wwe&ts=1690363014275&ref_url=https%253A%252F%252Feu.mouser.com%252F 2023-07-26T16:29:01 < Laurence_b> this is confusing 2023-07-26T16:29:08 < Laurence_b> olimex seem to have used 10uH 2023-07-26T16:32:52 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 240 seconds] 2023-07-26T16:33:03 < Laurence_b> https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/resources/OLIMEXINO-STM32_sch_latest.pdf 2023-07-26T16:33:04 < Laurence_b> wtf 2023-07-26T16:39:57 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-07-26T16:41:25 < qyx> if they are using mc33063, it speaks for itself 2023-07-26T17:02:06 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T17:04:28 < jbo> a few weeks ago I got some 700.- USD piece of kit from Toradex. On top of the board was a note stating that due to component shortage they had to omit the entire DC input protection circuitry :D 2023-07-26T17:07:01 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T17:17:14 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-26T17:36:15 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T17:40:32 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 246 seconds] 2023-07-26T17:43:11 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 264 seconds] 2023-07-26T17:47:26 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-26T17:50:55 < bitmask> any of you have spotted lantern flies where you live? They invaded my state last year and were everywhere, its getting close to that time of year again and im really not looking forward to their return 2023-07-26T17:57:34 < aandrew> we have them, this is the right time of year for them too 2023-07-26T17:58:10 < aandrew> they leave people alone up here, mostly just happy to hang around at the edge of the bush, unlike the mosquitoes which form entire batillions to hunt down humans 2023-07-26T18:11:18 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T18:16:59 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T18:44:18 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T18:48:32 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 240 seconds] 2023-07-26T18:57:41 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-26T18:58:43 < bitmask> aandrew you are lucky. I guess because they are new they exploded without predators. In about a month you cant walk down the street without stepping on dead ones 2023-07-26T18:59:51 < bitmask> i'll have to fight through 8 on my front door trying not to let them in the house, its gross 2023-07-26T19:01:12 < bitmask> and i mean every step, if youre in town on the sidewalk, you can pass 5 dead ones with each step 2023-07-26T19:01:44 < bitmask> I'm surprised all the birds arent obese 2023-07-26T19:01:57 < bitmask> havent really seen them eating them though 2023-07-26T19:16:20 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T19:21:09 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-26T19:34:14 -!- joel135 [sid136450@id-136450.hampstead.irccloud.com] has quit [Excess Flood] 2023-07-26T19:34:36 -!- joel135 [sid136450@id-136450.hampstead.irccloud.com] has joined ##stm32 2023-07-26T19:53:05 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 244 seconds] 2023-07-26T19:57:05 < aandrew> well I guess they're kind of quiet during the day when the birds are awake. bats though... why aren't the bats after them 2023-07-26T19:57:20 < aandrew> the bats eat mosquitoes here like crazy, it's a wonder THEY aren't fat 2023-07-26T19:57:31 < aandrew> and swallows love mosquitoes too but they only really get them at dusk/dawn 2023-07-26T21:08:05 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T21:12:33 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-26T21:12:36 < Laurence_b> suppp 2023-07-26T21:12:43 * Laurence_b hates Olimex 2023-07-26T21:12:57 < Laurence_b> I always thought their shit looked sus, now I know for sure 2023-07-26T21:13:46 < Laurence_b> I dont know wtf they were thinking with the DC-DC on the olimexino.. other than saving money on inductors 2023-07-26T21:19:25 < Laurence_b> looks like it has cooked itself 2023-07-26T21:21:46 < specing> omg 2023-07-26T21:33:34 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-07-26T21:39:06 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-26T21:48:23 -!- dima_ [~dima@kappa.ac93.org] has joined ##stm32 2023-07-26T21:48:50 < Laurence_b> I think it works if you dont try to source any external power 2023-07-26T21:49:15 < Laurence_b> looks like it "works" by continually triggering the overcurrent shut down due to the small inductor 2023-07-26T21:49:36 < Laurence_b> my board draws about 200mA at 5V, which cooked it after a few minutes 2023-07-26T21:50:18 < Laurence_b> I've swapped the inductor for a 620uH one, but the switching transistor seems to be partially destroyed 2023-07-26T21:50:19 -!- dima [~dima@kappa.ac93.org] has quit [Killed (NickServ (GHOST command used by dima_))] 2023-07-26T21:50:23 -!- dima_ is now known as dima 2023-07-26T21:51:35 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 264 seconds] 2023-07-26T22:03:29 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has joined ##stm32 2023-07-26T22:10:44 < Laurence_b> wait wut 2023-07-26T22:10:45 < Laurence_b> https://arxiv.org/ftp/arxiv/papers/2307/2307.12037.pdf 2023-07-26T22:10:50 < Laurence_b> big if true 2023-07-26T22:17:55 < Laurence_b> lmao https://nitter.kavin.rocks/pic/orig/media%2FF15OuzzXoAA3up3.jpg 2023-07-26T22:18:15 < Mangy_Dog> i saw a tweet about that earlier 2023-07-26T22:33:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-26T22:48:49 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-26T23:01:16 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-26T23:04:05 < josuah> spooky! though this might already been the case forever with computer hacking to modify databases 2023-07-26T23:04:16 < josuah> that's another case of concern about data integrity 2023-07-26T23:05:29 < josuah> Psy Ops will love to play with these datasets :P https://www.youtube.com/watch?v=VA4e0NqyYMw 2023-07-26T23:05:57 < josuah> ^ no, I am not into conspiracy theory: this is *from* the US army :D 2023-07-26T23:24:54 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-26T23:33:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-26T23:45:46 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-26T23:53:36 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 --- Day changed to heinä 27 2023 2023-07-27T00:14:55 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-07-27T00:15:24 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-27T00:17:29 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-27T00:22:23 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-27T00:25:10 -!- rajkosto [~rajkosto@178.220.98.78] has joined ##stm32 2023-07-27T01:27:06 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-27T02:01:02 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-27T03:09:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-07-27T03:17:46 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 260 seconds] 2023-07-27T04:19:20 -!- Guest667 [~lol@211.sub-174-215-144.myvzw.com] has joined ##stm32 2023-07-27T04:22:05 -!- Guest667 [~lol@211.sub-174-215-144.myvzw.com] has left ##stm32 [()] 2023-07-27T04:40:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-27T05:05:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-27T05:17:36 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-27T05:28:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-27T05:29:24 < machinehum> It appears my USB destruction circuit does not work 2023-07-27T06:49:29 -!- qyx [~qyx@84.245.120.147] has quit [Ping timeout: 260 seconds] 2023-07-27T06:51:27 -!- qyx [~qyx@84.245.120.137] has joined ##stm32 2023-07-27T07:32:16 -!- rajkosto [~rajkosto@178.220.98.78] has quit [Read error: Connection reset by peer] 2023-07-27T07:40:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-27T08:46:01 < Steffanx> Awh 2023-07-27T08:58:40 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-27T09:06:34 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-07-27T09:28:12 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-27T09:28:30 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-07-27T10:11:49 -!- Netsplit *.net <-> *.split quits: quinor, jadew, jerkey, Alexer, Posterdati, zyp, BrainDamage, specing, Spirit532, nerozero, (+45 more, use /NETSPLIT to show all of them) 2023-07-27T10:19:37 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-27T10:19:37 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-27T10:19:37 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-27T10:19:37 -!- mawk [mawk@wireguard/contributor/mawk] has joined ##stm32 2023-07-27T10:19:37 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-07-27T10:19:37 -!- mid-kid [~mid-kid@2a01:7c8:aac8:1e8:5054:ff:fe5e:cd48] has joined ##stm32 2023-07-27T10:19:37 -!- blathijs [~matthijs@tika.stderr.nl] has joined ##stm32 2023-07-27T10:19:37 -!- octorian [octo@2600:3c00::f03c:91ff:fe93:a61c] has joined ##stm32 2023-07-27T10:19:37 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-07-27T10:19:37 -!- sync_ [~sync@2a01:4f8:121:2c1::2] has joined ##stm32 2023-07-27T10:19:37 -!- dreamcat4 [uid157427@id-157427.hampstead.irccloud.com] has joined ##stm32 2023-07-27T10:19:37 -!- oz4ga [~tim@hator.sunsite.lv] has joined ##stm32 2023-07-27T10:19:37 -!- aandrew [~aandrew@mail.mixdown.ca] has joined ##stm32 2023-07-27T10:19:37 -!- ventYl [~ventyl@bband-dyn96.178-40-12.t-com.sk] has joined ##stm32 2023-07-27T10:19:37 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-27T10:19:37 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-27T10:19:37 -!- con3 [~con3@164.90.228.156] has joined ##stm32 2023-07-27T10:19:37 -!- flatmush [~benbrewer@82-69-13-96.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-07-27T10:19:37 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-07-27T10:19:37 -!- sauce [~sauce@free.and.open.sauce.icu] has joined ##stm32 2023-07-27T10:19:37 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-07-27T10:19:37 -!- jerkey [~jerkey@artsf1.spaz.org] has joined ##stm32 2023-07-27T10:19:37 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-27T10:19:37 -!- jadew [~rcc@5.12.190.164] has joined ##stm32 2023-07-27T10:19:37 -!- zapb_ [~zapb@static.127.92.47.78.clients.your-server.de] has joined ##stm32 2023-07-27T10:19:37 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-07-27T10:19:37 -!- lemmi [~lemmi@user/lemmi] has joined ##stm32 2023-07-27T10:19:37 -!- \dev\ice [~eabdb@user/device/x-9920846] has joined ##stm32 2023-07-27T10:19:37 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-07-27T10:19:37 -!- chiptuner [~bobby@user/chiptuner] has joined ##stm32 2023-07-27T10:19:37 -!- pwillard [sid136981@2a03:5180:f:4::2:1715] has joined ##stm32 2023-07-27T10:19:37 -!- zyp [zyp@zyp.no] has joined ##stm32 2023-07-27T10:19:37 -!- phryk [~totallyno@user/phryk] has joined ##stm32 2023-07-27T10:19:37 -!- Kamilion [kamilion@copper.sllabs.com] has joined ##stm32 2023-07-27T10:19:37 -!- noarb [~noarb@user/noarb] has joined ##stm32 2023-07-27T10:19:37 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-07-27T10:19:37 -!- englishman [englishman@user/englishman] has joined ##stm32 2023-07-27T10:19:37 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-07-27T10:19:37 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-07-27T10:19:37 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-27T10:19:37 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-27T10:19:37 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-27T10:19:37 -!- joel135 [sid136450@id-136450.hampstead.irccloud.com] has joined ##stm32 2023-07-27T10:19:37 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-07-27T10:19:37 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-27T10:19:37 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-27T10:19:37 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-07-27T10:19:49 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Max SendQ exceeded] 2023-07-27T10:21:21 -!- mrec [~mrec@user/mrec] has joined ##stm32 2023-07-27T10:21:21 -!- Steffanx [sid97872@user/steffanx] has joined ##stm32 2023-07-27T10:21:21 -!- akaWolf [~akaWolf@akawolf.org] has joined ##stm32 2023-07-27T10:21:21 -!- esden [sid32455@id-32455.hampstead.irccloud.com] has joined ##stm32 2023-07-27T10:21:21 -!- krjt [~krjst@2604:a880:800:c1::16b:8001] has joined ##stm32 2023-07-27T10:21:21 -!- hsv [~unknown@user/hsv] has joined ##stm32 2023-07-27T10:22:26 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-27T10:34:35 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-07-27T11:10:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-27T11:18:52 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 250 seconds] 2023-07-27T11:21:00 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-27T11:29:32 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 260 seconds] 2023-07-27T11:30:13 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-27T11:37:38 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-ad52-e7b5-a57e-6fc1.fixed6.kpn.net] has joined ##stm32 2023-07-27T12:05:05 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-ad52-e7b5-a57e-6fc1.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-27T12:44:45 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-27T13:33:41 < jbo> moin 2023-07-27T13:45:44 < benishor> moin. tissit!!11 2023-07-27T13:47:59 < Steffanx> Gooday 2023-07-27T14:00:37 < benishor> https://www.youtube.com/watch?v=zUNfZU7VfPE 2023-07-27T14:00:41 < benishor> this makes it a good day 2023-07-27T14:02:24 < Steffanx> Does it? 2023-07-27T14:28:56 -!- rkta [~rkta@user/rkta] has quit [Remote host closed the connection] 2023-07-27T14:29:23 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-07-27T14:30:02 -!- drzacek [~drzacek@2a01:3d8:3e9:e400:c1ef:9645:92a7:31ba] has joined ##stm32 2023-07-27T14:34:05 < benishor> yup 2023-07-27T14:38:33 < englishman> does upgrdman still chat here 2023-07-27T14:55:56 < Steffanx> Haven't seen him for a while 2023-07-27T14:57:13 < Steffanx> Last seen 20 weeks ago says nickserv 2023-07-27T14:59:50 < Steffanx> I have to bug him too. Yesterday I needed some quick data visualization and tried his tool, but it doesn't work. I didn't feel like coding java to fix it 😅 2023-07-27T15:39:01 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-07-27T15:39:33 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-27T15:44:07 -!- kitzman [~kitzman@user/dekenevs] has quit [Client Quit] 2023-07-27T15:45:40 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-27T16:04:11 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-27T16:18:24 -!- drzacek [~drzacek@2a01:3d8:3e9:e400:c1ef:9645:92a7:31ba] has quit [Quit: Leaving] 2023-07-27T16:31:41 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-27T16:45:59 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-27T17:49:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-07-27T17:51:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-27T18:07:56 -!- jadew [~rcc@5.12.190.164] has quit [Ping timeout: 250 seconds] 2023-07-27T18:08:18 -!- jadew [~rcc@5.12.190.164] has joined ##stm32 2023-07-27T18:22:38 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-440a-84cf-d6f6-319f.fixed6.kpn.net] has joined ##stm32 2023-07-27T19:16:41 < machinehum> https://drive.google.com/file/d/1v3DSObsdQU3Ex6LKryOZUBpNpgTMueQt/view?usp=sharing 2023-07-27T19:16:51 < machinehum> I might have to go with bigger caps 2023-07-27T19:17:16 < machinehum> I was also thinking of a circuit to reverse the supply on the flash 2023-07-27T19:17:26 < machinehum> Or just dump that 10V on the data line 2023-07-27T19:18:10 < machinehum> Basically after a charge/dump there is 250mA of current floawing (says the supply), which I immagine is getting burned off my an ESD diode on the flash 2023-07-27T19:18:37 < machinehum> But my new 8GB flash works and it's only 4$ so that's a big W for me 2023-07-27T19:21:32 -!- CygniX [~CygniX@user/CygniX] has quit [Ping timeout: 240 seconds] 2023-07-27T19:36:40 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has joined ##stm32 2023-07-27T20:05:47 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-440a-84cf-d6f6-319f.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-07-27T20:06:41 -!- ventYl [~ventyl@bband-dyn96.178-40-12.t-com.sk] has quit [Ping timeout: 245 seconds] 2023-07-27T20:11:25 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-07-27T20:25:28 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-07-27T21:00:02 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-07-27T21:00:39 -!- nomorekaki [~nomorekak@176-93-9-74.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-27T21:06:27 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-27T21:07:30 < Laurence_b> anyone want to tell me wtf is going wrong with timers? 2023-07-27T21:07:32 < Laurence_b> https://pastebin.com/wL6cUvxr 2023-07-27T21:08:07 < Laurence_b> calling the function on line 216 causes issues 2023-07-27T21:09:07 < specing> > set_pwm_mask((1<<((half_bridges[left]&0x0F)-1))|(1<<((half_bridges[right]&0xF0)>>4)),(1<<((half_bridges[left]&0x0F)-1))) 2023-07-27T21:09:22 < specing> you should probably switch to rust so you can make this even more tersa and unreadable 2023-07-27T21:09:28 < specing> terse 2023-07-27T21:09:34 < Laurence_b> its called with arguments 0,0 (disables all PWM) at boot, then calling it with argument 0xFF,0xFF causes all PWM to turn on, but then if I turn off/on a second time, advanced control timers work fine, but second channel on other timers does not turn on 2023-07-27T21:09:56 < Laurence_b> that code isnt involved in reproducing the failure 2023-07-27T21:10:36 < Laurence_b> I'm guessing some sort of weird issue inside stm32duino libs 2023-07-27T21:11:01 < Laurence_b> its super weird how I have to cycle it twice to get the failure tho 2023-07-27T21:12:21 < Laurence_b> oh sheeeet 2023-07-27T21:12:24 < Laurence_b> line 227 2023-07-27T21:13:13 < Laurence_b> I think I need to implement a variant of that hack for all the timers 2023-07-27T21:14:39 < Laurence_b> a win for rubber duck debugging 2023-07-27T21:23:14 < Laurence_b> hmm actually no - thats a specific case for CH1 and CH1N being used at the same time 2023-07-27T21:47:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] 2023-07-27T22:27:41 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-07-27T22:35:41 < machinehum> https://www.washingtonpost.com/lifestyle/2023/07/27/ufo-aliens-congress-hearing-reaction/ 2023-07-27T22:35:45 < machinehum> What's going on guys 2023-07-27T23:01:41 < specing> the show 2023-07-27T23:09:13 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-27T23:09:19 < Laurence_b> found the source of the issue 2023-07-27T23:09:26 < Laurence_b> repeated calls to setPWM cause it --- Day changed pe heinä 28 2023 2023-07-28T00:19:20 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-07-28T00:48:28 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-28T01:14:01 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-28T01:23:34 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-28T01:23:36 < Laurence_b> oh sheet, found the bug 2023-07-28T01:23:43 < Laurence_b> its in the tardino codez 2023-07-28T01:24:03 < Laurence_b> their busy lock logic gets itself into lockup states 2023-07-28T02:24:22 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-28T03:02:10 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-07-28T03:40:54 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-28T03:52:23 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-07-28T04:06:26 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-28T04:28:34 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:e8fc:2f6c:aef9:fe2c] has quit [Ping timeout: 260 seconds] 2023-07-28T05:00:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-28T06:31:16 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-28T06:35:12 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 260 seconds] 2023-07-28T07:18:21 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-07-28T07:39:40 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-28T08:04:14 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-28T09:28:09 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-07-28T10:18:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-07-28T10:18:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-28T10:34:11 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-28T12:33:10 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-28T12:58:35 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-28T12:58:52 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-07-28T12:58:52 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-07-28T12:58:52 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-07-28T13:33:14 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-07-28T13:38:58 < karlp> anyone here done a nvme btrfs replacement? I only have one m2 slot, and want to replace the existing fat efi/boot and /boot + btrfs with just a clone + expand, but btrfs replace seems to expect both to be online at the same time. I do have a m2 usb caddy, but not sure "replace" to a usb attachment point and then just swap disks is correct? and that won't fix up the boot shit either. 2023-07-28T13:51:37 < zyp> this is a single device btrfs fs? 2023-07-28T13:57:39 < zyp> for duplicating a btrfs, it seems more useful to use btrfs send on the source fs and btrfs receive on the target fs 2023-07-28T13:58:21 < zyp> if you've got both devices available at once, you could pipe it, otherwise you could store it as a file 2023-07-28T14:03:59 < karlp> singel device, looks like this: https://bin.jvnv.net/file/PowQb.png and I I want to replace the whole disk with a bigger one. 2023-07-28T14:05:00 < karlp> It's probably easier to just re-install frrom scrach, and rsync -a /home afterwards, but it seems like there _should_ be a path for doing this. 2023-07-28T14:05:24 < zyp> yeah, btrfs send | btrfs receive 2023-07-28T14:07:00 < karlp> taht handles the btrfs chunk only though. so what, dd the first section of disk to the second one or something? 2023-07-28T14:07:46 < karlp> or do you mean, re-install, make a new btrfs thing, and then attach the old disk, and send from it to the new empty one? 2023-07-28T14:08:15 < zyp> make partition table on new drive, use dd or whatever to clone the other partitions, then btrfs send | btrfs receive to clone the btrfs partition 2023-07-28T14:08:36 < karlp> hrm. seems feasible 2023-07-28T14:09:04 < karlp> I kind afeel that home user disk upgrdes havenm't really gotten any simpler, like, forever 2023-07-28T14:09:14 < zyp> hmm, if this is a boot drive, I guess you could clone the entire start of the drive including partition table, and then resize the btrfs partition 2023-07-28T14:09:27 < zyp> maybe, can't remember the last time I did one 2023-07-28T14:09:59 < karlp> in the meantime, I'm podman pulling the same 2.4G image for the , I think 5th time now, trying to resolve uid mapping issues that are apparently an artifact of the published container 2023-07-28T14:10:07 < karlp> and it repulls the whole thing each time. 2023-07-28T14:10:16 < karlp> but horrya, looks like I finally mapped enough uids to make it happy 2023-07-28T14:10:27 < zyp> heh 2023-07-28T14:11:46 < karlp> fucking next steps in this build recipe don't work anyway. 2023-07-28T14:11:48 < karlp> good job. 2023-07-28T14:17:00 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 252 seconds] 2023-07-28T14:18:30 < specing> karlp: they are simple if you stick to sata cables :) 2023-07-28T14:19:56 < karlp> specing: not really... 2023-07-28T14:19:59 < karlp> what's changed? 2023-07-28T14:20:06 < karlp> what's gotten worse? 2023-07-28T14:20:14 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-07-28T14:20:17 < karlp> I'd have the same thing with multiple sata cables, or ide cables. 2023-07-28T14:20:23 < zyp> number of ports available on a typical motherboard 2023-07-28T14:20:32 < karlp> sure, but I have this nvme caddy, 2023-07-28T14:21:10 < karlp> not all pcs had enough physical slots for holding all the drives anyway. 2023-07-28T14:21:23 < karlp> ok, ameba for matter is a fucking train wreck. 2023-07-28T14:21:59 < karlp> onyl supported method of building is via a docker image, but the instructions are so outdated that it doesnt even come close to building anymore :) 2023-07-28T14:22:16 < specing> you don't need physical slots for doing migration - can have the disk outside as long as you can plug it in 2023-07-28T14:23:52 < karlp> right, what I was moaning was that the process is, imo, just as complicated and error prone as it always has, just the cables involved have changed shape. 2023-07-28T14:23:55 < specing> I meam, I know how hard it is if you have only one port anywhere.. i have a computer running of a compact flash card.. with no CF reader elsewhere. Thus for installs I have to PXE boot an OS. Perhaps you can explore doing the same 2023-07-28T14:26:28 < karlp> lol, realllly trying hard to stop people using their products hey? https://bin.jvnv.net/file/9iAvh.png 2023-07-28T14:27:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-28T14:30:06 < zyp> ah, gotta love watermarked datasheets 2023-07-28T14:30:12 < zyp> I've got some from macom 2023-07-28T14:31:15 < specing> karlp: you can decompress pdf with qpdf, delete that line, recompress 2023-07-28T14:31:34 < PaulFertser> Pelephone IL operator blocked bin.jvnv.net , wonder why. 2023-07-28T14:31:36 < specing> probably. As watermarks are usually text and not images 2023-07-28T14:32:04 < PaulFertser> Or pdftk 2023-07-28T14:32:12 < zyp> PaulFertser, people have been uploading malware to it before 2023-07-28T14:33:32 < PaulFertser> so you did nothing bad to the jews, just malware? Good to hear. 2023-07-28T14:34:24 < zyp> I've been thinking about moving it to a new subdomain and redirecting the old to the new, since the blacklists seem to be subdomain specific 2023-07-28T14:34:44 < zyp> should take care of the blacklist problem without breaking existing links 2023-07-28T14:41:28 < karlp> I couldn't give a rats arse about the watermark, it just makes me lol at the vendor thinking this makes people want to use their parts. 2023-07-28T14:41:54 < karlp> download sdk from github, following readme, it untars it's own toolchain that it included in the git repo. 2023-07-28T14:42:08 < karlp> the untar has permissions problems, which needs to be fixed before it even builds, 2023-07-28T14:42:23 < PaulFertser> The watermark is meant to see who breached NDA. 2023-07-28T14:42:31 < karlp> it then has a "make flash" that runs the gdb that it untarred itself, and tries to run a python script, 2023-07-28T14:42:41 < karlp> which then reports, "this version of gdb was built without python support" 2023-07-28T14:43:05 < karlp> PaulFertser: i get what it's for, but I didn't sign any nda anyway, just a eula shit. 2023-07-28T14:43:18 < karlp> I think this is about as far as I feel like trying this realtek ameba shit out :) 2023-07-28T14:43:34 < PaulFertser> Probably that EULA included a clause about non-disclosing the datasheet... 2023-07-28T14:45:04 < PaulFertser> realtek was never sane 2023-07-28T14:46:51 < karlp> I wanted it as a comparison platform for some matter shit, as it seemed to be "documented" in the matter tree, but that was a non-started, 2023-07-28T14:47:08 < karlp> now I'm just trying the plain "getting started on ameba-d" without matter and it's just as much of a shit show :) 2023-07-28T14:56:03 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-07-28T15:21:22 < karlp> lol. the onboard usb-ttl on the dev board can't be used for flashing new code... 2023-07-28T15:43:50 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-28T16:12:25 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-28T16:37:39 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-28T16:45:43 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-28T16:57:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-28T18:20:28 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-28T18:52:45 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-07-28T19:45:53 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-07-28T20:20:02 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-07-28T20:32:06 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-07-28T20:47:04 < bitmask> in the butt 2023-07-28T20:49:34 < bitmask> damn, just wasted an hour 2023-07-28T21:01:26 < Steffanx> Shit happens 2023-07-28T21:02:01 < bitmask> yup 2023-07-28T21:02:25 < bitmask> hmm, my phone isnt charging past 1% 2023-07-28T21:03:07 < bitmask> maybe its time to replace it, though its only 8 years old :/ 2023-07-28T21:07:13 < aandrew> shoutout to zyp, he had my orbtrace mini out to DHL damn near immediately after ordering it, and it arrived today. even came with the allen key to screw the case together and some helper bits to align the sticker 2023-07-28T21:11:58 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-28T21:12:00 < Laurence_b> https://firstlightfusion.com/technology/m4 2023-07-28T21:12:01 < Laurence_b> kek 2023-07-28T21:12:08 < Laurence_b> totally sane /s 2023-07-28T21:16:33 < aandrew> what are the projectiles it talks about? it mentions light a lot then "projectiles" 2023-07-28T21:16:52 < Laurence_b> pretty sure its all fake at this point 2023-07-28T21:17:05 < Laurence_b> in the prototype I think they are aluminium 2023-07-28T21:18:26 < Laurence_b> lolwut https://theconversation.com/kens-rights-our-research-shows-barbie-is-surprisingly-accurate-on-how-mens-rights-activists-are-radicalised-210273 2023-07-28T21:18:31 < Laurence_b> wtf I love ken now 2023-07-28T21:18:38 < bitmask> aandrew i think its this copper disk? 2023-07-28T21:18:40 < bitmask> disc? 2023-07-28T21:18:49 < aandrew> yeah I watched the video and it looked coppery 2023-07-28T21:18:51 < bitmask> i saw a doc about that place 2023-07-28T21:19:09 < Laurence_b> bitmask: when they proposed a town sized device they lost all credibility 2023-07-28T21:20:47 < bitmask> I dont know if its any better, but it seemed interesting at least, did you see the one that creates a wave that hits a central point from left and right and they extract the electricity directly from the created magnetic field instead of heating something to run a turbine? that was a shitty description but if youve seen it you probably understand what im saying 2023-07-28T21:21:40 < Laurence_b> Helion energy? 2023-07-28T21:21:41 < aandrew> sounds interesting but what creates the magnetic field? 2023-07-28T21:21:47 < Laurence_b> yeah they seem a lot more sane 2023-07-28T21:21:48 < bitmask> yeaaaa that sounds right 2023-07-28T21:22:09 < bitmask> yea thats it 2023-07-28T21:24:16 < aandrew> what's with every fucking website trying to take over scroll to do video 2023-07-28T21:24:16 < PaulFertser> Why are you not raging about LK-99 BTW? 2023-07-28T21:24:51 < bitmask> whoa, is it real? i havent heard anything 2023-07-28T21:24:56 < aandrew> dunno all this "we capture magnetic fields" makes me think that any induction will slow down the reaction, conservation of energy style 2023-07-28T21:25:30 < bitmask> aandrew but isnt it all just do the reaction, take the energy, start over? 2023-07-28T21:25:42 -!- drzacek [~drzacek@2a01:3d8:3f0:fc00:99c8:7cee:4954:ddfe] has joined ##stm32 2023-07-28T21:25:43 < bitmask> i dont think its trying to sustain anything 2023-07-28T21:26:07 < aandrew> that's the question, I'm not sure. and they're using magnetic containment which makes me think that stealing the fields is going to be a challenge 2023-07-28T21:26:19 < aandrew> but I'm not well versed in all of this so I'm just being skeptical 2023-07-28T21:26:46 < bitmask> yea pretty sure its not meant to be a sustained reaction so thats not a problem, but not sure about how they plan to extract it 2023-07-28T21:27:21 < bitmask> im sure it takes a lot of energy to confine everything and do that process so they would need to get a lot out of each run 2023-07-28T21:27:27 < aandrew> the "direct to energy" is nice though, elimiinate the heat to steam, drive turbine step 2023-07-28T21:27:32 < bitmask> right 2023-07-28T21:28:34 < bitmask> i wonder which takes more energy, the kind that use lasers or this 2023-07-28T21:29:07 < BrainDamage> any charged particle that moves creates a magnetic field 2023-07-28T21:29:30 < bitmask> yea but how do you extract it? 2023-07-28T21:29:35 < BrainDamage> a coil 2023-07-28T21:29:36 < PaulFertser> bitmask: it's not clear if it's real or not, people are trying to reproduce now 2023-07-28T21:29:55 < PaulFertser> But I expected Laurence_b to get excited from the news either way 2023-07-28T21:29:57 < BrainDamage> extracting energy is trivial, producing the situation is not 2023-07-28T21:30:57 < Laurence_b> LK-99 is the new em-drive 2023-07-28T21:31:02 < Laurence_b> or eestor 2023-07-28T21:31:08 < bitmask> actually nevermind, i was thinking there was a hinderance because of the confinement but i mean its possible you can use the confinement coils themselves even 2023-07-28T21:31:14 < Laurence_b> I wonder what happened to u-beam 2023-07-28T21:32:00 < BrainDamage> LK-99 compared to most superconductors is almost trivial to fab, I espect that it's either replicated widely, or fallen into oblivion fast 2023-07-28T21:33:24 < PaulFertser> I wonder why nobody independent just came to their lab to test what they have there. 2023-07-28T21:33:43 < BrainDamage> most labs are not interested in replication 2023-07-28T21:33:57 < BrainDamage> because scientific journals are heavily biased towards original research 2023-07-28T21:34:09 < BrainDamage> it's part of the overall replication crysis 2023-07-28T21:35:27 < bitmask> it is a very easy process 2023-07-28T21:35:53 < BrainDamage> easy compared to cuprates and easy are not the same thing 2023-07-28T21:36:06 < bitmask> An initial paper was submitted to Nature in 2020, but rejected 2023-07-28T21:36:18 < aandrew> but wouldn't the first labs to produce it also be among the first who can start commercializing it? 2023-07-28T21:36:27 < BrainDamage> no 2023-07-28T21:36:48 < Laurence_b> the state of this guy 2023-07-28T21:36:50 < Laurence_b> https://nitter.kavin.rocks/andrewmccalip/status/1684970077400256512#m 2023-07-28T21:36:54 < BrainDamage> being able to produce in a lab means very little compared to commercialization 2023-07-28T21:37:03 < Laurence_b> just plot a csv file with octave already 2023-07-28T21:37:14 < Laurence_b> and get on with the real work 2023-07-28T21:37:29 < BrainDamage> many times in the past we had "100 GHz transistors made of graphene", they really worked too 2023-07-28T21:37:48 < BrainDamage> except we can only make one spending months of manual labor 2023-07-28T21:38:18 < BrainDamage> and spending ridicolous amounts of money 2023-07-28T21:38:31 < bitmask> after reading it just doesnt seem real 2023-07-28T21:40:07 < aandrew> BrainDamage: sure, but by making it you can also figure out how to reduce costs/time, no? 2023-07-28T21:40:23 < BrainDamage> it's a bit too good to be true 2023-07-28T21:40:32 < aandrew> I mean that nitter thing just shows he created some brown dust in a vacuum and is baking the shit out of it 2023-07-28T21:40:33 < BrainDamage> aandrew: no 2023-07-28T21:41:11 < BrainDamage> or at least, not necessarily 2023-07-28T21:41:16 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-28T21:41:29 < BrainDamage> it's a _required_ step, but it's far from sufficient 2023-07-28T21:42:08 < BrainDamage> so replicating it is necessary, but won't necessarily lead you to a commercial product 2023-07-28T21:43:39 < aandrew> sure but it seems logical - there's always other ways but having first-hand experience making it and tweaking it seems like a logical step to learning how to commercialize it 2023-07-28T21:43:58 < aandrew> at a minimum, having a supply of it onhand for experiements so you can figure out what it can do 2023-07-28T21:44:49 < BrainDamage> oh, and I forgot, there's also so many other issues for commercialization 2023-07-28T21:45:19 < BrainDamage> like, supply chain security, can you ensure that you can source the materials reliably? from how many vendors? what about price hikes? 2023-07-28T21:45:32 < BrainDamage> or the instrumentation to produce it 2023-07-28T21:45:53 < BrainDamage> if everyone is jumping to try to make it, the instrumentation and raw materials are going to end up scarce 2023-07-28T21:46:38 < bitmask> vacuum furnaces? 2023-07-28T21:47:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-07-28T21:49:21 < bitmask> lead, copper, and phosphorus don't seem like they are running out anytime soon 2023-07-28T22:03:53 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-07-28T22:23:00 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-28T22:38:47 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-28T22:44:45 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Quit: Leaving] 2023-07-28T23:20:37 -!- drzacek [~drzacek@2a01:3d8:3f0:fc00:99c8:7cee:4954:ddfe] has quit [Quit: Leaving] 2023-07-28T23:21:56 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-07-28T23:34:56 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-28T23:58:02 < catphish> my STM32 flies good now :) --- Day changed la heinä 29 2023 2023-07-29T00:22:22 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-07-29T01:12:08 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-29T01:42:54 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 250 seconds] 2023-07-29T01:48:37 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-29T01:52:47 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 264 seconds] 2023-07-29T01:57:20 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-29T02:05:25 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-29T02:17:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-07-29T02:21:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-29T02:41:33 < jbo> zyp, you up? 2023-07-29T02:44:48 < zyp> sure 2023-07-29T02:50:33 < zyp> jbo, was that itself what you were wondering about? 2023-07-29T02:51:39 < jbo> zyp, nah 2023-07-29T02:51:51 < jbo> zyp, you once mentioned that ECP5 has a nice open-source toolchain. would that be yosys? 2023-07-29T02:52:05 < zyp> yosys is part of it 2023-07-29T02:52:44 < zyp> I guess you could argue yosys is half, nextpnr is the other half, and then there's some minor stuff like ecppack and friends as well 2023-07-29T02:53:14 < zyp> generally I don't pay too much attention to how all that fits together, I typically use litex and litex knows how to drive the toolchain 2023-07-29T02:53:39 < zyp> as for installing it, grab this, it got everything you need: https://github.com/YosysHQ/oss-cad-suite-build 2023-07-29T02:54:22 < jbo> aye, thanks! 2023-07-29T02:57:50 < zyp> speaking of FPGAs: https://cdn.discordapp.com/attachments/1043083461478580304/1134464755977965608/IMG_20230724_160008.jpg 2023-07-29T02:58:45 < jbo> that looks like progress! nice! 2023-07-29T02:58:57 < zyp> https://bin.jvnv.net/file/pub52.mp4 2023-07-29T02:59:07 < zyp> https://cdn.discordapp.com/attachments/1043083461478580304/1133875528223445133/IMG_20230726_233311.jpg 2023-07-29T03:00:45 < zyp> https://bin.jvnv.net/file/dAq9O.mp4 2023-07-29T03:01:21 < jbo> very nice, sir! 2023-07-29T03:02:34 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-29T03:04:15 < zyp> so so far I've got the FPGA stuff itself up and running, as well as the teach pendant and the lights on the front panel of the control cabinet 2023-07-29T03:04:56 < zyp> I don't have the inputs from the front panel yet, they go to a SPI input buffer that I haven't written a driver for yet, and then I also need to write a driver for the SPI ADCs 2023-07-29T03:05:33 < zyp> and then I'm halfway into implementing support for the position encoders on the motor 2023-07-29T03:06:28 < zyp> well, halfway might be an overstatement, so far I've got this: https://bin.jvnv.net/file/yhDxd.png 2023-07-29T03:07:03 < zyp> those are request pulses that in theory should trigger the encoders to send a response 2023-07-29T03:08:24 < zyp> I was gonna test this at the workshop earlier tonight, but I got interrupted and now it's the middle of the night :) 2023-07-29T03:09:24 < zyp> I wanna check that I'm getting the expected response and check signal polarities before I write the code to parse the response 2023-07-29T03:09:25 < jbo> glad to hear that you're making good progress on this! 2023-07-29T03:09:38 < jbo> I am afraid my notebook is running out of juice tho 2023-07-29T05:12:46 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-29T05:45:22 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 245 seconds] 2023-07-29T06:03:55 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-29T06:12:14 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-29T06:32:08 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-29T06:54:35 -!- qyx [~qyx@84.245.120.137] has quit [Ping timeout: 264 seconds] 2023-07-29T06:56:27 -!- qyx [~qyx@84.245.121.64] has joined ##stm32 2023-07-29T07:02:08 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-29T07:16:20 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-29T07:47:27 -!- Kerr [~quassel@174.31.123.232] has joined ##stm32 2023-07-29T07:58:20 -!- Kerr [~quassel@174.31.123.232] has quit [Ping timeout: 246 seconds] 2023-07-29T07:59:06 -!- Kerr [~quassel@174.31.110.181] has joined ##stm32 2023-07-29T08:05:15 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-29T08:11:41 -!- Kerr [~quassel@174.31.110.181] has quit [Ping timeout: 245 seconds] 2023-07-29T08:32:31 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-29T08:39:02 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-07-29T08:41:52 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 258 seconds] 2023-07-29T09:37:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-29T11:02:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-29T13:03:22 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-29T14:45:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-29T14:57:34 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-29T15:03:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-29T15:07:15 -!- ferdna_ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-29T15:09:42 -!- drzacek [~drzacek@2a01:3d8:3f8:a600:5918:bc38:40e6:9485] has joined ##stm32 2023-07-29T16:25:19 -!- drzacek [~drzacek@2a01:3d8:3f8:a600:5918:bc38:40e6:9485] has quit [Quit: Leaving] 2023-07-29T16:39:20 < karlp> what's a "teach pendant" ? 2023-07-29T16:44:19 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-29T17:13:44 < zyp> a handheld control panel used to «teach» industrial robots what to do 2023-07-29T17:16:02 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-29T17:16:05 < Laurence_b> wtf olimex 2023-07-29T17:16:23 < Laurence_b> their pic16f on their pcd shield board is only running at 500kHz 2023-07-29T17:16:28 < Laurence_b> no wonder its glitchy 2023-07-29T17:16:33 < zyp> verified that the position encoders are responding today: https://bin.jvnv.net/file/KwXAP.mp4 2023-07-29T17:17:21 < zyp> haven't hooked up the brake release yet, so I couldn't really move it much, but enough to confirm it's registering movement and that the data is LSB first 2023-07-29T17:21:29 < Laurence_b> at least its trivial to fix, but I need to find a pic programmer 2023-07-29T17:21:45 < Laurence_b> hmm maybe someone has written a tarduino script to turn it into a pic brogrammer 2023-07-29T17:51:58 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-29T21:01:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-07-29T21:22:08 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-29T21:46:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-29T22:05:51 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-29T22:29:58 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-29T22:49:28 -!- nomorekaki [~nomorekak@87-93-219-75.bb.dnainternet.fi] has joined ##stm32 2023-07-29T23:13:46 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-29T23:15:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-07-29T23:16:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-29T23:20:11 < nomorekaki> hello dear 2023-07-29T23:28:13 < Steffanx> Gooday love. --- Day changed su heinä 30 2023 2023-07-30T00:02:02 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-07-30T00:04:49 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-30T00:37:42 < nomorekaki> room temp superconductors apparently discovered 2023-07-30T00:38:18 < nomorekaki> LK-99 2023-07-30T00:39:54 < nomorekaki> https://en.wikipedia.org/wiki/LK-99 2023-07-30T00:43:02 < nomorekaki> room temp + standard athmosphere 2023-07-30T00:53:56 < PaulFertser> nomorekaki: want to bet it proves to be a superconductor? 2023-07-30T00:54:16 < nomorekaki> not really 2023-07-30T00:55:06 < nomorekaki> *superconductors with claimed operating environment parameters 2023-07-30T01:27:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] 2023-07-30T01:33:00 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-07-30T02:27:46 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-07-30T04:08:51 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-30T06:25:16 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-07-30T07:09:26 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-30T07:10:01 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-30T07:44:39 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-30T07:44:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Excess Flood] 2023-07-30T07:45:02 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-30T08:07:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-30T08:38:20 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-07-30T09:26:40 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-30T10:26:39 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 260 seconds] 2023-07-30T10:33:17 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-30T10:38:56 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-30T10:53:29 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-30T13:05:40 -!- LFSveteran [~LFSvetera@keymaker.msrv.nl] has quit [Ping timeout: 252 seconds] 2023-07-30T13:53:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-30T13:56:56 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-30T14:15:30 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-51d7-8a2f-f755-e666.fixed6.kpn.net] has joined ##stm32 2023-07-30T14:59:25 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-51d7-8a2f-f755-e666.fixed6.kpn.net] has quit [Ping timeout: 244 seconds] 2023-07-30T16:24:38 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-30T16:26:07 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 2023-07-30T19:34:29 -!- nomorekaki [~nomorekak@87-93-219-75.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-07-30T19:35:19 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 244 seconds] 2023-07-30T19:54:32 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-30T20:23:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-07-30T20:24:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-30T20:52:53 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-07-30T21:31:52 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-07-30T21:44:14 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-30T21:52:30 -!- drzacek [~drzacek@2a01:3d8:4e5:1c00:a410:1b9c:7439:3832] has joined ##stm32 2023-07-30T22:02:02 -!- ventYl [~ventyl@bband-dyn96.178-40-12.t-com.sk] has joined ##stm32 2023-07-30T22:16:39 -!- alan_o [~alan_o@2600:1700:1902:210f:481d:9297:9ff2:65e] has quit [Remote host closed the connection] 2023-07-30T22:39:03 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-30T22:39:03 -!- drzacek [~drzacek@2a01:3d8:4e5:1c00:a410:1b9c:7439:3832] has quit [Quit: Leaving] 2023-07-30T22:39:05 < Laurence_b> lmao 2023-07-30T22:39:19 < Laurence_b> eeeeeeeevbloog has ""busted"" lk-99 2023-07-30T22:39:31 < Laurence_b> wtf I don't believe its real now 2023-07-30T23:16:16 < PaulFertser> Now that's Laurence_b I knew 2023-07-30T23:18:04 < qyx> Laurence_b: cannot be lk99 used to make emdrive actually work? 2023-07-30T23:23:43 < jbo> Laurence_b, any update on the lolimex issue? 2023-07-30T23:24:04 < jbo> on Friday I "found out" that the USB<-->UART converted I got from the Olimex store is using a fake chip 2023-07-30T23:24:25 < Steffanx> Hah. 2023-07-30T23:24:44 -!- nomorekaki [~nomorekak@188-67-134-21.bb.dnainternet.fi] has joined ##stm32 2023-07-30T23:24:56 < nomorekaki> englishman: bestest mod for your tesla https://www.youtube.com/watch?v=hHhf223jGIE 2023-07-30T23:24:57 < Steffanx> Ftdi jbo? 2023-07-30T23:25:09 < jbo> prolific pl2303 2023-07-30T23:25:21 < qyx> did you rma it? 2023-07-30T23:25:32 < Steffanx> Oh prolific wouldn't even consider getting something with that 2023-07-30T23:25:35 < jbo> no, has been a few months since I got it 2023-07-30T23:25:48 < jbo> Steffanx, yeah I had no idea when I added it to the order 2023-07-30T23:26:04 < qyx> wut, pl2303 just works 2023-07-30T23:26:16 < jbo> not on windows if it's a fake chip :D 2023-07-30T23:26:18 < Laurence_b> jbo: I managed to fix the lolimex firmware 2023-07-30T23:26:20 < qyx> never had a single problem wit it 2023-07-30T23:26:22 < Steffanx> On windows they even stopped supporting chips released before 2017 2023-07-30T23:26:29 < Laurence_b> but I need a pic16f brogrammer 2023-07-30T23:26:36 < Laurence_b> will try using a tarduino to do it next week 2023-07-30T23:26:37 < Steffanx> You have to install an old driver manually. 2023-07-30T23:26:46 < jbo> yeah fuck that 2023-07-30T23:26:59 < qyx> fuk windows, who ever uses that in 2023 2023-07-30T23:27:03 < jbo> I get that olimex probably doesn't build the thing itself but ffs wouldn't they even check? 2023-07-30T23:27:08 < jbo> or worse: they know and don't care? 2023-07-30T23:28:09 < Steffanx> Do non-fake prolific chips even exist? 2023-07-30T23:28:17 < Steffanx> fake as in clone. 2023-07-30T23:29:04 < Steffanx> I assume yours does work on lunix/whateverbsd 2023-07-30T23:29:37 < qyx> yes, using only pro software for work 2023-07-30T23:30:17 < qyx> a kitty dies everytimeyou try to persuade windows to support you doing your work 2023-07-30T23:30:18 < Laurence_b> I've always used silabs usb-usart 2023-07-30T23:31:35 < jbo> Steffanx, yeah I've been using that olimex usb-uart adapter for months on BSD now. Last Friday I wanted to use it under Windows 10 and that is when I found out that Olimex truly sucks these days 2023-07-30T23:31:45 < jbo> (after the previous issue I had with them, now this...) 2023-07-30T23:34:47 < englishman> lol nomorekaki why did he have to get the loudest motor on the planet 2023-07-30T23:35:14 < nomorekaki> that thing looking like muffler isn't one 2023-07-30T23:35:44 < Laurence_b> yeah olimex is piss poor 2023-07-30T23:36:03 < Laurence_b> I bought a olimexino and a 16x2 LCD with i2c adaptor 2023-07-30T23:36:35 < Laurence_b> both a broken - olimexino needed an inductor swap for the smps, and LCD needed me to write new firmware 2023-07-30T23:36:39 < Laurence_b> *are 2023-07-30T23:36:58 < nomorekaki> englishman, my moped had that exact cheapo muffler and I can confirm it doesn't muffle at all 2023-07-30T23:37:36 < englishman> i can’t imagine the noise of that crap while doing all that driving in addition to the noisy car because there’s no rear glass 2023-07-30T23:38:50 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 245 seconds] 2023-07-30T23:39:12 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-07-30T23:40:02 < BrainDamage> I wonder what happens when it rains 2023-07-30T23:40:20 < nomorekaki> motor heat will vaporize it all 2023-07-30T23:40:21 < BrainDamage> cold water impinging on the hot engine won't do good I bet 2023-07-30T23:40:46 < BrainDamage> it'll rust like crazy tho 2023-07-30T23:46:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 252 seconds] 2023-07-30T23:59:20 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has quit [Ping timeout: 244 seconds] --- Day changed ma heinä 31 2023 2023-07-31T00:05:34 < Laurence_b> If I might interject here: Despite not being of Australian origin, I can understand how one could interpret eevblogs remarks as being tinged with obnoxiousness. In my personal analysis, however, I found his comments to be injected with a considerable amount of wit and humor. 2023-07-31T00:05:56 < Laurence_b> new copypasta just dropped 2023-07-31T00:07:18 < Laurence_b> >as a non-australian but native English speaker, I found the video annoying because it's padded and the jokes/sarcasm were just not funny. If you trim out his YouTube-OverReactions, I think the video goes down to like 1.5 minutes in my mind and still conveys the same information, that is to say, zero information. 2023-07-31T00:10:57 -!- specing [~specing@user/specing] has joined ##stm32 2023-07-31T00:12:30 < nomorekaki> anyone from denmark here? 2023-07-31T00:18:00 < jbo> this is a denmark-only channel 2023-07-31T00:21:55 < nomorekaki> jbo is denmark? 2023-07-31T00:22:16 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-07-31T00:26:11 < Steffanx> Ofcourse 2023-07-31T00:26:30 < Steffanx> Keep your tabs up to date nomorekaki 2023-07-31T00:43:48 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-31T00:53:49 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-07-31T01:02:32 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has quit [Ping timeout: 250 seconds] 2023-07-31T01:11:59 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-07-31T01:25:05 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-07-31T01:36:24 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-07-31T01:56:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-07-31T01:59:12 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-07-31T02:05:59 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 264 seconds] 2023-07-31T02:46:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-31T02:47:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-31T02:47:49 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-31T03:19:35 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-07-31T03:57:59 -!- nomorekaki [~nomorekak@188-67-134-21.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-07-31T04:17:13 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-07-31T04:19:52 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 240 seconds] 2023-07-31T04:20:56 -!- begriffs [~begriffs@user/begriffs] has quit [Client Quit] 2023-07-31T04:25:00 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-07-31T04:38:37 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-07-31T04:40:56 -!- CygniX [~CygniX@user/CygniX] has left ##stm32 [] 2023-07-31T04:43:30 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-07-31T04:53:30 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has quit [Ping timeout: 252 seconds] 2023-07-31T05:12:59 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-31T05:19:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-07-31T05:21:24 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-31T05:36:54 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-07-31T05:49:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-31T06:06:17 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 250 seconds] 2023-07-31T06:47:55 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-07-31T06:59:36 -!- qyx [~qyx@84.245.121.64] has quit [Ping timeout: 245 seconds] 2023-07-31T07:01:25 -!- qyx [~qyx@84.245.121.17] has joined ##stm32 2023-07-31T07:29:40 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5329))] 2023-07-31T07:29:45 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-07-31T07:34:36 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-07-31T07:56:54 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-07-31T07:58:29 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-07-31T09:14:00 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-07-31T11:41:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-31T12:04:27 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-07-31T13:38:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-07-31T13:43:46 < jbo> qyx, received tme order 2023-07-31T13:44:28 < qyx> me too 2023-07-31T13:44:42 < qyx> with this inside https://bin.jvnv.net/file/76Kgy/IMG_2023-07-31-11-38-29-837.jpg 2023-07-31T13:44:57 < jbo> wtf 2023-07-31T13:45:25 < qyx> no clue but cool pic 2023-07-31T13:45:31 < jbo> idd 2023-07-31T13:45:34 < jbo> enjoy 2023-07-31T13:47:58 < jbo> hmm. eurocircuit has problems with one of my designs. first time I receive a non-good on any of the PCBs I send them to fab. 2023-07-31T13:48:29 < jbo> it's a 4L board, one of the inner layers is unused so it just contains single pads. they are saying: 2023-07-31T13:48:30 < jbo> Your PCB data has an inner circuit layer containing only single pads. 2023-07-31T13:48:30 < jbo> During data preparation the single pads at inner layers are removed so this will result in an empty inner layer. 2023-07-31T13:48:40 < jbo> why? 2023-07-31T13:49:02 < qyx> why is it unused, I would ground it 2023-07-31T13:49:32 < qyx> it may do nasty things if left floating 2023-07-31T13:50:38 < zyp> seems silly to not put a plane there 2023-07-31T13:50:53 < karlp> seems ... precious to complain about it too though? 2023-07-31T13:50:57 < karlp> perhaps call it helpful? :) 2023-07-31T13:51:36 < jbo> I'm not complaining. I'd just like to understand their reasoning :) 2023-07-31T13:51:39 < jbo> as a fab 2023-07-31T13:51:56 < karlp> it could well be "did you do something wrong here? would you like to fix it?" 2023-07-31T13:52:04 < karlp> one of the advantages of a human in the loop at some fabs. 2023-07-31T13:52:05 < zyp> that's what I interpreted it as 2023-07-31T13:52:19 < karlp> fully automated places will just run it. 2023-07-31T13:52:39 < jbo> ah. I was wondering whether that "screws with their machinery" or whatever but I didn't come up with a scenario where that would be a problem 2023-07-31T13:53:06 < zyp> jlc actually raised four issues with the order I put in a few weeks ago 2023-07-31T13:53:23 < jbo> stop giving the chinese money 2023-07-31T13:53:36 < jbo> "here's 8$ for 50 pcbs" tho, lol 2023-07-31T13:54:14 < zyp> although those were all assembly-related 2023-07-31T13:54:47 < qyx> I stopped and now I am ordering at jlc again, because that's the fastest and most reasonable way of getting anything made 2023-07-31T13:54:52 < qyx> without paying 500€ 2023-07-31T13:54:59 < zyp> yeah 2023-07-31T13:55:14 < jbo> I'll try them... 2023-07-31T13:55:32 < qyx> aisler is ok for simple things but otherwise has limied possibilities and it takes longer to deliver 2023-07-31T13:55:41 < zyp> I mean, I put in the order in the evening on the 16th, and it arrived the 24th 2023-07-31T13:55:43 < BrainDamage> you have to be rich to be able to afford to have morals in business 2023-07-31T13:55:44 < jbo> aisler is so slow man 2023-07-31T13:55:46 < qyx> aisler's 4L is 8 days, jlc is 24 hours usually 2023-07-31T13:56:05 < jbo> I just default to eurocircuits 2023-07-31T13:56:12 < zyp> and those were *assembled* boards 2023-07-31T13:56:59 < zyp> https://cdn.discordapp.com/attachments/813547772337979442/1132973990630141952/IMG_20230724_115338.jpg 2023-07-31T13:58:07 < jbo> yeah. next hobby project I'll try them 2023-07-31T13:58:34 < qyx> hobby bobby 2023-07-31T13:58:50 < qyx> k let's assemble those expensive M8 connectors 2023-07-31T13:59:07 < jbo> jlc doesn't accept .kicad uploads, right? (not that that is a no-go) 2023-07-31T13:59:27 < qyx> I failed with them at aisler 2023-07-31T13:59:35 < qyx> kikecad 7 has some bug when opening older designs 2023-07-31T13:59:51 < qyx> they made 3 batches of unusable boards 2023-07-31T13:59:57 < zyp> no idea, I would never consider submitting anything other than actual gerbers 2023-07-31T14:00:06 < qyx> (they are using kicad7, I am not) 2023-07-31T14:00:21 < zyp> too much potential of fucking up the gerber export if you outsource it 2023-07-31T14:00:35 < jbo> had zero issues with it over at aisler & eurocircuits so far 2023-07-31T14:00:39 < jbo> but I get your point 2023-07-31T14:02:10 < karlp> as I was told back as an intern, "in what world would you choose to send design files to a manufacturing place, instead of manufacturing files? are you _trying_ to make it easy to clone/redo your stuff?" 2023-07-31T14:03:08 < jbo> I also get that point. aisler was only for odd-job hobby stuff. and eurocircuits I'd consider somewhat professional :D 2023-07-31T14:03:34 < karlp> last I looked only people who could afford eurocircuits were swiss gold hoarders.... 2023-07-31T14:04:17 < qyx> lol 2023-07-31T14:04:30 < jbo> salty 2023-07-31T14:04:31 < qyx> grumrlp 2023-07-31T14:05:05 < karlp> what would I know, I'm just an unemployed bum now anyway :) 2023-07-31T14:05:35 < karlp> time to go and buy cheese slicers... 2023-07-31T14:08:38 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-07-31T14:08:39 < qyx> I need jpa's HV generator 2023-07-31T14:21:03 < qyx> oh that's easy peasy, if the ESD test is 8 kV into 100p cap and I have 100n to ground on the input, I may expect 8 V max 2023-07-31T14:21:27 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-07-31T14:22:15 < qyx> so a 75 V GDT followed with a LC filter is gonna protect me even during the apocalypse 2023-07-31T14:22:29 < qyx> except in a continuous overvoltage 2023-07-31T14:38:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 258 seconds] 2023-07-31T14:50:44 -!- drzacek [~drzacek@2a01:3d8:4f3:fd00:608d:ffab:337e:23f7] has joined ##stm32 2023-07-31T15:07:56 -!- drzacek [~drzacek@2a01:3d8:4f3:fd00:608d:ffab:337e:23f7] has quit [Read error: Connection reset by peer] 2023-07-31T15:08:14 -!- drzacek [~drzacek@2a01:3d8:4f3:fd00:608d:ffab:337e:23f7] has joined ##stm32 2023-07-31T16:07:06 -!- alan_o [~alan_o@2600:1700:1902:210f:e9cc:88ed:74d4:4813] has joined ##stm32 2023-07-31T16:07:55 -!- drzacek [~drzacek@2a01:3d8:4f3:fd00:608d:ffab:337e:23f7] has quit [Quit: Leaving] 2023-07-31T16:31:14 < catphish> i finally gave in and did my first successful project with HAL, i don't hate it as much as i thought, but will probably only consider using it for commercial projects where time matters 2023-07-31T16:34:32 < zyp> heh 2023-07-31T16:35:29 < zyp> to me it seems like if time matters, you should use something that'll take less time than fighting with HAL :) 2023-07-31T16:36:26 < zyp> the only thing I'd use HAL for is if I were working on an existing codebase built on HAL 2023-07-31T16:41:45 < catphish> i don't love it, but for most thing it does seem to just work 2023-07-31T16:47:33 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-07-31T16:55:50 < veverak> for some reason I feel like snowflake about this 2023-07-31T16:55:52 < veverak> HAL just works :) 2023-07-31T17:19:31 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-07-31T17:32:58 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-07-31T17:53:01 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-07-31T18:03:01 < jbo> everything is awesome 2023-07-31T18:03:58 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-07-31T18:22:41 < catphish> help: why my ADC not finish calibrate? :( 2023-07-31T18:23:16 < catphish> ADC_CR_ADCAL seems to stay set forever 2023-07-31T18:24:54 < zyp> you forgot to turn on ADC clock or something 2023-07-31T18:25:18 < zyp> you haven't said which chip you've got, but it's often on a separate RCC output 2023-07-31T18:25:34 < catphish> i paste code :) 2023-07-31T18:26:37 < catphish> it's G4, here's code: https://paste.debian.net/1287468/ 2023-07-31T18:26:44 < catphish> definitely feels like i missed a clock somewhere 2023-07-31T18:27:48 < zyp> catphish, probably these: https://bin.jvnv.net/file/keZRX.png 2023-07-31T18:28:01 < zyp> in RCC_CCIPR 2023-07-31T18:28:10 < catphish> looks promising, thanks! <3 2023-07-31T18:32:42 < catphish> it didn't help, and perhaps more puzzling, i never used that register for any other peripheral, and they all work 2023-07-31T18:33:13 < zyp> most of them defaults to a usable clock, ADC defaults to no clock 2023-07-31T18:33:23 < catphish> oh, most have a sane default 2023-07-31T18:33:29 < catphish> yeah, i see 2023-07-31T18:37:18 < zyp> here's some G4 ADC init code I've used before: https://paste.jvnv.net/view/vW0y3 2023-07-31T18:37:28 < catphish> i have an idea 2023-07-31T18:39:01 < catphish> works now, you were correct, my test was bad, thanks! 2023-07-31T18:41:13 -!- hackkitten [~hackkitte@94.31.104.136] has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in] 2023-07-31T18:41:32 -!- hackkitten [~hackkitte@94.31.104.136] has joined ##stm32 2023-07-31T19:03:43 < catphish> oh. one more thing - on both my G4 projects. it seems the calibration doesn't actually zero the ADC, do i have to do something to actually *apply* the calibration value? 2023-07-31T19:07:59 < catphish> oh, actually, i think i'm being dumb and it is zero'd 2023-07-31T19:27:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-07-31T21:07:15 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-07-31T21:18:36 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 244 seconds] 2023-07-31T21:23:14 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-07-31T21:28:15 < Steffanx> Should've used HAL :P 2023-07-31T21:40:47 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has quit [Ping timeout: 264 seconds] 2023-07-31T21:52:12 -!- machinehum2 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has joined ##stm32 2023-07-31T22:03:51 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc69-d0b5-21f4-98eb.fixed6.kpn.net] has joined ##stm32 2023-07-31T22:13:22 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc69-d0b5-21f4-98eb.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-07-31T22:29:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-07-31T22:30:28 < bitmask> made $800 this week, not bad for sitting there selecting AI responses 2023-07-31T22:33:07 < Steffanx> Only 3.4 years more ;) 2023-07-31T22:33:23 < bitmask> ? 2023-07-31T22:39:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] 2023-07-31T22:41:23 -!- machinehum2 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has quit [Ping timeout: 246 seconds] 2023-07-31T22:47:42 < Steffanx> Then you have made a million 2023-07-31T22:53:51 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-07-31T22:53:53 < Laurence_b> https://nitter.kavin.rocks/iris_IGB 2023-07-31T22:53:56 < Laurence_b> wtf is this autism 2023-07-31T22:54:03 < Laurence_b> >Russian autism 2023-07-31T22:54:15 < Laurence_b> even worse than britbong autism 2023-07-31T22:55:01 < Laurence_b> supposedly lk-99 replication is buried in that assburgerposting 2023-07-31T22:56:18 < BrainDamage> the process seems so easy compared to the literal bomb-making of cuprates that there's no need to focus on a single person in praticular 2023-07-31T22:56:33 < BrainDamage> if it works, we'll be getting hundreds of hits within a week or two 2023-07-31T22:56:58 < BrainDamage> so no need to fuss on a single account's claims 2023-07-31T22:57:20 < Laurence_b> yeah I think I've been trolled, I see no replication in there 2023-07-31T22:58:17 < Laurence_b> https://nitter.kavin.rocks/iris_IGB/status/1685326230046855169#m 2023-07-31T22:58:22 < Laurence_b> soy meme intensifies 2023-07-31T23:33:12 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] --- Log closed ti elo 01 00:00:22 2023