--- Log opened ti elo 01 00:00:22 2023 2023-08-01T00:58:59 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-08-01T01:10:30 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-08-01T03:12:16 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-01T05:04:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-01T05:10:38 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:88ec:4069:3d41:e906] has joined ##stm32 2023-08-01T05:15:00 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:88ec:4069:3d41:e906] has quit [Ping timeout: 246 seconds] 2023-08-01T05:18:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-01T05:20:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-01T05:31:27 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-01T05:44:17 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:88ec:4069:3d41:e906] has joined ##stm32 2023-08-01T05:48:50 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:88ec:4069:3d41:e906] has quit [Ping timeout: 245 seconds] 2023-08-01T05:49:34 < machinehum> wtf is https://nitter.kavin.rocks/ 2023-08-01T06:23:17 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 245 seconds] 2023-08-01T06:23:55 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-08-01T06:39:55 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 240 seconds] 2023-08-01T06:40:46 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-08-01T06:45:40 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-01T06:54:26 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-01T07:11:37 < BrainDamage> have you tried pressing the about button? 2023-08-01T07:27:52 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-08-01T07:38:18 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-01T07:38:18 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Excess Flood] 2023-08-01T07:38:41 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-01T08:16:20 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has quit [Server closed connection] 2023-08-01T08:16:31 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-08-01T08:28:51 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-01T08:48:36 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-01T08:52:15 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-01T10:35:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-8ff-79d8-8199-3728.fixed6.kpn.net] has joined ##stm32 2023-08-01T10:37:55 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-54ac-f22e-1403-badc.fixed6.kpn.net] has joined ##stm32 2023-08-01T10:39:15 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-8ff-79d8-8199-3728.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-08-01T10:39:15 -!- martinmoene1 is now known as martinmoene 2023-08-01T11:02:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-54ac-f22e-1403-badc.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-08-01T13:36:38 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-01T13:48:14 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 246 seconds] 2023-08-01T13:50:11 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-08-01T15:28:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-414d-1087-80e0-74d8.fixed6.kpn.net] has joined ##stm32 2023-08-01T15:44:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-414d-1087-80e0-74d8.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-08-01T15:48:51 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-85ae-2f45-82b9-9590.fixed6.kpn.net] has joined ##stm32 2023-08-01T17:01:27 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-01T17:12:30 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-01T17:28:06 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-01T17:28:49 < Laurence_b> hmf muh codez is failing 2023-08-01T17:28:51 < Laurence_b> https://pastebin.com/N6pZhiUB 2023-08-01T17:29:54 < Laurence_b> if I set a breakpoint on line 5, cnt counts 1,2,3,4,1,2,3,4 2023-08-01T17:29:56 < Laurence_b> wtf 2023-08-01T17:30:47 < Laurence_b> maybe a memory corruption bug somewhere else? 2023-08-01T17:34:59 < Laurence_b> hmm spotted something that might cause issues... 2023-08-01T17:38:26 < jpa-> or debugger just acts funny with compiler optimizations 2023-08-01T17:39:45 < aandrew> poor code formatting aside, put a "continue;" on line 9 and see if your count counts correctly 2023-08-01T17:40:43 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-08-01T17:40:54 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-01T17:41:08 < aandrew> also, your MyTims[] array use seems odd, you're accessing each of the 4 timers twice in the n loop? 2023-08-01T17:41:55 < Laurence_b> yeah 2023-08-01T17:42:30 < Laurence_b> 4 timers, each has two pwm outputs and two input captures 2023-08-01T17:42:57 < aandrew> it certainly *looks* like cnt should cycle from 0 to 16 inclusive, starting at 1. What happens if you put a write watchpoint on the uint8 address for cnt? 2023-08-01T17:43:07 < Laurence_b> I did have this running with input capture interrupts but it maxxed out the processor with all channels running 2023-08-01T17:43:28 < Laurence_b> aandrew: nice plan, need to wait for hardware to be free now tho :( 2023-08-01T17:43:30 < aandrew> I'd also try making 'cnt' a static int just for shits and giggles 2023-08-01T17:44:26 < Steffanx> Fucking hell Laurence_b. Your use of curly braces and not using them like this is just awful. 2023-08-01T17:44:50 < aandrew> heh yeah first thing I did was put this into an editor and clean it up so I could understand it better 2023-08-01T17:45:19 < Laurence_b> I cant find a way to set watchpoints in visual studio 2023-08-01T17:45:31 < Laurence_b> other than using the gdb terminal interface lol 2023-08-01T17:45:50 < Steffanx> Time to get a jlink and ozone 2023-08-01T17:47:40 < aandrew> https://pastebin.com/1NPrf0aV 2023-08-01T17:47:55 < aandrew> that's what I did to it to try to understand it better 2023-08-01T17:50:54 < Laurence_b> so many spaces :P 2023-08-01T17:51:44 < aandrew> heh, IMO code is meant to be understood by humans, not dense 2023-08-01T17:52:02 < zyp> some humans are dense 2023-08-01T17:52:28 < aandrew> truth 2023-08-01T17:52:31 < Laurence_b> I find denser code easier to read 2023-08-01T17:53:58 < aandrew> chacun a son gout 2023-08-01T17:55:26 < Steffanx> Je ne parle pas françlish. 2023-08-01T17:55:38 < qyx> what the complete fuck is that Laurence_b 2023-08-01T17:55:50 < qyx> how dare you enclose else in {} without doing the same with if 2023-08-01T17:55:56 < Laurence_b> lol 2023-08-01T17:57:09 < qyx> that's worse than your reddit links 2023-08-01T17:57:18 < Steffanx> Lol you fuck up some people badly Laurence_b 2023-08-01T18:09:22 < aandrew> cleaned it up more: https://pastebin.com/g0rYW1aF 2023-08-01T18:10:26 < aandrew> your floating point calcs always execute because averages[n] is always nonzero 2023-08-01T18:11:23 < aandrew> also not sure if you want to zero risING[n] and fallING[n] when averages[n] is zero or not 2023-08-01T18:13:37 < aandrew> also I know it's float but I'd do the multiply before the divide to maintain precision although that might not matter with fp 2023-08-01T19:00:20 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-01T19:15:36 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-01T19:22:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-85ae-2f45-82b9-9590.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-01T19:50:02 < octorian> Finally integrated RTT support into one of my projects recently, but I still find that I end up just using UART for debug output most of the time anyways. I think a big part of that is that the Segger RTT viewer app just feels so damn bare and undeveloped. 2023-08-01T19:50:28 < octorian> Are there any good 3rd party RTT viewer options that I might actually like better than a decent serial terminal app? 2023-08-01T19:50:55 < aandrew> octorian: take a look at the orbuculum toolsuite; OSS and SWO provides multi-stream lightweight output 2023-08-01T19:51:05 < aandrew> the orbtop utility is one of my absolute favourite tools 2023-08-01T20:20:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c31-1acc-934a-4942.fixed6.kpn.net] has joined ##stm32 2023-08-01T20:30:52 -!- machinehum2 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has joined ##stm32 2023-08-01T20:41:37 < octorian> The Orbuculum people somehow seem unable to actually put together a simple "Getting Started" guide that's more than a few blog-style posts with minimal actual how-to content. 2023-08-01T20:52:10 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-01T20:55:19 < aandrew> yes. you kind of have to distill it from their examples and blogs which isn't optimal, especially considering how useful the tools are 2023-08-01T20:57:00 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c31-1acc-934a-4942.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-01T20:57:10 < jpa-> it's also a bit of "build your own" toolkit.. like if you want to graph some stuff or get them to a CSV file, it's a bunch of messing with orbcat 2023-08-01T20:58:19 < aandrew> yes, but that's kind of what I like about it -- get me the data and let me pipe it to whatever I want to use to graph, whether that be some influxdb/grafana shit or a qt app or named pipe into Excel (does that exist?) 2023-08-01T20:58:23 < aandrew> orbtop though... love it 2023-08-01T22:16:16 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-08-01T22:16:20 < Laurence_b> rip coach red pill 2023-08-01T22:16:26 < Laurence_b> 20hours now, not looking good 2023-08-01T22:17:02 < Laurence_b> inb4 they send him to the front line rather than the gulag 2023-08-01T22:21:35 < Laurence_b> wonder if Sargon will bail him out 2023-08-01T22:25:11 < qyx> remind me whose name Sargon is again 2023-08-01T22:25:37 < qyx> aandrew: lold piping to excel 2023-08-01T22:26:40 < Laurence_b> Carl Benjamin 2023-08-01T22:26:51 < Laurence_b> guy with no GCSEs lmao 2023-08-01T22:26:57 < Laurence_b> antifa leaked his CV 2023-08-01T22:27:33 < Laurence_b> his reason for not escaping through fields sounds stupid 2023-08-01T22:28:00 < Laurence_b> but he is too overweight to run away across country 2023-08-01T22:28:41 < Laurence_b> I would have gone through the mountains to Romania, seems like sensible escape route 2023-08-01T22:34:03 -!- machinehum3 [~machinehu@209.52.88.54] has joined ##stm32 2023-08-01T22:35:08 -!- machinehum2 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has quit [Ping timeout: 246 seconds] 2023-08-01T22:39:11 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 246 seconds] 2023-08-01T22:43:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-01T23:03:16 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-01T23:15:26 -!- machinehum3 [~machinehu@209.52.88.54] has quit [Ping timeout: 260 seconds] 2023-08-01T23:33:03 < zyp> octorian, contributions to improve that would be very welcome :) 2023-08-01T23:33:55 < octorian> zyp, I can't improve what I haven't actually figured out how to do yet :-) 2023-08-01T23:34:16 < zyp> you've figured out what you'd like improved, that's a start :) 2023-08-01T23:34:56 < octorian> "I'm new to this thing. How the fuck do I set it up?" has to be the most basic question, and without a good straightforward answer you're going to have a very hard time getting people to use something. 2023-08-01T23:40:34 < octorian> But really, all I've learned here is that Orbuculum really isn't worth bothering with right now, if my only interest is "Let's poke at this for 10 minutes and see if its interesting." 2023-08-01T23:41:01 < octorian> I think I actually stumbled across it a while back, and never really followed up. 2023-08-01T23:51:55 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 --- Day changed ke elo 02 2023 2023-08-02T00:07:42 < catphish> my flying stm32, bugs worked out, flys great! https://www.youtube.com/watch?v=MCL3OXKImPk 2023-08-02T00:07:42 < catphish> gps autopilot to follow 2023-08-02T00:08:18 < qyx> whoa you are fast 2023-08-02T00:08:54 * qyx pausing Little Drummer Boy - Orion's Reign ft Alina Lesnik to watch catphish's stm32 2023-08-02T00:09:20 < qyx> youtube is being creative today and it is not even christmas yet 2023-08-02T00:10:39 < catphish> this stm32 takes input from an ELRS radio receiver and a LSM6DSO gyro and generates control signals for (separate) motor controllers 2023-08-02T00:11:46 < catphish> also ADC measures battery voltage and outputs text data data to video transmitter 2023-08-02T00:13:43 < catphish> i like this STM32 project because it goes upside down :) 2023-08-02T00:15:24 < qyx> oh so you faked it a bit 2023-08-02T00:20:54 < BrainDamage> catphish: next step is making the car self driving 2023-08-02T00:21:22 < catphish> qyx: faked it a bit? 2023-08-02T00:21:32 < qyx> I mean, cheated :P 2023-08-02T00:21:49 < qyx> I assumed you are going with all components custom 2023-08-02T00:22:17 < BrainDamage> diy gyro is not going to be easy 2023-08-02T00:22:21 < catphish> qyx: i certainy didn't build my own gyroscope :D 2023-08-02T00:22:21 < BrainDamage> or dyi radio 2023-08-02T00:22:22 < qyx> I was interested to see some custom motor controllers 2023-08-02T00:22:55 < qyx> diy gyro would be fun actually 2023-08-02T00:23:03 < catphish> qyx: long term i want to build my own ELRS receiver and motor drivers, but not yet :) 2023-08-02T01:06:54 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has joined ##stm32 2023-08-02T01:07:13 < Laurence_b> wew coach red pill is looking at 8 years in literal gulag if he gets v& 2023-08-02T01:27:46 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-02T01:43:46 < qyx> so using PCIe x1 connectors now with 2U 70 mm deep subracks for generic small form factor daq 2023-08-02T01:44:10 < qyx> I have compatible plugin units with batteries and chargers and stuff for that 2023-08-02T01:44:16 < qyx> but, I need something bigger 2023-08-02T01:44:49 < qyx> physically bigger for more capacity 2023-08-02T01:45:46 < qyx> so I either make the battery bank a 1U/2U/3U rack enclosure with DC in/out connectors on the front panel 2023-08-02T01:46:10 < qyx> or I (re)invent another subrack platform for it 2023-08-02T01:46:49 < qyx> with some kind of power backplane and a variable depth and/or height 2023-08-02T01:47:14 < qyx> with hotswappable battery plugin units 2023-08-02T01:47:57 < qyx> but but, the main question now is: is PCIe x4 or x8 a suitable connector for "high power"? 2023-08-02T01:48:15 < qyx> 24/28 V, something in the order of 10 A 2023-08-02T01:48:58 < zyp> depends how many pins you parallel 2023-08-02T01:49:38 < qyx> as many as I want minus 2 for CAN/onewire comms 2023-08-02T01:50:14 < zyp> isn't standard PCIe rated for like 75W at 12V across five paralleled pins? 2023-08-02T01:50:16 < qyx> it should be about 1 A per pin but I am not yet decided 2023-08-02T01:50:24 < qyx> googling now 2023-08-02T01:50:51 < qyx> I am just trying to persuade myself it is a retarded idea 2023-08-02T01:51:45 < zyp> ah, 75W is combined, 66W at 12V, 5.5A across five pins 2023-08-02T01:52:21 < zyp> also 3A at 3.3V across three pins 2023-08-02T01:52:33 < zyp> so 1A per pin seems like a reasonable rating 2023-08-02T01:53:18 < zyp> then again, there's high power card edge connectors 2023-08-02T01:53:39 < zyp> probably costs more, but if you want something actually designed for the purpose, it exists 2023-08-02T01:54:26 < qyx> yeah and that's the thing I want to be told to use 2023-08-02T01:54:33 < zyp> see e.g. https://cdn.amphenol-cs.com/media/wysiwyg/files/drawing/10121506.pdf 2023-08-02T01:56:38 < qyx> oh 2023-08-02T01:56:44 < zyp> or these: https://www.digikey.com/en/products/detail/amphenol-cs-commercial-products/CE120180L110034/5810124 2023-08-02T02:03:18 < qyx> it is pretty hard to filter for them 2023-08-02T02:03:43 < zyp> here you go: 2023-08-02T02:03:43 < zyp> https://www.digikey.com/en/products/filter/card-edge-connectors/edgeboard-connectors/303?s=N4IgjCBcoBw1oDGUBmBDANgZwKYBoQB7KAbXACYwBmGANhALFoE4qBWchkcgBivLZUu5ACzMA7MxHCYYEeOkFystmE5LmbNuKEFaIniMUh9PLVxiHm6kJbHwCltj3FdrtPm-IfmX2mF9GPgV6IKpJB3A%2BWR4uMB4YZhhXAjEaKTi1WmdM7w5c2lobMCzxUPBwy0CK8VliyrAUmph%2BOMqqcrlssS40xOqurWNB8wIFbXJi1VYB6ZEIMed9Nji5lcZp0ZBx8XJdcGmWXpmzXpgRZ0iwNlZaSJ3KVdZxWI3n4ZuaV-BaKjFO37Ob5Mdin 2023-08-02T02:03:49 < zyp> RiAngDQHUOLQ4xpZg8coPYZOcJxNEDJwGDFmC7HKiIppgOgiKj7En6P4ExFXUn4xj04mk1QY5bDRGCJoPTqc%2BY0tRxPk2ZzxfmMPnEqSI4HSngLEAIuRcB5SsQuAX7JXrcByq5ygbS65CsQBAVNJX3C67fVwZWpVTZXl2nUBO1W3biC0zPY00TCEqFcqUJhHJSBl4ExI2EO0HQq61Ub4PaoI8hNSjZJIB6xUBWUXPGHZ5nN7SIFvbVCvi7gBUQ66uReSaX5%2B4OTcLtkQ%2BYSifwxvswpTsMkKvoSYSEmDeSdJZSzlr5qfkqOsBPaVpKeY6coIktb5er4NkpI6vdak4xk-MfPXjPduTlthiGdjeTpp9pMczdFKZ%2BsGN-xXVIfzPH9gyA1NpzgC9CXlYQ2HO 2023-08-02T02:03:55 < zyp> Y0-yQjMPDuJsZhxJR0MRYQPBeGMCKRXpRFYct9H8NDu14fCaPzSjJjoooG0YzDCUJGka3TPZyCrBQyhjATWxAiQ2GDMp%2BAzWpMy42CpGMdMFIbGAtDBbg4GURTEmyMC4PknhvhEc4lhVJEbgsbsFDcQRkJAZhfiYOJDOSHVxG0cRGkyBJJEyZ8RPAeZ%2BCMhyOFcABdAgAAcABcoBAABlGKACcAEsADsAHMQAAXxyvQEBAVKABN4oAWniBVYvirgYoATyinB4rQLBkDyoA 2023-08-02T02:03:59 < zyp> hrm 2023-08-02T02:04:30 < qyx> mouser doesn't allow to limit contact current rating 2023-08-02T02:04:35 < qyx> didn't try digikey though 2023-08-02T02:04:57 < zyp> anyway, there's a «power» notation in «Number of Positions», just write power in the search filter and select everything, then you get everything with contacts meant for high power 2023-08-02T02:05:13 < qyx> such features 2023-08-02T02:11:28 < qyx> ok going with pcie x8 or x16 2023-08-02T02:11:59 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Quit: m5zs7k] 2023-08-02T02:13:44 < zyp> hah 2023-08-02T02:15:42 < qyx> 164 contact should be enough, 8 or so for chassis gnd, 2 for comms, some for debug, 140 for power 2023-08-02T02:16:04 < qyx> so 70 A for x16, 40 A for x8 2023-08-02T02:16:23 < qyx> should be enough, anyway at those currents the subrack will probably evaporate 2023-08-02T02:17:26 < qyx> there is also the dillema of the +/- pattern 2023-08-02T02:17:44 < qyx> whether all + should be on the top layer and - on the bottom 2023-08-02T02:17:53 < qyx> or the first half should be +, both top and bottom 2023-08-02T02:17:57 < qyx> and the second half - 2023-08-02T02:18:10 < qyx> *dilemma 2023-08-02T02:29:02 -!- Laurence_b [~Laurenceb@12.207.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-02T02:31:10 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-08-02T02:33:28 -!- flatmush [~benbrewer@82-69-13-96.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 250 seconds] 2023-08-02T02:37:44 -!- flatmush_ [~benbrewer@82-69-13-96.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-08-02T03:08:46 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-08-02T03:52:03 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-02T03:52:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-02T04:02:26 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 260 seconds] 2023-08-02T04:28:25 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-02T04:33:06 < aandrew> catphish: nice, the distance measurement seems kind of jittery though 2023-08-02T04:33:36 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-02T05:49:54 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-02T05:59:26 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-02T06:20:23 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-02T06:38:41 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-02T06:51:30 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-02T07:03:49 -!- qyx [~qyx@84.245.121.17] has quit [Ping timeout: 260 seconds] 2023-08-02T07:10:34 -!- qyx [~qyx@84.245.120.14] has joined ##stm32 2023-08-02T07:18:21 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-02T07:47:20 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 244 seconds] 2023-08-02T09:00:10 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-02T09:09:14 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-02T09:13:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-02T09:15:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-02T10:21:53 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-08-02T11:45:36 -!- dima [~dima@kappa.ac93.org] has quit [Ping timeout: 260 seconds] 2023-08-02T12:04:48 < catphish> aandrew: that distance is generated by the video receiver based on signal round trip time, in this case it doesn't seem to be working very well, i think it's more useful at longer distances 2023-08-02T12:04:58 < catphish> (not my doing anyway) 2023-08-02T14:36:44 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-02T14:37:09 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-02T15:03:38 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-02T15:14:49 < jpa-> heh, when ordering PCBA from aisler they send extra parts with the order 2023-08-02T15:15:02 < jpa-> i guess that makes sense but never seen with other manufacturers 2023-08-02T15:22:04 < jpa-> ... and they have mistaken STM32 mold mark for pin one indicator 2023-08-02T15:22:13 < jpa-> i think ST should really consider making it more obvious :D 2023-08-02T15:23:23 < qyx> how many pcbs? 2023-08-02T15:23:56 < jpa-> 3, i'll just hotair it up 2023-08-02T15:24:17 < jpa-> but pretty annoying, the service wasn't even cheap 2023-08-02T15:24:19 < qyx> LP5912 is the same, there are two dots on DFN6 2023-08-02T15:26:32 < qyx> https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_Texas-Instruments-LP5912-1-8DRVT_C132048.html 2023-08-02T15:26:50 < qyx> the big D is very easily mistaken for the pin 1 indicator 2023-08-02T15:28:34 < jpa-> on Steffanx, the big D is the pin 1 2023-08-02T15:29:09 < qyx> such jpa- 2023-08-02T15:32:31 < Steffanx> Wanna see my pin 1, Mr jpa-? 2023-08-02T15:34:58 < aandrew> lol 2023-08-02T16:26:09 -!- Sadale [~Sadale@user/sadale] has quit [Remote host closed the connection] 2023-08-02T16:26:38 -!- Sadale [~Sadale@user/sadale] has joined ##stm32 2023-08-02T16:27:31 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-02T16:31:46 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-02T16:47:51 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-02T17:19:26 < ventYl> :> 2023-08-02T17:21:37 < qyx> TIL cadmium olive drab 2023-08-02T17:37:36 < aandrew> I misread that as "quantum olive drab" 2023-08-02T17:38:23 < aandrew> I suspect most things military related fall under a) cheapest and b) functional, and if you can intersect the two it's an instant win 2023-08-02T18:44:12 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-02T19:01:04 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 244 seconds] 2023-08-02T19:16:10 < qyx> I am curious how would a quantum anti-corrosion protection look like 2023-08-02T20:35:06 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-02T20:36:56 < BrainDamage> aandrew: more than cheapest: implemented by the cheapest bidder 2023-08-02T20:37:10 < BrainDamage> the specs are genuine, the implementations, not necessarily so 2023-08-02T20:39:32 < machinehum> Does anyone know how to deal with this https://i.imgur.com/Z6FR6Nl.png 2023-08-02T20:39:41 < machinehum> Obviously I just want all to choose cut tape 2023-08-02T20:39:53 < machinehum> But clicking though everything is a nightmare 2023-08-02T20:42:55 < aandrew> i have no idea what I'm looking at there 2023-08-02T20:43:20 < machinehum> digikey bullshit 2023-08-02T20:43:33 < machinehum> Upload a csv with mpn's 2023-08-02T20:44:01 < machinehum> Every single passive like "Can't get in tape an reel" ... where obviously I just want cut tape 2023-08-02T20:44:08 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-02T20:44:20 < machinehum> Actually it's every single part in the bom 2023-08-02T20:53:48 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-02T21:14:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-02T21:15:56 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-02T21:27:50 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-08-02T21:28:15 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-02T21:48:30 < aandrew> ah, I've never used that 2023-08-02T22:04:40 < machinehum> aandrew: How do you normally order parts for a build? 2023-08-02T22:04:58 < machinehum> I immagine mouser might not have this issues it's kinda... less crusty 2023-08-02T22:05:19 < qyx> I click by hand 2023-08-02T22:05:35 < machinehum> That's a lot of clicking 2023-08-02T22:05:42 < qyx> usually I already have most of the parts required 2023-08-02T22:05:53 < machinehum> You stock passives? 2023-08-02T22:05:58 < qyx> yes 2023-08-02T22:06:08 < machinehum> I stock a bunch but not enough 2023-08-02T22:06:17 < qyx> and common semiconductors too 2023-08-02T22:06:25 < qyx> I stock all passives I use 2023-08-02T22:06:45 < qyx> except very specific things like high power inductors 2023-08-02T22:07:38 < qyx> but I tend to use like 10 types of common inductors 2023-08-02T22:07:45 < machinehum> Here's my new destuction circuit https://drive.google.com/file/d/1v3DSObsdQU3Ex6LKryOZUBpNpgTMueQt/view?usp=sharing 2023-08-02T22:07:59 < machinehum> qyx: You ever used the DRV8837C before? 2023-08-02T22:08:16 < machinehum> Nice little TI 1A H bridge 2023-08-02T22:08:32 < machinehum> qyx: Coilcraft will ship you whatever you need for free 2023-08-02T22:08:50 < machinehum> Except maybe... high power inductors, transformers etc... 2023-08-02T22:10:10 < qyx> nope but I remember someone have 2023-08-02T22:10:18 < qyx> hm 2023-08-02T22:12:34 < srk> hehe, the BLDC with two wires typo on the first page 2023-08-02T22:47:18 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-08-02T23:08:22 < aandrew> machinehum: regular old shopping cart in digikey 2023-08-02T23:09:00 < aandrew> like qyx I also stock passives, and usually order along discount quantities and how common it might be for other projects 2023-08-02T23:09:20 < aandrew> I've probably got $10k in stock 2023-08-02T23:10:05 < aandrew> let me see if I have a pic handy 2023-08-02T23:10:54 < aandrew> nope 2023-08-02T23:11:02 < aandrew> I'll have to take one when I'm next downstairs 2023-08-02T23:33:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 244 seconds] --- Day changed to elo 03 2023 2023-08-03T00:57:06 < machinehum> $10k holy shit 2023-08-03T00:57:26 < machinehum> I got like 10k resistors maybe 2023-08-03T01:17:59 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-03T01:40:03 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-08-03T01:46:03 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-03T02:12:14 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 252 seconds] 2023-08-03T02:46:13 < catphish> if i'm sampling a signal at 10sps, is there a algorithm (ideally one that i can understand) to convert this to a 5Hz signal at a much higher sample rate? 2023-08-03T02:46:53 < catphish> ie low pass + resample 2023-08-03T02:48:19 < catphish> i'm trying to convert a 10sps GPS output into a position that varies smoothly to use in a 833Hz control loop 2023-08-03T02:48:38 < catphish> guess this will introduce delay, but i'll like to try it 2023-08-03T02:50:55 < aandrew> hm? at 10sps that's the minimum to reproduce a 5Hz signal; if you want to resample that so you can play back at say 100sps, that means you've got to interpolate the 9 new values between each real sample 2023-08-03T02:51:06 < catphish> worst case, between receiving samples 2 and 3 i can output a linear interprolation of the period between samples 1 and 2, giving me a triangle-ish wave delayed by one sample 2023-08-03T02:51:24 < aandrew> that's not undoable, but that's a lot of data to make up. A good model could do it if it accurately models the actual signal 2023-08-03T02:52:29 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-03T02:53:49 < catphish> i have no way to know the actual signal components that exceed 5Hz, but i'm hoping for this purpose i can safely assume they don't exist 2023-08-03T02:54:35 < aandrew> is it a 5Hz sine wave, a 5Hz square wave, a 5Hz complex waveform...? 2023-08-03T02:54:50 < aandrew> ie can your model predict what the values between s=0 and s=1 are? 2023-08-03T02:54:51 < catphish> basicaly i have a 5Hz 10sps input, and i want to output a 5hz 833sps output 2023-08-03T02:55:22 < aandrew> yes, you can do that if you can figure out what the synthetic 83 points between actual samples are 2023-08-03T02:55:44 < aandrew> a linear approximation would certainly be one model 2023-08-03T02:55:45 < catphish> there's only one correct answer to that 2023-08-03T02:56:12 < catphish> so i guess i want to get as close to that correct answer as possible 2023-08-03T02:57:28 < catphish> linear interprolation might work, but it's quita a poor approximation 2023-08-03T02:58:48 < aandrew> I mean imagine it's a 5Hz sine wave and you're at t=0. your sample at t=0 will be 0, and your sample at t=20ms will be what, sin(2*pi*5) 2023-08-03T03:00:34 < catphish> so basically, i have this: https://i.imgur.com/mXmWCtQ.png 2023-08-03T03:00:34 < catphish> and i want this: https://i.imgur.com/bLNC7R8.png 2023-08-03T03:00:34 < catphish> linear interprolation will give me this: https://i.imgur.com/AH9DWjP.png 2023-08-03T03:01:25 < catphish> i'm doing this in real time, so there will obviously be some delay since i can't predict the next data point 2023-08-03T03:02:40 < aandrew> so you can linearly interpolate between 0 and 0.248whatever 2023-08-03T03:02:52 < catphish> i don't actually know what the input signal will be (it's gps locations) i just know it's 10sps, so i don't have any information more than 5Hz 2023-08-03T03:02:53 < aandrew> but if that signal is a cosine not a sine, you're oging to be interpolating in the wrong direction 2023-08-03T03:03:35 < aandrew> that's my point -- you can't really interpolate without knowing what your signal is going to look like 2023-08-03T03:03:51 < aandrew> now if you're interpolating AFTER the fact you can try to curve fit, but I don't htink that's what you're after 2023-08-03T03:04:17 < catphish> i think that *is* what i'm after, a delay is inevitable 2023-08-03T03:04:43 < catphish> i'm hoping that delay doesn't have to exceed one sample 2023-08-03T03:05:37 < catphish> i think this is called an interprolating filter 2023-08-03T03:06:49 < aandrew> sure, and in that case you can guess at it and you also have hints like speed and heading that you can use to help better model 2023-08-03T03:07:22 < catphish> to clarify, i'm not interested (at least not yet) in "guessing" what higher frequency components of the original signal might have been 2023-08-03T03:07:31 < qyx> catphish: b-splime algo to the rescue? 2023-08-03T03:07:33 < catphish> i just want to reconstruct it at 5Hz 2023-08-03T03:07:37 < qyx> *b-spline 2023-08-03T03:07:51 < qyx> borrow from computer graphics 2023-08-03T03:07:51 * catphish googles 2023-08-03T03:08:41 < qyx> basically it creates a smooth curve over a low number of control points 2023-08-03T03:08:47 < mawk> you can do a inverse fft if you want https://i.imgur.com/bLNC7R8.png from the bunch of points 2023-08-03T03:08:47 < qyx> which the curve crosses 2023-08-03T03:08:57 < mawk> but it's probably not what you really want 2023-08-03T03:10:05 < mawk> it's (more or less) the same thing as filtering it with a low-pass filter, with a step size much smaller than the 10 sps period of course 2023-08-03T03:10:12 < qyx> sorry it doesn't cross the control points 2023-08-03T03:10:17 < qyx> but you get the point 2023-08-03T03:10:25 < mawk> just the first and last 2023-08-03T03:10:43 < mawk> you can do chebyshev interpolation but it doesn' 2023-08-03T03:10:45 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-03T03:10:49 < mawk> t work with equally-spaced points 2023-08-03T03:10:50 < catphish> i think the solution might be to inject zeros into the stream, then low pass 2023-08-03T03:11:02 < mawk> yes that's what I meant by [02:10:05] it's (more or less) the same thing as filtering it with a low-pass filter, with a step size much smaller than the 10 sps period of course 2023-08-03T03:11:16 < mawk> well not really injecting zeroes, but holding the current value 2023-08-03T03:11:47 < mawk> have the function constant between nT and (n+1)T 2023-08-03T03:11:54 < mawk> just like what is plotted here https://i.imgur.com/mXmWCtQ.png 2023-08-03T03:12:40 < catphish> mawk: that's easy i guess, so just hold the signal while injecting new samples, then filter 2023-08-03T03:12:41 < qyx> soumds reasonanble too 2023-08-03T03:13:11 < catphish> so i just need a LPF algorithm 2023-08-03T03:13:47 < qyx> I would try EMA first, because it is cheap 2023-08-03T03:14:12 < qyx> also knowing your values you could probably cheat a bit 2023-08-03T03:14:40 < catphish> brb, scheduled maintenance window :) 2023-08-03T03:15:12 < mawk> y[n+1] = a*x[n+1] + (1-a)*y[n] 2023-08-03T03:15:17 < mawk> with 0 < a < 1 2023-08-03T03:15:24 < mawk> something like that 2023-08-03T03:15:29 < mawk> with x[n] the samples 2023-08-03T03:16:09 < catphish> that would be nice if it's that simple, i'll simulate it in a min 2023-08-03T03:16:20 < mawk> that's the exponential moving average 2023-08-03T03:16:48 < mawk> you can do low-pass filter that look like this and pretty much as simple, but it won't be the best frequency response 2023-08-03T03:17:25 < mawk> I suppose the EMA *is* a filter, and you could get the transfer function out of it if you really wanted 2023-08-03T03:20:08 < mawk> you can try with a = 0.5 to start and then tweak it 2023-08-03T03:43:28 < catphish> mawk: works here :) 2023-08-03T03:46:15 < mawk> nice 2023-08-03T03:48:05 < catphish> as long as it's moderately smooth i'll be happy 2023-08-03T04:09:51 < catphish> well it's nowhere near a sine wave, but it's better than 10sps steps https://i.imgur.com/8WrJhsL.png 2023-08-03T04:11:14 < catphish> this is an extreme example, for real data it'll probably do better 2023-08-03T04:13:57 < catphish> anyway, now i realise this is just a matter of duplicating the input data, then low pass filtering, i'm sure i can try different filters 2023-08-03T04:15:24 < catphish> and for real data, i suspect this type of filter will work 2023-08-03T04:16:18 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-03T04:19:36 < catphish> the other simple option is a moving average, which just gives a linear interprolation: https://i.imgur.com/f8w6pwV.png 2023-08-03T04:20:11 < catphish> i guess generating the correct waveform is more complicated 2023-08-03T04:25:12 < mawk> well generating the waveform is using a Fourier series catphish 2023-08-03T04:25:39 < mawk> it will generate the best decomposition of sine/cosine relative to the data 2023-08-03T04:25:45 < mawk> which may or may not be what you want 2023-08-03T04:25:57 < catphish> that sounds like what i want 2023-08-03T04:26:08 < mawk> but on your synthetic of the 4 points it will generate a sine wave 2023-08-03T04:26:22 < mawk> without holding the data 2023-08-03T04:26:42 < catphish> that's the only correct solution 2023-08-03T04:26:46 < mawk> otherwise it won't really work, it will just do a lowpass (depending on where you cut the frequencies) 2023-08-03T04:27:53 < catphish> since the sample rate is 10sps i guess i want a cut as close as possible to 5Hz 2023-08-03T04:28:11 < catphish> or, in practical terms, probably a bit lower 2023-08-03T04:31:43 < catphish> oh, this is where FFTs come in 2023-08-03T04:33:13 < catphish> i can FFT my 10sps signal into the frequency domain, then regenerate it at the higher sample rate 2023-08-03T04:33:15 < aandrew> mawk: that's a neat idea (hold previous value and LPF) 2023-08-03T04:33:45 < catphish> yeah hold and low pass will definitely work 2023-08-03T04:34:43 < catphish> not sure if FFT is designed for realtime transformatons like this, but worth a read 2023-08-03T04:37:30 < catphish> "Sliding DFT", many new things to learn :) 2023-08-03T04:37:52 < aandrew> the EMA really does look nice 2023-08-03T04:39:09 < aandrew> https://ibb.co/s3vjdFj 2023-08-03T04:39:20 < catphish> EMA is a pretty reasonable LPF for most practical purposes, i think it'll work here, though with stepped input data, it still produces jagged output 2023-08-03T04:40:25 < catphish> the downside is when you use a repeated input, it reproduces the sharp corner of the step in the output 2023-08-03T04:40:34 < aandrew> catphish: well not if you're generating 83 points 2023-08-03T04:40:42 < catphish> as seen at sample 15 in that image 2023-08-03T04:40:44 < aandrew> I was doing 5 points in that graph and alpha=0.4 there 2023-08-03T04:41:08 < catphish> the same thing happens no matter how you tune it afaik 2023-08-03T04:41:30 < catphish> this was my attemt at it https://i.imgur.com/8WrJhsL.png 2023-08-03T04:44:54 < catphish> i'll play with that and DFT tomorrow 2023-08-03T04:46:54 < aandrew> https://ibb.co/PWct6kF 2023-08-03T04:47:00 < aandrew> that's with a=.9 and 80 points between 2023-08-03T04:47:57 < catphish> yep, same thing 2023-08-03T04:48:03 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-03T04:48:03 < aandrew> you could also play games and tweak alpha based on how much the new point has changed from the last one, or you oculd even take something like a PID approach to it 2023-08-03T04:48:44 < aandrew> well it is an exponential average, you can tweak the formula to match whatever you're after 2023-08-03T04:52:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-03T04:57:01 < aandrew> PID (well PI) approach is kind of neat 2023-08-03T04:57:13 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-03T04:58:11 < catphish> this signal actually already feeds into a PD loop 2023-08-03T04:59:25 < catphish> but that doesn't remove the sharp changes 2023-08-03T05:00:17 < aandrew> with enough gain it does :-) 2023-08-03T05:03:42 < aandrew> https://ibb.co/dgbq0J1 2023-08-03T05:03:52 < aandrew> that's straight i 2023-08-03T05:06:40 < catphish> you're right, replacing my P term with an I term would act as a filter, though it won't help the D term 2023-08-03T05:09:29 < aandrew> no, D is going to act against what you want, it's going to speed up the filter's response to a step change which isn't what you want 2023-08-03T05:10:02 < aandrew> iin this case you want the I term to wind up a bit so it has to unwind before accelerating toward the target 2023-08-03T05:11:26 < catphish> the actual use case here is that i have a 10Hz GPS position signal, it passes into a PID that controls movement to hold a steady position 2023-08-03T05:11:56 < catphish> so at the end of it, i need P I and D to achieve that 2023-08-03T05:12:15 < catphish> but the input signal is much slower then the output, which makes the step changed noticeable 2023-08-03T05:13:35 < aandrew> yeah I figured the application was similar to that, but if you want better performance I think you're going to want a smarter filter - one that knows what the speed and heading is so it can try to track in that direction to make the apparent movement look smoother 2023-08-03T05:16:02 < catphish> that would be a predictive algorithm, which i'm hoping i don't need, but might need 2023-08-03T05:17:36 < catphish> instead, i'd hoped there'd be an easy way to implement in interprolating 5Hz filter 2023-08-03T05:24:59 < catphish> sleep now :) thanks 2023-08-03T06:01:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-03T10:02:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-03T10:02:50 -!- quinor [08c0f10716@2604:bf00:561:2000::dad] has joined ##stm32 2023-08-03T10:03:44 -!- alan_o [~alan_o@2600:1700:1902:210f:e9cc:88ed:74d4:4813] has quit [Ping timeout: 260 seconds] 2023-08-03T10:03:58 -!- alan_o [~alan_o@2600:1700:1902:210f:55ec:7734:c87e:32c6] has joined ##stm32 2023-08-03T10:42:23 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-03T11:47:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2538-1fee-20dd-636c.fixed6.kpn.net] has joined ##stm32 2023-08-03T12:05:35 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-03T12:37:38 < mawk> find x no 2023-08-03T12:59:09 < mawk> :( 2023-08-03T13:11:54 < mawk> it's fun and easy\ 2023-08-03T13:11:56 < mawk> promised 2023-08-03T13:25:56 < zyp> mawk, 2023, 4086461 and 2069, 88923 2023-08-03T13:29:50 < mawk> yes 2023-08-03T13:29:56 < mawk> but you're missing 2 other solutions 2023-08-03T13:30:45 < zyp> 3871,4229 and 2065,97007 2023-08-03T13:31:03 < mawk> yes 2023-08-03T13:31:05 < qyx> did you wolfram it or python it? 2023-08-03T13:31:09 < mawk> I hope you didn't bruteforce it 2023-08-03T13:31:16 < mawk> what qyx 2023-08-03T13:31:19 < mawk> that's sacrilegious 2023-08-03T13:31:24 < mawk> the only way to solve this is pen and paper 2023-08-03T13:31:33 < mawk> and maybe calculator for a bit of help with big numbers 2023-08-03T13:31:59 < qyx> are you living in the 20th century? 2023-08-03T13:32:26 < zyp> I rewrote it and ended up with (43**2 * 47**2) / z, which gives 9 possible solutions, and only four that satisfies x fuck pen and paper, I used vim 2023-08-03T13:32:48 < zyp> or vscode with vim plugin, but same same 2023-08-03T13:32:52 < mawk> like this qyx https://serveur.io/Exercise.html 2023-08-03T13:32:55 < mawk> how I solved it 2023-08-03T13:33:40 < mawk> zyp: how did you rewrite it like that? same as me? 2023-08-03T13:34:33 < zyp> hmm, kinda 2023-08-03T13:34:34 < zyp> more messy 2023-08-03T13:34:42 < zyp> my z is identical to your Y 2023-08-03T13:38:00 < zyp> well, all my notes is the first rewrite you do 2023-08-03T13:38:37 < zyp> https://paste.jvnv.net/view/SxSZo 2023-08-03T13:43:58 < qyx> whats the current stm32-to-go for ethernet? 2023-08-03T13:44:06 < qyx> h750? 2023-08-03T13:46:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-08-03T13:48:12 < zyp> maybe, or h730, whichever you get cheapest, I guess 2023-08-03T13:50:02 < zyp> hmm, good old f407 looks way cheaper 2023-08-03T13:51:05 < zyp> f107 even cheaper than that again, but I wouldn't use that 2023-08-03T13:51:25 < qyx> hm I want i2s too and I am not sure I want to use the old spi/i2s 2023-08-03T13:52:05 < zyp> sounds like a good enough reason for me to pick h7 2023-08-03T13:54:58 < qyx> 31 of h7s in mouser, looks well stocked now 2023-08-03T14:59:06 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-08-03T15:03:17 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 246 seconds] 2023-08-03T15:11:01 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-03T15:11:54 < englishman> R&d here picked f207 2023-08-03T15:12:15 < zyp> ah, forgot that exists 2023-08-03T15:23:30 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-03T15:42:09 < qyx> they are 11y late or so 2023-08-03T15:42:32 < englishman> sounds about right 2023-08-03T15:42:55 < englishman> it’s not a bad choice… 2023-08-03T15:43:06 < englishman> but it feels like a low effort choice 2023-08-03T15:44:33 < qyx> there is no reason for f207 when at least f407 is available 2023-08-03T15:45:44 < qyx> it feels weird, there was only F1 when I started doing stm32 2023-08-03T15:45:57 < qyx> and it feels like it was yesterday 2023-08-03T15:46:38 < qyx> and having more than 12y of experience I am still surprisingly dumb 2023-08-03T15:47:17 < englishman> f407 has way more stock at digikey too 2023-08-03T15:50:38 < englishman> m3->m4, bump in clock speed more ram, not really important for this application, f2 is already overkill, but all nice to have if it’s free 2023-08-03T15:52:21 < qyx> your r&d is so slow they should design for chips not yet on the market in order to run the first batch before eol 2023-08-03T16:48:09 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-03T17:04:49 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-03T17:21:20 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-08-03T17:25:53 < jbo> titties :) 2023-08-03T17:45:12 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-03T17:58:23 < Steffanx> Wrong channel jbo. This is not jpa-'s private chat 2023-08-03T17:58:37 < Steffanx> *window 2023-08-03T17:58:53 < Steffanx> Window, not channel. 2023-08-03T18:01:23 < jpa-> titties in jbo's window? 2023-08-03T18:01:34 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-03T18:03:37 < mawk> is jpa- offering free titties? 2023-08-03T18:03:54 < jpa-> no, 80eur/h 2023-08-03T18:09:22 < mawk> expensive titties 2023-08-03T18:22:21 < jbo> 80eur/h is pretty cheap 2023-08-03T18:22:22 < jbo> I'll take it. 2023-08-03T18:25:40 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-03T18:26:09 < jpa-> for millionaires like jbo it is 100eur/h 2023-08-03T18:28:54 < jbo> I have literally no money since covid 2023-08-03T18:32:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 244 seconds] 2023-08-03T18:32:51 < jpa-> don't worry, you'll always be a millionaire to me! 2023-08-03T18:37:44 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-03T18:59:24 < englishman> what happened to the business, last i saw you blogging about that (2020) you just sent everyone home to work remotely 2023-08-03T19:01:49 -!- machinehum [~machinehu@24.85.189.106] has joined ##stm32 2023-08-03T19:40:01 < Steffanx> 1 million chf is equal to no money right? 2023-08-03T19:52:11 < englishman> in .ch basically yeah 2023-08-03T20:03:59 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 260 seconds] 2023-08-03T20:04:39 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-03T20:07:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-03T20:07:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-03T20:55:54 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 260 seconds] 2023-08-03T21:11:38 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-03T21:12:34 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-03T21:12:49 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-08-03T21:48:59 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-08-03T22:16:10 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-03T23:52:11 < catphish> EMA worked fine for my GPS implementation in the end, then i lost interest in it :) 2023-08-03T23:52:47 < qyx> lol 2023-08-03T23:53:10 < qyx> I know that feeling 2023-08-03T23:59:29 < catphish> i spent half the day writing a position hold algorithm for my quadcopter, then decided positon hold is boring AF, and went back to tuning it for manual flight --- Day changed pe elo 04 2023 2023-08-04T00:00:09 < catphish> it's at the point whre i can have a ton of fun flying it now: https://www.youtube.com/watch?v=qVwsT8n2P7o 2023-08-04T00:04:07 < qyx> I like those old houses and gardens 2023-08-04T00:05:26 < qyx> I always wanted a quad even before it became mainstream, we did our first prototype back in 2012 with AVRs 2023-08-04T00:05:32 < qyx> then I started buildng a hexacopter 2023-08-04T00:05:48 < qyx> and now meh, it is too mainstream so I am not interested anymore 2023-08-04T00:06:06 < qyx> now I want reaper MQ9 2023-08-04T00:06:29 < qyx> with solar panel wings 2023-08-04T00:11:44 < qyx> https://www.youtube.com/watch?v=71IDoeHT1b4 2023-08-04T00:11:46 < qyx> omg I hate RC 2023-08-04T00:21:14 < qyx> so much hot glue 2023-08-04T01:02:17 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2538-1fee-20dd-636c.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-04T01:13:24 < machinehum> The hot snot 2023-08-04T01:15:50 < machinehum> https://imgur.com/a/nRyNWQg my CSD97395Q4M board hacked onto my R1 UPS 2023-08-04T01:16:15 < machinehum> Works 2023-08-04T01:16:18 < machinehum> In buck mode 2023-08-04T01:16:31 < machinehum> Time to see how boost mode works 2023-08-04T01:32:23 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T01:53:40 < qyx> uh I would fear to draw more than a ~1 A from it on such a small board 2023-08-04T01:54:09 < qyx> I ran out of G4s, time to restock some 2023-08-04T02:10:53 < machinehum> 1A/ 2023-08-04T02:10:55 < machinehum> ? 2023-08-04T02:11:09 < machinehum> What you speak of 2023-08-04T02:12:31 < qyx> the CSD needs proper cooling, that is copper area on the ground plane or other planes 2023-08-04T02:13:05 < qyx> 1 A at 12 V is 12 W, if you achieve 95% efficiency, that's 600 mW of dissipated power 2023-08-04T02:13:14 < qyx> for a 2x3 cm or so PCB that's a lot 2023-08-04T02:13:39 < machinehum> It's not the final thing, just a test board I made to start writing firmware testing the buck/boost 2023-08-04T02:13:48 < qyx> yeah I understand 2023-08-04T02:17:12 < machinehum> Gotcha 2023-08-04T02:17:28 < machinehum> Might try the full 9A and film it 2023-08-04T02:17:39 < qyx> lol 2023-08-04T02:23:45 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-08-04T02:34:36 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-04T02:56:42 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 2023-08-04T03:57:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-04T03:58:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T05:53:32 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-04T05:54:59 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-04T05:57:57 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-04T06:10:27 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-04T06:11:20 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 245 seconds] 2023-08-04T06:17:11 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-04T06:30:30 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-04T07:08:29 -!- qyx [~qyx@84.245.120.14] has quit [Ping timeout: 244 seconds] 2023-08-04T07:15:35 -!- qyx [~qyx@84.245.121.82] has joined ##stm32 2023-08-04T07:39:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-04T07:54:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T08:41:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-04T08:42:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T08:50:20 -!- catphish [~quassel@user/catphish] has quit [Ping timeout: 252 seconds] 2023-08-04T09:00:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-08-04T09:02:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T09:05:06 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-04T09:05:17 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Client Quit] 2023-08-04T09:06:57 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T09:09:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Client Quit] 2023-08-04T09:11:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T09:21:05 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has quit [Quit: Leaving] 2023-08-04T09:29:29 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-08-04T10:47:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-08-04T12:16:24 -!- specing [~specing@user/specing] has quit [Ping timeout: 260 seconds] 2023-08-04T12:17:13 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-04T12:39:03 -!- specing [~specing@user/specing] has quit [Quit: ZNC - https://znc.in] 2023-08-04T12:43:53 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T12:50:25 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-08-04T12:54:28 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-04T13:25:48 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-04T13:36:24 < Steffanx> machinehum: live stream on youtube please 2023-08-04T13:47:56 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 246 seconds] 2023-08-04T13:49:13 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-08-04T14:17:22 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-04T14:19:36 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 245 seconds] 2023-08-04T14:26:22 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-08-04T14:35:39 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T14:37:23 < qyx> jlcpcb is giving away coupons for 6-8L 50x50mm boards 2023-08-04T14:37:48 < qyx> I guess I am gonna try planar transformers 2023-08-04T14:39:21 < qyx> 2L 0.6mm thick PCB gives 0.3 mm per layer, 8L 1.6mm is 0.2 mm per layer, not much of a difference 2023-08-04T14:43:59 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-08-04T14:52:55 < zyp> idk about coupons, but they have had special offer for 6-8L 50x50mm for $2 since they were introduced 2023-08-04T14:53:03 < zyp> only one per order though 2023-08-04T15:11:11 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-04T15:12:25 < qyx> but 50x50 is too small 2023-08-04T15:12:36 < qyx> maybe enough for a SoM 2023-08-04T15:15:24 < zyp> enough for my testrack modules :) 2023-08-04T15:31:41 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-08-04T15:45:30 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 2023-08-04T15:45:47 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-08-04T15:52:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-04T17:00:09 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-04T17:04:23 < mawk> https://bpa.st/raw/R6YQ 2023-08-04T17:04:28 < mawk> wtf is this openocd error 2023-08-04T17:04:42 < mawk> have you seen that before PaulFertser 2023-08-04T17:06:45 < zyp> what sort of stlink is this? does it have voltage buffers you forgot to power? 2023-08-04T17:13:48 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-04T17:16:01 < catphish> not sure if i've just misunderstood something, i've written some code on G4 that unlocks flash memory, does an erase, a write, then locks it again, this works great, but only once per reset, subqequent attempts have no effect 2023-08-04T17:17:02 < catphish> https://paste.debian.net/1287869/ 2023-08-04T17:18:02 < catphish> i see a note in the datasheet that unsuccessful unlocks will result in the flash being locked until reset, but i can't comprehend why my first unlock would work, while subsequent unlocks would not 2023-08-04T17:19:50 < qyx> maybe you are locking it unsuccessfully? 2023-08-04T17:20:30 < qyx> which locks it successfully until reset? 2023-08-04T17:22:50 < catphish> it only says "The FLASH_CR register can be locked again by software by setting the LOCK bit in the FLASH_CR register." 2023-08-04T17:27:52 < catphish> disabling interrupts doesn't help, but i didn't really expect it to, it very specifically only works once per boot 2023-08-04T17:28:29 < qyx> maybe it is designed that way 2023-08-04T17:28:52 < qyx> I did never actually try 2023-08-04T17:29:40 < catphish> on the one hand, it seems that way, but on the other hand, that doesn't seem like a sensible design 2023-08-04T17:31:32 < mawk> a real stlink v2 zyp 2023-08-04T17:31:55 < mawk> which worked 30s before this message started appearing 2023-08-04T17:33:57 < mawk> it might be the Vapp because it's reading 1.0V 2023-08-04T17:50:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-04T18:03:13 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-04T18:04:48 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-04T18:05:00 -!- rkta [~rkta@user/rkta] has left ##stm32 [] 2023-08-04T18:42:37 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 2023-08-04T18:50:31 < PaulFertser> mawk: right, such a low target voltage can produce any results 2023-08-04T19:09:18 < jpa-> mawk: yeah, sounds like either the target board power is wrong or the wire between stlink and that is broken 2023-08-04T19:15:22 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-04T19:16:22 < qyx> so mawk has likely broken the connector before the message appeared, but not sooner than 30 seconds before the message appeared 2023-08-04T19:33:50 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T19:55:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-04T19:58:52 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-04T20:00:10 < mawk> I kinda bent a pin or two on the debug connector 2023-08-04T20:00:22 < mawk> but that shouldn't be the issue 2023-08-04T20:02:08 < Steffanx> Big issue 2023-08-04T20:02:18 < Steffanx> Major issue 2023-08-04T20:03:23 < machinehum> Steffanx: okay 2023-08-04T21:09:06 < Steffanx> Lol such enthusiasm machinehum 2023-08-04T21:11:54 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-08-04T21:20:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T21:42:55 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-04T21:45:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-04T21:46:07 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T22:15:47 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-04T22:34:25 < josuah> echo 230V >/dev/gnd # kapoom! 2023-08-04T22:34:49 < josuah> ah, no, Permission denied... not funny 2023-08-04T22:50:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-04T23:10:48 -!- nomorekaki [~nomorekak@188-67-134-21.bb.dnainternet.fi] has joined ##stm32 2023-08-04T23:13:00 < nomorekaki> hello pro 2023-08-04T23:25:13 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-04T23:30:15 < nomorekaki> I have made a tranceiver code with C. It has buffer array, edge process that is ran by timer capture / match and mainloop process for processing frames and poking callback function 2023-08-04T23:31:05 < nomorekaki> made it in a way there is no way to make multiple instances as I though there would be only one bus 2023-08-04T23:32:44 < nomorekaki> but then I realized I want to actually make device that is splitting the bus in order to replace device in the bus 2023-08-04T23:33:03 < zyp> ? 2023-08-04T23:33:17 < nomorekaki> and use the device more as a backup 2023-08-04T23:33:53 < nomorekaki> basically alter the control to the device in the bus 2023-08-04T23:34:34 < nomorekaki> is there way to make single instance C code more like multi-instance thing by some namespace magic? 2023-08-04T23:35:05 < qyx> no, fix the code 2023-08-04T23:35:10 < qyx> or for another process 2023-08-04T23:35:15 < qyx> *fork 2023-08-04T23:35:55 < nomorekaki> I will but just for mental excercise 2023-08-04T23:36:07 < nomorekaki> what if it's compiled as c++? 2023-08-04T23:36:24 < nomorekaki> then there is options to use namespace magics? 2023-08-04T23:44:55 < zyp> I think you're overcomplicating it 2023-08-04T23:45:29 < zyp> I assume the issue is that you're using global state that you've only got one of? 2023-08-04T23:46:47 < zyp> just refactor the code to put the state into a context struct, then have every relevant function take a pointer to it, and update every call to pass the context 2023-08-04T23:47:07 < zyp> if it's a big code it's a bit tedious, but it's dumb simple work 2023-08-04T23:47:23 < zyp> I've been doing a bunch of it at work 2023-08-04T23:47:45 < zyp> the C++ equivalent would be to stick it in a class 2023-08-04T23:47:49 < nomorekaki> yes context struct 2023-08-04T23:48:06 < nomorekaki> it just occured to me I have some state variables 2023-08-04T23:48:18 < nomorekaki> let's typedef struct one more time 2023-08-04T23:48:22 < zyp> it's effectively the same thing, except the this-pointer becomes implicit 2023-08-04T23:48:45 < zyp> anyway, this is simple refactoring 2023-08-04T23:49:04 < zyp> namespaces solve a different problem 2023-08-04T23:49:15 < nomorekaki> so let's do the thing we knew had to be done at first 2023-08-04T23:50:46 < nomorekaki> how are innovations zyp? 2023-08-04T23:50:59 < zyp> they're great 2023-08-04T23:51:55 < Steffanx> Awesome 2023-08-04T23:52:19 < zyp> was in a client meeting most of the day at work today, showed off the orbtrace testjig I built some weeks ago, now I get to build another nine similar ones for client boards 2023-08-04T23:53:33 < nomorekaki> orbtrace is your business 2023-08-04T23:53:44 < nomorekaki> will be* ? 2023-08-04T23:54:03 < zyp> orbtrace is side business 2023-08-04T23:56:05 < zyp> it's just that this production testing project came up at work now, and I happened to build a testjig recently, so it made sense to draw on that experience 2023-08-04T23:56:16 < machinehum> Steffanx: That's me 2023-08-04T23:56:36 < zyp> https://bin.jvnv.net/file/XZjdk.mp4 2023-08-04T23:56:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 --- Day changed la elo 05 2023 2023-08-05T00:03:02 < qyx> zyp: yesterday I was about to say it is only a matter of time when segger asks you to deliver them some test rigs with hundreds of modules 2023-08-05T00:04:10 < Steffanx> This is a different thing.. 2023-08-05T00:04:41 < Steffanx> ( I also thought it was that rack but that's not what the video is about ) 2023-08-05T00:04:48 < qyx> idk what's on the video 2023-08-05T00:04:57 < qyx> yet 2023-08-05T00:05:09 < Steffanx> Another test jig 2023-08-05T00:05:57 < zyp> qyx, I got an email earlier tonight, not from segger, but one of the other development tool vendors asking to buy an orbtrace :) 2023-08-05T00:06:21 < nomorekaki> they are curious 2023-08-05T00:06:32 < nomorekaki> some hobbyist is crushing it 2023-08-05T00:07:32 < nomorekaki> with his fpga supercharged trace 2023-08-05T00:11:41 < nomorekaki> what is the total number of produced units this far zyp? 2023-08-05T00:15:13 < catphish> same question as earlier - anyone know why writing to flash would only work once per reset? i unlock, erase, write, lock, but this doesn't work again until i reset, i assume it's failing to unlock the second time but haven't verified this 2023-08-05T00:15:47 < catphish> this is what i'm doing - https://paste.debian.net/1287869/ - G4 2023-08-05T00:16:08 < qyx> zyp: but you can't, can you? 2023-08-05T00:16:53 < zyp> qyx, can't what? 2023-08-05T00:17:22 < qyx> sell it 2023-08-05T00:17:32 < qyx> it is not yours sole project 2023-08-05T00:17:38 < nomorekaki> qyx: an orbtrace 2023-08-05T00:17:44 < zyp> not sell the project, sell one device 2023-08-05T00:17:44 < nomorekaki> not the orbtrace 2023-08-05T00:17:55 < qyx> oh 2023-08-05T00:18:15 < nomorekaki> catphish: try adding delay between attempts 2023-08-05T00:18:23 < nomorekaki> like a full second or something 2023-08-05T00:18:36 < zyp> they wanted a quotation that they could send to their accounting people to get approval before they could spend money on one 2023-08-05T00:19:30 < zyp> you know how big companies are, bunch of hoops to jump through 2023-08-05T00:21:02 < zyp> speaking of, I've had another big company buy orbtraces as well, from two different offices in different countries 2023-08-05T00:21:38 < nomorekaki> big five company? 2023-08-05T00:22:16 < zyp> one of them does the whole formal thing of getting a quotation, bouncing that around for a week to get approval, send me a purchase order, get an invoice back, bounce that around again a whole bunch before it gets paid 2023-08-05T00:22:48 < zyp> this other office in the same company goes on the store, order five units paid with credit card and calls it a day 2023-08-05T00:30:27 < catphish> nomorekaki: it's not that, i'm sending the requests manually, so several seconds in between 2023-08-05T00:32:39 < qyx> did you read the rm properly? 2023-08-05T00:33:09 < qyx> isn't there by any chance a limitation on the number of clock cycles between lockmregister writes? 2023-08-05T00:33:30 < qyx> idk if it applies to rtc unlocking or flash unlocking 2023-08-05T00:33:40 < qyx> but for sure there is such thing 2023-08-05T00:33:57 -!- hexo_ [~hexo@user/hexo] has quit [Remote host closed the connection] 2023-08-05T00:34:12 < zyp> catphish, which g4 variant do you have? 2023-08-05T00:34:46 < catphish> G431CBU 2023-08-05T00:34:52 < zyp> ok, so cat2 2023-08-05T00:35:47 < catphish> qyx: i did try disabling interrupts, but i don't think it's a timing problem, because it consistently works, once 2023-08-05T00:36:19 < catphish> it feels like locking the flash locks out out permanently, but the manual doesn't say it does that :( 2023-08-05T00:36:35 < zyp> catphish, change line 22 to FLASH->CR = FLASH_CR_LOCK; 2023-08-05T00:37:03 < qyx> why? 2023-08-05T00:37:46 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-05T00:37:51 < zyp> I guess the issue is you're not clearing PG before you're locking it, so it detects PG and LOCK at the same time as a sequence error and locks you out 2023-08-05T00:38:26 < catphish> zyp: that fixed it! thanks! 2023-08-05T00:38:27 < zyp> and there's no bits in FLASH_CR you want to still be set when you lock it 2023-08-05T00:38:33 < zyp> :) 2023-08-05T00:38:46 < catphish> does that RM say that? 2023-08-05T00:38:52 < qyx> uh I would have said PG is cleared after programming is complete 2023-08-05T00:39:06 < catphish> that worked anyway <3 2023-08-05T00:39:28 < zyp> PG is not autocleared, it remains set until you clear it manually 2023-08-05T00:40:03 < catphish> i ddn't realise everything had to be clear peior to locking 2023-08-05T00:40:07 * qyx decreases his stm32-fu level by 1 2023-08-05T00:40:20 < catphish> zyp knows too much :) 2023-08-05T00:40:29 < catphish> but assistance very much appreciated as always 2023-08-05T00:40:36 < catphish> now i can make my flying machine configurable 2023-08-05T00:41:09 < qyx> yeah there are some reasons on this channel I would rate me 5/10 wrt stm32 knowledge 2023-08-05T00:44:21 < zyp> I kinda miss the time when I was employed in a position where I primarily did debugging, I like that shit :) 2023-08-05T00:44:44 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-05T00:46:24 < catphish> as far as i can see, the manual doesn't say that flash operatons have to be disabled before locking out the CR register, but... in hindsight it seems obvious that you'd want to do that 2023-08-05T00:46:37 < catphish> and it does say "Clear the PG bit in the FLASH_SR register if there no more programming request anymore." 2023-08-05T00:46:45 < zyp> hence why I'm only guessing :) 2023-08-05T00:47:01 < catphish> zyp: well you guessed correctly! 2023-08-05T01:14:03 < nomorekaki> matrix bridge? 2023-08-05T01:14:39 < nomorekaki> do I need to find a phone booth before that? 2023-08-05T01:15:16 < zyp> yep 2023-08-05T01:39:01 < Mangy_Dog> https://twitter.com/MD_Builds/status/1687593888473628674 2023-08-05T02:16:05 -!- cy6erlion [~cy6erlion@197.233.223.214] has joined ##stm32 2023-08-05T02:47:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-05T03:00:28 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-05T03:14:57 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-05T03:32:35 -!- cy6erlion [~cy6erlion@197.233.223.214] has quit [Quit: Leaving.] 2023-08-05T03:51:04 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-05T06:45:44 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-05T07:07:06 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-05T07:16:14 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 260 seconds] 2023-08-05T07:29:28 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5326))] 2023-08-05T07:29:33 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-05T07:38:19 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-05T08:33:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-05T11:02:16 -!- nomorekaki [~nomorekak@188-67-134-21.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-05T11:22:57 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-05T11:25:48 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-05T11:29:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-08-05T11:43:42 -!- jadew [~rcc@5.12.190.164] has quit [Ping timeout: 245 seconds] 2023-08-05T11:56:51 -!- jadew [~rcc@5.12.182.40] has joined ##stm32 2023-08-05T12:24:02 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6835-6526-f60a-21ab.fixed6.kpn.net] has joined ##stm32 2023-08-05T12:40:28 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-05T14:57:59 -!- [_] is now known as [itchyjunk] 2023-08-05T15:38:34 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-f894-27fd-7d2a-a54b.fixed6.kpn.net] has joined ##stm32 2023-08-05T15:41:24 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6835-6526-f60a-21ab.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-08-05T15:41:24 -!- martinmoene1 is now known as martinmoene 2023-08-05T16:24:14 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-05T16:24:20 < Laurence_b> olimexino smps is working 2023-08-05T16:24:31 < Laurence_b> I swapped the inductor for something sensible 2023-08-05T16:30:54 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-05T16:34:00 < Laurence_b> https://hackaday.com/2023/08/04/a-cycle-accurate-sega-genesis-with-fpga/ 2023-08-05T16:34:02 < Laurence_b> insane 2023-08-05T16:38:39 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-05T16:58:26 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-05T17:21:03 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-08-05T17:22:52 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-05T17:45:23 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-05T17:57:19 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-08-05T18:04:17 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-05T18:10:20 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-05T18:20:13 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-05T18:24:20 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-05T18:26:17 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-08-05T18:26:22 -!- ferdna_ [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-08-05T18:44:13 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-05T18:53:25 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 245 seconds] 2023-08-05T19:01:13 < machinehum> https://www.clockworkpi.com/ 2023-08-05T19:01:20 < machinehum> How many of these things you think these guys sell 2023-08-05T19:03:10 < Laurence_b> .has improved the analog circuitry section to increase the stability of the power supply./join ##stm32-offtopic 2023-08-05T19:03:14 < Laurence_b> uh oh 2023-08-05T19:23:21 < Laurence_b> holy shit 2023-08-05T19:23:23 < Laurence_b> https://www.zhihu.com/question/613850973/answer/3151388707 2023-08-05T19:30:03 < Laurence_b> inb4 fake 2023-08-05T19:36:50 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-05T20:12:30 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-05T20:32:31 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-05T21:08:51 < catphish> that genesis FPGA is pretty cool, though i have a real one on my TV stand, which is cooler :D 2023-08-05T21:15:04 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-08-05T21:43:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 252 seconds] 2023-08-05T21:53:49 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-05T22:04:09 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-05T22:05:04 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-05T23:21:10 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-05T23:29:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-05T23:29:23 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-05T23:29:43 < Laurence_b> conclusion seems either video is fake or superconductor is confirmed 2023-08-05T23:30:16 < Steffanx> Took you a while to get to that conclusion mr Laurence_b 2023-08-05T23:30:27 < Laurence_b> lol 2023-08-05T23:33:23 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-05T23:33:53 < BrainDamage> Laurence_b: that video would only prove it's a diamagnet, not a superconductor 2023-08-05T23:34:37 < BrainDamage> in fact, it's more suspicious of a diamagnet, because a superconductor should remain a diamagnet in any orientation, while that thing seems to snap in place on a preferential axis 2023-08-05T23:35:42 < Laurence_b> a diamagnet wouldnt be stable in a field above a single magnet surely? 2023-08-05T23:35:57 < BrainDamage> it is stable 2023-08-05T23:36:32 < BrainDamage> I forgot the name of the theorem, the one with no stable configuration of charges, a diamagnet doesn't fall under it 2023-08-05T23:37:18 < BrainDamage> in fact a type 1 superconductor is a perfect diamagnet 2023-08-05T23:37:34 < BrainDamage> while normal diamagnets are such only in one preferential axis 2023-08-05T23:38:11 < BrainDamage> type 2 instead have flux pinning, which is different from diamagnetism 2023-08-05T23:39:07 < BrainDamage> ah, earnshaw's theorem 2023-08-05T23:39:39 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-05T23:43:06 < Laurence_b> yeah, but aiui you need a >dipole moment for stable diamagnetic leviation 2023-08-05T23:48:11 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 2023-08-05T23:49:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] --- Day changed su elo 06 2023 2023-08-06T00:57:17 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-06T01:37:42 < qyx> til diamagnetism 2023-08-06T02:12:23 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-06T02:31:11 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 264 seconds] 2023-08-06T03:05:13 < bitmask> so I got a new phone today... had the same phone for 8+ years... shoulda done this sooner 2023-08-06T03:05:28 < bitmask> its so fast 2023-08-06T03:11:21 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-06T03:17:25 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 240 seconds] 2023-08-06T03:20:16 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f894-27fd-7d2a-a54b.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-06T04:12:25 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 240 seconds] 2023-08-06T04:15:11 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-06T04:17:35 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-06T04:25:54 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-06T06:41:36 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-06T06:56:41 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-06T07:14:44 -!- qyx [~qyx@84.245.121.82] has quit [Ping timeout: 260 seconds] 2023-08-06T07:16:35 -!- qyx [~qyx@84.245.121.31] has joined ##stm32 2023-08-06T08:15:34 -!- boB_K7IQ [boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-06T08:56:16 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-06T09:40:11 -!- boB_K7IQ [boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-08-06T09:47:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-06T11:32:55 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-06T11:50:59 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-08-06T11:53:30 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-08-06T12:00:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-06T13:10:55 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-06T13:11:04 < Laurence_b> sheet 4chan down 2023-08-06T13:12:26 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Read error: Connection reset by peer] 2023-08-06T13:13:20 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-06T13:15:05 -!- ferdna__ [~ferdna@user/ferdna] has joined ##stm32 2023-08-06T13:17:25 -!- ferdna_ [~ferdna@user/ferdna] has quit [Ping timeout: 240 seconds] 2023-08-06T14:01:26 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-06T14:54:02 < Laurence_b> ok wtf 2023-08-06T14:54:11 < Laurence_b> individual threads load ok 2023-08-06T14:54:17 < Laurence_b> this is 8chan tier fuckery 2023-08-06T14:54:42 < Laurence_b> >when only the qtard shite would load properly 2023-08-06T14:55:19 < Laurence_b> I need muh 4chan 2023-08-06T15:57:10 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-06T15:59:56 -!- Laurence_b [~Laurence_@126.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-06T16:22:40 -!- ferdna__ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-06T16:29:59 < Steffanx> and no one but blaxter cares 2023-08-06T17:13:04 -!- catphish_ [~quassel@user/catphish] has joined ##stm32 2023-08-06T17:13:14 -!- catphish [~quassel@user/catphish] has quit [Read error: Connection reset by peer] 2023-08-06T17:20:30 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 245 seconds] 2023-08-06T17:44:55 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-06T19:15:10 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-06T19:21:34 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-06T19:22:24 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c97b-854d-dd24-ddc3.fixed6.kpn.net] has joined ##stm32 2023-08-06T20:03:05 < mawk> what primes make p²-p+1 a cube? 2023-08-06T20:03:30 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-06T20:07:12 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-06T20:19:26 < jpa-> 19 2023-08-06T20:30:11 < jpa-> it appears that the sequence 19, 1572569, 3179611, 7073281, ... is not in OEIS, so if there is some significance behind mawk's formula, maybe they should submit it 2023-08-06T20:55:46 < Steffanx> Lol 2023-08-06T21:35:59 < mawk> I didn't check the answer yet 2023-08-06T21:36:07 < mawk> but it's probably correct 2023-08-06T21:53:03 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-06T21:57:25 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-06T22:17:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-08-06T22:30:30 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-06T22:47:40 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-06T23:28:36 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-06T23:56:25 < Steffanx> We're still waiting for the solution mawk --- Day changed ma elo 07 2023 2023-08-07T00:08:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-07T00:11:18 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-07T00:24:35 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-07T00:26:33 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Excess Flood] 2023-08-07T00:27:00 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-07T00:33:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c97b-854d-dd24-ddc3.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-07T00:34:07 < BrainDamage> mawk is past the solution, mawk is now part of the precipitate 2023-08-07T00:49:24 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 260 seconds] 2023-08-07T01:02:02 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-07T01:17:25 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 240 seconds] 2023-08-07T01:30:58 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-07T01:44:15 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-07T01:44:23 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-07T01:48:50 < Steffanx> I watched a 15 minute "documentary" on the drug issue in the US today. Then suddenly mawk's twin brother appeared. Maybe it was even mawk himself. 2023-08-07T01:49:03 < Steffanx> Oh no, mawk doesn't do alcohol 2023-08-07T01:49:14 < mawk> lol 2023-08-07T01:49:22 < mawk> why 2023-08-07T01:49:26 < mawk> what did the guy say 2023-08-07T01:54:40 < Steffanx> https://www.dumpert.nl/item/100068163_c780fbe4 11:04 or something 2023-08-07T01:55:37 < Steffanx> Or maybe more around 13:10 2023-08-07T01:56:44 < Steffanx> Anyway, when that guy appeared I was like: "Hey mawk" 2023-08-07T02:00:57 < mawk> lol 2023-08-07T02:01:04 < mawk> I don't do meth or crack 2023-08-07T02:15:44 < Steffanx> Fentanyl isn't on the list either mawk? 2023-08-07T02:21:00 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-07T02:27:30 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-07T02:34:47 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-07T02:51:54 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-08-07T02:55:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T03:11:37 < mawk> I did fentanyl a few times Steffanx 2023-08-07T03:11:42 < mawk> but it's a bit lame 2023-08-07T03:11:57 < mawk> doesn't feel as good as some of the rest 2023-08-07T03:17:15 < mawk> all the primes such that (p+1)|(p³+1) are the ones where p²-p+1 is a cube 2023-08-07T03:17:24 < mawk> but there's probably something more precise to say 2023-08-07T03:18:50 < mawk> yeah no nevermind 2023-08-07T03:18:55 < mawk> that's not it 2023-08-07T03:19:12 < mawk> that's true for all numbers what I said lol 2023-08-07T03:38:22 < mawk> if p²-p+1 is a cube then 4p²-4p+1 is a square 2023-08-07T03:38:30 < mawk> not sure how that helps 2023-08-07T03:38:35 < mawk> but squares are nicer than cubes 2023-08-07T06:34:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-07T07:29:21 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-07T07:52:23 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-07T08:17:25 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 240 seconds] 2023-08-07T08:31:50 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-07T08:39:53 -!- ventYl [~ventyl@bband-dyn96.178-40-12.t-com.sk] has quit [Ping timeout: 250 seconds] 2023-08-07T08:41:49 -!- ventYl [~ventyl@adsl-dyn51.78-98-110.t-com.sk] has joined ##stm32 2023-08-07T08:59:39 -!- ventYl [~ventyl@adsl-dyn51.78-98-110.t-com.sk] has quit [Ping timeout: 246 seconds] 2023-08-07T09:26:44 -!- ventYl [~ventyl@bband-dyn154.178-40-107.t-com.sk] has joined ##stm32 2023-08-07T09:46:23 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-07T09:46:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-07T10:11:34 < jpa-> meh, turns out things don't work that well when you flash RP2040 binary to GD32 2023-08-07T10:11:44 < jpa-> i think getting back to speed after vacation will take a while.. 2023-08-07T10:13:32 < zyp> hah 2023-08-07T12:10:41 -!- catphish_ [~quassel@user/catphish] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 2023-08-07T12:11:45 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-08-07T12:25:14 < jerkey> lolll 2023-08-07T12:29:08 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-07T12:38:25 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5326))] 2023-08-07T12:38:30 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-07T13:24:11 -!- ventYl [~ventyl@bband-dyn154.178-40-107.t-com.sk] has quit [Ping timeout: 245 seconds] 2023-08-07T13:26:18 -!- ventYl [~ventyl@bband-dyn197.178-40-20.t-com.sk] has joined ##stm32 2023-08-07T14:03:42 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-07T14:09:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T15:31:01 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-07T16:36:16 -!- ventYl [~ventyl@bband-dyn197.178-40-20.t-com.sk] has quit [Ping timeout: 245 seconds] 2023-08-07T17:37:42 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-07T18:03:10 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-07T18:06:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T18:23:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-07T18:26:25 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T18:30:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-08-07T18:31:59 < jbo> moin 2023-08-07T18:33:02 < Steffanx> Gooday 2023-08-07T18:34:49 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T18:39:45 < jbo> feelin' funky? 2023-08-07T18:41:12 < mawk> no 2023-08-07T18:41:24 < jbo> I guess mawk needs more drugs 2023-08-07T18:41:35 < mawk> yes 2023-08-07T18:41:42 < mawk> I haven't done heroin for like 2 months 2023-08-07T18:41:51 < mawk> send me some 2023-08-07T19:01:56 < Steffanx> No, good job mawk 2023-08-07T19:02:01 < Steffanx> There progress 2023-08-07T19:27:45 -!- catphish [~quassel@user/catphish] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 2023-08-07T19:28:44 -!- catphish [~quassel@user/catphish] has joined ##stm32 2023-08-07T19:31:14 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-07T19:54:53 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-07T21:20:16 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-08-07T22:14:50 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-07T22:53:29 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-07T22:56:58 -!- phryk [~totallyno@user/phryk] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-08-07T23:25:20 -!- phryk [~totallyno@user/phryk] has joined ##stm32 --- Day changed ti elo 08 2023 2023-08-08T00:40:31 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-08T00:48:43 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-08T01:05:18 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-08T01:05:49 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 2023-08-08T01:32:28 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-08T02:07:11 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-08T02:07:12 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Excess Flood] 2023-08-08T02:07:29 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-08T02:34:25 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-08-08T03:29:19 < karlp> china prices are wild, how can anyone compete with this sort of shit: >https://www.aliexpress.com/item/1005005293290720.html 2023-08-08T03:37:07 < aandrew> yep it's crazy 2023-08-08T04:20:58 < qyx> that's why import fees exist 2023-08-08T04:24:42 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-08T04:27:57 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-08T04:33:20 < qyx> have you ever seen liion batteries with a electrolytic cap shape? 2023-08-08T04:44:31 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has joined ##stm32 2023-08-08T04:53:03 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-08T04:54:32 -!- machinehum4 [~machinehu@216.73.163.68] has joined ##stm32 2023-08-08T04:56:40 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:49a8:e9a3:7a97:5000] has quit [Ping timeout: 246 seconds] 2023-08-08T04:56:45 -!- machinehum1 [~machinehu@85.203.36.170] has joined ##stm32 2023-08-08T04:58:46 -!- machinehum4 [~machinehu@216.73.163.68] has quit [Ping timeout: 246 seconds] 2023-08-08T05:08:39 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-08T05:14:33 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-08T05:22:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-08-08T06:48:31 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-08T07:18:25 -!- qyx [~qyx@84.245.121.31] has quit [Ping timeout: 245 seconds] 2023-08-08T07:20:35 -!- qyx [~qyx@84.245.121.190] has joined ##stm32 2023-08-08T07:52:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-08-08T08:21:51 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-08T08:24:57 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-08T08:26:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-08T08:29:07 -!- machinehum1 [~machinehu@85.203.36.170] has quit [Ping timeout: 246 seconds] 2023-08-08T08:33:03 -!- machinehum1 [~machinehu@85.203.36.170] has joined ##stm32 2023-08-08T08:43:27 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-08T09:05:09 -!- benishor_ [~benishor@scene.ro] has joined ##stm32 2023-08-08T09:08:04 -!- t4nk_freenode [~Go@user/t4nk] has joined ##stm32 2023-08-08T09:08:07 -!- tct [~tct@user/tct] has joined ##stm32 2023-08-08T09:08:20 -!- veverak1 [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-08-08T09:11:20 < jpa-> qyx: only stuff like https://www.digikey.com/en/products/detail/eaton-electronics-division/HSL1016-3R8306-R/12179231 2023-08-08T09:11:37 < jpa-> i wonder if they ship those precharged or if the minimum voltage can be temporarily violated 2023-08-08T09:12:59 -!- Netsplit *.net <-> *.split quits: yukam, veverak, t4nk_fn, invzim, jbo, benishor 2023-08-08T09:12:59 -!- benishor_ is now known as benishor 2023-08-08T09:14:16 -!- machinehum1 [~machinehu@85.203.36.170] has quit [Ping timeout: 246 seconds] 2023-08-08T09:15:50 -!- yukam [~yukam@user/yukam] has joined ##stm32 2023-08-08T09:19:01 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-08T09:19:19 -!- invzim [~perole@vv.kirurg.org] has joined ##stm32 2023-08-08T09:26:54 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-08T09:39:48 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-08T09:51:22 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-08T10:04:22 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 250 seconds] 2023-08-08T10:05:04 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-08T10:15:07 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f992-4b28-d3b0-cc99.fixed6.kpn.net] has joined ##stm32 2023-08-08T10:42:45 < jpa-> meh, i've been tracing this 40 MHz resonance in this SMPS design since yesterday 2023-08-08T10:43:35 < jpa-> at some point i had removed the 50 ohm terminator at scope to get just a bit more sensitivity.. turns out that caused the EMC probe cable to resonate at 40 MHz 2023-08-08T10:44:59 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-08T10:45:11 < jpa-> i still have a nasty current spike that was exciting it, but no resonance 2023-08-08T11:40:45 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f992-4b28-d3b0-cc99.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-08T11:44:43 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f992-4b28-d3b0-cc99.fixed6.kpn.net] has joined ##stm32 2023-08-08T11:49:59 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-08-08T12:19:47 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Ping timeout: 260 seconds] 2023-08-08T12:26:09 -!- machinehum [~machinehu@24.85.189.106] has quit [Ping timeout: 260 seconds] 2023-08-08T12:27:53 -!- machinehum [~machinehu@s0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T12:55:20 -!- Netsplit *.net <-> *.split quits: quinor, jadew, Sadale, jerkey, Posterdati, zyp, BrainDamage, specing, Spirit532, nerozero, (+64 more, use /NETSPLIT to show all of them) 2023-08-08T13:04:09 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-08-08T13:04:11 -!- Netsplit over, joins: machinehum, martinmoene, GenTooMan, invzim, yukam, veverak1, tct, t4nk_freenode, benishor, nerozero (+64 more) 2023-08-08T14:00:55 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-08-08T14:01:00 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-08T14:01:39 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-08T14:05:04 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T14:09:15 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 245 seconds] 2023-08-08T14:16:44 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-08T14:17:50 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-08T14:46:06 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T14:46:59 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-08T14:50:30 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 245 seconds] 2023-08-08T15:20:23 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T15:24:42 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 246 seconds] 2023-08-08T15:32:32 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 2023-08-08T15:32:49 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-08-08T15:44:35 < qyx> huh imx6 with 2G RAM and a mSATA SSD is much much faster than imx6 with 512M of RAM and a microSD/emmc 2023-08-08T15:55:08 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T15:59:21 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 246 seconds] 2023-08-08T15:59:35 < specing> wait tille you see what a 2007 era core2duo with 8GB RAM and SATA II(?) SSD can do 2023-08-08T16:05:35 -!- alan_o [~alan_o@2600:1700:1902:210f:55ec:7734:c87e:32c6] has quit [Ping timeout: 246 seconds] 2023-08-08T16:06:27 -!- alan_o [~alan_o@2600:1700:1902:210f:b4a1:2869:475e:4f7d] has joined ##stm32 2023-08-08T16:29:12 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-08T16:43:35 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T16:46:15 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-08T16:48:06 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 260 seconds] 2023-08-08T16:58:02 < BrainDamage> https://bitbang.social/@kalleboo/110851722205437482 2023-08-08T17:07:00 < PaulFertser> ^^^ recomended 2023-08-08T17:16:50 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-08-08T17:18:42 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T17:23:32 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 256 seconds] 2023-08-08T17:27:41 < bitmask> anyone have a S23? what phone case should I get 2023-08-08T17:27:47 < mawk> https://files.bitbang.social/media_attachments/files/110/851/727/194/098/986/original/449fc59d82221450.jpeg 2023-08-08T17:27:49 < mawk> ??? wtf is that 2023-08-08T17:28:30 < bitmask> grounding the cable shielding? 2023-08-08T17:28:52 < BrainDamage> no, it's the literal earth connection 2023-08-08T17:29:09 < mawk> I mean not literally wtf is that, but why did they decide to do it like this 2023-08-08T17:29:43 < BrainDamage> because japan got a weird af system thanks to the american invasion 2023-08-08T17:30:06 < BrainDamage> they can have all permutations of 220, 110 V and 50 and 60Hz IN THE SAME ROOM 2023-08-08T17:30:14 < bitmask> also, google wallet vs samsung wallet (pretty sure im going with samsung wallet) 2023-08-08T17:31:40 < zyp> mawk, my guess is that they wanted a way to make plugs that'd fit both in grounded and ungrounded outlets 2023-08-08T17:39:53 < Steffanx> It all depends on the (ab)use of your phone bitmask 2023-08-08T17:40:53 < bitmask> agreed, i have a case picked out for heavy protection and normal protection. I'm usually pretty good with phones. I just replaced my galaxy S6 which never had anything wrong except replacing dead batteries 2023-08-08T17:41:03 < bitmask> so I think i'll go with the more minimal style 2023-08-08T17:42:52 < qyx> I have replaced my phone dead battery three times 2023-08-08T17:43:40 < bitmask> same with the s6, which I guess isn't terrible for 8 years 2023-08-08T17:44:06 < bitmask> though im about to replace it for the 4th to keep it as a backup 2023-08-08T17:46:55 * qyx has his phone since 2007 2023-08-08T17:53:11 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T17:55:16 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-08T17:57:44 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 244 seconds] 2023-08-08T18:25:41 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T18:27:49 -!- specing [~specing@user/specing] has quit [Ping timeout: 260 seconds] 2023-08-08T18:29:55 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 240 seconds] 2023-08-08T18:45:16 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-08T18:59:22 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T19:04:01 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 260 seconds] 2023-08-08T19:33:44 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T19:38:26 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 260 seconds] 2023-08-08T19:51:51 -!- machinehum1 [~machinehu@85.203.36.39] has joined ##stm32 2023-08-08T20:06:53 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-08T20:08:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-08T20:09:34 -!- machinehum2 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T20:10:42 -!- machinehum1 [~machinehu@85.203.36.39] has quit [Ping timeout: 256 seconds] 2023-08-08T20:19:00 -!- machinehum3 [~machinehu@216.73.163.118] has joined ##stm32 2023-08-08T20:20:51 -!- machinehum2 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 244 seconds] 2023-08-08T20:22:46 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T20:25:26 -!- machinehum3 [~machinehu@216.73.163.118] has quit [Ping timeout: 256 seconds] 2023-08-08T20:43:03 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 246 seconds] 2023-08-08T20:56:27 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T21:00:45 -!- josuah [~josuah@46.23.94.12] has quit [Quit: josuah] 2023-08-08T21:01:16 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 260 seconds] 2023-08-08T21:03:24 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 256 seconds] 2023-08-08T21:04:21 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-08T21:16:32 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T21:18:55 < qyx> no innovation today? 2023-08-08T21:19:13 < aandrew> so much innovation there's no time for chats 2023-08-08T21:19:36 < qyx> oh that's a cursed loop 2023-08-08T21:19:43 < qyx> there is no innovation without chats 2023-08-08T21:21:00 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 246 seconds] 2023-08-08T21:21:55 < Steffanx> So what about innovations qyx? 2023-08-08T21:22:52 < qyx> found a board with f750, two SDRAMs and a flash 2023-08-08T21:22:58 < qyx> I nearly forgot F7 exists 2023-08-08T21:23:36 < qyx> I remember I was playing with linux on it, I got kernel with init running and then lost any interest 2023-08-08T21:26:35 < Steffanx> Installed a mid ebike motor on a bicycle, but no innovations in that. that's pretty much plug and play. Removing the bottom bracket was the hardest part 2023-08-08T21:27:07 < qyx> do you need it? 2023-08-08T21:27:39 < qyx> are there any sloped roads in dutchland? 2023-08-08T21:28:05 < Steffanx> Wasn't for me 2023-08-08T21:28:17 < Steffanx> But there's wind in dutchland 2023-08-08T21:31:04 < Steffanx> It's "only" 250 watt and limited to 25km/h since more isn't allowed in dutchland (more is allowed but it's more regulated and is annoying) 2023-08-08T21:31:44 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 256 seconds] 2023-08-08T21:32:06 < qyx> how is it even checked 2023-08-08T21:33:01 < Steffanx> Never heard of it being checked, but... 2023-08-08T21:33:08 < qyx> I don't mind low wattage motors if they could at least go up the hill, however slow 2023-08-08T21:33:18 < qyx> but they simply stop 2023-08-08T21:34:43 < Steffanx> Oh since this year they have a device to check the speed 2023-08-08T21:34:56 < Steffanx> They = zhe police 2023-08-08T21:35:27 < qyx> but you are allowed to go faster, the only catch is the motor have to disengage at 25 2023-08-08T21:35:37 < qyx> how are they going to check? 2023-08-08T21:35:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 244 seconds] 2023-08-08T21:36:00 < qyx> but the bike on a holder and turn the pedals by hand to see? 2023-08-08T21:37:31 < qyx> the whole thing is rotten 2023-08-08T21:37:52 < qyx> are you on a road inside a town? you can go 50 with whatever means you use 2023-08-08T21:38:01 < qyx> you can be running, biking, e-biking, motor-biking 2023-08-08T21:38:28 < qyx> if you want to go on a pedestrian path, go 5 kmh, if you use scooter, go 5 kmh, if you run, go 5 kmh, etc. 2023-08-08T21:38:50 < qyx> oh want to go on a highway with a scooter, if you wish, as long as your minimum speed is 80 2023-08-08T21:38:54 < Steffanx> I'm not sure. Not by hand I assume.. 2023-08-08T21:40:11 < qyx> but to be more ontopic, int0 and int1 CAN vectors in libopencm3 are swapped 2023-08-08T21:40:23 < qyx> it took me a while to find out wtf 2023-08-08T21:41:07 < Steffanx> Fun fun 2023-08-08T21:42:01 < Steffanx> A scooter on a high way? 2023-08-08T21:42:47 < qyx> why not, normal scooters are allowed here, motorbikes too, cars too, trucks too 2023-08-08T21:42:55 < Steffanx> A scooter which can legally go > 80 km/h isn't a scooter... 2023-08-08T21:42:58 < qyx> it is just a belief an e-scooter is not capable enough 2023-08-08T21:43:19 < Steffanx> Not here at least. 2023-08-08T21:44:19 < qyx> just googled what 125cc scooters you can get here, all can go > 100 kmh 2023-08-08T21:44:55 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T21:47:00 < veverak1> Steffanx: here it is <3 2023-08-08T21:47:09 < veverak1> qyx: I can confirm that mine 125cc does go over 100 2023-08-08T21:47:16 < veverak1> even 109 if you go down the hill 2023-08-08T21:49:03 < Steffanx> What kind of license plate you need for that? 2023-08-08T21:51:34 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 256 seconds] 2023-08-08T21:54:01 < veverak1> wat you talkin about? 2023-08-08T21:54:10 < veverak1> license plate does not affect anything, you just have to have it here 2023-08-08T21:59:18 < Steffanx> Oh it does here. 2023-08-08T22:01:10 < veverak1> not here 2023-08-08T22:01:19 < veverak1> it's based on your drivers license 2023-08-08T22:01:33 < veverak1> it affects what kind of vehicles you can drive and that's it 2023-08-08T22:03:41 < veverak1> only funny thing is that if you get you lice for driving normal cars, you also get a license for 125cc scooters with automatic gearbox :)) 2023-08-08T22:05:48 < qyx> that should be the case for e-scooters imho if you want to ride them on public roads 2023-08-08T22:05:57 < qyx> and for e-bikes too 2023-08-08T22:11:26 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-08T22:15:56 -!- machinehum4 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 260 seconds] 2023-08-08T22:48:10 -!- machinehum4 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has joined ##stm32 2023-08-08T22:53:36 -!- tct is now known as jbo 2023-08-08T23:12:22 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-08T23:21:58 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-08T23:34:50 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-08T23:43:09 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 --- Day changed ke elo 09 2023 2023-08-09T00:07:15 -!- Laurence_b [~Laurence_@113.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-09T00:07:17 < Laurence_b> Broke: Room Temperature Superconductor 2023-08-09T00:07:18 < Laurence_b> Woke: Room Temperature IQ 2023-08-09T00:19:08 < BrainDamage> Yoke: Reading the Room 2023-08-09T00:23:52 < qyx> don't abuse Poka pls 2023-08-09T00:24:56 < jerkey> qyx: what is that 2023-08-09T00:26:39 < qyx> google for poka-yoke 2023-08-09T00:44:43 -!- Laurence_b [~Laurence_@113.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-09T00:46:27 < catphish> once again, i hate designing SMPS 2023-08-09T00:48:10 < zyp> so don't, buy a predesigned one 2023-08-09T00:51:54 < qyx> why do you 2023-08-09T00:51:55 -!- machinehum4 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has quit [Read error: Connection reset by peer] 2023-08-09T00:53:02 -!- machinehum4 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has joined ##stm32 2023-08-09T01:15:29 < catphish> zyp: all i have to do is place a chip and the necessary passives, but it's still hard to choose everything and get it to fit :( 2023-08-09T01:22:10 -!- machinehum4 [~machinehu@S0106ac17c8bbf41b.vn.shawcable.net] has quit [Ping timeout: 245 seconds] 2023-08-09T01:24:25 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-08-09T01:28:53 < zyp> pay me well enough and I'll do it for you 2023-08-09T01:29:25 < zyp> not that I'm an expert, but it's not really that hard 2023-08-09T01:30:37 < zyp> did you pick a regulator yet? IMO that's the hardest part 2023-08-09T01:31:03 < zyp> and that's just because there's so many possible choices 2023-08-09T01:31:38 < zyp> (or because you have weird requirements and can't really find anything satisfying them) 2023-08-09T01:32:35 < zyp> once you've picked a regulator it's just a matter of reading the datasheet to find the recommended inductor and capacitor values, and feedback divider if you need one 2023-08-09T01:32:59 < zyp> and layout tends to be fairly obvious 2023-08-09T01:33:16 < zyp> just minimize the two inductor-switch-capacitor loops 2023-08-09T01:39:05 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-09T01:39:08 < qyx> open ti.com webench, enter Vin, Vout, Iout and a couple of other parameters and it spits a bunch of calculated schematics at you for different switchers 2023-08-09T01:39:15 < qyx> open the one you like and adjust 2023-08-09T01:39:36 < qyx> you can even exchange individual parts for alternatives, run simulations, calculate efficiencies, etc. 2023-08-09T01:39:51 < qyx> it automatically computes compensation too if it is needed 2023-08-09T01:40:12 < qyx> and for layout what zyp says 2023-08-09T01:40:38 < karlp> fucking weirdass dev boards... 2023-08-09T01:40:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f992-4b28-d3b0-cc99.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-09T01:40:55 < qyx> that too 2023-08-09T01:41:02 < qyx> they have some 2023-08-09T01:41:07 < karlp> I was playing with some pixel leds on a t-embed, (esp32-s3) and couldn't get blue to work, and the green was really dim. 2023-08-09T01:41:11 < karlp> but everything else "worked" 2023-08-09T01:41:26 < qyx> too low vcc? 2023-08-09T01:41:28 < karlp> pulled it apart, probing it, seeing 2.4V on 3 3V3 line, 2023-08-09T01:41:34 < karlp> wtf, how is this working?! 2023-08-09T01:41:47 < karlp> went back to another demo firmware, works no problems, full brightness. 2023-08-09T01:41:58 < karlp> find out eventually there's a pin for "power on extra peripherals") 2023-08-09T01:42:38 < karlp> https://bin.jvnv.net/file/llhoY.png 2023-08-09T01:42:54 < karlp> so before I was getting, just "whatever" on the v3v net. 2023-08-09T01:43:57 < qyx> I hate those schematics 2023-08-09T01:44:02 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-09T01:44:15 < qyx> there should be a mandatory minimum OCPD level for doing EE 2023-08-09T01:45:04 < qyx> and the absolute state of art is a gnd symbol upside down 2023-08-09T01:47:24 < karlp> it's also nice to use 3.3V for the 5V pixel leds too, but... seems to work 2023-08-09T01:48:30 < zyp> my boss likes designing stuff with a 3.0V rail for the mcu and a separate 3.3V rail to drive LEDs to ensure they turn properly on 2023-08-09T01:49:14 < qyx> what's the point of 3V0? 2023-08-09T01:49:24 < qyx> unless on primary lithiums 2023-08-09T01:50:32 < zyp> squeezing a little bit more lifetime out of a rechargable liion, maybe 2023-08-09T01:50:49 < qyx> oh yeah for battery powered there is a usecase 2023-08-09T01:50:53 < qyx> *re usecases 2023-08-09T01:51:12 < qyx> but for that I would go with 1V8 2023-08-09T01:51:29 < zyp> this is nrf stuff, radio probably needs 3V 2023-08-09T01:54:56 < zyp> the project I'm working on now consists of nine different devices, one cental gateway and different sensors and other devices that talks to it 2023-08-09T01:55:18 < zyp> the latter 8 have quite varying power schemes 2023-08-09T01:55:33 < zyp> well, and different power budgets too 2023-08-09T01:56:21 < zyp> some run on external 12V and the rest run of a variety of different batteries 2023-08-09T01:56:52 < zyp> probably both lithium primary, 3x1.5V primary and 9V primary 2023-08-09T01:57:32 < karlp> got any jobs? job market here is just drowning in c# azure and travel booking integrations shit. 2023-08-09T01:58:17 < karlp> I'm hoping it will pick up a bit again now that people are back to work :) 2023-08-09T01:59:09 < zyp> seems to be quiet season right now 2023-08-09T01:59:14 < karlp> indeed. 2023-08-09T01:59:25 < karlp> I havent even looked at the jobs boards for the last month :) 2023-08-09T01:59:36 < karlp> saw a meme about lk99 reproduction efforts, 2023-08-09T02:00:07 < karlp> "china: multiple university teams instantly" "usa: one corporate backed, for marketing" "russia: catgirl, ??" "europe: on holidays" 2023-08-09T02:01:19 < zyp> hah 2023-08-09T02:12:34 < catphish> zyp: yes, choosing a regulator seems to be the hard part, my problem is essentially in 3 parts 1) i plan to run at up to 25V input but my supply is likely to have nasty transients, so i need a good headroom, ideally 36V+ max input 2) i want to use JLC stocked parts 3) my desing is space constrained, and 36v+ switches seem to be much larger, and also expect you to design with much larger inductors and capacitors 2023-08-09T02:13:40 < zyp> I'd expect size to scale with current/power, not voltage 2023-08-09T02:14:18 < zyp> what I've noticed is that you've got a lot smaller selection of synchronous bucks when you get up to those voltages 2023-08-09T02:14:22 < catphish> zyp: that's not my experience :( i imagine higher input voltage requires more inductance, but i'm not sure why it would need larger output caps 2023-08-09T02:14:36 < catphish> right, that's the other problem 2023-08-09T02:15:45 < catphish> so, right now i'm using TPS54302, i love it, it's a 28V 3A synchronous regulator in a SOT23 2023-08-09T02:16:10 < catphish> it requires only fairly small ceramic caps and a 10u inductor 2023-08-09T02:16:46 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-09T02:17:05 < catphish> thusly: https://i.imgur.com/RkWwQpF.png 2023-08-09T02:17:54 < catphish> all i want to do is increase this design to tolerate voltage spikes expected when running at 25V with motors on the same supply 2023-08-09T02:18:23 < catphish> 3V isn't afaik enough headroom for a TVS, so i just wanted a 36V tolerant part 2023-08-09T02:18:44 < BrainDamage> high voltage in ics means large spaces to avoid breakdown 2023-08-09T02:18:45 < zyp> I blew up a regulator on my quadrotor controller because I didn't have enough headroom :) 2023-08-09T02:18:56 < BrainDamage> large spaces means large parasitics, so it goes slower 2023-08-09T02:19:01 < catphish> but there simply isn't a 36V tolerant 2A+ syncronous switch in a SOT23, at least not available form LCSC 2023-08-09T02:19:10 < BrainDamage> and lower operating frequency, means bigger reactive elements 2023-08-09T02:19:12 < zyp> why do you need 2A? 2023-08-09T02:20:54 < catphish> well... at 5V i probably don't need 2A, the 5V regulator will supply the flight controller (stm32, gyro, baro, flash), radio receiver, and gps, i guess the requirement is well below an amp 2023-08-09T02:21:10 < zyp> yes. 2023-08-09T02:21:15 < catphish> but i was also hoping to duplicate the regulator to supply 12V for a video transmitter 2023-08-09T02:21:56 < catphish> and that thing will probably draw up to an amp (2A may still be overkill, but i haven't checked how much so) 2023-08-09T02:22:13 < catphish> most similar devices promise 2A on both rails 2023-08-09T02:22:19 < catphish> but that's probably not necessary 2023-08-09T02:23:04 < catphish> i suppose i should measure what i actually realistically need 2023-08-09T02:26:59 < zyp> if you've got a 12V rail, why not make 5V from that? 2023-08-09T02:28:29 < catphish> 1) i want to be able to switch the 12V rail off, i could add a separate FET for this, but it seemed easier just to disable the regulator 2) it seems the 12v rail is going to be the one that's the more problematic to design anyway 2023-08-09T02:30:29 < catphish> idealy this board needs the following arrangement 25V->12V (2A), 25V->5V (nnn mA), 5V->3.3V ( the 3v3 regulator is easy 2023-08-09T02:31:17 < catphish> and i wonder if the 5v regulator might be easy if i include small current devices (like 600mA) in my search 2023-08-09T02:31:37 < catphish> and that might free up some room for a larger 12V supply 2023-08-09T02:32:28 < catphish> i think AP64200SP-13 may be the least worst option 2023-08-09T02:34:23 < catphish> but i'd prefer a TI part 2023-08-09T02:35:04 < catphish> so i'll search again, considering that i can use a large part for the 12v supply and a smaller one for 5v might help 2023-08-09T02:43:10 < catphish> must sleep now though, thanks for the ideas 2023-08-09T02:48:29 < qyx> max25231 2023-08-09T02:48:36 < qyx> lmr36006 if you want ti 2023-08-09T02:49:04 < qyx> much current, 36 V, cool layout, small inductor 2023-08-09T02:49:10 < qyx> synchronous 2023-08-09T02:50:26 < qyx> uh sot23, good joke 2023-08-09T02:52:00 < jerkey> for me i like to choose whatever digikey or mouser has most in stock, it means it will stay available and its a good value 2023-08-09T02:53:00 < qyx> mc34063 satisfies your requirements and I would not use it 2023-08-09T02:53:13 < jerkey> i still don't understand why you said don't abuse Poka pls 2023-08-09T02:53:34 < jerkey> why not use mc34063 2023-08-09T02:53:55 < BrainDamage> I meant yoke as the animal bardment, they meant poka-yoke as the engineering concept 2023-08-09T02:54:23 < BrainDamage> as in, design your thing so that it's literally impossible to mount it wrong 2023-08-09T02:54:40 < qyx> mc34063 is a lm7805 of switchers 2023-08-09T02:55:59 < qyx> or lm321 if you want an opamp analogy 2023-08-09T02:56:13 < qyx> or stm32f1 if you want a MCU analogy 2023-08-09T02:57:18 < qyx> that is, there is not a single reason to use them in anything you design in 2023 2023-08-09T03:30:58 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-09T03:42:20 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-09T03:51:32 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:99d:7869:3352:b05c] has joined ##stm32 2023-08-09T03:55:37 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Read error: Connection reset by peer] 2023-08-09T03:55:57 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-09T04:31:39 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-09T04:51:52 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-09T04:56:00 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:99d:7869:3352:b05c] has quit [Ping timeout: 256 seconds] 2023-08-09T05:26:15 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-09T06:31:39 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-09T06:44:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-09T06:45:54 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T07:09:01 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-09T07:16:05 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-09T07:30:00 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T07:44:01 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T07:48:24 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T08:14:57 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T08:19:25 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 240 seconds] 2023-08-09T08:43:33 -!- ventYl [~ventyl@bband-dyn197.178-40-20.t-com.sk] has joined ##stm32 2023-08-09T08:50:41 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T08:55:01 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 245 seconds] 2023-08-09T09:09:29 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T09:14:39 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T09:43:07 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T09:47:31 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 245 seconds] 2023-08-09T09:50:43 < zyp> catphish, for a board you'll do at jlcpcb, maybe lgs5148 would do 2023-08-09T10:00:13 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T10:04:32 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 245 seconds] 2023-08-09T10:34:35 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T10:39:24 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 256 seconds] 2023-08-09T11:08:50 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T11:13:18 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T11:42:01 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T11:46:25 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 240 seconds] 2023-08-09T11:55:13 < catphish> zyp: yep, for the 5v supply that looks like a good option 2023-08-09T11:55:26 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-09T11:55:26 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-09T11:55:26 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-09T11:55:38 < catphish> for the 12V supply, the ideal chip is MP9943, but LCSC don't stock it, so will try to find something similar 2023-08-09T12:01:50 < catphish> i might also just give up and say it's not the flight controller's job to provide a power supply for video transmitters, but i'd rather it did :) 2023-08-09T12:03:35 < qyx> I would make it modular if you can tolerate the the additional weight 2023-08-09T12:04:06 < qyx> eg. stackable boards for comms, flight control, power supply, fpv, etc. 2023-08-09T12:08:08 < catphish> i just did a broader search: synchronous bucks with 36v input in qfn, there are a few. LMR33620ARNXR might work 2023-08-09T12:08:53 < qyx> yes the whole lmr series is good 2023-08-09T12:09:11 < qyx> and easy layout 2023-08-09T12:09:15 < catphish> or LM60430AQRPKRQ1 2023-08-09T12:09:23 < catphish> not sure of difference between LM and LMR 2023-08-09T12:10:18 < catphish> but now i'm seeing plenty of options of LM/LMR 2023-08-09T12:10:23 < catphish> so hopefullyi have my answer 2023-08-09T12:11:01 < qyx> even on lcsc? 2023-08-09T12:11:33 < catphish> yes, not huge amounts of stock, but good enough for now 2023-08-09T12:12:38 < catphish> https://i.imgur.com/5ZXp7Ml.png 2023-08-09T12:12:52 < catphish> only one of those is sanely priced 2023-08-09T12:13:06 < catphish> so that's probably my answer 2023-08-09T12:14:19 < qyx> I started considering 5e for a quality beefy switcher an adequate price :P 2023-08-09T12:14:59 < catphish> 5e? 2023-08-09T12:15:24 < qyx> 5 eur 2023-08-09T12:15:38 < catphish> ah 2023-08-09T12:15:44 < qyx> anyway lm2575 is the one the whole china is using probably 2023-08-09T12:15:50 < qyx> but old, slow and not sync 2023-08-09T12:16:01 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T12:16:43 < catphish> china uses MP9943 2023-08-09T12:16:55 < qyx> oh for 12 V output it achieves 90%+ efficiency 2023-08-09T12:16:58 < qyx> which is not that bad 2023-08-09T12:17:17 < qyx> see the stock https://www.lcsc.com/search?q=lm2575 2023-08-09T12:18:23 < catphish> that design would be huge though :( 2023-08-09T12:19:00 < catphish> this is what i'm trying to achieve https://www.amazon.co.uk/Adjustable-Step-Down-Regulator-Quadcopter-Martian/dp/B07MS1ND5M 2023-08-09T12:19:12 < catphish> i believe that is MP9943 2023-08-09T12:19:47 < catphish> so i've distilled my requirement to "36v synchronous qfn" 2023-08-09T12:20:34 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 260 seconds] 2023-08-09T12:25:39 < qyx> oh got a mouser 2023-08-09T12:49:16 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T12:49:59 < catphish> JLC will order in parts from anywhere, though i don't know how this works in terms of cost / MOQ 2023-08-09T12:51:02 < zyp> MOQ is usually not an issue, but they tend to upcharge you a bit, varies from part to part 2023-08-09T12:51:46 < zyp> not enough to matter for small volume stuff 2023-08-09T12:52:12 < catphish> it's crazy that they can be bothered to do this 2023-08-09T12:52:25 < catphish> https://i.imgur.com/bnm1c8I.png 2023-08-09T12:52:26 < zyp> overall it works well, I've been doing it a bunch 2023-08-09T12:53:42 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 245 seconds] 2023-08-09T12:54:21 < catphish> that's interestinfg 2023-08-09T12:55:06 < zyp> you can also preorder stuff they have in the catalog but not in stock, works surprisingly well 2023-08-09T12:55:19 < zyp> as in, most of the time they can actually get it 2023-08-09T12:55:42 < zyp> sometimes they come back with ridiculous prices though 2023-08-09T13:00:06 < catphish> that's useful too 2023-08-09T13:01:10 -!- leptonix [~leptonix@134.122.103.122] has quit [Remote host closed the connection] 2023-08-09T13:24:04 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T13:25:28 < catphish> just tested the actual "12v" load, it draws 950mA at 10V, 1.05A at 9V. I want this to be able to run on 3S lithium batteries so realistically i think i'll want to set the output voltage to 9V, in which case a 1A switch won't be enough (and even at 10V 950mA i wouldn't want to have so little headroom). with that in mind i think i was right to assume i'd want a 2A switch. i didn't measure the 5V load, but i suspect it's negligable so i've stopped worrying 2023-08-09T13:25:28 < catphish> about that part and will likely use a 600mA switch 2023-08-09T13:26:34 -!- leptonix [~leptonix@134.122.103.122] has joined ##stm32 2023-08-09T13:28:24 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T13:33:06 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-09T13:58:25 -!- leptonix [~leptonix@134.122.103.122] has quit [Quit: leaving] 2023-08-09T13:58:39 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T14:02:55 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T14:32:24 -!- benishor [~benishor@scene.ro] has quit [Ping timeout: 260 seconds] 2023-08-09T14:33:38 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T14:37:52 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 240 seconds] 2023-08-09T14:38:48 -!- benishor [~benishor@scene.ro] has joined ##stm32 2023-08-09T14:45:21 -!- leptonix [~leptonix@134.122.103.122] has joined ##stm32 2023-08-09T15:05:29 -!- Netsplit *.net <-> *.split quits: jmcgnh, Alexer, quinor, jadew, Sadale, jerkey, esden, Posterdati, zyp, BrainDamage, (+69 more, use /NETSPLIT to show all of them) 2023-08-09T15:05:37 -!- Netsplit over, joins: Mangy_Dog, nerozero, boB_K7IQ, GenTooMan, duude__, CatCow, josuah, Alexer, jmcgnh, yukam (+69 more) 2023-08-09T15:10:23 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T15:15:02 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 250 seconds] 2023-08-09T15:17:15 -!- leptonix [~leptonix@134.122.103.122] has quit [Ping timeout: 246 seconds] 2023-08-09T15:18:38 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-09T15:23:08 -!- leptonix [~leptonix@134.122.103.122] has joined ##stm32 2023-08-09T15:42:42 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T15:47:06 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 245 seconds] 2023-08-09T15:55:14 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-09T16:16:58 -!- machinehum4 [~machinehu@185.217.117.36] has joined ##stm32 2023-08-09T16:21:10 -!- machinehum4 [~machinehu@185.217.117.36] has quit [Ping timeout: 246 seconds] 2023-08-09T16:23:06 -!- leptonix [~leptonix@134.122.103.122] has quit [Remote host closed the connection] 2023-08-09T16:23:20 -!- leptonix [~leptonix@134.122.103.122] has joined ##stm32 2023-08-09T17:29:09 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 260 seconds] 2023-08-09T18:16:28 -!- machinehum4 [~machinehu@209.52.88.121] has joined ##stm32 2023-08-09T18:54:07 -!- machinehum4 [~machinehu@209.52.88.121] has quit [Ping timeout: 245 seconds] 2023-08-09T18:58:43 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-09T18:59:48 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-08-09T19:03:59 < karlp> I've got an encoder that's labelled as having two pins, a and b, but it's a little flaky when going slowly. 2023-08-09T19:04:10 < karlp> I'm looking at the schematic, and it's got a, b, c _and_ common? 2023-08-09T19:04:52 < karlp> all three pulled up (common grounded), and two of them used in the demos, 2023-08-09T19:05:24 < karlp> what's the third pin? does it matter? If I'm getting flaky counts at low speeds, is this likely a crap cheap encoder, or can this sitll be hardware+software? 2023-08-09T19:08:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-09T19:11:40 < jpa-> could be encoder for 3-phase motors? 2023-08-09T19:11:55 < jpa-> though usually that would be labelled uvw 2023-08-09T19:12:25 < jpa-> and any two would work as quadrature, but with uneven intervals 2023-08-09T19:12:43 < jpa-> have you scoped it? 2023-08-09T19:17:10 < BrainDamage> unrelated: https://gct.co/files/drawings/usb4085.pdf 2023-08-09T19:17:29 < BrainDamage> time to step-up your barefoot part embedding 2023-08-09T19:17:42 < BrainDamage> now you can have a whole usbc port in it, very modern 2023-08-09T19:19:02 < jpa-> i tried it but the CC-to-GND resistance was only 1.2 kohm, way out of spec 2023-08-09T20:13:02 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-09T20:34:15 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-08-09T20:42:38 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2023-08-09T21:40:30 < zyp> karlp, encoder as in quadrature? third signal might be zero index? 2023-08-09T21:46:20 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-09T21:49:39 < \dev\ice> guys, what's your opinion about zephyr? 2023-08-09T21:49:54 < zyp> mixed 2023-08-09T21:58:22 < qyx> complex 2023-08-09T21:59:30 < \dev\ice> what's better alternative for green field project? 2023-08-09T22:09:52 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-09T22:28:58 < catphish> almost done with my SMPS design, i have one more complaint though! in their dataseet laout recommendations, TI seem to use implausibly small inductors 2023-08-09T22:34:55 < qyx> small as in value? 2023-08-09T22:53:00 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-09T23:06:09 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a923-8da0-26b8-de56.fixed6.kpn.net] has joined ##stm32 2023-08-09T23:31:07 < karlp> I expect quadrature, gonna scope it tonight and teach myself some things :) 2023-08-09T23:31:27 < karlp> \dev\ice: the questio is sort of, what are you hoping to get from zephyr? 2023-08-09T23:32:22 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 2023-08-09T23:37:26 < karlp> it's definitely intended as a UI knob, not a motor thing. 2023-08-09T23:38:33 < karlp> really feel like sense peek things would be handy now, isntead of soldering leads on to clip scope probes onto :) 2023-08-09T23:49:17 < zyp> third connector isn't push then? 2023-08-09T23:49:24 < zyp> third signal* 2023-08-09T23:49:25 < karlp> no, that's another io altogether. 2023-08-09T23:49:37 < karlp> i think it's just a janky part, 2023-08-09T23:50:00 < zyp> is it mechanical? mechanical encoders are bouncy 2023-08-09T23:50:18 < karlp> hangon no, it seems to be the button. 2023-08-09T23:50:30 < karlp> weird, let me check some connections here, I might just have bad documentation 2023-08-09T23:53:14 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-09T23:54:33 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 --- Day changed to elo 10 2023 2023-08-10T00:11:12 < karlp> hrm, bourns and alps both specify 2-5ms debounc required, gonna suspect this generic library doesn't have tht in it :) 2023-08-10T00:11:53 < qyx> that's probably what owons miss too 2023-08-10T00:11:53 < karlp> well, it says it does at least. 2023-08-10T00:18:06 < karlp> hrm, this guy claims his state machine based method automatically debounces... I'm ... not sure. 2023-08-10T00:18:13 < karlp> slow rotation definitely seems to be the issue 2023-08-10T00:19:14 < karlp> and if you're using this as a menu selector, not a "big scroller" then yeah, single detent seems like the thing to optimize for, not losing some high speed spinning 2023-08-10T00:19:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-10T00:20:43 < zyp> speaking of janky encoders, the encoder on my tenma lab psu is misbehaving 2023-08-10T00:20:56 < zyp> makes it pretty hard to change the voltage and current setpoints 2023-08-10T00:23:39 < Steffanx> The white noisy one? 2023-08-10T00:25:13 < zyp> the rebranded korad 2023-08-10T00:25:37 < Steffanx> I "cleaned" mine by disassembling it and pouring some iso propanol in the encoder and turning it a bit. Fixed it for me. 2023-08-10T00:26:14 < zyp> yeah, I just haven't bothered yet 2023-08-10T00:27:24 -!- machinehum4 [~machinehu@209.52.88.130] has joined ##stm32 2023-08-10T00:49:13 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2023-08-10T01:02:31 -!- machinehum4 [~machinehu@209.52.88.130] has quit [Ping timeout: 245 seconds] 2023-08-10T01:02:34 -!- machinehum1 [~machinehu@d154-5-222-161.bchsia.telus.net] has joined ##stm32 2023-08-10T01:07:36 < machinehum1> https://www.diana.nato.int/challenges.html 2023-08-10T01:49:19 < karlp> speaking of nato... https://u24.gov.ua/news/nafo_squadrone 2023-08-10T01:49:40 < karlp> my brother was wearing a couple of nafo shirts when he came over this summer, I didn't think it was anything too seriouis... 2023-08-10T01:50:04 < karlp> https://nafo-ofan.org/ memelords for .ua apparently. 2023-08-10T01:55:30 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-08-10T01:56:16 -!- machinehum1 [~machinehu@d154-5-222-161.bchsia.telus.net] has quit [Ping timeout: 256 seconds] 2023-08-10T02:16:21 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-10T02:21:27 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-08-10T02:27:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a923-8da0-26b8-de56.fixed6.kpn.net] has quit [Remote host closed the connection] 2023-08-10T02:43:02 -!- haritz [~hrtz@user/haritz] has quit [Ping timeout: 246 seconds] 2023-08-10T02:45:38 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2023-08-10T02:49:48 < catphish> having found a nice small SMPS switch, i now realise i need stupidly large passives 2023-08-10T02:50:16 -!- haritz [~hrtz@82-69-11-11.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-08-10T02:50:17 -!- haritz [~hrtz@82-69-11-11.dsl.in-addr.zen.co.uk] has quit [Changing host] 2023-08-10T02:50:17 -!- haritz [~hrtz@user/haritz] has joined ##stm32 2023-08-10T02:50:32 < catphish> probably need to choose a higher frequency switch 2023-08-10T02:50:55 < catphish> at 400khz, i need a 22uH 2A inductor and that's not a small part :( 2023-08-10T02:51:16 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-08-10T02:51:23 < qyx> really 2023-08-10T02:51:59 < qyx> 6x6x5 maybe? 2023-08-10T02:52:27 < catphish> this one's 7x9 2023-08-10T02:52:55 < qyx> inductor? 2023-08-10T02:53:01 < catphish> yes 2023-08-10T02:53:27 < qyx> meh DJNR6045-220 is 1.7 A 2023-08-10T02:53:36 < qyx> but xal series should do 2023-08-10T02:54:05 < catphish> 1.7A is probably enough 2023-08-10T02:54:48 < qyx> XAL5050-223MEC 2023-08-10T02:55:00 < qyx> is 3.6 A and is still 5.2x5.2 2023-08-10T02:56:00 < qyx> even xal4040 is okay if 15 uH is enough 2023-08-10T02:56:30 < catphish> YSPI0530-220M is 5.4x5.2 2023-08-10T02:56:34 < catphish> slightly better 2023-08-10T02:57:02 < qyx> when you said large inductor I imagined 12x12 mm or so 2023-08-10T02:57:29 < catphish> well, here's the problem... https://i.imgur.com/NDSLb9E.png 2023-08-10T02:57:50 < catphish> my board is not large, that 7x9 inductor kinda dominates 2023-08-10T02:58:02 < catphish> every mm matters 2023-08-10T02:58:06 < qyx> hot-rod 2023-08-10T02:58:11 < qyx> let's have a look what I used 2023-08-10T02:59:38 < catphish> yeah hot-rod is cool design, 2023-08-10T02:59:54 < qyx> I used a 4040 one, 22u, 0.6 A 2023-08-10T03:00:28 < qyx> but that's not enough for you 2023-08-10T03:00:34 < catphish> i wonder if i should find a faster switch though 2023-08-10T03:00:49 < qyx> LQH44PN220MP0L 2023-08-10T03:01:49 < catphish> 2.1MHz switch would only need 3.3uH, and half the output cap 2023-08-10T03:02:17 < qyx> yes but much lower efficiency considering relatively high input voltage 2023-08-10T03:02:22 < qyx> so more heating 2023-08-10T03:02:34 < catphish> hmm yes 2023-08-10T03:02:53 < qyx> have you checked chip inductors? 2023-08-10T03:03:08 < qyx> I don't like them but they are being used 2023-08-10T03:05:16 < qyx> hm they don't have such high inductance 2023-08-10T03:05:21 < catphish> i didn't know those came in such inductance 2023-08-10T03:05:37 < qyx> I am using 1u for tps62825 2023-08-10T03:05:53 < qyx> it is 1210 package, 2.7 A 2023-08-10T03:06:24 < catphish> i don't really understand the implications of inductor size selection 2023-08-10T03:06:40 < qyx> physical size? 2023-08-10T03:06:44 < catphish> like, what if i run at 10u instead of 22u 2023-08-10T03:06:47 < catphish> (insuctance) 2023-08-10T03:07:50 < qyx> oh, I am not a smps pro, but probably shifted ccm/dcm transition, higher ripple current, stability issues 2023-08-10T03:10:45 < catphish> i just had a thought, i might be able to cheat a bit here 2023-08-10T03:12:07 < qyx> oh and I see you are going to have a fun 2023-08-10T03:12:21 < qyx> let me know if your HSE dies when you load your switcher a bit :P 2023-08-10T03:12:33 < qyx> been there. 2023-08-10T03:13:17 < catphish> the only purpose of this SMPS is to keep output voltage below 25v, and the input voltage will almost always be below that anyway, it's essentially a glorified TVS for a situation where the input might be as high as 25v and noisy, but the output can't tolerate being above 27v 2023-08-10T03:14:17 < qyx> yes there are transient limiters 2023-08-10T03:14:49 < catphish> if i set the output voltage to something like 24v, it will usually be permanently on, and there will be no ripple to worry about, and at higher voltages, the voltage differential will be small 2023-08-10T03:15:20 < qyx> beware not all switchers are able to operate with 100% (pass thru) duty cycle 2023-08-10T03:15:29 < catphish> not sure if it's okay to use a buck this way, or if there's a a better solution 2023-08-10T03:15:42 < qyx> you may do that but check the datasheet 2023-08-10T03:15:52 < qyx> some switchers explicitly advertise this possibility 2023-08-10T03:16:16 < qyx> and some can't do that because the high side mosfet inside is bootstrapped 2023-08-10T03:16:17 < catphish> with an inut of 25v and ouput of 24v i would need a very much smaller inductor 2023-08-10T03:16:38 < catphish> yeah that makes sense, this one has an internal 5v smps so maybe okay 2023-08-10T03:16:53 < qyx> in this case I would use a LDO 2023-08-10T03:16:54 < catphish> or some kind of internal 5v supply anyway 2023-08-10T03:17:18 < qyx> because dropping 1 V at 25 V makes a 96% efficient convrter 2023-08-10T03:17:20 < catphish> never considered just using an ldo! 2023-08-10T03:17:24 < qyx> which you usually cannot achieve with a smps 2023-08-10T03:17:51 < catphish> but this may be painful at lower voltages 2023-08-10T03:18:07 < qyx> you said 25 V is okay 2023-08-10T03:18:20 < qyx> if you need lower output voltages, LDO is out 2023-08-10T03:18:27 < catphish> the load is 10W, at 25v it will draww 400mA and dropping 1V is fine 2023-08-10T03:18:27 < qyx> you will bake it with such a small PCB 2023-08-10T03:18:44 < catphish> but at 10V it will draw 1A, and dropping 1V sucks more 2023-08-10T03:19:13 < catphish> to clarify, the input may be between 10V and 25V 2023-08-10T03:19:27 < qyx> no, if you set it to 25 V, if the input is 12 V, he output will track the input 2023-08-10T03:19:31 < catphish> and the output can also be between 10V and 25V (it's feeding another SMPS) 2023-08-10T03:19:34 < qyx> with a low drop depending on the LDO 2023-08-10T03:20:11 < catphish> oh, as long as the drop is small enough that it can handle 1A 2023-08-10T03:20:12 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-08-10T03:20:23 < qyx> idk if it is okay for you, but when the battery has 12 V and the video thing can tolerate 12 V, LDO will essentially just pass thru 2023-08-10T03:20:42 < qyx> unless the input is > 25 V, the LDO won't even notice 2023-08-10T03:20:48 < catphish> yep, video thing is happy with 6V-25V 2023-08-10T03:21:00 < catphish> and will draw 10W at any voltage 2023-08-10T03:21:30 < catphish> the goal here is just to protect it, and also to be able to turn it off, but a LDO+mosfet is easy 2023-08-10T03:21:39 < qyx> LDO with EN 2023-08-10T03:21:46 < catphish> even better if they exist 2023-08-10T03:22:09 < catphish> can't believe i spend 3 evenings not even considering this option, thanks 2023-08-10T03:22:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-10T03:23:34 < qyx> hm there aren't many capable of 40 V and 1 A 2023-08-10T03:25:13 < catphish> the largest input voltage is actually 25.2V, anything above that is transient (i'm assured these transients will blow up a 30v SMPS) 2023-08-10T03:25:43 < catphish> so the higher the better, but coupling witha TVS will work if there's enough headroom for a TVS to work 2023-08-10T03:27:00 < catphish> i'll look at some parts now 2023-08-10T03:27:22 < qyx> you can also crop the transients and then filter it a bit 2023-08-10T03:27:36 < qyx> or check LM5060 2023-08-10T03:27:40 < qyx> and similar 2023-08-10T03:27:45 -!- machinehum1 [~machinehu@209.52.88.60] has joined ##stm32 2023-08-10T03:28:54 < qyx> but that's essentially a protector, so a OVP will turn off the output 2023-08-10T03:29:19 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-10T03:30:44 < catphish> interesting, maybe good enough 2023-08-10T03:33:22 < catphish> LM317G 2023-08-10T03:34:18 < catphish> / LM317P 2023-08-10T03:34:38 < catphish> in fact any LM317 2023-08-10T03:34:48 < catphish> 40V 1.5A 2023-08-10T03:37:08 -!- machinehum1 [~machinehu@209.52.88.60] has quit [Ping timeout: 256 seconds] 2023-08-10T03:39:07 < catphish> oh, 3v dropout :( 2023-08-10T03:41:16 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-10T03:49:28 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-10T03:53:34 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-10T03:55:43 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2023-08-10T04:08:37 < catphish> this is getting a little wild now, but can i just do this? https://tinyurl.com/25zb4m3b 2023-08-10T04:13:48 < catphish> i guess an adjustable linear regulator is just a variaton on this 2023-08-10T04:22:11 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-10T04:26:09 < catphish> just need to find an appropriate part 2023-08-10T04:54:19 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-10T05:10:50 -!- machinehum1 [~machinehu@2604:3d08:937f:cf00:d412:9adf:ec20:cdc0] has joined ##stm32 2023-08-10T05:20:00 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-10T05:25:08 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 252 seconds] 2023-08-10T05:35:42 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-10T05:40:52 -!- machinehum1 [~machinehu@2604:3d08:937f:cf00:d412:9adf:ec20:cdc0] has quit [Ping timeout: 244 seconds] 2023-08-10T05:49:33 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-10T06:11:42 -!- machinehum1 [~machinehu@2604:3d08:937f:cf00:3402:59e8:f941:5757] has joined ##stm32 2023-08-10T06:38:11 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:753f:f5f9:2ad9:d9f7] has joined ##stm32 2023-08-10T06:38:26 -!- machinehum1 [~machinehu@2604:3d08:937f:cf00:3402:59e8:f941:5757] has quit [Ping timeout: 260 seconds] 2023-08-10T06:42:30 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:753f:f5f9:2ad9:d9f7] has quit [Ping timeout: 246 seconds] 2023-08-10T07:23:55 -!- qyx [~qyx@84.245.121.190] has quit [Ping timeout: 240 seconds] 2023-08-10T07:25:49 -!- qyx [~qyx@84.245.120.227] has joined ##stm32 2023-08-10T08:14:02 -!- Suspect [~rod@pa49-197-224-106.pa.qld.optusnet.com.au] has joined ##stm32 2023-08-10T08:44:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-10T09:02:17 -!- Suspect [~rod@pa49-197-224-106.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-08-10T09:49:46 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2023-08-10T10:02:15 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2023-08-10T10:30:04 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-10T12:40:03 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-10T13:19:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-10T13:19:58 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-10T14:37:55 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-10T14:40:11 -!- karlp [karlp@palmtreev6.beeroclock.net] has quit [Ping timeout: 246 seconds] 2023-08-10T14:40:29 -!- karlp [karlp@palmtreev6.beeroclock.net] has joined ##stm32 2023-08-10T16:44:11 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-10T17:21:37 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-10T17:40:05 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 245 seconds] 2023-08-10T17:50:31 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-08-10T17:54:10 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-10T18:35:52 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 256 seconds] 2023-08-10T18:36:46 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-10T18:44:29 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-10T18:44:39 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 244 seconds] 2023-08-10T18:45:59 -!- duude__- is now known as duude__ 2023-08-10T19:00:58 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-10T19:21:26 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-10T19:27:08 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-10T19:32:52 -!- jadew [~rcc@5.12.182.40] has quit [Ping timeout: 245 seconds] 2023-08-10T19:46:24 -!- jadew [~rcc@5.12.171.19] has joined ##stm32 2023-08-10T19:56:03 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:8ce3:ab2e:5dd0:1b22] has joined ##stm32 2023-08-10T20:20:51 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-08-10T21:39:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-10T21:48:55 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-10T22:07:29 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-10T22:12:27 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-10T23:04:32 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-10T23:06:46 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Client Quit] 2023-08-10T23:18:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2817-35f-4f1b-646.fixed6.kpn.net] has joined ##stm32 2023-08-10T23:20:20 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-10T23:25:55 < catphish> on my ramblings about power supplies - looks like i can get LMR23630DRR, this is a 36V 3A synchronous switch with an adjustable switching frequency in a QFN, will see if the design works out with that one 2023-08-10T23:33:52 < catphish> sadly powerdesigner can't do the variable switching frequency, so i'll have to actually ready the datasheet for calculations :) 2023-08-10T23:36:24 < qyx> how so? 2023-08-10T23:36:43 < qyx> when you open the design, on the left bottom there is "adjust otherparameters" 2023-08-10T23:37:35 < qyx> also one step before you were asked about optimising the design for low cost, high efficiency, owest size, etx 2023-08-10T23:38:59 < catphish> qyx: maybe it can do some chips with variable switching frequency, but it doesn't support LMR23630 as far as i can see 2023-08-10T23:39:15 < qyx> hm 2023-08-10T23:40:04 < catphish> it supports LMR23630A (the 400khz verson) but not LMR23630DRR 2023-08-10T23:43:39 < zyp> no need to calculate, just go to page 21 in the datasheet and pick the appropriate line from the table 2023-08-10T23:43:46 < zyp> e.g. bottom line if you want 5V 2023-08-10T23:46:14 < zyp> it's $3 at jlcpcb though. 2023-08-10T23:51:10 < catphish> yeah i know it's expensive :( but i fear it's the only thing that'll realistically do what i want in the footprint i have 2023-08-10T23:52:09 < zyp> if this is for a one off I wouldn't worry 2023-08-10T23:52:28 < zyp> but if you're designing for volume production, this would be a good place to cost optimize 2023-08-10T23:52:30 < catphish> well, it's not, i'd rather design it cheaply because i have a vague hope of mass producton here 2023-08-10T23:52:45 < catphish> i'm very open to better ideas, but i prefer JLC parts if possible 2023-08-10T23:53:06 < zyp> what's wrong with the $.2 part I suggested the other day? 2023-08-10T23:53:20 < catphish> quud question 2023-08-10T23:53:24 < catphish> *good question 2023-08-10T23:53:42 < catphish> must have been something, but more than happy to look again in case i'm being dumb 2023-08-10T23:54:36 < zyp> I have no idea if it's a good part, I picked it from the jlc parts catalog because it looked like the cheapest one that met the requirements 2023-08-10T23:55:34 < zyp> or, not cheapest, I went by availability 2023-08-10T23:56:09 < zyp> it was the first part that met the requirements, on the list sorted by stock 2023-08-10T23:58:01 < catphish> zyp: looking at the history, you pointed me to a lgs5148, a 600mA part, that would do great for my 5v rail, but not enough current for my 10V 2A rail 2023-08-10T23:58:13 < zyp> indeed 2023-08-10T23:58:27 < catphish> the 36V+ to 10V @ 2A is the challenge :( 2023-08-10T23:59:10 < zyp> in volume, it'll cost less to have one $.2 and one $3 regulator than two $3 regulators 2023-08-10T23:59:10 < catphish> i've been going around this a million times over the last few days, so i will restate what i need, in case anything got lost in my confusion... 2023-08-10T23:59:46 < specing> catphish: building a 10S li-ion charger? --- Day changed pe elo 11 2023 2023-08-11T00:00:25 < zyp> also, if you're cost optimizing, it might be worthwhile to drop the syncronous requirement 2023-08-11T00:03:02 < catphish> i have a battery input that supplies motors, it's very noisy and may be between 10V (3.3 x 3 cells) and 25v (4.2v x 6 cells). i'm advised (based on anecdote) that this is likely to damage a supply with a 30v absolute max input 2023-08-11T00:03:02 < catphish> from this battery supply, i need to produce 1) a 5V supply, low current (probably 500mA max) 2) a 10W 9v-25v supply that doesn't rise above above 27v 2023-08-11T00:04:31 < catphish> simplified, this would be a 36V -> 5V (500mA) and a 36V -> 10V (2A), but i'm also open to cheats that meet the first specification 2023-08-11T00:09:53 < catphish> the 2A rail is the challenge, accordig to TI, a 25V to 10V 2A supply requires a pretty huge insuctor 2023-08-11T00:21:30 -!- Netsplit *.net <-> *.split quits: Posterdati, alan_o 2023-08-11T00:21:53 -!- alan_o [~alan_o@2600:1700:1902:210f:20a5:3cc2:49f1:7d58] has joined ##stm32 2023-08-11T00:22:10 -!- Posterdati [~Posterdat@host-95-238-220-50.retail.telecomitalia.it] has joined ##stm32 2023-08-11T00:22:23 -!- Posterdati [~Posterdat@host-95-238-220-50.retail.telecomitalia.it] has quit [Changing host] 2023-08-11T00:22:23 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-11T00:51:02 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 2023-08-11T00:57:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2817-35f-4f1b-646.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-11T01:05:19 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-08-11T01:08:28 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-11T01:12:23 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-11T01:16:35 < mawk> jpa- for my p²-p+1 = cube problem you said the answers were 19 and then a bunch of other numbers 2023-08-11T01:16:47 < mawk> but there's only one solution, 19 2023-08-11T01:16:53 < mawk> maybe you had rounding errors or whatever 2023-08-11T01:21:29 < Steffanx> we need proof 2023-08-11T01:23:15 < Steffanx> mawk since you're dutchy and frenchy (and because apparently this is "trending") have this non-boom boom boom song in french by dutchies: https://youtu.be/KdIhq1tb8Co?t=114 2023-08-11T01:23:38 < Steffanx> Crying people included. 2023-08-11T01:27:53 < mawk> she has a very belgian accent when speaking french 2023-08-11T01:28:09 < mawk> diiduuudiiiiduuuudiiiduudidududiuuuuudiduu 2023-08-11T01:28:22 < mawk> beautiful french word 2023-08-11T01:30:11 < Steffanx> i bet 2023-08-11T01:31:54 < Steffanx> Maybe you can make a boom boom remix mawk 2023-08-11T01:32:17 < mawk> yes 2023-08-11T01:36:24 < Steffanx> Music is just math right? 2023-08-11T01:47:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-08-11T01:51:56 < mawk> maybe 2023-08-11T01:51:59 < mawk> maybe not 2023-08-11T01:52:13 < mawk> some music is very ugly if you try to plot it 2023-08-11T01:52:31 < mawk> like drums 2023-08-11T01:52:41 < mawk> and percussions in general 2023-08-11T01:53:09 < mawk> just random ugly noise very far from the beautiful sine curve of a tuning fork 2023-08-11T01:53:30 < BrainDamage> that's because "notes" in percussions are arbitrary, the relationships are in the timings 2023-08-11T02:08:23 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-11T02:11:30 -!- hexo_ [~hexo@user/hexo] has quit [Ping timeout: 246 seconds] 2023-08-11T02:12:59 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-11T02:14:57 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-11T02:21:01 < Steffanx> Mawk: Your solutions (like the one you just did in this other channel) look like random noise too, yet I bet you call it beautiful 2023-08-11T02:30:18 < catphish> discarding my requirement for a synchronous chip really opens things up, will probably go with an external diode 2023-08-11T02:32:16 < qyx> I said you will end up with a LM2575 2023-08-11T02:33:42 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 260 seconds] 2023-08-11T02:33:52 < catphish> lol DIP 2023-08-11T02:34:53 < catphish> but no, those are probably too old / big 2023-08-11T02:35:00 < catphish> but something similarly simple 2023-08-11T02:38:08 < catphish> there's lots available, will try to spot one that comes in a QFN 2023-08-11T02:38:34 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-11T02:40:00 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-11T03:05:12 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-11T03:11:27 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-11T03:15:23 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-11T04:26:46 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-11T04:35:47 -!- [_] is now known as [itchyjunk] 2023-08-11T05:29:31 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-11T05:58:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-11T06:13:25 -!- alan_o [~alan_o@2600:1700:1902:210f:20a5:3cc2:49f1:7d58] has quit [Remote host closed the connection] 2023-08-11T06:13:40 -!- alan_o [~alan_o@2600:1700:1902:210f:20a5:3cc2:49f1:7d58] has joined ##stm32 2023-08-11T06:22:45 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-11T07:33:10 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:8ce3:ab2e:5dd0:1b22] has quit [Ping timeout: 246 seconds] 2023-08-11T07:40:52 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-11T07:47:26 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-08-11T07:48:35 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-11T08:10:19 < jpa-> mawk: doubles should be good enough for anyone 2023-08-11T08:30:07 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:6461:d116:f7b5:c308] has joined ##stm32 2023-08-11T08:34:32 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:6461:d116:f7b5:c308] has quit [Ping timeout: 256 seconds] 2023-08-11T09:40:50 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-08-11T09:42:13 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-11T09:42:50 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-08-11T12:39:42 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-11T13:01:31 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-11T13:37:43 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-11T13:37:44 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-11T13:37:44 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-11T13:54:32 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-11T14:12:29 < karlp> re: " zyp | also, if you're cost optimizing, it might be worthwhile to drop the syncronous requirement 2023-08-11T14:12:47 < karlp> is synchronous realllly actually still more expensive? 2023-08-11T14:13:02 < karlp> I know classicaly the ICs were more expensive, but, I'm not really usre that's still the case, 2023-08-11T14:26:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-11T14:32:06 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 256 seconds] 2023-08-11T14:32:26 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-11T14:35:13 < zyp> it's not directly a matter of price, but of selection 2023-08-11T14:35:30 < zyp> there's few synchronous bucks available with the input voltage range catphish wants 2023-08-11T14:35:39 < zyp> and the few that exist are expensive 2023-08-11T14:45:15 < zyp> hmm, RT2872 looks interesting 2023-08-11T14:45:46 < zyp> 36V, 3A, synchronous, available at jlc, <$1 2023-08-11T15:06:05 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-11T15:14:34 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-11T15:51:09 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-11T16:48:16 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-11T17:12:19 -!- c10ud [~c10ud@user/c10ud] has quit [Quit: Leaving] 2023-08-11T17:15:08 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-11T17:15:08 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-11T17:15:08 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-11T17:22:15 < catphish> originally i was hoping for a QFN, but now thinking it'll be worth getting a slightly bigger switch IC, since there's more selection. losing the diode is well worth spending a little extra size on the switch 2023-08-11T17:22:26 < catphish> that RT2872 looks good 2023-08-11T17:23:48 < qyx> remember, a good design matures at least 2 years 2023-08-11T17:23:59 < catphish> my only outstanding question now is about sizing the passives. maths tells me that for a 2A supply with an input of 25v and an output of 10v at 400khz, i should be using a 22uH inductor for a ripple of 30%. but... what happens if i undersize it? 2023-08-11T17:25:04 < catphish> what kind of vengence will i face if i use for example a 10uH? 2023-08-11T17:27:13 < mawk> Joseph Henry will kill your dog 2023-08-11T17:27:16 < catphish> the RT2872 is synchronous and can run at up to 1MHz, so this realy might be an ideal choice, i can slightly decrease the inductor size by doubling the switching frequency, and presumably see a reduction in requirement for output caps too so this is looking like a nice option 2023-08-11T17:27:45 < catphish> i'll draw something up and see, it definitely seems like eliminating QFN as a requirement, it opens some options 2023-08-11T17:28:57 < zyp> the other richtek parts I've used before worked well 2023-08-11T17:32:41 < catphish> thanks :) 2023-08-11T17:32:49 < catphish> i'm sure i'll get there eventually 2023-08-11T17:35:22 < catphish> this is a guess at how much footprint it'll need: https://i.imgur.com/xBVX4UB.png 2023-08-11T17:35:22 < catphish> hopefully with a little juggling i'll be able to also fit the 5v 500mA SMPS in there too 2023-08-11T17:46:24 -!- splud [~noneya.bi@user/splud] has quit [Quit: Leaving] 2023-08-11T17:53:08 < mawk> I found the proof for p²-p+1 = n³ proof; with a series of induction you can deduce that p|(n²+n+1), and then that p = nm-m+1, then m⁴-6m²+4m-3 must be a perfect square and thus m = 3, and then that n²-8n+7 = 0 and thus n = 1 or 7 2023-08-11T17:53:23 < mawk> finishing the proof with the only valid solution n = 7 and m = 3, so p = 19 2023-08-11T17:53:27 < mawk> see jpa- 2023-08-11T17:53:33 < mawk> no dirty ugly computer needed 2023-08-11T17:55:12 < mawk> | means "divides" 2023-08-11T17:57:03 < mawk> dit it het bewijs Steffanx 2023-08-11T17:57:46 < Steffanx> Prachtig 2023-08-11T17:57:57 < mawk> the only slightly tricky part is that the monstrosity with m⁴ is a perfect square but it's not that hard 2023-08-11T17:58:50 < mawk> bound it between (m²-3)² and (m²-2)² 2023-08-11T17:59:26 < mawk> so the only way it's a square is if (m²-3)² = m⁴-6m²+4m-3 so with some tidying up you find m = 3 2023-08-11T18:16:20 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-08-11T18:42:55 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-11T19:14:03 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-08-11T19:39:26 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-08-11T20:25:39 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-08-11T21:10:01 < qyx> I would rather tidy up cat's shit than anything containing a 4th power 2023-08-11T21:32:25 < catphish> zyp: just looked at the list of 36V switches again, the RT2872 looks great, and it has a a cheaper RT7272BGSP, same chip but fixed at 500kHz and under 50 cents, i'll probably want the faster switching here though to minimize the footprint 2023-08-11T21:32:25 < catphish> thanks again for bringing some sense to my search :) 2023-08-11T22:11:54 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 2023-08-11T22:20:57 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-11T22:37:10 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-08-11T22:39:19 < josuah> whoa Zephyr is kind of complex! https://docs.zephyrproject.org/latest/build/cmake/index.html 2023-08-11T23:01:21 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-11T23:02:54 < jpa-> mawk: and only took you three days 2023-08-11T23:03:01 < mawk> yes 2023-08-11T23:03:08 < mawk> but it's beautiful 2023-08-11T23:03:11 < jpa-> i agree 2023-08-11T23:03:18 < jpa-> are you gonna publish it? 2023-08-11T23:11:23 < mawk> no it's nothing novel 2023-08-11T23:19:43 < Steffanx> It's still noise :P --- Day changed la elo 12 2023 2023-08-12T00:09:49 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Quit: Bye] 2023-08-12T00:23:14 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T00:55:02 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-12T01:03:52 < zyp> https://bin.jvnv.net/file/5dtCF.mp4 :D 2023-08-12T01:04:05 -!- Laurence_b [~Laurence_@113.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-12T01:04:08 < Laurence_b> https://nitter.kavin.rocks/mualphaxi/status/1689684492791816208#m 2023-08-12T01:06:59 < qyx> you managed to fill the workshop pretty quick zyp 2023-08-12T01:07:13 < qyx> what is it doing? I don't like the sound 2023-08-12T01:07:26 < zyp> turning on and releasing the brakes 2023-08-12T01:07:37 < zyp> the sounds are the contactors on the main supply 2023-08-12T01:07:46 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T01:08:08 < zyp> it's in emergency stop at the start of the video, until I push the deadman's switch on the teach pendant 2023-08-12T01:51:17 -!- Laurence_b [~Laurence_@113.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-12T02:14:55 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-08-12T02:18:17 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-12T02:20:39 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-12T02:23:27 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-12T02:25:03 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 246 seconds] 2023-08-12T02:25:55 < qyx> I feel like pro, I combined 'watch' and 'timeout' to run measurement every 120 seconds for 60 seconds 2023-08-12T02:26:27 < qyx> nah but it doesn't seem to work 2023-08-12T02:26:44 < qyx> yeah it does 2023-08-12T02:26:46 < qyx> great 2023-08-12T02:27:33 < qyx> except it made the converter dead 2023-08-12T02:33:02 < qyx> machinehum: how is the buck/boost going? 2023-08-12T03:08:15 < catphish> looks like my buck is finally going well, RT2872 will do the job, and everything looks like it fits https://i.imgur.com/FNZMj5H.png 2023-08-12T03:09:32 -!- jadew [~rcc@5.12.171.19] has quit [Ping timeout: 245 seconds] 2023-08-12T03:22:48 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-12T03:22:57 -!- jadew [~rcc@5.12.178.104] has joined ##stm32 2023-08-12T03:23:29 -!- begriffs [~begriffs@user/begriffs] has quit [Client Quit] 2023-08-12T03:42:29 < qyx> challenge of the night: find a 5A inductor with 2 mm height maximum 2023-08-12T03:42:38 < qyx> 10u and less 2023-08-12T03:44:11 < qyx> SRP0620-4R7K perfect match 2023-08-12T03:44:47 < catphish> qyx: MWSA0402S-R10MT 2023-08-12T03:45:25 < qyx> not on mouser 2023-08-12T03:46:02 < qyx> ok and 100 nH is a bit too low :P 2023-08-12T03:46:23 < catphish> lol i misread, i meant MWSA0402S-1R5MT 2023-08-12T03:46:39 < catphish> same form factor, 1.5uH 5A 2023-08-12T03:47:37 < catphish> this is my favourite inductor series because 1) i like the way they look 2) they're in kicad :) 2023-08-12T03:47:48 < catphish> oh and 3) they're on JLC 2023-08-12T04:31:41 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-12T04:48:27 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-12T04:58:05 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-12T05:44:28 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-12T05:48:54 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-12T07:02:54 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-12T07:28:51 -!- qyx [~qyx@84.245.120.227] has quit [Ping timeout: 246 seconds] 2023-08-12T07:30:52 -!- qyx [~qyx@84.245.120.129] has joined ##stm32 2023-08-12T07:39:00 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-12T07:43:29 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T07:45:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-12T08:00:28 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-12T08:42:50 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-12T10:01:42 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-08-12T11:55:26 -!- ventYl [~ventyl@bband-dyn197.178-40-20.t-com.sk] has quit [Ping timeout: 245 seconds] 2023-08-12T11:57:23 -!- ventYl [~ventyl@bband-dyn237.178-40-240.t-com.sk] has joined ##stm32 2023-08-12T12:39:08 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5326))] 2023-08-12T12:39:14 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-12T12:49:14 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-12T13:42:54 -!- drzacek [~quassel@2a01:3d8:4ac:3000:6d77:1900:ba50:29e1] has joined ##stm32 2023-08-12T13:48:19 -!- drzacek [~quassel@2a01:3d8:4ac:3000:6d77:1900:ba50:29e1] has quit [Quit: Quit] 2023-08-12T13:51:12 -!- drzacek [~quassel@2a01:3d8:4ac:3000:6d77:1900:ba50:29e1] has joined ##stm32 2023-08-12T14:04:54 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Read error: Connection reset by peer] 2023-08-12T14:24:12 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-08-12T14:28:58 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-12T15:57:20 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-08-12T15:59:29 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-12T16:01:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-12T16:37:41 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-12T16:45:12 -!- specing [~specing@user/specing] has quit [Ping timeout: 244 seconds] 2023-08-12T16:52:16 -!- drzacek [~quassel@2a01:3d8:4ac:3000:6d77:1900:ba50:29e1] has quit [Quit: Quit] 2023-08-12T16:55:15 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-12T18:29:19 -!- ventYl [~ventyl@bband-dyn237.178-40-240.t-com.sk] has quit [Ping timeout: 246 seconds] 2023-08-12T18:40:30 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-12T19:00:37 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-12T19:02:00 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-12T19:14:25 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-08-12T19:28:37 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T19:30:46 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Excess Flood] 2023-08-12T19:45:04 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T19:57:48 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-12T20:02:09 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-12T20:14:55 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 240 seconds] 2023-08-12T20:27:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 256 seconds] 2023-08-12T20:49:55 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-12T20:57:11 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:3594:c5d2:dfc:b572] has joined ##stm32 2023-08-12T21:02:44 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:3594:c5d2:dfc:b572] has quit [Ping timeout: 258 seconds] 2023-08-12T21:17:06 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-12T21:22:42 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 260 seconds] 2023-08-12T21:30:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-08-12T21:32:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:3594:c5d2:dfc:b572] has joined ##stm32 2023-08-12T21:36:51 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:3594:c5d2:dfc:b572] has quit [Ping timeout: 258 seconds] 2023-08-12T21:44:50 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-08-12T22:00:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-12T22:26:52 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-12T22:47:25 < qyx> no innovation today 2023-08-12T23:00:50 < Steffanx> There 2023-08-12T23:00:54 < Steffanx> 's still time 2023-08-12T23:55:40 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has joined ##stm32 2023-08-12T23:56:09 < nomorekaki> Steffanx: https://www.youtube.com/watch?v=Jf62F9le12w musics 2023-08-12T23:58:00 < nomorekaki> not so serious musics 2023-08-12T23:59:48 < Steffanx> i see --- Day changed su elo 13 2023 2023-08-13T00:01:32 < nomorekaki> radio night program had weird musics 2023-08-13T00:01:49 < nomorekaki> how do you like the musics 2023-08-13T00:09:55 < Steffanx> Could be worse 2023-08-13T00:41:33 < catphish> i'll innovate you in a minute 2023-08-13T00:43:36 < nomorekaki> sounds like a threat 2023-08-13T00:51:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 248 seconds] 2023-08-13T00:55:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-13T00:57:31 < Steffanx> nomorekaki 2.0 2023-08-13T01:07:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 252 seconds] 2023-08-13T01:20:57 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-13T01:36:14 < qyx> Steffanx: no I just slept it through 2023-08-13T01:36:39 < Steffanx> So better go back to sleep 2023-08-13T01:51:27 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Quit: Bye] 2023-08-13T02:01:45 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-13T02:17:25 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 240 seconds] 2023-08-13T02:48:12 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-13T03:20:18 < karlp> 00:47 this is my favourite inductor series because 1) i like the way they look 2) they're in kicad :) 2023-08-13T03:20:35 < karlp> you're welcome :) 2023-08-13T03:22:03 < karlp> oh, sorry for the arrogance, that was the other family that overlapped, greg and I were both doing inductors at the same time. 2023-08-13T03:22:14 < karlp> I had to re-generate his, but the sunlord was strictly speaking his 2023-08-13T03:23:48 < karlp> these days, you just have to dump some csvs, and the footprint generators can do good things: https://gitlab.com/kicad/libraries/kicad-footprint-generator/-/raw/master/scripts/Inductor_SMD/sunlord_mwsa.csv?ref_type=heads 2023-08-13T03:24:10 < karlp> plan is to have them be able to generate models too, there'ðs some drafts of it, 2023-08-13T04:08:56 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-13T04:09:48 -!- begriffs [~begriffs@user/begriffs] has quit [Client Quit] 2023-08-13T05:22:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-13T05:42:07 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-13T06:04:25 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-13T07:37:31 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-13T07:45:38 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-13T07:46:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-13T08:17:15 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-13T08:38:17 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-13T09:16:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-13T09:19:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-13T09:42:25 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-13T09:46:32 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-13T09:47:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-13T10:16:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-13T10:17:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-13T10:55:25 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-13T13:34:21 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-13T13:35:32 < catphish> someone just sent me this, absolutely perfect for my SMPS requirement https://datasheet.lcsc.com/lcsc/1811151653_Silergy-Corp-SY8303AIC_C97054.pdf 2023-08-13T13:41:14 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-08-13T13:43:45 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 246 seconds] 2023-08-13T14:15:17 < Steffanx> Lcsc and their confidential documents 2023-08-13T14:19:27 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 246 seconds] 2023-08-13T14:19:44 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-13T14:29:55 < zyp> looks nice 2023-08-13T14:39:50 -!- ferdna__ [~ferdna@user/ferdna] has joined ##stm32 2023-08-13T14:42:23 -!- ferdna_ [~ferdna@user/ferdna] has quit [Ping timeout: 250 seconds] 2023-08-13T14:53:51 -!- drzacek [~quassel@2a01:3d8:4bd:1d00:4a37:6a91:b5e5:6ab7] has joined ##stm32 2023-08-13T14:53:55 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has joined ##stm32 2023-08-13T14:56:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-13T15:03:25 -!- drzacek [~quassel@2a01:3d8:4bd:1d00:4a37:6a91:b5e5:6ab7] has quit [Quit: Quit] 2023-08-13T15:40:58 -!- IanW_ [~IceChat9@jindivik.force9.co.uk] has quit [Quit: Bye] 2023-08-13T15:53:48 -!- drzacek [~quassel@2a01:3d8:4bd:1d00:4a37:6a91:b5e5:6ab7] has joined ##stm32 2023-08-13T15:54:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-13T16:40:32 -!- ferdna__ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-13T16:44:10 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-13T17:41:09 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-13T17:42:52 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-13T18:24:51 -!- ventYl [~ventyl@bband-dyn133.95-103-31.t-com.sk] has joined ##stm32 2023-08-13T18:25:41 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-13T19:22:36 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-13T19:46:37 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-08-13T19:51:02 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-13T20:06:14 -!- hsv [~unknown@user/hsv] has quit [Ping timeout: 246 seconds] 2023-08-13T20:10:42 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 252 seconds] 2023-08-13T20:19:43 < BrainDamage> https://ar.is-a.cat/c/a2e60671864c1337ce768d8f5a56cac41952df80.jpg 2023-08-13T20:53:33 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-08-13T20:58:24 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-13T22:39:06 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-13T22:52:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-13T22:56:55 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Excess Flood] 2023-08-13T22:57:23 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-13T23:07:30 -!- drzacek [~quassel@2a01:3d8:4bd:1d00:4a37:6a91:b5e5:6ab7] has quit [Quit: Quit] --- Day changed ma elo 14 2023 2023-08-14T00:44:18 < PaulFertser> Attacking satellites: https://publications.cispa.saarland/3934/1/SatSec-Oakland22.pdf (the authors casually mention writing AVR32 QEMU support to verify their attacks) 2023-08-14T00:44:42 < PaulFertser> They had access to firmware binaries for the sats in question, but not to the source code. 2023-08-14T01:01:22 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-08-14T01:02:50 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-14T01:07:27 < zyp> https://bin.jvnv.net/file/cAB2o.mp4 2023-08-14T01:44:08 < josuah> zyp: it's aliiive! 2023-08-14T01:45:07 < josuah> PaulFertser: hacking the NASA, excepts for real 2023-08-14T01:47:04 < josuah> zyp: is this a project involving LiteX? 2023-08-14T01:49:11 < zyp> yes 2023-08-14T01:50:05 < josuah> nice! 2023-08-14T01:50:38 < zyp> did you see the pendant video a week or two ago? 2023-08-14T01:51:20 < zyp> https://bin.jvnv.net/file/ZqrQO.mp4 2023-08-14T01:52:10 < zyp> https://bin.jvnv.net/file/SKX1q.jpg 2023-08-14T01:53:53 < qyx> is that some kind of opensoruce firmware? 2023-08-14T01:54:24 < zyp> litex is a fpga framework 2023-08-14T01:54:41 < qyx> I know 2023-08-14T01:54:57 < qyx> but why is it shown on an industrial whatever is it LCD 2023-08-14T01:55:08 < qyx> is it the original firmwre and they used it? 2023-08-14T01:55:23 < zyp> no, I've made a replacement controller for this 2023-08-14T01:56:39 < zyp> https://bin.jvnv.net/file/WpVlV.jpg 2023-08-14T01:56:50 < zyp> my replacement controller on top of the original controller from 1995 or so 2023-08-14T01:56:57 < josuah> whoa nice zyp! prompt straight into the LCD! 2023-08-14T01:57:13 < zyp> kinda :) 2023-08-14T01:57:28 < zyp> I cheated a bit 2023-08-14T01:57:38 < qyx> I guess zyp has too much free time 2023-08-14T01:59:24 < zyp> the pendant needs a few control tokens, and I'm currently handling that in a host side python script, so in the video, the bios console actually goes out over one LUNA ACM pipe, into a python script, gets massaged slightly, and then right back out over another ACM pipe 2023-08-14T01:59:40 < josuah> there's always some MCU doing some glue hden somewhere :] 2023-08-14T01:59:48 < josuah> s/hden/hidden/ 2023-08-14T02:00:28 < zyp> I could handle that in gateware or patch the BIOS to issue the control tokens, but that didn't seem worth putting time into 2023-08-14T02:00:54 < josuah> nice to see LUNA can be conveniently used that way! 2023-08-14T02:01:09 < zyp> yeah, I'm reusing orbtrace code for that 2023-08-14T02:01:35 < zyp> since I wrote a bunch of code for orbtrace to easily interface litex with LUNA 2023-08-14T02:02:32 < zyp> qyx, I don't know that, this is another forever project 2023-08-14T02:02:46 < qyx> I hv a bunch of them 2023-08-14T02:03:01 < qyx> but you re progressing pretty fast 2023-08-14T02:03:08 < zyp> been a year and a half since I picked up the robot arm, and today is the first time I ran one of the motors 2023-08-14T02:04:54 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-08-14T02:21:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 2023-08-14T02:22:18 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-17.hsd1.wa.comcast.net] has joined ##stm32 2023-08-14T02:23:48 < qyx> nah I made a regression on a pcb, instead of fixing the previous version I made the bug worse 2023-08-14T02:25:03 < qyx> and that's sd 2023-08-14T02:25:05 < qyx> sad 2023-08-14T02:25:15 < qyx> I should fix my "a" and "e" too 2023-08-14T02:50:35 -!- nomorekaki [~nomorekak@176-93-98-46.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-14T03:01:25 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-17.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-08-14T03:02:01 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-14T03:11:31 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:d42:bf0b:ee10:e338] has joined ##stm32 2023-08-14T03:17:43 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:d42:bf0b:ee10:e338] has quit [Ping timeout: 246 seconds] 2023-08-14T03:24:10 < qyx> I really hate electronics 2023-08-14T03:33:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-14T03:37:49 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-14T04:27:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-14T04:40:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-14T04:50:57 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-14T05:53:15 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-14T07:34:03 -!- qyx [~qyx@84.245.120.129] has quit [Ping timeout: 246 seconds] 2023-08-14T07:36:00 -!- qyx [~qyx@84.245.120.243] has joined ##stm32 2023-08-14T08:00:41 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-14T10:36:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-14T11:25:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-14T14:20:02 -!- Brainzman [~textual@user/brainzman] has joined ##stm32 2023-08-14T15:25:20 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-14T15:58:39 -!- Brainzman [~textual@user/brainzman] has quit [Quit: Brainzman] 2023-08-14T16:47:28 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-14T16:54:39 < Steffanx> Such hater qyx 2023-08-14T16:59:29 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-14T17:50:32 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-14T18:11:26 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-14T18:44:14 < josuah> oh noes don't, electronics might hate him back! 2023-08-14T18:46:03 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-14T18:46:36 -!- Brainzman [~textual@user/brainzman] has joined ##stm32 2023-08-14T18:59:06 -!- ventYl [~ventyl@bband-dyn133.95-103-31.t-com.sk] has quit [Ping timeout: 260 seconds] 2023-08-14T19:00:35 -!- ventYl [~ventyl@bband-dyn133.95-103-31.t-com.sk] has joined ##stm32 2023-08-14T19:00:49 -!- ventYl_ [~ventyl@bband-dyn133.95-103-31.t-com.sk] has joined ##stm32 2023-08-14T19:09:27 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-14T19:38:26 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has joined ##stm32 2023-08-14T20:05:19 -!- ventYl__ [~ventyl@bband-dyn133.95-103-31.t-com.sk] has joined ##stm32 2023-08-14T20:06:31 -!- ventYl__ [~ventyl@bband-dyn133.95-103-31.t-com.sk] has quit [Client Quit] 2023-08-14T20:26:56 < qyx> any cm4 pros here? 2023-08-14T20:27:02 < qyx> my cm4 is no booty 2023-08-14T20:29:22 -!- Brainzman [~textual@user/brainzman] has quit [Ping timeout: 256 seconds] 2023-08-14T20:35:29 < Steffanx> cm4 as in computing module 4 i assume? 2023-08-14T20:35:36 < Steffanx> *compute 2023-08-14T20:36:58 < englishman> and booty as in pirate treasure? 2023-08-14T20:39:16 < qyx> you are a treasure 2023-08-14T20:41:17 < qyx> downloading some rpiboot thing 2023-08-14T20:54:03 < qyx> yeah it writes the image at 4.8 MB/s to emmc over usb-hs 2023-08-14T21:14:08 -!- boB_K7IQ [~boB_K7IQ@170.173.8.12] has quit [Ping timeout: 256 seconds] 2023-08-14T21:21:49 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-14T21:21:51 < Laurence_b> https://nitter.kavin.rocks/joakial_/status/1689756747638972418#m 2023-08-14T21:32:23 < Laurence_b> https://nitter.kavin.rocks/pic/media%2FF3NxJWSakAAijYd.jpg%3Fname%3Dsmall%26format%3Dwebp 2023-08-14T21:52:54 -!- drzacek [~quassel@2a01:3d8:4cc:fa00:2ef1:baa0:b2d:34a8] has joined ##stm32 2023-08-14T21:55:31 -!- drzacek [~quassel@2a01:3d8:4cc:fa00:2ef1:baa0:b2d:34a8] has quit [Client Quit] 2023-08-14T21:55:41 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-14T21:55:42 -!- drzacek [~quassel@2a01:3d8:4cc:fa00:2ef1:baa0:b2d:34a8] has joined ##stm32 2023-08-14T22:25:47 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-08-14T22:55:27 -!- drzacek [~quassel@2a01:3d8:4cc:fa00:2ef1:baa0:b2d:34a8] has quit [Quit: Quit] 2023-08-14T23:06:41 < josuah> zyp: this reminds me a bit of Zephyr's device trees: https://cgit.jvnv.net/laks/tree/platforms/gd32v.yaml?h=dev_v2 2023-08-14T23:07:10 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-08-14T23:07:56 < josuah> qyx: sorry if that's no helpy, but there are datasheets for CM4 too, which could eventually have plenty of details about the boot process, maybe some discoveries to get from here 2023-08-14T23:20:19 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-14T23:29:55 < zyp> josuah, yeah, similar idea 2023-08-14T23:30:29 < qyx> I guess the micro-sd card detect is simply not connected 2023-08-14T23:30:33 < qyx> emmc boot works 2023-08-14T23:50:30 -!- rkta_ [~rkta@user/rkta] has joined ##stm32 2023-08-14T23:50:42 -!- rkta_ is now known as rtkta 2023-08-14T23:50:54 -!- rtkta is now known as rkta 2023-08-14T23:53:18 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 --- Day changed ti elo 15 2023 2023-08-15T00:50:33 < machinehum> qyx: Boards are in, need to build them up and deliver by EOW 2023-08-15T00:50:54 < machinehum> Not a full delivery, but the customer wants something working-ish 2023-08-15T01:34:25 < qyx> machinehum: and does the converter works as you wanted? 2023-08-15T01:34:30 < qyx> -s 2023-08-15T01:35:16 < machinehum> I tested that smaller board, buck works nicely havn't tested boost 2023-08-15T01:35:37 < machinehum> I also havn't loaded it 2023-08-15T02:19:00 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-15T03:08:44 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-08-15T03:23:06 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-15T03:25:19 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-15T03:26:16 < catphish> jlc parts manager is pretty cool, just preordered a bunch of stuff to make sure my next prototype has all parts ready 2023-08-15T03:38:54 < qyx> I'll try jlc's pcba next 2023-08-15T03:42:38 < qyx> that's unbelievabel, they have a 3225 crystal for $0.05, even 10 ppm one 2023-08-15T05:17:15 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-15T05:53:14 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-15T07:16:55 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-15T08:27:31 -!- Suspect [~rod@pa49-182-135-235.pa.qld.optusnet.com.au] has joined ##stm32 2023-08-15T08:45:18 -!- Suspect [~rod@pa49-182-135-235.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-08-15T09:09:01 -!- qyx [~qyx@84.245.120.243] has quit [Ping timeout: 246 seconds] 2023-08-15T09:11:13 -!- qyx [~qyx@84.245.120.188] has joined ##stm32 2023-08-15T09:44:38 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-15T11:29:48 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-15T11:52:52 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-08-15T12:58:27 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-15T14:06:05 -!- ventYl_ [~ventyl@bband-dyn133.95-103-31.t-com.sk] has quit [Quit: leaving] 2023-08-15T14:59:12 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-15T15:51:09 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-15T17:09:06 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 260 seconds] 2023-08-15T17:33:19 < jpa-> hmm.. ordered one very specific kind of SD card because of reported problems with that card 2023-08-15T17:33:44 < jpa-> got a card in a package that had very clearly been opened before and the card contained poorly removed photos of old cars 2023-08-15T17:33:55 < qyx> lol 2023-08-15T17:34:09 < qyx> will you return it? 2023-08-15T17:34:49 < jpa-> made reclamation and the seller responded "No way, we wouldn't have sent a used card. And if we did, it was our supplier's fault."; then another message "We'll send a new card right away" and then a third message that my purchase will be refunded and no need to return product 2023-08-15T17:35:20 < qyx> so 2 cards with no payment? 2023-08-15T17:35:26 < jpa-> i hope so! 2023-08-15T17:35:31 < jpa-> but would be surprised if that happens 2023-08-15T17:35:48 -!- lemmi [~lemmi@user/lemmi] has quit [Quit: WeeChat 4.0.1] 2023-08-15T17:35:49 < jpa-> they clearly had trouble delivering the first one because the date got pushed back week by week for two months 2023-08-15T17:36:08 < jpa-> too bad that the issues seem to be related to whatever initial configuration that card ships with 2023-08-15T17:36:14 < jpa-> partitions etc. 2023-08-15T17:36:42 < jpa-> so whoever cleared the partition table (and only partition table) of the used card erased the only part i was interested in :) 2023-08-15T17:36:45 < qyx> don't you want a very specific 1 GB sony memory stick micro? used, but that's doesn't matter 2023-08-15T17:36:59 < jpa-> who did you photograph? 2023-08-15T17:37:23 < qyx> I don't really remember 2023-08-15T17:37:35 < jpa-> sounds promisin 2023-08-15T17:38:32 < jpa-> heh, looks like memory sticks are still being manufactured 2023-08-15T17:39:26 -!- lemmi [~lemmi@user/lemmi] has joined ##stm32 2023-08-15T17:40:20 -!- rkta [~rkta@user/rkta] has quit [Ping timeout: 244 seconds] 2023-08-15T17:51:04 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-08-15T19:25:55 < bitmask> I need to start putting money away for taxes, this is gonna kill me in 6 months 2023-08-15T19:26:10 < bitmask> its so nice pretending taxes don't exist though 2023-08-15T19:28:39 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-15T19:33:27 -!- LFSveteran [~LFSvetera@keymaker.msrv.nl] has joined ##stm32 2023-08-15T20:14:40 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-15T20:30:19 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Ping timeout: 244 seconds] 2023-08-15T21:00:27 < Steffanx> Lol 2023-08-15T21:03:13 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-15T21:11:51 < qyx> so G030 is the current low cost one? 2023-08-15T21:11:52 < qyx> or C0? 2023-08-15T21:12:00 < zyp> both 2023-08-15T21:12:04 < zyp> C0 is G0 light 2023-08-15T21:12:31 < qyx> hm not much cheaper though 2023-08-15T21:12:33 < zyp> I'm not sure what the difference even is, AIUI they're footprint compatible and all 2023-08-15T21:12:53 < qyx> maybe an VR emulation layer 2023-08-15T21:12:57 < qyx> *AVR 2023-08-15T21:13:50 < qyx> G0 sounds reasonable, now I need a accel+magneto combo to get the azimuth and tilt of a solar panel 2023-08-15T21:14:11 < qyx> some time has passed since I last used a magnetometer 2023-08-15T21:17:47 < qyx> but it looks like LSM303 is still a thing 2023-08-15T22:30:12 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 252 seconds] --- Day changed ke elo 16 2023 2023-08-16T00:27:05 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-16T00:27:07 < Laurence_b> the absolute state of Musk 2023-08-16T00:27:13 < Laurence_b> nitter blocked again 2023-08-16T00:30:55 < Steffanx> Ok 2023-08-16T00:36:13 < qyx> any idea why a rpi hdmi output may become blueish when I run vlc in fullscreen? 2023-08-16T00:36:23 < qyx> when not in fullscreen it is okay 2023-08-16T00:43:27 < aandrew> turn off bluetooth, it's a known issue 2023-08-16T00:48:04 < qyx> really? 2023-08-16T01:05:23 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-16T01:10:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-16T01:12:31 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-16T01:23:35 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-16T01:23:37 < Laurence_b> https://pbs.twimg.com/media/F2TcVssWIAUK1uR?format=png&name=small 2023-08-16T01:38:02 < aandrew> qyx: no, I was just making a joke about blue video and bluetooth 2023-08-16T01:39:42 < Steffanx> Oh dear 2023-08-16T01:44:26 < qyx> fuk but I disabled it anyway 2023-08-16T01:45:15 < BrainDamage> I'd wager that vlc tries to set the monitor's resolution in fullscreen mode 2023-08-16T01:45:25 < BrainDamage> and it likely sets an unsupported mode 2023-08-16T01:45:49 < BrainDamage> SBC are extremely pricky about what modes the hw they support, they often cut corners 2023-08-16T01:47:16 < ColdKeybo[a]rd> Is there a light-weight protocol for RS485 that supports single master multiple slaves? 2023-08-16T01:47:55 < ColdKeybo[a]rd> Or maybe to rephrase, is there a dirt-cheap differential signaling communication with master, slave and addressing support 2023-08-16T01:48:27 < BrainDamage> can? 2023-08-16T01:49:01 < ColdKeybo[a]rd> CAN hits all the boxes but it blows the box on cost :) 2023-08-16T01:49:49 < ColdKeybo[a]rd> Something like hybrid between I2C and RS485 would be ideal but I don't know if such thing exists 2023-08-16T01:52:57 < lemmi> you can do modbus rtu over rs485 2023-08-16T01:57:09 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-16T01:57:13 < ColdKeybo[a]rd> Would this in any way be beneficial to implementing my own protocol? I assume modbus would work over USART and trigger interrupt whenever byte is received or the is some modbus feature that would allow MCU to do it's thing until package is received? 2023-08-16T02:00:15 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has joined ##stm32 2023-08-16T02:00:22 < Laurence_b> https://pbs.twimg.com/media/F3LmgTLXoAAtELX?format=jpg&name=small 2023-08-16T02:00:29 < Laurence_b> there is profibus but its not simple 2023-08-16T02:00:56 < qyx> just send lines of text 2023-08-16T02:01:03 < qyx> there is nothing special about those protocols 2023-08-16T02:01:16 < qyx> master initiates the communication, slave responds of the address matches 2023-08-16T02:05:05 < ColdKeybo[a]rd> qyx That's what I thought. I was wondering if there is somethign available or a hack to offload some of that stuff from the MCU ISR 2023-08-16T02:12:32 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 2023-08-16T02:21:48 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-16T02:22:10 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-08-16T02:22:34 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-16T02:39:32 -!- Laurence_b [~Laurence_@118.200.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-16T02:45:05 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-16T03:09:57 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 260 seconds] 2023-08-16T03:13:28 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T03:22:48 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 252 seconds] 2023-08-16T03:39:38 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-16T04:22:03 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-16T04:23:54 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-16T04:27:10 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 245 seconds] 2023-08-16T04:38:06 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T04:42:01 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-16T04:45:31 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-16T04:49:00 -!- kskd [~kskd@45.141.139.245] has joined ##stm32 2023-08-16T04:54:18 < kskd> Hello everyone. When I use Freejoy on stm32 board, I find the axis coud be set as buttons, does there anyway to set up a button as an axis ?  for  when push a button and hold it for 0-2 seconds, the  value coud add from 0~100000 ,example  ? 2023-08-16T05:16:05 < qyx> I don't follow, I don't even know what freejoy is and it sounds like a freejoy related question that has nothing specific to do with stm32 2023-08-16T05:18:20 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 248 seconds] 2023-08-16T05:30:11 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T05:34:30 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 246 seconds] 2023-08-16T05:37:39 -!- kskd [~kskd@45.141.139.245] has quit [Quit: Client closed] 2023-08-16T05:49:40 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-16T06:03:21 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T06:05:22 < machinehum> Freejoy looks like some firmware and software for configuring a game controller 2023-08-16T06:07:52 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 245 seconds] 2023-08-16T06:09:11 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-16T06:20:45 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T06:25:21 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 260 seconds] 2023-08-16T06:30:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-08-16T06:36:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-16T06:49:30 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-16T06:53:37 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T06:58:09 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 246 seconds] 2023-08-16T07:01:15 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T07:17:57 -!- boB_K7IQ [~boB_K7IQ@71.231.175.1] has joined ##stm32 2023-08-16T07:17:58 -!- boB_K7IQ [~boB_K7IQ@71.231.175.1] has quit [Excess Flood] 2023-08-16T07:18:42 -!- boB_K7IQ [~boB_K7IQ@71.231.175.1] has joined ##stm32 2023-08-16T07:42:28 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 246 seconds] 2023-08-16T07:53:00 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-16T09:57:08 -!- CygniX [~CygniX@user/CygniX] has quit [Ping timeout: 246 seconds] 2023-08-16T10:04:22 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-08-16T10:26:17 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-16T11:45:09 -!- splud [~noneya.bi@user/splud] has quit [Ping timeout: 246 seconds] 2023-08-16T12:00:25 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-16T12:10:34 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-08-16T12:14:07 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-16T12:17:52 -!- splud [~noneya.bi@user/splud] has quit [Ping timeout: 256 seconds] 2023-08-16T12:21:09 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-16T12:29:52 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-08-16T12:33:40 < karlp> ColdKeybo[a]rd: I'm not really sure about hybridi2c means, but modbus/rtu is pretty easy... 2023-08-16T12:34:51 < karlp> I wasn't really aware of can being so expensive either, you either need an rs485 transciver, or a can phy, they're fairly similar price wise aiui... 2023-08-16T12:36:00 < qyx> I have been thinking about it a bit lately, the ideal would be a break-framed UART comms over a CAN PHY 2023-08-16T12:37:02 < qyx> because 1. you need framing, 2. you need more than 8/64 bytes and fragmentation sucks 3. you likely need wired-or bus which RS485 is not 2023-08-16T12:38:06 < zyp> you don't need wired-or for single master 2023-08-16T12:38:22 < qyx> you don't but but, you know 2023-08-16T12:39:00 < qyx> and CAN PHYs also have that babbling idiot protection, RS485 don't 2023-08-16T12:39:45 < qyx> also RS485 don't have explicit idle level unless you set it 2023-08-16T12:40:46 < qyx> personally I see many advantages of CAN over RS485 except it has totally retarded MAC 2023-08-16T12:41:10 < qyx> which probably conforms to the original intention of use, but whatever 2023-08-16T12:48:59 < karlp> you just decide that you have line biasing always, don't try and think it's optional, re idle levels. 2023-08-16T12:50:01 < karlp> break seems like something that would have made lot sof things easier, but... just never got used much? 2023-08-16T12:50:45 < karlp> well, today must be face the music of wordpress day I guess. 2023-08-16T12:50:53 < karlp> might as well go fail at some more stuff. 2023-08-16T12:51:26 < karlp> spent most of las tnight trying old software to get images off my old riglol, with out much success, which was following trying to get fast responses form this interruptor, also without much success. 2023-08-16T12:51:46 < karlp> only success yesterday was some screwing and wood shit, which is _not_ my field of "expertise" so ... much fun. 2023-08-16T12:52:11 < qyx> nah I spent the whole night tweaking my strain gauge digitisers, today is a lab time 2023-08-16T12:52:16 < qyx> sorry, tomorrow 2023-08-16T12:52:53 < qyx> today I am unusable 2023-08-16T13:05:49 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-16T13:15:44 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-16T13:16:51 -!- nerozero_ [~nerozero@87.253.63.54] has joined ##stm32 2023-08-16T13:58:36 -!- octorian_ [octo@2600:3c00::f03c:91ff:fe93:a61c] has joined ##stm32 2023-08-16T13:58:57 -!- dreamcat4_ [uid157427@id-157427.hampstead.irccloud.com] has joined ##stm32 2023-08-16T14:05:30 -!- Netsplit *.net <-> *.split quits: Spirit532, specing, sync_, octorian, dreamcat4 2023-08-16T14:05:36 -!- dreamcat4_ is now known as dreamcat4 2023-08-16T14:07:41 -!- Netsplit over, joins: Spirit532, sync_, specing 2023-08-16T14:16:57 -!- nerozero [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-08-16T14:17:16 -!- nerozero_ [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-08-16T14:17:31 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-16T16:27:35 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-16T16:59:40 -!- qyx [~qyx@84.245.120.188] has quit [Ping timeout: 248 seconds] 2023-08-16T17:01:20 -!- qyx [~qyx@84.245.121.41] has joined ##stm32 2023-08-16T17:05:09 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-16T18:01:12 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-16T18:18:16 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 2023-08-16T18:27:23 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-16T19:08:44 -!- boB_K7IQ [~boB_K7IQ@71.231.175.1] has quit [Ping timeout: 248 seconds] 2023-08-16T19:57:00 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 2023-08-16T19:58:46 < aandrew> nice, this 100W panel produces 19V open circuit and 750mA short circuit through the tinted rear window of my car in bright sunlight 2023-08-16T19:58:49 < aandrew> wonder what I can meaninfully extract from it in this configuration 2023-08-16T20:06:56 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T20:07:36 < qyx> under 10 W, about 9 I would say 2023-08-16T20:17:00 < aandrew> I'll have to find some time to attach the MPPT charger to it and see 2023-08-16T20:17:35 < aandrew> why do you suggest such a low efficency, is it the combination of the rear window glass and the tint? 2023-08-16T20:18:21 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 260 seconds] 2023-08-16T20:18:30 < aandrew> where I live the maximum legal tint is 30% which is what I believe I got, so it's not an insignificant loss for sure 2023-08-16T20:28:06 < jpa-> typically maximum power is around half open circuit voltage and half short current, so 10x0.4 = 4W is my guess 2023-08-16T20:28:35 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-16T20:29:45 < jpa-> as for why your numbers are so low, hard to say 2023-08-16T20:32:04 < qyx> Vmpp is about 70% of Voc 2023-08-16T20:32:13 < qyx> and the current at Vmpp is a bit less than Isc 2023-08-16T20:34:14 < aandrew> that's an interesting rule of thumb, thank you 2023-08-16T20:34:35 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T20:34:39 < qyx> https://www.victronenergy.com/upload/documents/Datasheet-BlueSolar-Monocrystalline-Panels-EN.pdf 2023-08-16T20:35:25 < qyx> for 115 W it is 19.0/23.32 a bit higher, 81% 2023-08-16T20:35:57 < qyx> and Impp is ~91% 2023-08-16T20:36:00 < qyx> of Isc 2023-08-16T20:36:20 < qyx> but depends on the panel 2023-08-16T20:38:26 < qyx> for a munich solar 400 Wp panel, Vmpp is even 84% and Impp is 95% 2023-08-16T20:38:44 < qyx> so it looks like the newer panel the higher percentage is Vmpp/Voc 2023-08-16T20:40:15 < qyx> for those latest PERC cells, I found one with 83% and 95% 2023-08-16T20:41:09 < qyx> so yeah, 9-11 W-ish 2023-08-16T20:50:32 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-16T21:00:20 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-16T21:08:39 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 246 seconds] 2023-08-16T21:21:12 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-16T21:26:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-08-16T21:32:26 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 2023-08-16T21:34:42 < nomorekaki> zyp: you made a robot hand controller? is the handheld interface original in any part? 2023-08-16T21:35:23 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has joined ##stm32 2023-08-16T21:37:24 < zyp> nomorekaki, I've only replaced the main controller, the teach pendant is unmodified 2023-08-16T21:37:37 < nomorekaki> including software? 2023-08-16T21:37:40 < zyp> but it's effectively more or less just a serial terminal 2023-08-16T21:37:50 < nomorekaki> ah it's a terminal 2023-08-16T21:38:44 < nomorekaki> is the robot going to weld for you? 2023-08-16T21:38:57 < zyp> if you see in the beginning of the video, before it turns on the lcd backlight, the internal firmware shows a splash screen 2023-08-16T21:39:07 < zyp> with a date code from 1994 :) 2023-08-16T21:39:33 < nomorekaki> at that time the thing has been expensive 2023-08-16T21:40:01 < nomorekaki> show the video again? 2023-08-16T21:41:03 < zyp> found a photo of the splash screen: https://bin.jvnv.net/file/VE7GA.jpg 2023-08-16T21:41:41 < nomorekaki> thing looks like new 2023-08-16T21:41:45 -!- CygniX [~CygniX@user/CygniX] has quit [Ping timeout: 245 seconds] 2023-08-16T21:41:57 < nomorekaki> it's hardly used 2023-08-16T21:42:08 < zyp> oh, it shows plenty of wear 2023-08-16T21:42:41 < nomorekaki> plenty of wear is when the buttons do not have the top film layer anymore 2023-08-16T21:43:25 < zyp> the primary deadman's switch on the back have a tendency to stick on, kinda bad when the whole purpose of it is to trigger emergency stop as soon as you release it :) 2023-08-16T21:44:10 < qyx> you have to keep it pushed? 2023-08-16T21:44:23 < zyp> that's the point of a deadman's switch 2023-08-16T21:44:39 < qyx> I skipped the first part and read only "emergency button" 2023-08-16T21:44:43 < qyx> yeah 2023-08-16T21:45:21 < zyp> there's different operation modes, and the way the emergency stop chain is set up is that it either needs the deadman signal or the fence signal 2023-08-16T21:45:44 < zyp> fence signal being a switch on the door telling it that the robot cell is closed and empty of humans 2023-08-16T21:45:57 < qyx> yeah or ligjt curtaims or whatever 2023-08-16T21:46:09 < qyx> I have seen such things in operation 2023-08-16T21:46:14 < nomorekaki> zyp: what size the arm is? 2023-08-16T21:46:21 < zyp> I don't have a robot cell, and I haven't shorted the fence input either, so deadman's switch it is :) 2023-08-16T21:46:44 < zyp> size measured how? 2023-08-16T21:46:53 < qyx> a banana 2023-08-16T21:47:51 < qyx> comparable to the workshop hoist? or motor hoist or what is it, 1.5m high and maybe 1m long it was? 2023-08-16T21:48:17 < nomorekaki> zyp: reach? 2023-08-16T21:48:23 < nomorekaki> *range 2023-08-16T21:48:52 < zyp> I think the reach is somewhere in the range of 1.5-2m radius 2023-08-16T21:49:08 < zyp> there's charts in the manuals but they're all over at the workshop 2023-08-16T21:49:45 < nomorekaki> 1994 is still relevant technically after replacing the old controller? 2023-08-16T21:50:06 < zyp> the thing weighs 230kg and has a wrist payload capacity of 12kg 2023-08-16T21:53:51 < qyx> why do you need the cnc cutter when you have the arm? 2023-08-16T21:54:08 < qyx> it should be pretty capablewith a plasma 2023-08-16T21:55:46 < nomorekaki> zyp: what sort of resolution does it have translated to wrist motion? 2023-08-16T21:55:56 < zyp> dunno yet 2023-08-16T21:56:51 < zyp> practical resolution and repeatability is something I'd have to measure once I've got all the motor control in and tuned, as well as getting the kinematics set up 2023-08-16T21:57:44 < machinehum> Looks like my high Z PWM input isn't working 2023-08-16T21:58:31 < machinehum> On poweron I think the CSD is turning on the Sync FET 2023-08-16T21:58:38 < machinehum> Shorting out everything 2023-08-16T22:03:25 < nomorekaki> you are still building the switching regulator? 2023-08-16T22:03:41 < nomorekaki> bespoke PMIC solution* 2023-08-16T22:04:46 < zyp> qyx, plasma is probably the first CNC thing I'm gonna attempt with it 2023-08-16T22:05:09 < zyp> partly because I already have a plasma cutter and partly because it should be reasonably well suited for it 2023-08-16T22:05:15 < qyx> related, I was eyeballing vevor's tig yesterday 2023-08-16T22:05:23 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-16T22:06:28 < zyp> milling is also interesting, but a decently sized ATC spindle is quickly approaching 12kg, and it'd be hard to keep the dust/chips/whatever contained 2023-08-16T22:08:20 < nomorekaki> I doubt any serious milling work is done using arm? 2023-08-16T22:08:36 < nomorekaki> it's not that rigid 2023-08-16T22:09:03 < qyx> a big wood arm-lathe! 2023-08-16T22:11:05 < nomorekaki> maybe 2023-08-16T22:11:09 < nomorekaki> steel - no 2023-08-16T22:11:54 < machinehum> nomorekaki: yeah 2023-08-16T22:12:32 < machinehum> However on power up my CSD97395Q4M is getting hot 2023-08-16T22:12:35 < machinehum> And I don't know why 2023-08-16T22:15:27 < machinehum> Issue is isolated to one board 2023-08-16T22:17:56 < nomorekaki> it's a multi board power regulator? 2023-08-16T22:19:20 < machinehum> It's a 12V UPS 2023-08-16T22:20:56 < machinehum> https://drive.google.com/file/d/1ut6qZnLm98BdCopEhmq2_U89IDfn5XD8/view?usp=sharing 2023-08-16T22:21:24 < machinehum> Basically I populated 4 boards, one it shorting when powered from Vin, another is not 2023-08-16T22:21:42 < machinehum> I will probably try replacing the CSD97395Q4M 2023-08-16T22:35:35 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-16T22:36:15 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-16T23:16:15 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-08-16T23:17:21 < PlasmaHH> Hi, anyone has a well founded opinion on the stm32trust tee secure manager suite? 2023-08-16T23:26:32 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-16T23:31:08 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 --- Day changed to elo 17 2023 2023-08-17T01:01:10 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 256 seconds] 2023-08-17T01:11:22 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-17T01:29:02 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-17T01:42:14 < machinehum> https://i.imgur.com/ivxAILh.png Say I have something like this, if the switch is low side switch is open) is it possible for a current path to form between V -> LDO2 -> MCU2 -> GPIO -> MCU1's GND? 2023-08-17T01:42:27 < machinehum> I think this is what I'm seeting 2023-08-17T01:42:32 < machinehum> seeing 2023-08-17T01:43:30 < machinehum> I need to strike all the traces between the MCUs and figure out another way to get data between them when the switch is closed, because when the switch is open I have current flow and everything on the other GND is starting to turn on 2023-08-17T01:43:48 < machinehum> Even though my fets are off 2023-08-17T01:44:55 < machinehum> Or redesign the entire thing to use a highside swtich, which I don't want to do 2023-08-17T01:51:20 < jerkey> i have a motoman k10s 2023-08-17T01:52:07 < qyx> machinehum: of course 2023-08-17T01:53:20 < machinehum> Yeah 2023-08-17T01:53:23 < machinehum> Figured 2023-08-17T01:53:31 < qyx> if GNDs are at different potentials, MCU2 injected current is going to flow into the gpio 2023-08-17T01:53:41 < qyx> I mean 2023-08-17T01:53:55 < qyx> it is not really a matter of switch being open or not 2023-08-17T01:54:20 < qyx> but it depends on the gpio voltage wrt. its GND potential whether any current flows 2023-08-17T01:54:39 < qyx> and if outside the allowed range, injected current may flow through esd diodes or other things 2023-08-17T01:54:44 < qyx> and you have to limit it 2023-08-17T01:54:56 < qyx> (otherwise may go outside abs max ratings) 2023-08-17T01:56:57 < machinehum> GNDs are at the same potential when connected, and when disconnected GND2 is floating 2023-08-17T01:57:10 < machinehum> But yeah, I see waht you're saying 2023-08-17T01:59:03 < qyx> and how that happens they are disconnected? 2023-08-17T02:10:29 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-17T02:19:22 < machinehum> There's two back to back fets 2023-08-17T02:20:14 < machinehum> Page 3 in my schematic linked above, there's current flowing on the SPI bus between the STM32 and RP2040 2023-08-17T02:21:34 -!- sauce [~sauce@free.and.open.sauce.icu] has quit [] 2023-08-17T02:28:23 < qyx> and why is U7 and U15 on a different potential than the rest of the system? 2023-08-17T02:32:50 < qyx> I see 2023-08-17T02:33:12 < karlp> I've got some "raw lcd" data, that is allegedly 2:3:3 format, so thats 2 bits for , 3 for g, 3 for b I presume, is there any common/normal trick to convert this into... a png or something I can look at? 2023-08-17T02:33:22 < qyx> because you are abusing pack monitor/protector as a system monitor/protector 2023-08-17T02:35:26 < machinehum> qyx: Yes 2023-08-17T02:36:22 < qyx> that's why those chips use opendrain buses (i2c, hdq) 2023-08-17T02:37:06 < machinehum> Uhh, well kinda. The rest of the system show go into a lower power state before the BQ76920PW shuts off everything 2023-08-17T02:38:14 < machinehum> Would I not have this issue if I connected the STM to the RP2040 with an open drain bus? 2023-08-17T02:38:15 < qyx> yes but when bq* disconnects those low-side mosfets, your SPI will backfeed the thing 2023-08-17T02:38:21 < machinehum> Yeah 2023-08-17T02:38:28 < machinehum> That's what I'm seeing 2023-08-17T02:38:59 < machinehum> But obviously didn't catch when designing it, so slashing the traces and carrying on for now. The system will just hard shutoff 2023-08-17T02:40:09 < karlp> close: https://bin.jvnv.net/file/ekdPW/lolicats.png 2023-08-17T02:41:26 < machinehum> karlp: https://github.com/libopencm3/libopencm3-examples/pull/244 2023-08-17T02:41:52 < machinehum> I spent all of two hours making that PR 2023-08-17T02:48:21 < karlp> and it's useful for someone in the future, but not me sorry. 2023-08-17T02:48:28 < karlp> I'm not maintaining any more of that copy pasta 2023-08-17T02:50:44 < qyx> machinehum: as it is not communicating during fault conditions, it is backfeeding using pullups only 2023-08-17T02:50:59 < qyx> and TI explicitly says it is impossible to communicate then a fault occurs 2023-08-17T02:51:29 < qyx> I would definitely use a high side mosfet protector for a system side battery pack 2023-08-17T02:57:17 < machinehum> The SPI bus was merely future proofing 2023-08-17T02:57:23 < machinehum> karlp: no worries 2023-08-17T02:57:48 < machinehum> I was thinking of potentially communicating the cell voltages back, or some other data from the TI chip 2023-08-17T02:58:15 < machinehum> qyx: Why isn't cutting off the lowside good enough in a fault condition? 2023-08-17T02:58:37 < qyx> because your gnd is a reference voltage for everything 2023-08-17T02:58:52 < qyx> when you cut the gnd, parts of your system start to float at various voltages 2023-08-17T02:59:14 < qyx> driven by injections over different protections, pull resistors, etc. 2023-08-17T02:59:40 < qyx> and you won't be able to communicate during fault condition without the ground 2023-08-17T02:59:56 < qyx> any signal needs a return path 2023-08-17T03:00:02 < machinehum> The idea is that side of the system is being cutoff, and should no longer function 2023-08-17T03:00:44 < machinehum> Unless someone plugs in 12V to the input, at that time the rp2040 should signal the opto to enable the pack again 2023-08-17T03:00:48 < qyx> the purpose of the first level protection is to protect the cells if all other fails 2023-08-17T03:01:06 < machinehum> Yeah, that's what it's doing 2023-08-17T03:01:08 < qyx> so at the time this protection triggers you already have an intergalactic issue 2023-08-17T03:01:27 < qyx> and most probably the MCU is not even operating 2023-08-17T03:01:32 < machinehum> Yes 2023-08-17T03:01:39 < machinehum> No MCUs will be operating 2023-08-17T03:02:02 < machinehum> The user will have to power via 12V input to recover the system 2023-08-17T03:02:15 < machinehum> Pluggy-inney 2023-08-17T03:02:24 < machinehum> Or press that recovery button 2023-08-17T03:02:29 < qyx> I would just use i2c directly to esp32, series 100R as TI suggests and 10k or so pullups 2023-08-17T03:02:48 < machinehum> Removing the STM32? 2023-08-17T03:02:58 < machinehum> That is possible, yeah 2023-08-17T03:03:21 < qyx> yeah because what's its purpose? 2023-08-17T03:03:27 < machinehum> The issue is, that TI part needs to be setup perfectly 2023-08-17T03:03:35 < qyx> and it brings hassle, another firmware, another thing needing updating, etc. 2023-08-17T03:03:38 < machinehum> Overvoltage, Undervoltage, overtemp, all that ogod stuff 2023-08-17T03:03:43 < machinehum> good stuff* 2023-08-17T03:05:03 < machinehum> Basically I just need this thing to work, and I think the STM code will be less than 100 lines of code 2023-08-17T03:05:18 < machinehum> Once it's working and buddy is happy I can start removing elements 2023-08-17T03:07:26 < qyx> for that purpose I would not use a software configurable bq chip 2023-08-17T03:07:48 < qyx> been there done that, I have been swimming in shit for a couple of days each time 2023-08-17T03:08:02 < machinehum> why? 2023-08-17T03:08:12 < machinehum> Excited to be swimming in shit now 2023-08-17T03:08:21 < qyx> this one is probably easier without nvm stuff 2023-08-17T03:08:52 < machinehum> nvm? 2023-08-17T03:09:02 < qyx> because locking and other protection features, different indirect modes to program the nvm, generally hard to compehend the whole concept 2023-08-17T03:09:12 < qyx> nonvolatile storage, eeprom probably 2023-08-17T03:09:40 < machinehum> I see 2023-08-17T03:09:53 < qyx> but I am not going to distract you :P 2023-08-17T03:10:16 < machinehum> TBH I would love a solution that's a decent 4C stack monitor that doens't need software 2023-08-17T03:10:49 < machinehum> But I looked all over the shop they're ether LT 18$ 24C stack monitors or something else insane 2023-08-17T03:10:56 < qyx> I would just use protected 18650 or a per-cell protection ICs or something similarly simple 2023-08-17T03:11:22 < machinehum> I had a nice per-cell protection, but I have three cells in parallel 2023-08-17T03:11:36 < qyx> so protect all three in parallel by one IC 2023-08-17T03:11:39 < qyx> like you are doing now 2023-08-17T03:11:44 < machinehum> So those suckers usually assume a reasonable cutoff current 2023-08-17T03:11:45 < qyx> (with a multicell protection) 2023-08-17T03:12:32 < machinehum> Do you have a part with a programmable cutoff current? + Cell balancing? 2023-08-17T03:12:57 < machinehum> I mean here we are now so it doesn't really matter time to cut traces and write a bunch of firmware 2023-08-17T03:13:13 < machinehum> With my new libopencm3 unlanded PR example 2023-08-17T03:14:16 < qyx> no I don't 2023-08-17T03:14:20 < machinehum> Resume: Contribute to open source firmware libraries such as karlp libopencm3 (unmerged PR) 2023-08-17T03:14:26 < machinehum> qyx: Neither do i 2023-08-17T03:15:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 245 seconds] 2023-08-17T03:15:30 < machinehum> XB8089D is what I was using, but I clearly didn't read the datasheet and they melted, go me 2023-08-17T03:16:41 < qyx> what did you manage to .. misdesign? 2023-08-17T03:17:26 < machinehum> Putting 3 cells in parallel using that 2023-08-17T03:17:38 < machinehum> Then drawing like 7A 2023-08-17T03:17:48 < qyx> do you have a schematic? 2023-08-17T03:18:17 < karlp> ok, colour decoding the slow way, by throwing cpu power at it, but fine: https://bin.jvnv.net/file/suUik/riglol-snapper-20230817T001412.390091.png 2023-08-17T03:18:26 < karlp> now, what woudl cuase that pixel shift at the top... 2023-08-17T03:18:41 < karlp> seems repeatable every time I ask for the buffer from the scope 2023-08-17T03:19:38 < machinehum> 0.625W power disapation max , Rdson = 20mR, 20e-3 * (7^2) 2023-08-17T03:19:42 < machinehum> It's like 1W 2023-08-17T03:19:47 < machinehum> I need 9A 2023-08-17T03:20:04 < machinehum> Which is nearly 2W 2023-08-17T03:21:25 < karlp> look at my gorgeous 2:3:3 unpacking! https://paste.jvnv.net/view/0bMON 2023-08-17T03:22:07 < machinehum> Are you doing micropyon something? 2023-08-17T03:22:23 < machinehum> python 2023-08-17T03:22:50 < karlp> python, yeah, taking usb screenshots from the scope. 2023-08-17T03:23:12 < karlp> but as you can see from the png above, it has a chunk of the display rotated somehow 2023-08-17T03:26:29 < karlp> I don't even know how to search for this, but I know it must be common in raw binary decoding things. 2023-08-17T04:17:27 < machinehum> hmm 2023-08-17T04:17:43 < machinehum> How does the data come out? 2023-08-17T04:18:13 < machinehum> Serial? 2023-08-17T04:18:28 < machinehum> Is there a Vsync packet or something? 2023-08-17T04:23:05 < qyx> karlp: sounds like missed/stuffed a couple uf bytes 2023-08-17T04:25:43 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-17T04:35:50 < machinehum> But all the data is ... there 2023-08-17T04:35:56 < machinehum> It's just shifted 2023-08-17T04:42:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-17T04:49:55 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-17T06:09:58 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-17T06:30:13 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-17T06:36:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-17T07:23:08 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-17T07:24:01 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-17T07:45:44 < jpa-> karlp: iirc rigols had some issue with large scpi responses 2023-08-17T07:46:04 < jpa-> needing some workaround 2023-08-17T07:46:36 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-17T08:36:48 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-17T08:44:35 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-17T08:58:44 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-17T09:05:56 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Read error: Connection reset by peer] 2023-08-17T09:54:05 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-08-17T10:03:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-17T12:19:54 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b9e7:811c:c39c:8628] has quit [Ping timeout: 244 seconds] 2023-08-17T12:32:35 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-17T12:39:13 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5328))] 2023-08-17T12:39:17 < karlp> it's the perfect amount of pixels, it's the same every time (size wize) the height of the shifted/rotated block seems to be identical, but the shift amount varies occasionally. 2023-08-17T12:39:18 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-17T12:39:33 < karlp> I'm led to believe that the scpi respone issues were handled by the usbtmc kernel driver quirks. 2023-08-17T12:40:44 < karlp> machinehum: you can see the entirety of how it reads the data, you just get 74880 bytes, that's it. 2023-08-17T13:22:11 < Mangy_Dog> https://twitter.com/MD_Builds/status/1692118894125740481 2023-08-17T13:31:02 < Steffanx> oh damn that sucks Mangy_Dog . Sadly i cannot help with with this. 2023-08-17T13:31:26 < Steffanx> Your dad owned the house you live in? 2023-08-17T13:31:26 < Mangy_Dog> thats ok 2023-08-17T13:31:35 < Mangy_Dog> well i thought my name was already on it 2023-08-17T13:31:39 < Mangy_Dog> its been with us for a few generations 2023-08-17T13:31:43 < Mangy_Dog> but seems dad lied about a lot of things 2023-08-17T13:31:46 < Mangy_Dog> and has really shafted me 2023-08-17T13:32:00 < Mangy_Dog> and the house cant be sold for what it was worth 2023-08-17T13:32:02 < Mangy_Dog> last year 2023-08-17T13:32:08 < Mangy_Dog> as prices have crashed 2023-08-17T13:32:26 < Mangy_Dog> so after dads debts are paid off there isnt really enough to buy anything smaller 2023-08-17T13:32:53 < Mangy_Dog> I can rent for a bit... but I need a job to keep me going and ive struggled to find full time work the normal way 2023-08-17T13:33:18 < Mangy_Dog> at least then if i have a job I know im secure renting for a while, and then can look at options for buying a place again once things settle 2023-08-17T13:33:40 < Mangy_Dog> but right now... theres a really good chance i can end up without a place to rent nor a place to live nor a place to store all my equipment 2023-08-17T13:34:27 < Mangy_Dog> anyway i got a benifit meeting to go to... will be back in a bit 2023-08-17T13:34:34 < Mangy_Dog> appointment... 2023-08-17T13:34:36 < Mangy_Dog> not meeting 2023-08-17T13:34:40 < Mangy_Dog> sounds so formal :p 2023-08-17T13:34:56 < qyx> uh, not good 2023-08-17T13:34:59 < Steffanx> Good luck... 2023-08-17T13:35:21 < qyx> here you can deny a heritage as a whole only 2023-08-17T13:35:36 < Steffanx> but you still need a house to live in.. 2023-08-17T13:35:40 < Mangy_Dog> nods 2023-08-17T13:35:44 < qyx> yeah 2023-08-17T13:36:08 < Mangy_Dog> what really was a gut punch about this was the fact the house some how lost over 200k in value since last year 2023-08-17T13:36:11 < qyx> fucking life 2023-08-17T13:36:13 < qyx> sorry Steffanx 2023-08-17T13:36:30 < Steffanx> your bad language i justified here qyx ;) 2023-08-17T13:36:49 < Mangy_Dog> anyway got to rush see you later 2023-08-17T13:41:06 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-17T13:50:16 < Steffanx> House prices getting lower is a good thing for me though, but they're still sky high here 😬 2023-08-17T13:57:37 < karlp> well https://github.com/karlp/riglol-snap is far enough for now I think. 2023-08-17T13:57:48 < karlp> I wish pyvisa wsa faster to startup, but pretty fine so far. 2023-08-17T13:58:36 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-08-17T13:59:20 < zyp> karlp, hmm, you seem to be inventing a tool I'm pretty sure I had over a decade ago 2023-08-17T14:00:17 < PaulFertser> btw, did anyone face an issue with updating rigol scope where it says "Update was failured" (sic) and doesn't accept any version ever at all, even in that special mode when you press some button after beeps. 2023-08-17T14:00:44 < zyp> karlp, e.g. if I go far back in my bin.jvnv.net uploads I find stuff like this: https://bin.jvnv.net/file/yQbYr.png 2023-08-17T14:00:55 < zyp> and I'm pretty sure I had a script to grab those over USB 2023-08-17T14:26:37 -!- alan_o [~alan_o@2600:1700:1902:210f:20a5:3cc2:49f1:7d58] has quit [Remote host closed the connection] 2023-08-17T14:26:56 -!- alan_o [~alan_o@2600:1700:1902:210f:9cca:fd9b:e23d:c32f] has joined ##stm32 2023-08-17T14:36:07 < zyp> karlp, found it: https://paste.jvnv.net/view/U65d5 2023-08-17T14:39:09 < zyp> although I'm not sure where that tmc.scope package could be found, a search on github only finds me another five projects importing it 2023-08-17T14:47:29 < Steffanx> Something that was once here i would say http://svn.openmoko.org/developers/werner/ahrt/host/tmc 2023-08-17T14:48:13 < zyp> yeah, that's what I've also figured out 2023-08-17T14:59:54 < jpa-> https://web.archive.org/web/20150104012112/http://svn.openmoko.org/developers/werner/ahrt/host/tmc/ apparently a C module 2023-08-17T15:00:15 < Steffanx> yeah was about to say the webarchive still has it 2023-08-17T15:01:34 < Steffanx> at least the index 2023-08-17T15:01:38 < jpa-> not really, many files are missing 2023-08-17T15:02:13 < Steffanx> yeah :P 2023-08-17T15:04:16 < zyp> I found a copy in an old backup :) 2023-08-17T15:06:11 < zyp> https://bin.jvnv.net/file/Zhwbl/tmc.tgz 2023-08-17T15:10:00 < qyx> backups? 2023-08-17T15:10:54 < zyp> disk image of my previous computer actually 2023-08-17T15:11:52 -!- Sadale [~Sadale@user/sadale] has quit [Quit: tawa pona!] 2023-08-17T15:12:00 < karlp> yeah, that uses this :lcd:data? as well. 2023-08-17T15:12:08 < karlp> I searched on github, found one xml file referencing it. 2023-08-17T15:12:12 -!- Sadale [~Sadale@user/sadale] has joined ##stm32 2023-08-17T15:13:05 < karlp> and yeah, it's basically identical to what I'mdoing, it has no special handling for this rolled/translated section either. 2023-08-17T15:13:47 < zyp> hmm, maybe I should try your stuff on my old scope to see if I've got the same issue 2023-08-17T15:14:02 < karlp> I think pyvisa has come a LONG way since some of this stuff was first around. 2023-08-17T15:14:03 < jpa-> so hmm, the extra pixels at start of karlp's picture spell "#800074880" 2023-08-17T15:14:21 < karlp> that's... not what it's meant to say. 2023-08-17T15:14:25 < karlp> ok, that's fixable. 2023-08-17T15:14:39 < karlp> but then my assert isn't working... 2023-08-17T15:14:45 < jpa-> yes 2023-08-17T15:16:24 < jpa-> i bet it needs a strategic sleep(0.01) somewhere ;) 2023-08-17T15:19:24 < jpa-> the usbtmc.c in zyp's package has the fun 64-byte per packet limitation for rigol and "payload > 64-12" hack 2023-08-17T15:25:03 < zyp> hmm, I'm trying karlp's stuff, not getting a /dev/usbtmc0 device, should I? 2023-08-17T15:25:51 * karlp shrugs 2023-08-17T15:26:25 < zyp> scope does show up in lsusb: https://paste.jvnv.net/view/aRQKe 2023-08-17T15:28:20 < karlp> ok, fixed it. 2023-08-17T15:28:28 < karlp> just had to ask for +10 bytes...? 2023-08-17T15:28:47 < karlp> wonky. 2023-08-17T15:28:55 < karlp> I wonder why it couldn't decode the header properly... 2023-08-17T15:29:25 < jpa-> funny that if you ask for too little bytes, it takes them out from the center :D 2023-08-17T15:40:59 < karlp> I think that must be a bug in pyvisa at this point, but I'm not chasing it futher, the code for pyvisa seems to think it should be just #data, 2023-08-17T15:41:23 < karlp> I'm not sure it's really doing the right thing, 2023-08-17T15:44:17 < karlp> >>> pyvisa.util.parse_ieee_block_header(b"#800074880bbbbbbbbbb") 2023-08-17T15:44:19 < karlp> I think that must be a bug in pyvisa at this point, but I'm not chasing it futher, the code for pyvisa seems to think it should be just #data, 2023-08-17T15:44:31 < karlp> fucking paste 2023-08-17T15:44:49 < karlp> it decodes that correctly as starting at byte 10, for 74880, so... *shrugs* 2023-08-17T15:54:23 < karlp> well,l anyway, after spending time wondering why I couldn't just find this off the shelf, I now have it again. 2023-08-17T15:54:28 < karlp> great week. 2023-08-17T16:01:16 < karlp> heh, "chunk size" here: https://pyvisa.readthedocs.io/en/latest/introduction/rvalues.html#reading-binary-values works to use the normal standard apis. 2023-08-17T16:01:25 < karlp> just made it bigger than the image, works "as expected" now. 2023-08-17T17:27:48 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-17T18:02:54 -!- hexo_ [~hexo@user/hexo] has quit [Remote host closed the connection] 2023-08-17T18:17:31 < jbo> banks should offer mortages for purchasing crimping tools 2023-08-17T18:21:48 < Steffanx> A Swizzer will make his own 2023-08-17T18:26:12 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-17T18:33:24 -!- rkta [~rkta@user/rkta] has quit [Remote host closed the connection] 2023-08-17T18:33:33 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-08-17T19:20:27 < qyx> own bank? 2023-08-17T19:47:53 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-17T19:54:38 < machinehum> Mangy_Dog: Sorry to hear about that 2023-08-17T19:55:01 < machinehum> I don't know of anyone in the UK hiring 2023-08-17T19:55:08 < machinehum> Well I don't know of anyone in the UK 2023-08-17T20:44:53 < Mangy_Dog> thats ok 2023-08-17T20:45:03 < Mangy_Dog> also im happy with any international company 2023-08-17T20:45:09 < Mangy_Dog> as long as they can pay uk rates 2023-08-17T20:45:14 < Mangy_Dog> which may be higher than other areas 2023-08-17T20:45:31 < Mangy_Dog> lets say an average salary for embedded work is about 45k 2023-08-17T20:45:33 < Mangy_Dog> GBP 2023-08-17T20:45:45 < Mangy_Dog> maybe 40k 2023-08-17T20:48:07 < Steffanx> Why you're looking for embedded only Mangy_Dog . Don't you have most experience in 3d/product design? 2023-08-17T20:48:46 < Mangy_Dog> either or 2023-08-17T20:48:55 < Mangy_Dog> if im honest. I find pcb design piss easy 2023-08-17T20:49:07 < Mangy_Dog> its about as unstressful as it can be 2023-08-17T20:49:32 < Mangy_Dog> embedded software is a bit more challanging but i can do it 2023-08-17T20:49:45 < Mangy_Dog> when it comes to electronics. my weak area is analogue filtering ect 2023-08-17T20:50:17 < Mangy_Dog> but yeah 3d and product design area is my strongest area i guess.... though PCB design seems to pay more 2023-08-17T20:50:26 < Mangy_Dog> if i can get the job that is 2023-08-17T20:51:07 < Mangy_Dog> i even asked a graphics friend if the place shes working at might want a graphics flunky for a bit... (i used to do graphics) 2023-08-17T20:51:17 < Mangy_Dog> something to keep me going for a bit while i find something better 2023-08-17T20:56:26 < machinehum> qyx: I'm seeing around 7W of power dissipation with a 51W output 2023-08-17T20:56:50 < machinehum> Mangy_Dog: I'll keep my eyes open, I used to work for these guys https://mistywest.com/ 2023-08-17T20:57:16 < Mangy_Dog> not gonna lie 2023-08-17T20:57:19 < Mangy_Dog> I like that website 2023-08-17T20:57:25 < Mangy_Dog> really nice cideo production too 2023-08-17T20:57:28 < Mangy_Dog> video 2023-08-17T20:57:42 < Mangy_Dog> its really smart 2023-08-17T20:57:43 < Mangy_Dog> :D 2023-08-17T20:58:26 < machinehum> I helped a bit 2023-08-17T20:58:46 < qyx> machinehum: 86% eff is pretty bad, I would be expecting something approaching 90-95 2023-08-17T20:58:52 < machinehum> Yeah 2023-08-17T20:59:01 < machinehum> And I'm not even at full load yet 2023-08-17T20:59:03 < qyx> what freq? 2023-08-17T20:59:09 < machinehum> 500khz 2023-08-17T20:59:17 < machinehum> I think it's my L, I used a 15u 2023-08-17T20:59:18 < qyx> and you have that huge 22u inductor? 2023-08-17T20:59:40 < machinehum> 15u 2023-08-17T20:59:47 < machinehum> That is one of the thing I might change 2023-08-17T20:59:58 < machinehum> Well... very likely I will, I used a TI design guide 2023-08-17T21:00:05 < machinehum> I think it was old as shit perhaps 2023-08-17T21:00:21 < qyx> refurbished one? 2023-08-17T21:00:38 < machinehum> hmm? No the design guide was old 2023-08-17T21:01:05 < qyx> oh, what is the DCR then? 2023-08-17T21:02:08 < machinehum> 18.6m 2023-08-17T21:02:20 < machinehum> According to coilcraft's site 2023-08-17T21:03:33 < qyx> no that bad actually 2023-08-17T21:04:25 < qyx> isn't the inductor heating? 2023-08-17T21:05:09 < qyx> you need to find out where is the loss from 2023-08-17T21:06:08 < qyx> too high freq is solved by zero crossing detection, too low freq would cause issues (reaching saturation) 2023-08-17T21:06:14 < qyx> also too high freq may cause switching losses 2023-08-17T21:06:41 < qyx> not may, it does cause switching losses 2023-08-17T21:06:45 < machinehum> According to my math I should only be loosing .7W... 2023-08-17T21:07:12 < qyx> and what's Vin/Vout? 2023-08-17T21:07:47 < machinehum> 15V/12V 2023-08-17T21:07:59 < machinehum> The output is sagging, which I should probably be able to fix with software 2023-08-17T21:09:09 < machinehum> There's no way it could be these long ass 20gauge droopy wires could it be https://i.imgur.com/Wd70BkI.png /s 2023-08-17T21:11:30 < qyx> definitely no. 2023-08-17T21:11:40 < machinehum> lol 2023-08-17T21:12:12 < qyx> how much is 20 gauge in normal units 2023-08-17T21:12:15 < machinehum> I'm actually stoked this thing can do 4A continuosly without breaking a sweat 2023-08-17T21:12:22 < qyx> 0.34mm2 or so? 2023-08-17T21:12:59 < qyx> oh you are definitely not dissipating 7 W on that small board 2023-08-17T21:13:06 < qyx> it would sublimate 2023-08-17T21:13:21 < machinehum> The thermal gun is saying nothing is above 40C 2023-08-17T21:13:32 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 248 seconds] 2023-08-17T21:13:35 < qyx> so try to measure directly on the converter then 2023-08-17T21:13:51 < machinehum> My alligator hooky clip things are getting to 50V 2023-08-17T21:13:53 < machinehum> C 2023-08-17T21:14:01 < machinehum> I will eventually 2023-08-17T21:16:19 < machinehum> This CSD is amazing 2023-08-17T21:16:57 < qyx> I am waiting for the % 2023-08-17T21:17:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-17T21:17:09 < qyx> mine was barely warm 2023-08-17T21:17:53 < machinehum> I'm having a hard time believing this is working this well tbh 2023-08-17T21:17:57 < machinehum> 5A 2023-08-17T21:18:02 < machinehum> Room temp 2023-08-17T21:19:52 < machinehum> Figuring out efficiency isn't my priority right now, I need to get the boost side working 2023-08-17T21:20:07 < qyx> nah 2023-08-17T21:20:45 < machinehum> If this thing can charge a battery and I can slap together some firmware for the BMS side I might actually be able to make my deliverable tommorrow 2023-08-17T21:20:52 -!- machinehum2 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Read error: Connection reset by peer] 2023-08-17T21:20:55 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-17T21:21:12 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-17T21:21:49 < qyx> you could try boosting easily 2023-08-17T21:22:00 < qyx> lookup the duty cycle you are regulating to now 2023-08-17T21:22:13 < qyx> let's say it is about 80% 2023-08-17T21:22:34 < qyx> fix it at 80% (disable the control loop) 2023-08-17T21:23:05 < qyx> put a battery to the 15V side, keep it switching 2023-08-17T21:23:15 < qyx> disconnect the current load at the 12V side 2023-08-17T21:23:44 < qyx> and connect a power supply WITH a diode 2023-08-17T21:23:57 < qyx> to the 12V side 2023-08-17T21:24:49 < qyx> you should still see around 12V on the 12V side and zero current flowing, start increasing the voltage and the current should flow in the other direction (duty cycle still being 80%) 2023-08-17T21:25:14 < qyx> so let's say with the power supply approaching ~13V you will have a few amps going to the battery 2023-08-17T21:26:11 < qyx> and from now on it is just a control loop tuning work 2023-08-17T21:27:50 < qyx> you will need multiple, primary regulating to max Vbat, primary regulating to max Ibat, secondary regulting to max Vsup, secondary regulating to min Vsup (to avoid collapsing it with high current) and secondary to max Isup 2023-08-17T21:27:54 < Mangy_Dog> also is it a bannable offence to say in here.... the more i look at the esp32-s3 the more i like it and it might become my defacto chip for a lot of future projects? 2023-08-17T21:27:56 < qyx> and a loop selector 2023-08-17T21:29:09 < specing> Mangy_Dog: quite honestly, the lack of wirelesss connectivity in most stm32s is really a dealbreaker in a lot of projects 2023-08-17T21:30:01 < Mangy_Dog> and its not even the wireless side i like 2023-08-17T21:31:12 < Mangy_Dog> i mean new tricorder design im doing... if im able to do anothe run... using the chip... Just wifi pin floating its not used. But dual core. 30ma, can handle my touch sensing for buttons. all my gui code to go to the graphics chip. expandable program storage or 8MB built in. Plenty for all tricorder assets and sound... oh and yes... SOUND. I dont need that dodgy chinese audio player chip 2023-08-17T21:31:16 < Mangy_Dog> all in one 2023-08-17T21:31:56 < Mangy_Dog> the only thing im not entirely sure of is running at 80mhz downclocked... if the audio playback will suffer... or if runing audio stream on one core and the rest on the other core will be fine 2023-08-17T21:32:04 < Mangy_Dog> i mean the 72 mhz ran everything other than audio fine 2023-08-17T21:32:21 < machinehum> esp's are amazing 2023-08-17T21:32:42 < qyx> you can do touch sensing and sound on stm32 too 2023-08-17T21:32:58 < qyx> even when not supported 2023-08-17T21:33:24 < qyx> what was the problem with audio? 2023-08-17T21:34:32 < Mangy_Dog> i was using a mp3/wav player chip 2023-08-17T21:34:37 < Mangy_Dog> just clunky 2023-08-17T21:34:39 < Mangy_Dog> it worked 2023-08-17T21:34:48 < Mangy_Dog> but interfaced over a slow uart connection 2023-08-17T21:34:48 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-17T21:34:57 < Mangy_Dog> and was a little known chinese chip 2023-08-17T21:35:00 < qyx> if I had to do audio directly on a super simple stm32, I would probably encode it as 1 bit and play using DMA & SPI 2023-08-17T21:35:05 < Mangy_Dog> that had a badly translated datasheet 2023-08-17T21:35:17 < Mangy_Dog> also when i say stm32 i mean the f103cb :p not a fancy newer one 2023-08-17T21:35:31 < qyx> yes I remember, hence I am saying super simple 2023-08-17T21:35:36 < Mangy_Dog> ah 2023-08-17T21:35:49 < qyx> otherwise just use the DAC if you are lazy to do I2S 2023-08-17T21:36:05 < Mangy_Dog> tbh ive never done audio directly... So i dont know what the average overhead is streaming a audio file pcm over i2c to a decoder is 2023-08-17T21:36:24 < machinehum> qyx: I'm dropping 1.5V in the wire from the PCB to my digital load ahahahaha 2023-08-17T21:36:45 < machinehum> Was like damn we dipping a little 2023-08-17T21:36:48 < Mangy_Dog> also talking of... found this yesterday. Fucking perfect for simple audio.... https://www.mouser.co.uk/datasheet/2/609/MAX98357A_MAX98357B-3131172.pdf PCM decoder with built in Dclass amp :D 2023-08-17T21:36:56 < Mangy_Dog> mono but still... 2023-08-17T21:37:00 < Mangy_Dog> fekking ace 2023-08-17T21:37:04 < machinehum> Also ty for the steps I'll give that a go 2023-08-17T21:37:27 < Mangy_Dog> also have the tricorder samples are in mp3.... no idea what the overhead is decoding that 2023-08-17T21:37:40 < Mangy_Dog> while sure ill use a library. No need to reinvent the codec wheel 2023-08-17T21:37:50 < Mangy_Dog> not that im sure i could write a full codec 2023-08-17T21:37:57 < Mangy_Dog> (i dont think i could) 2023-08-17T21:38:02 < Mangy_Dog> thats savant level 2023-08-17T21:39:06 < qyx> you would need more flash 2023-08-17T21:39:17 < qyx> helix mp3 was the one used frequently iirc 2023-08-17T21:39:30 < Mangy_Dog> well 2023-08-17T21:39:32 < qyx> I used opus decoder, it is about 30k 2023-08-17T21:39:36 < qyx> and much simpler 2023-08-17T21:40:07 < Steffanx> I've used minimp3, it worked fine on my stm32 2023-08-17T21:40:20 < Mangy_Dog> one of the S3 chips have 8MB... though i can always get a flashless and just go 16MB. the QIO winbond chips are dirt cheap in the assembly liens 2023-08-17T21:40:22 < Mangy_Dog> jlc and pcbway 2023-08-17T21:40:32 < Mangy_Dog> ooh 2023-08-17T21:40:50 < Mangy_Dog> tbh i do need to practice with more audio... i still plan to make the working winamp player :D 2023-08-17T22:55:54 < mawk> I glued a rocket to my boomerang in totk, and I threw it expected it to come back 2023-08-17T22:55:57 < mawk> but it didn't 2023-08-17T22:56:05 < mawk> and now I lost my boomerang and my rocket 2023-08-17T22:58:00 < Steffanx> poor mawk 2023-08-17T22:58:23 < Steffanx> I bet you didnt do the math right 2023-08-17T23:02:37 < Mangy_Dog> I wonder if thats how spacex first concepted their rockets 2023-08-17T23:02:53 < Mangy_Dog> or how the way elon thought it would work 2023-08-17T23:07:24 < Steffanx> Elon didn't think a thing. To busy twatting shit 2023-08-17T23:07:27 < Steffanx> Too 2023-08-17T23:10:47 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-17T23:18:58 < qyx> heh 2023-08-17T23:28:55 < machinehum> qyx: I was planning on putting 15V in parallel with a digital load in place of the battery, and then just powered from 12V 2023-08-17T23:29:21 < machinehum> Seeing if I can boost the 12V up to 16V or so 2023-08-17T23:32:30 < Mangy_Dog> heh 2023-08-17T23:33:00 < qyx> just be sure your power supply does not do output discharge 2023-08-17T23:33:31 -!- hexo_ [~hexo@user/hexo] has quit [Quit: Leaving] 2023-08-17T23:34:00 < machinehum> Oh interesting 2023-08-17T23:35:45 < qyx> idk why I remember I have seen this 2023-08-17T23:57:39 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has joined ##stm32 2023-08-17T23:58:10 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 256 seconds] --- Day changed pe elo 18 2023 2023-08-18T00:41:58 -!- machinehum [~machinehu@s0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-08-18T00:53:03 < karlp> zyp: your rigol scope has a totally different usb vid/pid than mine... 2023-08-18T01:05:56 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-08-18T01:16:12 < zyp> karlp, mine is probably older 2023-08-18T01:19:27 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-18T01:24:18 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 256 seconds] 2023-08-18T01:31:01 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-08-18T01:59:11 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-18T02:00:09 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-18T02:21:58 < machinehum> qyx: What do you mean "so let's say with the power supply approaching ~13V you will have a few amps going to the battery" 2023-08-18T02:22:08 < machinehum> Which power supply? 2023-08-18T02:28:21 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-08-18T02:34:29 < machinehum> Holy shit we boostin 2023-08-18T02:34:43 < machinehum> It's non obvious how to setup the pid for this though 2023-08-18T02:36:53 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 4.0.2] 2023-08-18T02:42:02 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-18T02:45:20 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-18T03:09:29 -!- machinehum [~machinehu@24.85.189.106] has joined ##stm32 2023-08-18T03:19:01 < qyx> machinehum: with a duty cycle set at constant an with Vbat/Vsup at 15/12 V and no current flowing, when you start increasing the secondary voltage a current starts flowing in the opposite direction (to the battery) 2023-08-18T03:19:16 < qyx> but good to hear thta 2023-08-18T03:29:31 < machinehum> I might not even use a PID loop, just set the DUC based on a simple calculation 2023-08-18T03:50:25 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 244 seconds] 2023-08-18T03:54:55 -!- CygniX [~CygniX@user/CygniX] has left ##stm32 [Konversation terminated!] 2023-08-18T04:02:28 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-08-18T05:07:35 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-18T05:10:39 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-18T05:36:16 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 260 seconds] 2023-08-18T06:01:28 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-18T06:42:12 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 256 seconds] 2023-08-18T06:46:58 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-18T06:52:58 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-18T07:09:35 -!- alan_o [~alan_o@2600:1700:1902:210f:9cca:fd9b:e23d:c32f] has quit [Remote host closed the connection] 2023-08-18T07:09:56 -!- alan_o [~alan_o@2600:1700:1902:210f:9cca:fd9b:e23d:c32f] has joined ##stm32 2023-08-18T07:25:14 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-18T08:38:04 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-18T09:54:17 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-18T09:54:36 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 245 seconds] 2023-08-18T09:55:47 -!- duude__- is now known as duude__ 2023-08-18T11:57:05 < qyx> I need a tagconnect 2023-08-18T12:17:08 < Steffanx> Why 2023-08-18T12:17:17 < qyx> expensive pin headers 2023-08-18T12:19:16 < qyx> 0.5e for a cortex debug header? 2023-08-18T12:19:36 < jpa-> 20e for a cable and some pogo pins? 2023-08-18T12:19:52 < jpa-> that will want to pogo away all the time while you try to debug 2023-08-18T12:21:59 < qyx> hm 2023-08-18T12:23:07 < qyx> I should just use a ISP 2023-08-18T12:44:26 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-18T13:10:55 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-18T14:22:54 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-18T14:24:46 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-08-18T14:25:12 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-18T14:38:42 -!- specing [~specing@user/specing] has quit [Ping timeout: 245 seconds] 2023-08-18T15:06:43 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-18T15:46:56 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-18T16:49:30 < aandrew> qyx: you don't need a tag connect 2023-08-18T16:53:18 < aandrew> put a standard box header on the board, DNP it for production and use pogo pins to program in production 2023-08-18T17:00:38 -!- qyx [~qyx@84.245.121.41] has quit [Ping timeout: 252 seconds] 2023-08-18T17:02:31 -!- qyx [~qyx@84.245.121.101] has joined ##stm32 2023-08-18T18:05:23 < qyx> I'll probably make a test jig 2023-08-18T19:06:34 < catphish> tagconnect is lovely though 2023-08-18T19:06:55 < catphish> it's insanely expensive, but kinda cool 2023-08-18T19:07:11 < catphish> and no cost per board 2023-08-18T19:27:31 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds] 2023-08-18T19:28:52 < englishman> https://www.mcmaster.com/products/toggle-clamps/ 2023-08-18T19:28:58 < englishman> for all your production flasing needs 2023-08-18T19:40:51 < BrainDamage> I invented my own tagconnect by soldering horizontally pogopins on a board and having them mate 0R resistors on the receiving board 2023-08-18T19:42:04 < BrainDamage> to line them up you just take another production board, DNP everything, and use only the receiving strip of resistors as host for the pins 2023-08-18T20:19:27 < mawk> are the 0R without casing? 2023-08-18T20:19:31 < mawk> just metal 2023-08-18T20:20:57 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-18T20:21:46 < BrainDamage> I use the metal tab of the connection to the pcb pad 2023-08-18T20:30:10 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 244 seconds] 2023-08-18T20:46:08 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-18T20:51:07 < Steffanx> Need a pic of that because it doesnt sound wonderful 2023-08-18T21:06:56 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-18T21:43:07 < mawk> catphish trashconnect breaks very easily 2023-08-18T21:43:12 < mawk> and it's mega expensive 2023-08-18T21:50:08 < Steffanx> i never broke a tag connect 2023-08-18T21:50:12 < Steffanx> and i have used it a lot. 2023-08-18T21:50:26 < Steffanx> not a fan though 2023-08-18T21:51:15 < zyp> I recently wore out the cable on mine, but it's lasted for a decade and literally been used with over a thousand boards 2023-08-18T21:51:46 < zyp> and I didn't want to wait for a new one, so I just soldered a new cable to it 2023-08-18T21:59:58 < qyx> I had an idea 2023-08-18T22:00:36 < qyx> I am mostly using extruded alu enclosures with pcb guides so the pcb slides in 2023-08-18T22:00:38 < mawk> all the tagconnect at previous work had the plastic prongs broken 2023-08-18T22:00:58 < mawk> so you had to hold it or somehow tape it 2023-08-18T22:01:06 < qyx> I could do those castellated pcb edge holes on the back side 2023-08-18T22:01:30 < qyx> and replace the back alu panel with a debug one made of a PCB 2023-08-18T22:01:40 < qyx> replacing those m8/m12 connectors 2023-08-18T22:02:05 < nomorekaki> 8bit avrs have nice debuging 2023-08-18T22:02:08 < qyx> and having some spring terminals for power, 2x5 pin cortex debug header, etx 2023-08-18T22:02:09 < zyp> burrs might be annoying, spring connectors that attach to pads on the side of the pcb might be better 2023-08-18T22:02:17 < nomorekaki> I think it's 1 pin and it's reset pin 2023-08-18T22:02:32 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-08-18T22:02:52 < qyx> either spring or pogo pins 2023-08-18T22:03:30 < nomorekaki> https://onlinedocs.microchip.com/pr/GUID-DDB0017E-84E3-4E77-AAE9-7AC4290E5E8B-en-US-4/index.html?GUID-9B349315-2842-4189-B88C-49F4E1055D7F 2023-08-18T22:04:01 < nomorekaki> yep.. pin can be used as UPDI or reset pin 2023-08-18T22:04:27 < nomorekaki> or gpio 2023-08-18T22:04:33 < zyp> qyx, you could use something like this: https://debug-edge.io/ 2023-08-18T22:05:15 < nomorekaki> zyp, that is genious! 2023-08-18T22:06:22 < qyx> zyp: I have seen that one but it.. 2023-08-18T22:06:28 < qyx> hm yeah 2023-08-18T22:06:37 < qyx> even minipcie could work 2023-08-18T22:06:47 < qyx> if it was smaller 2023-08-18T22:07:07 < zyp> I believe I've seen some other generic open edgeboard connectors as well 2023-08-18T22:07:46 < qyx> I will obviously make my own open 2023-08-18T22:08:04 < zyp> mechanically open, I mean 2023-08-18T22:08:05 < qyx> k, continue to drive, 200 more km 2023-08-18T22:08:06 < zyp> as in no side walls 2023-08-18T22:08:12 < qyx> oh lol 2023-08-18T22:10:31 < nomorekaki> qyx ircs and drives? 2023-08-18T22:10:47 < mawk> I found a 2-digit combination lock 2023-08-18T22:10:50 < mawk> the pinnacle of security 2023-08-18T22:14:47 < nomorekaki> mawk! 2023-08-18T22:14:55 < mawk> yes? 2023-08-18T22:15:18 < nomorekaki> where have you been? 2023-08-18T22:19:05 < mawk> in Netherlands 2023-08-18T22:38:03 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 246 seconds] 2023-08-18T23:21:14 < Steffanx> Where have you been nomorekaki ? 2023-08-18T23:21:30 < nomorekaki> salt mines 2023-08-18T23:22:25 < machinehum> Wtf am I looking at here https://i.imgur.com/i1P6sd2.png 2023-08-18T23:22:37 < machinehum> rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K 2023-08-18T23:22:39 < machinehum> ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K 2023-08-18T23:22:41 < machinehum> Y 2023-08-18T23:22:54 < machinehum> That isn't right is it 2023-08-18T23:23:13 < qyx> nomorekaki: there are 6 construction sites with semaphores along the way, plenty of time 2023-08-18T23:29:00 < nomorekaki> is that normal? 2023-08-18T23:30:10 < nomorekaki> 6 and with all with semaphores in 200klicks 2023-08-18T23:42:18 < nomorekaki> are those constructions there always at the same spots? 2023-08-18T23:42:47 < machinehum> Is there something special you need to do to use hsi as the system clock with libopencm3 2023-08-18T23:42:55 < machinehum> My led isn't turning on 2023-08-18T23:43:48 < machinehum> rcc_clock_setup_in_hsi_out_64mhz 2023-08-18T23:50:12 < machinehum> rcc_set_sysclk_source(RCC_CLOCK_CONFIG_HSI_PLL_32MHZ); that did not work --- Day changed la elo 19 2023 2023-08-19T00:09:10 < machinehum> I don't get it https://pastebin.com/raw/X1Lbf6F8 2023-08-19T00:10:32 < machinehum> Could this be one of those boot0/boot1 bullshit... it doesn't have those pins 2023-08-19T00:11:30 < machinehum> PA14-BOOT0 fack 2023-08-19T00:30:04 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-19T00:31:03 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has joined ##stm32 2023-08-19T00:34:45 < machinehum> Okay what the actual fuck I step though it with gdb and it works 2023-08-19T00:41:31 < machinehum> Maybe I need a 100nF https://i.imgur.com/f391cMg.png 2023-08-19T00:41:52 < machinehum> https://devops.com/wp-content/uploads/2021/04/hardware-cloud.jpg 2023-08-19T00:43:41 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 260 seconds] 2023-08-19T00:52:45 < nomorekaki> machinehum: yes 2023-08-19T00:52:59 < machinehum> 100nF you think? 2023-08-19T00:53:47 < nomorekaki> to pin 4 at least 2023-08-19T00:54:14 < machinehum> Sure I'll try that 2023-08-19T00:56:11 < nomorekaki> I don't know where else you need 100n 2023-08-19T00:56:12 < nomorekaki> but maybe 2023-08-19T00:57:08 < nomorekaki> boot pins I assume you need to tie to some level 2023-08-19T01:01:32 < qyx> machinehum: you are mixing multiple things 2023-08-19T01:02:08 < qyx> first you need to enable hsi (ok, lies, it is enabled by default on most parts) 2023-08-19T01:02:23 < qyx> then you need to setup a pll using hsi as the source 2023-08-19T01:02:30 < qyx> and then you may set pll as sysclk 2023-08-19T01:03:09 < qyx> I don't habe a computer handy but I guess you even used wrong define for that funcion call 2023-08-19T01:03:22 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-08-19T01:03:53 < machinehum> Gold star for me 2023-08-19T01:04:27 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-19T01:04:31 < machinehum> nomorekaki: That part has boot bits, which I checked and they're configured to boot from main system flash 2023-08-19T01:06:04 < machinehum> It magically started working when I used RCC_CLOCK_CONFIG_HSI_PLL_64MHZ 2023-08-19T01:37:37 < catphish> lets say that i have a friend, and that friend (who definitely isn't me, a competent professional) accidentally just built a bunch of boards that feed 25v into an stm32 gpio through a 10k resistor, what's the realistic outcome here? 2023-08-19T01:39:27 < qyx> depends on the exact pin but thats only 2.5 mA 2023-08-19T01:40:04 < catphish> does this depend on the "current injection" limit of the pin? 2023-08-19T01:40:12 < qyx> check the DS, itsays how much injected currentis allower 2023-08-19T01:40:16 < qyx> yes 2023-08-19T01:40:19 < catphish> thanks 2023-08-19T01:41:49 < catphish> i thought i'd pull the pin up and have the STM32 act as an open colector, but i accidentally pulled it up to my 25V vbatt instead of 3v3 2023-08-19T01:52:05 < catphish> the datasheet refuses to acknowledge the possibility that you'd attempt this :( 2023-08-19T01:52:51 < catphish> i won't risk it 2023-08-19T01:53:03 < catphish> will just remove the pullup resistors 2023-08-19T01:55:26 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-19T02:11:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-08-19T02:15:17 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 260 seconds] 2023-08-19T02:15:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-19T02:16:28 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has quit [Ping timeout: 248 seconds] 2023-08-19T02:21:52 < zyp> datasheet claims you can't inject current on FT pins, which most pins tends to be on the modern parts 2023-08-19T02:23:52 < zyp> I'm not sure exactly how that works in practice, but I assume that means they won't sink current, in which case the pullup won't drop any, which would violate the absolute max rating on the pin 2023-08-19T02:25:04 < zyp> also, even for pins that would sink, «only» 2.5mA per pin could still add up to too much if we're talking many pins 2023-08-19T02:27:12 < zyp> and you'd be sinking it into vdd, which is probably not fed by a push-pull regulator, which means that if you're injecting more current than you're actually drawing from vdd, you'd be pulling the entire rail up, potentially past max ratings 2023-08-19T02:28:02 < zyp> unless you've got a strong enough clamp on it 2023-08-19T02:28:27 < zyp> so, yeah, don't do that :) 2023-08-19T02:31:59 < catphish> in this case it's just a single pin, but if it won't sink any current then i'll be far exceeding the absolute max voltage 2023-08-19T02:33:22 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 252 seconds] 2023-08-19T02:33:37 < catphish> in this case luckily i can easily remove the pullup that's driving the 25v, and just run the circuit push-pull 2023-08-19T02:35:19 < zyp> well, you have to read the datasheet 2023-08-19T02:36:15 < zyp> I can't tell you whether it's FT or TT or whatever without knowing which chip you've got and what pin :) 2023-08-19T02:38:11 < zyp> huh, G4 datasheet says you can't inject into TT pins either, that's new 2023-08-19T02:39:01 < catphish> it's FT, but the datasheet says no injection into anything on this G4 2023-08-19T02:39:06 < zyp> yeah 2023-08-19T02:39:20 < zyp> on e.g. F4, anything but FT could sink up to 5mA 2023-08-19T02:39:45 < zyp> but G4 apparently have a different structure on the non-FT pins as well 2023-08-19T02:40:31 < zyp> the old stuff is pretty simple, it's just sinking through the ESD protection diodes 2023-08-19T02:40:44 < catphish> that's what i was expecting 2023-08-19T02:41:17 < zyp> but FT pins can't do that, since they're rated for Vdd+4V, so they're doing ESD protection in some other way that's not usable for clamping 2023-08-19T02:41:30 < zyp> and now that apparently goes for TT pins as well 2023-08-19T02:41:47 < catphish> i guess leaking 2.5mA into the 3.3v rail isn't a great idea either 2023-08-19T02:42:06 < catphish> so i'll just not contemplate this 2023-08-19T02:42:44 < catphish> removing a resistor is an easy hack, just means an SMPS will have its EN pin floating while the STM32 boots, not a problem for this prototype iteration 2023-08-19T02:45:14 < catphish> zyp: i finally finished my SMPS design by the way, thanks for your assistance https://i.imgur.com/YCHjlH3.png https://i.imgur.com/Br8om91.png 2023-08-19T02:45:20 < zyp> can't you just bodge 3.3V on it instead? 2023-08-19T02:46:21 < catphish> i could likely bodge it to GND instead, whish is where it goes on the revised design 2023-08-19T02:46:35 < catphish> (it's R17) 2023-08-19T02:57:04 < catphish> next task: replace the terrible USB ACM serial interface on my board with a proper USB interface, and a libusb client app 2023-08-19T04:38:45 < karlp> lol, https://www.ferdamalastofa.is/en/licences-legislation/travel-agency/list-of-travel-agencies has clickable headers to sort, and it sorts the date column.... alpðhabetically, and they didn't use iso8601 date order so it sorts by... day of month... 2023-08-19T04:39:26 < karlp> or. worse? 2023-08-19T04:39:31 < karlp> it has a coule that fuck up 2023-08-19T04:39:34 < karlp> whatever, so dumb 2023-08-19T04:39:41 < karlp> you can't link to a particular license anyway 2023-08-19T04:44:32 < karlp> whee mcmaster allows dirty foreigners to actually look at their website again. 2023-08-19T04:45:21 < karlp> you still can't.... _order_ anything, but at least they're letting you window shop again 2023-08-19T04:46:31 < karlp> I'd be alot happier of debug-edge.io had actually even tried it, instead of just registering a .io domain and proposing it as a spec. 2023-08-19T04:47:12 < karlp> and imagine thinking the min 4 pin version should be gnd, swdio, swdclk and fucking reset?! 2023-08-19T04:47:37 < karlp> vtref is more important than reset. 2023-08-19T04:49:15 < karlp> those avx edge connectors are kinda cute though, I can't really see them being great for debug though, you need them on another board too, I'm not sure if they have a half wired version 2023-08-19T05:09:13 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-19T05:39:35 -!- Alexer [~alexer@85.17.122.98] has joined ##stm32 2023-08-19T05:57:39 -!- splud [~noneya.bi@user/splud] has quit [Ping timeout: 246 seconds] 2023-08-19T06:40:23 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has joined ##stm32 2023-08-19T06:45:01 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T06:46:45 -!- machinehum3 [~machinehu@2604:3d08:937f:cf00:b01e:7732:1de7:c1ac] has quit [Ping timeout: 245 seconds] 2023-08-19T06:52:06 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-19T06:53:57 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T07:10:06 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-19T08:32:09 -!- emeb_mac [~emeb_mac@ip174-72-118-134.ph.ph.cox.net] has joined ##stm32 2023-08-19T08:33:08 -!- emeb_mac [~emeb_mac@ip174-72-118-134.ph.ph.cox.net] has left ##stm32 [] 2023-08-19T09:15:13 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-19T10:19:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-19T10:20:32 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-19T12:16:49 < Steffanx> 3 years and they still haven't tested it. Great job. 2023-08-19T12:18:36 < Steffanx> Durability: 5 cycles. Hah 2023-08-19T12:19:16 < Steffanx> It'll probably work fine but still 2023-08-19T13:13:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-19T13:19:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-19T13:20:19 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-19T14:32:52 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-19T15:14:36 -!- splud [~noneya.bi@user/splud] has joined ##stm32 2023-08-19T15:21:31 < zyp> vtref vs reset is very much a matter of application 2023-08-19T17:52:28 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-19T18:00:55 -!- hexo_ [~hexo@user/hexo] has quit [Ping timeout: 245 seconds] 2023-08-19T18:04:22 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-19T18:07:42 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-19T18:18:36 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-19T18:19:08 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-19T18:21:07 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-19T18:45:46 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-19T18:54:51 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-08-19T19:08:40 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-19T19:27:40 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-19T19:40:10 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-19T19:41:04 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-19T20:26:12 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-08-19T21:13:10 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-08-19T21:13:30 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-19T21:21:36 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T21:26:03 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-19T21:39:18 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-08-19T21:56:39 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T21:58:18 < machinehum> Has anyone worked with remapping g0 pins? Is there anything else to do other than set PA12_RMP type registers in SYSCFG_CFGR1 2023-08-19T22:01:00 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-19T22:05:08 < BrainDamage> unrelated: https://mas.to/@TechConnectify/110917645251479152 2023-08-19T22:12:25 < machinehum> Has anyone used the STM32G030? 2023-08-19T22:12:33 < machinehum> Because... I'm having issues 2023-08-19T22:12:53 < machinehum> > write_memory 0x40010000 32 {0x0000000C} 2023-08-19T22:12:55 < machinehum> > read_memory 0x40010000 32 1 2023-08-19T22:12:57 < machinehum> 0x0 2023-08-19T22:30:49 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T22:31:20 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-19T22:35:08 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-19T22:36:35 < zyp> did you forget to turn on SYSCFG in RCC first? 2023-08-19T22:36:40 < zyp> (you did) 2023-08-19T22:40:51 -!- hexo_ [~hexo@user/hexo] has quit [Remote host closed the connection] 2023-08-19T22:50:23 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-08-19T23:05:37 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T23:10:37 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 260 seconds] 2023-08-19T23:27:44 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-19T23:28:48 < machinehum> what 2023-08-19T23:29:50 < zyp> what what 2023-08-19T23:30:10 < machinehum> SYSCFG in RCC ? 2023-08-19T23:30:40 < zyp> just like every other peripheral, SYSCFG need to be enabled in RCC before you can access the registers 2023-08-19T23:31:52 < machinehum> zyp you son of a bitch 2023-08-19T23:32:01 < zyp> thanks 2023-08-19T23:32:04 < machinehum> I wasn't aware that counted as a periperal 2023-08-19T23:32:27 < zyp> pretty much everything except RCC itself does 2023-08-19T23:35:03 < nomorekaki> Steffanx: https://www.youtube.com/watch?v=DP3rDP02lE0 musics 2023-08-19T23:37:04 < Steffanx> Nomorekaki: It started alright then this annoying 8-bit wuwuwuwu starts 😅 2023-08-19T23:37:16 < nomorekaki> yes 2023-08-19T23:37:34 < Steffanx> So I give it a 4/10 2023-08-19T23:38:04 < machinehum> https://youtu.be/Apg6OHOrhbQ 2023-08-19T23:38:19 < zyp> here's one suitable for today: https://www.youtube.com/watch?v=jhXXyP4UGks 2023-08-19T23:38:22 < zyp> (at least here) 2023-08-19T23:38:58 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-19T23:39:33 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-19T23:39:34 < Steffanx> You don't actually enjoy that do you machinehum ? 2023-08-19T23:40:02 < machinehum> I listen to it every morning 2023-08-19T23:40:09 < Steffanx> Oh dear 2023-08-19T23:40:19 < machinehum> Gets my pumped up to enable clocks, on everyting except rcc 2023-08-19T23:40:24 < Steffanx> Lol zyp. I guess it makes more sense when you understand the lyrics 2023-08-19T23:40:38 < zyp> video got subtitles 2023-08-19T23:41:06 < Steffanx> Something grey cloudy rainy day 2023-08-19T23:41:25 < Steffanx> Oh I don't see those. 2023-08-19T23:42:46 < zyp> then you've got shit like this that makes no sense even when you go look up the lyrics: https://www.youtube.com/watch?v=2v67mTfwXF8 2023-08-19T23:42:46 < nomorekaki> machinehum: genres you might like: shittyfluted 2023-08-19T23:43:11 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-19T23:43:52 < nomorekaki> machinehum: https://www.youtube.com/watch?v=L18fPGfPjlU listen to this masterpiece 2023-08-19T23:50:36 < nomorekaki> Steffanx: reminded me of song apparently from 11years ago https://www.youtube.com/watch?v=7uNYg98YTNI 2023-08-19T23:50:42 < machinehum> https://youtu.be/l6p-9PC5XRQ 2023-08-19T23:50:48 < machinehum> nomorekaki: Guess I'm not working anymore today 2023-08-19T23:51:37 < nomorekaki> you are exploring shittyflute musics? --- Day changed su elo 20 2023 2023-08-20T00:08:28 < machinehum> nomorekaki: ye 2023-08-20T00:12:49 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T00:17:10 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T00:40:43 < Steffanx> Never heard it before nomorekaki 2023-08-20T00:48:57 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T00:53:16 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T01:09:43 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-20T01:09:45 < Laurence_b> https://www.jstor.org/stable/27016616 2023-08-20T01:23:28 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T01:27:52 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T01:36:00 < machinehum> https://i.imgur.com/HxSKTfr.png "FIXME: Some error" 2023-08-20T01:36:12 < machinehum> karlp: what is the meaning of this 2023-08-20T01:42:43 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-20T01:45:31 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-20T01:46:46 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-20T01:54:26 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-20T01:54:27 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Excess Flood] 2023-08-20T01:56:13 < karlp> booooo code snippets as images 2023-08-20T01:56:36 < karlp> i generally feel it'ðs bad style to just infinite loop, you _could_ get an error there. 2023-08-20T01:57:11 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T01:57:13 < Steffanx> We all miss leeloo, karlp ;) 2023-08-20T01:57:20 < karlp> I just don't use i2c. but shit, you should have seen the old i2c apis... 2023-08-20T02:01:30 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T02:04:55 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 244 seconds] 2023-08-20T02:08:40 < machinehum> https://pastebin.com/raw/QqmBFXtP 2023-08-20T02:08:47 < machinehum> Getting stuck inside i2c_transfer7 2023-08-20T02:08:57 < machinehum> Also https://community.st.com/t5/stm32-mcu-products/stm32g030-pa8-etc/m-p/583526#M221231 2023-08-20T02:09:09 < machinehum> Thankyou for your ongoing support ##stm32 2023-08-20T02:09:17 < machinehum> I will oneday repay it to another noob 2023-08-20T02:31:42 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T02:36:09 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T02:40:56 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-20T02:57:26 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has joined ##stm32 2023-08-20T03:01:04 -!- GenTooMan [~cyberman@c-73-214-106-63.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 2023-08-20T03:01:33 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-20T03:04:04 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T03:08:21 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T03:16:08 < qyx> machinehum: does the bost work? 2023-08-20T03:16:17 < qyx> *boost 2023-08-20T03:36:37 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T03:41:03 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T04:10:41 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T04:15:13 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T04:46:24 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T04:50:55 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T05:18:21 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T05:22:35 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T05:54:14 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T05:58:56 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 256 seconds] 2023-08-20T06:27:29 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T06:28:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-20T06:31:56 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T06:33:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-20T06:44:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-20T06:47:49 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-20T07:00:24 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T07:05:00 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T07:48:48 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has joined ##stm32 2023-08-20T07:56:35 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T08:01:00 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T08:26:20 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-20T08:31:36 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T08:36:12 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T09:04:57 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T09:09:29 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T09:38:49 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T09:43:17 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T10:08:51 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has quit [Quit: Konversation terminated!] 2023-08-20T10:10:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-20T10:13:20 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T10:18:04 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T10:47:39 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T10:52:10 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T10:53:29 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-20T10:57:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 252 seconds] 2023-08-20T11:22:09 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T11:26:45 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T11:53:47 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T11:58:16 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 260 seconds] 2023-08-20T12:27:31 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T12:31:51 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T13:01:00 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T13:04:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-20T13:04:46 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-20T13:05:13 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 244 seconds] 2023-08-20T13:08:30 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Client Quit] 2023-08-20T13:08:48 -!- [_] is now known as [itchyjunk] 2023-08-20T13:22:01 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-20T13:31:20 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T13:35:51 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T14:24:08 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T14:28:25 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T14:31:26 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-20T14:43:44 < Laurence_b> https://files.catbox.moe/xk55sm.jpg 2023-08-20T14:50:34 < Steffanx> Did you know one of your fav meme dogs died, Laurence_b ? 2023-08-20T14:50:47 < Laurence_b> no? 2023-08-20T14:50:56 < Steffanx> Cheems 2023-08-20T14:51:18 < Laurence_b> :( 2023-08-20T14:51:27 < Steffanx> Doge isn't doing great either 2023-08-20T14:58:29 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T15:02:59 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-20T15:34:08 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T15:38:32 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 240 seconds] 2023-08-20T15:43:22 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-20T16:10:21 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T16:14:40 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-20T16:39:19 -!- IanW_ [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-20T16:45:13 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-20T16:45:52 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T16:50:36 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 248 seconds] 2023-08-20T16:52:20 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-20T17:03:25 -!- qyx [~qyx@84.245.121.101] has quit [Ping timeout: 250 seconds] 2023-08-20T17:10:29 -!- qyx [~qyx@84.245.121.73] has joined ##stm32 2023-08-20T17:19:21 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-20T17:23:47 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 258 seconds] 2023-08-20T19:03:46 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-20T19:40:06 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-20T20:27:50 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-08-20T20:33:45 < machinehum> qyx: Voltage goes up 2023-08-20T20:34:01 < machinehum> But I need to figure out this I2C bug so I can attach the pack 2023-08-20T20:34:09 < machinehum> Enable the fets etc 2023-08-20T21:19:11 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-08-20T21:34:10 -!- drzacek [~quassel@2a01:3d8:3a7:f600:2aaf:62a7:94ba:7ae3] has joined ##stm32 2023-08-20T21:35:30 -!- IanW_ [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-08-20T22:24:16 -!- octorian_ is now known as octorian 2023-08-20T22:33:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-08-20T22:43:32 < nomorekaki> hello early 2023-08-20T22:43:41 < nomorekaki> how is innovation? 2023-08-20T22:51:21 < Steffanx> Can you eat that? 2023-08-20T22:54:35 -!- drzacek [~quassel@2a01:3d8:3a7:f600:2aaf:62a7:94ba:7ae3] has quit [Quit: Quit] 2023-08-20T23:26:23 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-08-20T23:47:57 < machinehum> https://i.imgur.com/zKQTusG.png Not getting my ack... BQ7692006PWR --- Day changed ma elo 21 2023 2023-08-21T00:18:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-21T00:20:20 < machinehum> Something strange on the SDA line at 70uS ... https://i.imgur.com/exjGrf5.png 2023-08-21T00:27:46 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-08-21T00:37:55 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-21T00:37:58 < Laurence_b> the absolute state of incels 2023-08-21T00:38:08 < Laurence_b> >they got highscored by a femcel 2023-08-21T00:38:33 < mouseghost> what is that referring to, mr Laurence_b 2023-08-21T00:39:19 < Laurence_b> 33 years old and still a virgin, never even kissed a boy 2023-08-21T00:40:00 < Laurence_b> https://e3.365dm.com/23/08/1600x900/skynews-lucy-letby-arrest-guilty_6254634.jpg?20230818133104 2023-08-21T00:41:20 < Laurence_b> someone needs to edit the supreme gentleman video 2023-08-21T00:45:08 < mouseghost> Laurence_b, this is due to incels!!! 2023-08-21T00:45:10 < mouseghost> obviously 2023-08-21T00:47:55 < Laurence_b> lol I can see it already "she did it cuz incels wouldn't fug her" 2023-08-21T00:51:32 < machinehum> Wtf is that little dip... 2023-08-21T00:51:44 < machinehum> It goes away when you change the address to something else 2023-08-21T00:54:29 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-21T01:09:57 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-21T02:09:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-21T02:13:46 < zyp> machinehum, you've forgotten to configure the GPIO as open drain, you've got them in push-pull mode 2023-08-21T02:13:50 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-21T02:14:07 < zyp> so you're driving high when the device is trying to assert low to ACK 2023-08-21T02:14:15 < zyp> and hence the line voltage ends up somewhere in between 2023-08-21T02:14:26 < zyp> (been there, done that) 2023-08-21T02:15:14 < zyp> in my case I had two devices, and one were acking while the other weren't 2023-08-21T02:15:33 < zyp> turned out the first just had stronger drive strength, so it was able to overpower the mcu 2023-08-21T02:22:06 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-08-21T02:39:05 < mawk> won't that short the line zyp ? 2023-08-21T02:39:39 < mawk> or the current is limited somehow 2023-08-21T03:00:44 -!- nomorekaki [~nomorekak@37-219-206-175.nat.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-21T03:04:46 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-08-21T03:05:03 < qyx> hmm I have a use case for 10base-t1s 2023-08-21T03:05:21 < qyx> I'll probably go for it 2023-08-21T03:05:39 < qyx> with those SPI MAC+PHY combos 2023-08-21T03:06:10 < qyx> machinehum: great 2023-08-21T03:37:16 < zyp> mawk, correct, you're limited by the internal resistance in the GPIO drivers 2023-08-21T05:37:22 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-21T05:42:38 < machinehum> zyp: Thanks 2023-08-21T06:42:18 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-21T06:54:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-21T07:26:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-21T08:49:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-21T08:55:57 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-21T09:18:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-21T09:18:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-21T09:18:33 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-21T09:40:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-21T12:09:26 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-21T13:03:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-21T13:44:09 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-21T13:45:18 < Laurence_b> anyone any good with iptables? 2023-08-21T13:45:20 < Laurence_b> http://pastie.org/p/0szXKlwTXNWv3s31OACabO 2023-08-21T13:45:31 < Laurence_b> why does first rule not match anything? 2023-08-21T13:49:28 < qyx> you have exactly two differences between the two rules 2023-08-21T13:49:47 < qyx> so I guess it is at most a few tries to find out dpending on your luck 2023-08-21T13:52:25 < Laurence_b> ah - it was the rate limit 2023-08-21T13:52:38 < Laurence_b> weird how it will block everything if rate is exceeded 2023-08-21T13:57:46 < Laurence_b> guess it stops logs getting filled by spam in case of ddos that way 2023-08-21T13:58:18 < Laurence_b> is there a way to log the packet contents? 2023-08-21T14:00:40 < Laurence_b> nvm, nflog does this 2023-08-21T15:05:14 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-21T15:17:30 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-08-21T15:19:29 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-08-21T15:20:28 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T15:25:01 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-21T15:55:26 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T15:59:56 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-21T16:01:21 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-08-21T16:27:11 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T16:31:41 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-21T16:58:43 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T17:03:16 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 258 seconds] 2023-08-21T17:08:54 < Mangy_Dog> Anyone happen to remember why i resorted to writing a softPWM for the stm32f103C6 on the door of the tricorder? Was there some kind of timer conflict with something? That would explain why I couldnt run the leds on PWM when they were on PWM enabled ports? 2023-08-21T17:09:31 < Mangy_Dog> https://cdn.discordapp.com/attachments/613131136784269398/1143185077359083620/image.png 2023-08-21T17:16:50 < zyp> probably because f103 is shit :) 2023-08-21T17:17:31 < jpa-> 2020-10-05T19:55:29 < qyx> Mangy_Dog: pwm for a led? just do soft pwm in a timer interrupt it's qyx' fault 2023-08-21T17:18:37 < qyx> I wouldn't mind recommending that again 2023-08-21T17:19:02 < qyx> because running 5 and more timers just for the purpose of PWMing LEDs is dumb 2023-08-21T17:19:29 < qyx> because 1. LEDs need ~100 Hz to have no noticeable flicker, so easy in software 2023-08-21T17:19:36 < Mangy_Dog> lol 2023-08-21T17:19:38 < qyx> and 2. hardware PWM draw power 2023-08-21T17:20:22 < Mangy_Dog> While i got it working... its ok on the eye but its certainly not fast enough to not get occational strobing on cameras at certain rates 2023-08-21T17:20:32 < Mangy_Dog> simular to the old digit displays that were shift reg controlled 2023-08-21T17:20:36 < qyx> and I would say the constant power required to flip 5 timers is bigger than a single timer + interrupt overhead 2023-08-21T17:21:23 < Mangy_Dog> im half considering putting a different micro in there with less pins. and run a tlc5947 for the leds 2023-08-21T17:22:15 < qyx> I would just use an i2c expander cpable of directly driving LEDs 2023-08-21T17:22:22 < qyx> there are some with PWM capability iirc 2023-08-21T17:22:58 < qyx> or as zyp likes, programmable LEDs 2023-08-21T17:23:19 < qyx> but that's irrelevant now probably 2023-08-21T17:24:57 < jpa-> i hate 100Hz leds 2023-08-21T17:26:03 < Mangy_Dog> nods 2023-08-21T17:26:07 < qyx> too fast? 2023-08-21T17:26:11 < Mangy_Dog> too slow 2023-08-21T17:31:53 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T17:36:11 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 246 seconds] 2023-08-21T17:39:19 < jpa-> way too slow and flickery 2023-08-21T17:40:34 < jpa-> even ws2812 400Hz is visible when turning head and on camera 2023-08-21T17:43:08 < Mangy_Dog> i thought that was their data rate not pwm rate? 2023-08-21T17:45:30 < qyx> data rate is 800-1200 kHz or so 2023-08-21T17:45:40 < jbo> MSFT Azure DevOps is such a PITA 2023-08-21T17:45:41 < jpa-> framerate depends on number of leds, data rate is 800kHz 2023-08-21T17:51:04 -!- srk- [~sorki@user/srk] has joined ##stm32 2023-08-21T17:54:58 -!- srk [~sorki@user/srk] has quit [Ping timeout: 252 seconds] 2023-08-21T17:54:58 -!- srk- is now known as srk 2023-08-21T17:55:07 < Mangy_Dog> ahh yeah 2023-08-21T17:55:10 < Mangy_Dog> tbh 2023-08-21T17:55:17 < Mangy_Dog> its been a while since i looked at the datasheet 2023-08-21T18:23:56 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T18:28:19 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 250 seconds] 2023-08-21T18:42:05 -!- begriffs [~begriffs@user/begriffs] has quit [Remote host closed the connection] 2023-08-21T18:56:50 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T19:01:12 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-21T19:18:47 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-21T19:21:32 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 248 seconds] 2023-08-21T19:31:29 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T19:35:47 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 245 seconds] 2023-08-21T19:59:45 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has quit [Ping timeout: 246 seconds] 2023-08-21T20:17:37 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-08-21T20:17:39 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has quit [Remote host closed the connection] 2023-08-21T20:21:13 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-08-21T20:21:30 -!- machinehum4 [~machinehu@216.73.162.209] has joined ##stm32 2023-08-21T20:25:52 -!- machinehum4 [~machinehu@216.73.162.209] has quit [Ping timeout: 240 seconds] 2023-08-21T20:38:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-21T21:13:15 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-21T21:13:28 * Laurence_b has a weird lunix issue 2023-08-21T21:13:52 < Laurence_b> getting a few % duplicated packets on udp locahost, but only when I use iptables and socat 2023-08-21T21:14:05 < Laurence_b> I'm not sure where the issue is - either iptables or socat 2023-08-21T21:14:32 < Laurence_b> simply bouncing packets off localhost seems to work fine 2023-08-21T21:15:06 < Laurence_b> udp -> localhost -> iptables routing to another port -> socat -> read on another port gives occasional duplications 2023-08-21T22:16:36 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-21T22:18:18 < qyx> so esp32 is totally unable to do any reasonable sleep modes? 2023-08-21T22:18:24 < qyx> I mean, under 1 mA with BLE 2023-08-21T22:19:56 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-21T22:26:55 < mawk> 1mA isn't reasonable 2023-08-21T22:27:55 < mawk> 20μA starts to be 2023-08-21T22:40:40 < PaulFertser> Laurence_b doesn't know that iptables are not doing any routing... 2023-08-21T22:45:11 -!- nomorekaki [~nomorekak@178-55-165-8.bb.dnainternet.fi] has joined ##stm32 2023-08-21T22:49:20 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-08-21T22:50:44 < mawk> iptables can cause a packet to be routed differently 2023-08-21T22:50:53 < mawk> but that's probably not what he did 2023-08-21T22:51:36 < mawk> using policy routing, or rewriting the destination address in PREROUTING 2023-08-21T22:51:40 < PaulFertser> Of course, especially in prerouting :) 2023-08-21T22:52:11 < PaulFertser> You can set a fwmark in prerouting to affect routing decisions, yes, that's what I meant. 2023-08-21T22:52:28 < mawk> policy routing is the best invention of man since opium 2023-08-21T22:52:45 < mawk> I made a wonderful VPN setup with that 2023-08-21T22:53:04 < PaulFertser> Alcohol feels so much safer 2023-08-21T22:53:22 < mawk> the main node is my server in Paris, and depending on which client is connecting the traffic destined to internet is either routed locally, or sent to another VPN node at home in the Netherlands through a GRE tunnel to be routed there 2023-08-21T22:54:09 < mawk> including IPv4 on a dedicated LAN range 10.128.1.0/24, and IPv6 using the LAN prefix fd00::/8 which is rewritten on the fly to whatever is the current global IPv6 prefix at home 2023-08-21T22:54:17 < mawk> using NPT, so it's not NAT 2023-08-21T22:54:26 < PaulFertser> Cool, that's the way to do tit. 2023-08-21T22:54:32 < PaulFertser> Heh 2023-08-21T22:54:34 < mawk> just rewriting the address coming in and out, in a way that leaves the ethernet checksum invariant 2023-08-21T22:54:39 < mawk> and without any state 2023-08-21T22:55:16 < mawk> for some reason it doesn't work with connection tracking anyway, so it couldn't be stateful even if I wanted 2023-08-21T22:55:29 < mawk> you have to do -j NOTRACK on the packets that get NPT'd 2023-08-21T23:25:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-21T23:48:54 -!- nomorekaki [~nomorekak@178-55-165-8.bb.dnainternet.fi] has quit [Quit: Client closed] --- Day changed ti elo 22 2023 2023-08-22T00:00:40 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] 2023-08-22T01:06:47 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-22T01:07:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 245 seconds] 2023-08-22T01:33:35 < Mangy_Dog> https://twitter.com/MD_Builds/status/1693753013163192472 2023-08-22T01:44:10 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-22T02:27:29 < oz4ga> long time since the first ardu tricorder 2023-08-22T02:28:50 < qyx> mawk: but esp32-c3 idles at 77 mA with bluetooth 2023-08-22T02:29:33 < qyx> older esp32 can go lower because of power saving enabled 2023-08-22T02:29:50 < qyx> but not lower than 20 if I got it right 2023-08-22T02:51:10 -!- jadew [~rcc@5.12.178.104] has quit [Ping timeout: 256 seconds] 2023-08-22T02:51:31 < mawk> that's a lot 2023-08-22T02:51:48 < mawk> most of it coming from the BLE block I guess? 2023-08-22T02:52:00 < mawk> listening for beacons or whatever 2023-08-22T02:58:57 < qyx> I don't know, I haven't touched it yet 2023-08-22T02:59:21 < qyx> but no, it draws a lot even with radio disabled/unused 2023-08-22T03:05:13 -!- jadew [~rcc@5.12.188.158] has joined ##stm32 2023-08-22T03:06:16 < mawk> there's no off mode waiting for an RTC alarm? 2023-08-22T03:06:26 < mawk> without memory retention 2023-08-22T03:14:48 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-22T03:18:27 < zyp> should be 2023-08-22T03:42:03 < qyx> https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system_time.html 2023-08-22T03:42:08 < qyx> apparently there is something 2023-08-22T03:43:28 < qyx> but BLE doesn't work in deep sleep 2023-08-22T03:44:34 -!- Steffanx [sid97872@user/steffanx] has quit [Quit: Connection closed for inactivity] 2023-08-22T03:47:42 < qyx> https://www.reddit.com/r/esp32/comments/sn800o/esp32_all_versions_bluetooth_low_energy/ 2023-08-22T03:47:49 < qyx> oh steff ded 2023-08-22T03:54:26 -!- Steffanx [uid97872@user/steffanx] has joined ##stm32 2023-08-22T04:04:45 < qyx> hes back \o/ 2023-08-22T05:51:55 < machinehum> qyx: this BQ76920 is actually quite nice 2023-08-22T05:52:30 < machinehum> I like the idea of keeping this firmware and reproducing for someone that want a 12C or something 2023-08-22T05:53:09 < machinehum> Being able to combine pack protection with system shutoff is nice, and it has a gas gauge on it as well 2023-08-22T05:54:37 < qyx> if it works, it is ok 2023-08-22T05:55:01 < machinehum> Works so far 2023-08-22T06:04:34 -!- Steffanx [uid97872@user/steffanx] has quit [Quit: Connection closed for inactivity] 2023-08-22T06:12:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-22T07:53:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-08-22T08:23:10 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-22T09:03:05 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-22T09:40:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-22T09:46:00 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-22T09:50:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-22T09:59:16 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-08-22T09:59:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-22T09:59:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-22T09:59:33 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-22T11:14:07 -!- Steffanx [uid97872@user/steffanx] has joined ##stm32 2023-08-22T12:39:12 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5321))] 2023-08-22T12:39:18 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-22T13:10:26 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-22T13:50:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-22T14:09:55 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-22T14:13:29 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-22T14:14:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-22T14:55:03 -!- link-net [link-net@came.here.for-some.fun] has joined ##stm32 2023-08-22T14:55:33 -!- link-net [link-net@came.here.for-some.fun] has left ##stm32 [Konversation terminated!] 2023-08-22T15:10:12 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-22T15:13:20 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-22T15:13:23 < Laurence_b> any networking gurus here? 2023-08-22T15:13:39 < qyx> no 2023-08-22T15:13:44 < Laurence_b> udp sent via localhost on lunix is giving me occasional duplicate packets 2023-08-22T15:14:20 < Laurence_b> "cat /sys/devices/virtual/workqueue/cpumask > /sys/class/net/lo/queues/rx-0/rps_cpus doesnt fix it 2023-08-22T15:16:35 < Laurence_b> hopefully I dont have to implement a clone of TCP, but looks like I might 2023-08-22T15:17:10 < qyx> you are gifted to create problems 2023-08-22T15:25:03 < Laurence_b> http://pastie.org/p/1INAtMK1iHhZnjN4yQ0qo3 2023-08-22T15:25:07 < Laurence_b> what the fuuuu 2023-08-22T15:25:37 < Laurence_b> duplicate lines should not be there 2023-08-22T15:25:51 < Laurence_b> the really weird thing is the delay between duplicates, wtf 2023-08-22T15:26:29 < Laurence_b> wait I have an idea - maybe packets are actually going out over ethernet 2023-08-22T15:28:07 < Laurence_b> that would explain the delays 2023-08-22T16:00:15 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-08-22T16:21:48 < jbo> may I ask why you'd even bother doing UDP over loopback? 2023-08-22T16:39:15 -!- nomorekaki [~nomorekak@178-55-165-8.bb.dnainternet.fi] has joined ##stm32 2023-08-22T16:39:59 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-22T17:09:21 -!- qyx [~qyx@84.245.121.73] has quit [Ping timeout: 246 seconds] 2023-08-22T17:11:25 -!- qyx [~qyx@84.245.121.138] has joined ##stm32 2023-08-22T18:26:39 < Steffanx> Jbo never question Laurenceb.. 2023-08-22T18:27:56 < Steffanx> He must be a Mandalorian "This is the way" 2023-08-22T18:28:39 < BrainDamage> if lolrenceb had access to a fully stocked toolbox, he'd pick a hand operated screwdriver and jam it in the chuck of an electric drill even if he had access to a hex nut 2023-08-22T18:41:41 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-22T19:13:52 < mawk> lol 2023-08-22T19:35:36 < Steffanx> haha 2023-08-22T19:57:28 < jpa-> ideas on how to hook up a sin/cos encoder to STM32? 2023-08-22T19:58:03 < jpa-> currently i'm contemplating between ADC and external converter to quadrature, but the latter seem to be quite rare; some company ic-haus makes them, but not many distributors 2023-08-22T19:59:03 < machinehum> qyx: Seems as though the boost supply will sometimes collapse 2023-08-22T19:59:11 < machinehum> Even with a reasonable DUC 2023-08-22T20:00:14 < qyx> jpa-: if low freq, ADC? I would probably reinvent some sliding ADC-watchdogy-style sleep control to wake up when you turn the knob a bit 2023-08-22T20:00:54 < qyx> machinehum: remember high side mosfet cannot be turned on 100% 2023-08-22T20:01:23 < qyx> hm but that's not the case with a two-switch converter, it always switches 2023-08-22T20:01:44 < machinehum> DUC is 0.75, Vout: 11857 mV Vbat: 11714 mV 2023-08-22T20:02:34 < machinehum> If I power cycle the 12V input, output goes back up to 16V 2023-08-22T20:02:48 < qyx> are you trying without the battery? 2023-08-22T20:02:54 < qyx> how could it collapse to 11.7 V? 2023-08-22T20:03:01 < machinehum> Yeah, I have the digital load in place of battery 2023-08-22T20:03:01 < jpa-> qyx: rather high freq and continuous movement (motor encoder in mechanical system) 2023-08-22T20:03:21 < machinehum> qyx: I don't know, I'll dig some more 2023-08-22T20:03:26 < mawk> too high freq for an adc jpa- ? 2023-08-22T20:03:39 < mawk> it's high freq but there's no harmonics 2023-08-22T20:03:45 < mawk> so it should be nice 2023-08-22T20:03:57 < jpa-> no, not too high - but then i need to figure out how to run atan2() fast enough etc. 2023-08-22T20:04:02 < qyx> jpa-: make it run at a MHz rate and use a RF IQ demod! 2023-08-22T20:05:47 < qyx> if you don't need the resolution, I would just use some comparators and a timer in a quadrature input mode 2023-08-22T20:06:30 < jpa-> yeah, that's valid also.. i'll need to compute what resolution i actually need 2023-08-22T20:12:06 < qyx> machinehum: I don't remember now, does the CSDxx have any fault outputs? 2023-08-22T20:13:44 < machinehum> nah 2023-08-22T20:47:37 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-22T21:12:05 < zyp> what's a sin/cos encoder? 2023-08-22T21:12:49 < zyp> just two analog signals that you have to do atan() on? 2023-08-22T21:39:48 < nomorekaki> probs 2023-08-22T21:40:03 < nomorekaki> what else it could be+? 2023-08-22T21:40:12 < mawk> like a quadrature encoder 2023-08-22T21:40:20 < mawk> for a knob 2023-08-22T21:40:33 < mawk> but it's a nice smooth silky beautiful sine wave instead of a square wave 2023-08-22T22:02:31 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-08-22T22:16:13 < jpa-> yeah 2023-08-22T22:17:46 < jpa-> basically quadrature enc but made accurately enough that you can interpolate more resolution 2023-08-22T22:22:11 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-22T22:22:15 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-08-22T22:22:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-22T22:22:33 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-22T22:22:33 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-22T22:25:07 < zyp> ah 2023-08-22T22:25:44 < nomorekaki> are you upgrading robot? 2023-08-22T22:57:16 < machinehum> qyx: Using a battery seems to fix a lot of these issues 2023-08-22T23:01:03 < nomorekaki> but it shouldnt? 2023-08-22T23:08:45 < qyx> it should because the chip is designed primarily for buck operation so some of its protections may be triggered when operated in reverse 2023-08-22T23:08:52 < qyx> s/primarily/only 2023-08-22T23:11:48 < qyx> this is a pretty rare use case where it could be abused if you always have a battery connected on its input 2023-08-22T23:12:57 < qyx> I hope you have a series fuse with the battery 2023-08-22T23:15:25 < qyx> oh kakimusiks 2023-08-22T23:15:28 * qyx @ Apocalyptica - Hope vol. 2 2023-08-22T23:22:14 < machinehum> They're protected 18650's 2023-08-22T23:22:19 < machinehum> Starting with those 2023-08-22T23:22:49 < qyx> yeah I forgot they exist 2023-08-22T23:30:01 < machinehum> Smoked my CSD somehow 2023-08-22T23:30:21 < qyx> /o\ 2023-08-22T23:32:30 < machinehum> Tried a 3A surge with just 1C 2023-08-22T23:32:45 < machinehum> Browned out and smoke came out 2023-08-22T23:33:08 < machinehum> And for some reason my undervoltage shutoff didn't... shut off 2023-08-22T23:54:27 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 --- Day changed ke elo 23 2023 2023-08-23T00:11:15 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 258 seconds] 2023-08-23T00:28:56 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-08-23T00:35:28 < machinehum> https://www.amazon.ca/Isolator-Coupling-Protection-Electronic-Component/dp/B09F8QHT6W/ref=sr_1_34?hvadid=267166740952&hvdev=c&hvlocphy=1001961&hvnetw=g&hvqmt=e&hvrand=17763333389416115646&hvtargid=kwd-368593264277&hydadcr=1532_9454498&keywords=usb+ground+loop+isolator&qid=1692740024&sr=8-34 2023-08-23T00:35:37 < machinehum> Would something like that isolate the ground as well? 2023-08-23T00:36:36 < machinehum> Looks like their are two grounds 2023-08-23T00:38:05 < bitmask> damn, drilling this polypropylene cap didnt work out well, any potable water safe adhesive I can use to seal a connector to it? 2023-08-23T00:38:44 < bitmask> hmm whats the connector made out of 2023-08-23T00:39:08 < bitmask> ohhh nylon 2023-08-23T01:01:27 < qyx> PE/PP is very hard to glue 2023-08-23T01:02:59 < bitmask> yeaa 2023-08-23T01:03:22 < bitmask> I think im ok, i filled it with water and turned it upside down and it just drips very slowly 2023-08-23T01:03:46 < bitmask> it wont be upside down during normal use so the only time it could leak is if the system is overfilled by accident 2023-08-23T01:50:26 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-23T02:40:27 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has joined ##stm32 2023-08-23T03:05:30 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has quit [Ping timeout: 245 seconds] 2023-08-23T04:04:39 < qyx> do anyone know of any possibility of flashing stm32 from android? 2023-08-23T04:04:49 < qyx> using swd 2023-08-23T04:05:00 < qyx> or better bet would be to buy a rpi+display for that? 2023-08-23T04:08:26 < qyx> oh stlink v3 has mass storage flashing mode 2023-08-23T04:08:28 < qyx> that could work 2023-08-23T05:08:45 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has joined ##stm32 2023-08-23T05:56:42 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-23T06:10:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-23T06:13:54 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Remote host closed the connection] 2023-08-23T06:14:23 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-23T07:21:59 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-23T07:31:13 -!- nerozero [~nerozero@87.253.63.54] has quit [Quit: Leaving] 2023-08-23T07:31:26 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-23T08:54:32 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Remote host closed the connection] 2023-08-23T08:56:04 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-23T09:10:59 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-23T09:34:29 -!- begriffs_ [~begriffs@user/begriffs] has joined ##stm32 2023-08-23T09:35:59 -!- LFSveteran_ [~LFSvetera@keymaker.msrv.nl] has joined ##stm32 2023-08-23T09:38:09 -!- ColdKeyboard [~ColdKeybo@user/coldkeyboard] has joined ##stm32 2023-08-23T09:39:06 -!- BrainDamage_ [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-23T09:39:19 -!- Netsplit *.net <-> *.split quits: jadew, BrainDamage, begriffs, LFSveteran, ColdKeybo[a]rd 2023-08-23T09:43:58 -!- BrainDamage_ is now known as BrainDamage 2023-08-23T09:46:54 -!- jadew [~rcc@5.12.188.158] has joined ##stm32 2023-08-23T10:00:42 < jerkey> qyx: i saw someone was patching dfu-util for android 2023-08-23T10:29:14 < mawk> qyx a rooted android would be fairly easy 2023-08-23T10:29:24 < mawk> unrooted android, probably not so much 2023-08-23T10:30:11 < mawk> you might try to run openocd from an adb shell with a custom build that initializes libusb correctly for that 2023-08-23T10:30:25 < mawk> but it requires a permission and I don't know if the permission can be granted to an adb shell 2023-08-23T10:30:38 < mawk> so you might have to write your own app instead to request the perm 2023-08-23T10:31:12 < mawk> and then it will work, with some patches to openocd to do the device discovery 2023-08-23T11:44:10 < qyx> I got a otg cable, let's see stlink v3 on android 2023-08-23T11:50:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-23T11:56:14 < qyx> obviously it doesn't work, it want's to format the stlink 2023-08-23T11:56:50 < qyx> -' 2023-08-23T11:59:06 < qyx> I said yes. 2023-08-23T11:59:17 < PaulFertser> Guess this is the modification mawk had in mind https://wiki.termux.com/wiki/Termux-usb but it sucks 2023-08-23T11:59:45 < PaulFertser> qyx: how about blackmagicprobe , probably Android will expose a ttyACM device without any additional buggery? 2023-08-23T11:59:48 < mawk> qyx you can use a fat32 explorer thi h 2023-08-23T11:59:51 < mawk> probably 2023-08-23T11:59:56 < mawk> it won't want to format it 2023-08-23T12:00:54 < qyx> and lol, after attaching ftdi usb-serial bridge 2023-08-23T12:01:06 < qyx> it asks if VictronConnect should handle this FT232R device 2023-08-23T12:01:32 < PaulFertser> qyx: why would you use non-rooted android anyway? 2023-08-23T12:02:17 < qyx> I wanted lineage and root but it didn't work when I bought it 2023-08-23T12:02:29 < qyx> so I played submissive 2023-08-23T12:13:37 < qyx> ok, Another Term works for the ftdi bridge 2023-08-23T12:14:13 < qyx> I hate their custom keyboard 2023-08-23T12:16:41 < qyx> oh it can be disabled bud then I miss rrow keys, etc 2023-08-23T13:08:10 -!- specing [~specing@user/specing] has quit [Ping timeout: 244 seconds] 2023-08-23T13:09:53 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-23T13:19:42 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-23T13:19:44 < Laurence_b> sheeet 2023-08-23T13:20:00 < Laurence_b> it isnt muh UDP thats broken, its CAN bus 2023-08-23T13:21:03 < ventYl> did you manage to break CAN? 2023-08-23T13:26:42 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-23T13:52:21 -!- nomorekaki [~nomorekak@178-55-165-8.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-23T14:24:26 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-23T14:28:28 -!- grindhold_ [~quassel@mail.skarphed.org] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 2023-08-23T14:28:41 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-23T14:28:47 < Laurence_b> ventYI : lunix broke can 2023-08-23T14:29:00 < Laurence_b> or rather - it was never going to work as lunix is not an rtos 2023-08-23T14:39:27 < BrainDamage> are you acquiring rt prio at least? 2023-08-23T14:43:45 < Laurence_b> I'm using nice 2023-08-23T14:44:11 < Laurence_b> I tried playing with the driver priority, but it didnt fix the issues 2023-08-23T14:51:30 < BrainDamage> that's not realtime priority 2023-08-23T14:53:00 < BrainDamage> use chrt 2023-08-23T15:41:44 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-23T15:55:05 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Ping timeout: 246 seconds] 2023-08-23T16:00:31 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-08-23T16:03:08 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-08-23T16:29:42 < mawk> you can make linux realtime if you like 2023-08-23T16:29:49 < mawk> for your own code 2023-08-23T16:29:50 < qyx> I don't 2023-08-23T16:30:00 < mawk> I'm not sure how to make a kernel driver realtime tho 2023-08-23T16:30:25 < mawk> probably there is some line of code to put in the module code to change the prio with preempt-rt 2023-08-23T16:30:37 < qyx> what is the name of the fat32 explorer thing mawk? 2023-08-23T16:31:14 < mawk> I use this qyx https://play.google.com/store/apps/details?id=com.paragon.tcplugins_ntfs_ro 2023-08-23T16:31:50 < mawk> then you can use a file editor to move files around 2023-08-23T16:32:44 < mawk> I use this one: https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander 2023-08-23T16:34:42 < qyx> only 3.1 * 2023-08-23T16:35:50 < qyx> 3 tracker(s) foind in 3.6.0.3 2023-08-23T16:39:14 < qyx> fuk they want money 2023-08-23T16:39:18 < qyx> for fat32 2023-08-23T16:39:28 < mawk> lol 2023-08-23T16:41:44 < mawk> but android is supposed to recognize FAT32 by default qyx 2023-08-23T16:41:52 < mawk> I don't know why it says you should format it 2023-08-23T16:42:00 < qyx> it says it doesn't recognise the device and offers formatting 2023-08-23T16:42:03 < mawk> what if you open it only in totalcommander and see what's there 2023-08-23T16:42:04 < mawk> ah 2023-08-23T16:42:24 < qyx> let's try a usb key 2023-08-23T16:43:43 < qyx> works 2023-08-23T16:44:59 < qyx> /dev/sda on /media/qyx/STLINK_V3M type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) 2023-08-23T16:45:25 < qyx> ah that cound be a problem 2023-08-23T16:45:37 < qyx> there is no partition table 2023-08-23T17:25:58 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has joined ##stm32 2023-08-23T17:26:09 < Laurence_b> BrainDamage: thanks for info 2023-08-23T17:26:19 < Laurence_b> something weird is happening tho 2023-08-23T17:26:29 < Laurence_b> recvmsg returning odd values 2023-08-23T17:26:48 < Laurence_b> does the returned length include sideband data? 2023-08-23T18:09:36 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-23T18:16:25 -!- Laurence_b [~Laurence_@cust226-dsl93-89-135.idnet.net] has quit [Quit: Client closed] 2023-08-23T18:39:21 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-23T19:28:32 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-23T20:17:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-08-23T20:30:01 -!- CygniX [~CygniX@user/CygniX] has quit [Excess Flood] 2023-08-23T20:33:18 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-08-23T20:43:14 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has joined ##stm32 2023-08-23T20:56:03 -!- alan_o [~alan_o@2600:1700:1902:210f:9cca:fd9b:e23d:c32f] has quit [Ping timeout: 246 seconds] 2023-08-23T20:56:10 -!- alan_o [~alan_o@2600:1700:1902:210f:9ce4:377:5e2c:c25c] has joined ##stm32 2023-08-23T20:59:24 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has quit [Read error: Connection reset by peer] 2023-08-23T21:26:00 < mawk> ah yes qyx that could be the problem 2023-08-23T21:50:39 < ds2> if you need something to screw with USB on Android, try termux, they have a hacked up libusb that works in that environment 2023-08-23T21:52:34 < qyx> I'd rather torture myself with a soldering tip on my left hand than to code anything for android 2023-08-23T21:52:53 < qyx> I expected it works as a *user* 2023-08-23T21:53:21 < ds2> termux is just an environment that bridges what we want vs what they want to impose 2023-08-23T21:53:53 < ds2> Android is an okay excuse to get cheap tablets :D 2023-08-23T22:04:03 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-23T22:27:49 < machinehum> qyx: AOSP? That was my old job 2023-08-23T22:28:01 < mawk> I did code for andrlid 2023-08-23T22:28:06 < mawk> android 2023-08-23T22:28:09 < mawk> the networking part 2023-08-23T22:28:22 < machinehum> Kernel drivers? 2023-08-23T22:28:23 < mawk> it's very undocumented and googlers are very hostile to you 2023-08-23T22:28:46 < mawk> not really kernel driver, I was doing the userspace bit of kernel wireguard driver 2023-08-23T22:28:53 < mawk> so, setting up network 2023-08-23T22:29:04 < mawk> which isn't as simple as "ip addr add 1.2.3.4 dev foo" 2023-08-23T22:29:19 < machinehum> I had to do something similar to that 2023-08-23T22:29:27 < mawk> there's this whole abomination called binder which is a kernel-userland or userland-userland IPC mechanism 2023-08-23T22:29:38 < machinehum> Starting from the Bradcom wifi driver 2023-08-23T22:29:41 < mawk> and I have to figure out how the interfaces work from undocumented android source code 2023-08-23T22:29:54 < mawk> and how to generate the C headers from the java interface files 2023-08-23T22:29:56 < zyp> a decade ago I was working on the userspace bits of the STE modem drivers 2023-08-23T22:30:13 < machinehum> Which was a hellacious landscape of undocumented bullshit 2023-08-23T22:30:18 < mawk> and then how to actually use the network daemon from its source code while getting yelled at by googlers because "this is not supported !!!" 2023-08-23T22:30:20 < machinehum> mawk: god 2023-08-23T22:30:45 < machinehum> auto generated C code is a fucking nightmare to deal with 2023-08-23T22:30:54 < machinehum> Grepping all over the place trying to find shit 2023-08-23T22:31:00 < mawk> because they broke how to configure network from android 9 to android 10 2023-08-23T22:31:06 < mawk> without telling anyone of course 2023-08-23T22:31:10 < machinehum> Of course they did 2023-08-23T22:31:51 < mawk> before it was a simple command to run in shell, and after it was this binder abomination 2023-08-23T22:33:03 < machinehum> Android design philosophy is also tangential to Linux design philosophy 2023-08-23T22:33:09 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-23T22:33:25 < machinehum> So much bastardisation of the kernel 2023-08-23T22:33:38 < Laurence_b> this is really weird 2023-08-23T22:34:03 < Laurence_b> recvmsg with socketcan returns non zero without any data in the can buffer 2023-08-23T22:37:13 -!- flom84 [~flom84@user/flom84] has quit [Remote host closed the connection] 2023-08-23T22:39:22 < ds2> Android is just another Linux userland 2023-08-23T22:40:18 < ds2> Google is just trying their best to lock things down in their favor so they bastardize the code as much as they want 2023-08-23T22:40:42 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-23T22:41:35 < PaulFertser> Android used to require some very special kernel drivers but probably that's all upstream now. 2023-08-23T22:44:34 < mawk> android is linux, I guess, but the userland is very alien to other distributions 2023-08-23T22:44:51 < mawk> and they have funny kernel drivers that only they use, like binder 2023-08-23T22:45:06 < machinehum> There are heaps of patches that land on Linux 2023-08-23T22:45:11 < machinehum> From Google 2023-08-23T22:45:22 < machinehum> Before it gets pulled into AOSP 2023-08-23T22:45:29 < mawk> I'm 99.5% sure the error is something you made Laurence_b 2023-08-23T22:45:32 < flom84> '[ 2023-08-23T22:45:46 < mawk> linux's socket code is one of the most tested piece of code in existence 2023-08-23T22:50:04 -!- flom84 [~flom84@user/flom84] has quit [Ping timeout: 248 seconds] 2023-08-23T22:52:14 < Steffanx> Not even 100% mawk? 2023-08-23T22:59:47 < Laurence_b> mawk: but socketcan is less standard 2023-08-23T23:00:02 < Laurence_b> could out of band data be returned with no in bad data? 2023-08-23T23:00:09 < Laurence_b> *band 2023-08-23T23:12:32 -!- begriffs_ [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-08-23T23:13:11 < mawk> not if you don't ask for it 2023-08-23T23:13:17 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-08-23T23:13:23 < mawk> what if your recvmsg looking like? 2023-08-23T23:13:27 < mawk> what flags do you use 2023-08-23T23:13:57 < qyx> my socketcan works 2023-08-23T23:14:01 < qyx> in pythonz 2023-08-23T23:14:31 < mawk> if you don't use MSG_OOB flag you won't receive OOB data 2023-08-23T23:17:47 < Laurence_b> I dont use any flags 2023-08-23T23:18:41 < Laurence_b>  iov.iov_base = frame; iov.iov_len = sizeof(struct can_frame); 2023-08-23T23:18:42 < Laurence_b>  msg.msg_name = addr; msg.msg_iov = &iov; msg.msg_iovlen = 1; msg.msg_control = ctrlmsg; msg.msg_namelen = sizeof(struct sockaddr_can); msg.msg_controllen = sizeof(ctrlmsg); msg.msg_flags = 0; 2023-08-23T23:19:19 < Laurence_b> ret = recvmsg(sock, &msg, 0); 2023-08-23T23:20:03 < Laurence_b> I think it sometimes returns timestamping data within the msg structure, but the frame is not updated with fresh data 2023-08-23T23:20:42 < mawk> you can request errors if you want Laurence_b 2023-08-23T23:20:50 < mawk> you will see if something occurred 2023-08-23T23:21:19 < Laurence_b> ok 2023-08-23T23:21:51 < Laurence_b> atm I set frame->can_dlc=100;   , then 2023-08-23T23:22:15 < Laurence_b>   if(100==frame->can_dlc) {//non data was read into the buffer 2023-08-23T23:22:16 < Laurence_b>    frame->can_dlc=0; 2023-08-23T23:22:16 < Laurence_b>    ret=-1;//emulate a timeout 2023-08-23T23:22:17 < Laurence_b>    errno=EAGAIN;//fudge this 2023-08-23T23:24:11 < qyx> how can even be dlc == 100? 2023-08-23T23:24:32 < Laurence_b> it will never be, thats the point 2023-08-23T23:24:41 < Laurence_b> this detects stale can data 2023-08-23T23:25:42 < Laurence_b> but this is a nasty hack 2023-08-23T23:27:46 < qyx> that alabaster theme si super fugly https://docs.kernel.org/networking/can.html 2023-08-23T23:28:41 < Laurence_b> possibly this could be a bug in the mcp2515 driver, but I dont see repeated data on candump 2023-08-23T23:28:58 < Laurence_b> even with timestamping enabled 2023-08-23T23:29:39 < qyx> wait what 2023-08-23T23:29:50 < qyx> you could have mentioned this earlier 2023-08-23T23:29:57 < qyx> mcp2515 is a toy 2023-08-23T23:30:09 < Laurence_b> ikr 2023-08-23T23:30:09 < qyx> why you are even using it 2023-08-23T23:30:14 < Laurence_b> hyperboss chose it 2023-08-23T23:30:38 < Laurence_b> I had to add message sequence number and ack to make it work 2023-08-23T23:30:38 < qyx> tell him to.. 2023-08-23T23:30:39 < qyx> whatever 2023-08-23T23:31:04 < Laurence_b> but then my code was breaking approx 0.1% of the time, and I discovered recvmsg doing something odd 2023-08-23T23:31:16 < qyx> I feel insulted, that's even worse than using f103 in 2023 2023-08-23T23:31:20 < Laurence_b> hardware is already certified 2023-08-23T23:31:23 < Laurence_b> lol 2023-08-23T23:32:04 < Laurence_b> yeah mcp2515 drops ~10% of data 2023-08-23T23:32:13 < Laurence_b> but thats normal for it... 2023-08-23T23:33:12 < Laurence_b> I had to use cloned "tcp" to make it work 2023-08-23T23:35:50 < Laurence_b> today junior hyperboss said we should redo hardware and drop mcp2515, this resulted in epic rage and locked office doors 2023-08-23T23:40:07 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-08-23T23:40:26 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-23T23:42:34 < mawk> why locked doors 2023-08-23T23:42:43 < mawk> are you working in a looney asylum Laurence_b 2023-08-23T23:42:49 < mawk> why are you not quitting 2023-08-23T23:42:57 < zyp> kindergarden, judging by the temper tantrums 2023-08-23T23:42:59 < mawk> what are you still doing there 2023-08-23T23:43:11 < zyp> maybe it's a good fit? 2023-08-23T23:43:17 < mawk> lol 2023-08-23T23:44:22 < mawk> what is the sum of the digits of √[25^64 × 64^25] ? 2023-08-23T23:44:31 < mawk> no cheating allowed 2023-08-23T23:47:36 < Steffanx> Define cheating 2023-08-23T23:52:37 < zyp> 14 2023-08-23T23:54:10 < zyp> your expression reduces to 5^64 * 2^75, which is equal to 10^64 * 2^11 and the first term only add zeroes, the second term is 2048 2023-08-23T23:54:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 258 seconds] 2023-08-23T23:58:50 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 --- Day changed to elo 24 2023 2023-08-24T00:02:45 < machinehum> qyx: This part is a pain to solder 2023-08-24T00:02:57 < machinehum> I'm getting all sorts of strange action from it 2023-08-24T00:09:41 < qyx> heh 2023-08-24T00:27:02 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-24T00:36:32 < machinehum> Absolutely brutal 2023-08-24T00:39:06 < zyp> what part? 2023-08-24T00:40:08 < machinehum> CSD97395Q4M 2023-08-24T00:40:32 < machinehum> I'm having issues getting solder on the 6 non-bridged pads 2023-08-24T00:40:40 < zyp> ah, yeah 2023-08-24T00:41:18 < zyp> remember I mentioned the board I bought had one of them misaligned and shorting out the bootstrap? 2023-08-24T00:41:30 < zyp> took me three rework attempts to get it working properly 2023-08-24T00:42:04 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-08-24T00:54:38 < machinehum> I'm on #4 here 2023-08-24T00:55:12 < machinehum> Yeah, no. This thing isn't working 2023-08-24T00:55:25 < machinehum> Full gate drive zero output 2023-08-24T00:59:16 < mawk> Steffanx if you have to think "would mawk say this is cheating?" then you're cheating 2023-08-24T01:00:28 < qyx> it needs patience 2023-08-24T01:00:44 < qyx> meh I hate EE and programming 2023-08-24T01:01:03 < mawk> you're on #4 machinehum ? I take #3 that's all we can get here 2023-08-24T01:02:01 < machinehum> Full gate drive zero output 2023-08-24T01:02:04 < machinehum> Whoops 2023-08-24T01:02:08 < machinehum> Yeah #4 rework 2023-08-24T01:02:13 < machinehum> Didn't work 2023-08-24T01:02:21 < machinehum> The other board isn't working ether 2023-08-24T01:03:25 < mawk> #4 and ether? that's a whole party 2023-08-24T01:03:33 < mawk> you don't get bad breath with the ether? 2023-08-24T01:16:20 < machinehum> oh 2023-08-24T01:16:30 < machinehum> I think the chip is going into UVLO 2023-08-24T01:16:32 < machinehum> https://i.imgur.com/HLPQXh2.png 2023-08-24T01:16:34 < machinehum> that's my 5V bus 2023-08-24T01:24:03 < machinehum> mawk: Are you saying something lewd? 2023-08-24T01:44:05 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-24T01:44:11 < Laurence_b> hmm think I might know what the issue is 2023-08-24T01:44:28 < Laurence_b> mcp2515 driver returns timestamps with no data when it fails 2023-08-24T01:44:36 < Laurence_b> press F for Mr Priggy 2023-08-24T02:12:07 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-24T02:14:42 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has quit [Ping timeout: 256 seconds] 2023-08-24T02:15:08 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-24T02:49:17 < mawk> kinda machinehum 2023-08-24T02:52:30 < machinehum> okay 2023-08-24T02:52:32 < machinehum> Got me good 2023-08-24T03:12:19 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-24T03:36:47 < mawk> find all n such that n^100 ends with 376 2023-08-24T04:34:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-24T05:49:32 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-24T05:50:06 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-24T06:39:50 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-24T07:28:28 -!- mawk` [mawk@wireguard/contributor/mawk] has joined ##stm32 2023-08-24T07:30:59 -!- mid-kid1 [~mid-kid@2a01:7c8:aac8:1e8:5054:ff:fe5e:cd48] has joined ##stm32 2023-08-24T07:35:29 -!- Netsplit *.net <-> *.split quits: mid-kid, mawk 2023-08-24T07:35:30 -!- mawk` is now known as mawk 2023-08-24T09:06:05 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-24T09:23:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-08-24T11:06:33 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-24T11:18:53 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-24T11:20:18 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-24T11:23:23 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Client Quit] 2023-08-24T11:23:47 -!- nerozero [~nerozero@87.253.63.54] has quit [Max SendQ exceeded] 2023-08-24T11:24:33 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-24T12:01:40 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-24T13:31:48 < karlp> you can see how popular that is by how well you killed the conversation 2023-08-24T13:39:58 < qyx> which that? mcp or csd? 2023-08-24T13:40:21 < karlp> no, mawks maths 2023-08-24T13:50:29 < Steffanx> This is nothing compared to the brain"teasers" he posts in ##python-offtopic 2023-08-24T13:52:24 < qyx> lol 2023-08-24T14:12:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-24T14:24:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-24T14:24:50 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-24T15:55:03 < mawk> yes karlp that means everyone is looking for the solution 2023-08-24T16:36:03 -!- grindhold_ [~quassel@185.163.117.141] has joined ##stm32 2023-08-24T17:04:50 < zyp> mawk, I'm disappointed, you didn't even reply to my answer yesterday 2023-08-24T17:10:36 -!- qyx [~qyx@84.245.121.138] has quit [Ping timeout: 256 seconds] 2023-08-24T17:12:25 -!- qyx [~qyx@84.245.120.194] has joined ##stm32 2023-08-24T17:19:30 < mawk> for what already zyp 2023-08-24T17:19:47 < mawk> ah for √[25^64 64^25] 2023-08-24T17:20:03 < mawk> yes very good that was the answer 2023-08-24T17:55:07 < zyp> mawk, also, let me guess, today's answer is any nonzero even number that's not divisible by 5 2023-08-24T17:58:02 < karlp> man, china to the max: https://github.com/Eronwu/xinchip/blob/waldo-branch/bsp/core/startup/xinc_m0.h 2023-08-24T17:58:25 < zyp> haha 2023-08-24T17:58:31 < karlp> xc610 appear to be cortex-m0, but the m0 file refers to a dts1580, which I can only find references too in a designers linkedin, 2023-08-24T17:58:44 < karlp> but also referest to this lc1540_m4, which I can't find any other mention of at all... 2023-08-24T17:59:05 < karlp> xc610 I have an actual english language datasheet for surprisingly, but only for pin names. 2023-08-24T17:59:25 < karlp> (I opened up a failed bluetooth china rgb led strip controller) 2023-08-24T18:02:21 < zyp> mawk, so, apparently some property of primes makes it so that n^100 for them all end with 001, except 2 that ends with 376 and 5 that ends with 625 2023-08-24T18:03:16 < zyp> and 376**n % 1000 == 376 and 625**n % 625 2023-08-24T18:04:43 < zyp> so your n needs to have at least a prime factor of 2, and no prime factors of 5 2023-08-24T18:05:09 < zyp> and all other factors are irrelevant 2023-08-24T18:06:03 < zyp> I'm not sure why it works out like that tough 2023-08-24T18:06:33 < jpa-> to me it seems to be determined by last digit: 0 => 000, [1, 3, 7, 9] => 001, [2, 4, 6, 8] => 376, 5 => 625 2023-08-24T18:07:01 < jpa-> because when you raise to ^100, all the other digits shift to the left anyway 2023-08-24T18:08:47 < zyp> oh, right, that's probably a better way of looking at it, 2023-08-24T18:09:27 < jpa-> though the same logic somehow doesn't apply to ^99 or ^101, so i guess there is a bit of mystery left :) 2023-08-24T18:09:42 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-24T18:10:03 < zyp> wait, you can't look at individual digits 2023-08-24T18:10:30 < jpa-> ah, now i get why you can look at individual digits with ^100 2023-08-24T18:10:59 < jpa-> because any digit at tens position or futher will have a factor of 10, and when you raise (x * 10 + y)^100, the last 3 digits are determined only by y 2023-08-24T18:11:13 < zyp> ah 2023-08-24T19:02:04 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-24T19:02:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-24T19:03:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-24T19:03:56 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-24T19:31:40 < mawk> (10x+y)^100 = y^100 + 1000xy^99 + … 2023-08-24T20:01:48 < mawk> zyp the property you're looking for is that gcd(1000, p) = 1 unless p = 2 or p = 5; and then we have p^400 = 001 mod 1000 2023-08-24T20:01:59 < mawk> for all p ≠ 2, 5 2023-08-24T20:05:11 -!- mid-kid1 is now known as mid-kid 2023-08-24T20:05:32 < mawk> and for some reason that transfers to p^100 2023-08-24T20:20:03 < zyp> ah, right 2023-08-24T20:20:40 < zyp> makes sense, 2 and 5 are special because this is base10 bullshittery 2023-08-24T20:21:02 < zyp> other bases would have other factors with the same properties 2023-08-24T20:59:59 < Steffanx> That didn't sound very mathy mawk ... "For some reason" 2023-08-24T21:03:08 -!- mouseghost [~draco@user/mouseghost] has joined ##stm32 2023-08-24T21:29:00 < mawk> don't worry it's very rigorous 2023-08-24T21:29:26 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-24T21:48:06 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-08-24T22:03:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-24T22:03:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Excess Flood] 2023-08-24T22:04:07 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-24T22:08:34 < machinehum> https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1262678/csd97395q4m-output-not-enabling 2023-08-24T22:08:39 < machinehum> The ongoing saga 2023-08-24T22:09:05 < qyx> still collapsing? 2023-08-24T22:09:16 < qyx> or you are solving another problem now? 2023-08-24T22:10:21 < qyx> are you the OP? 2023-08-24T22:13:03 < machinehum> Yeah 2023-08-24T22:13:15 < machinehum> So basically the part is shutting off 2023-08-24T22:13:22 < machinehum> This is working in buck mode 2023-08-24T22:13:30 < qyx> CSD uses a bootstrap circuit to drive the high side mosfet gate 2023-08-24T22:13:43 < machinehum> Yeah, I used a 100nF 2023-08-24T22:13:56 < machinehum> I could measure that bus? 2023-08-24T22:14:00 < qyx> if you drive it with 100% DUC the high side turns off as soon as the gate capacitance discharges 2023-08-24T22:14:18 < qyx> also you are clearly out of specs 2023-08-24T22:14:25 < qyx> operating conditions have 85% max 2023-08-24T22:14:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-08-24T22:17:22 < qyx> I would expect exactly the described behaviour 2023-08-24T22:17:31 < qyx> try with 99% 2023-08-24T22:17:54 < qyx> it should work if the boot cap is able to recharge during that 1% 2023-08-24T22:18:14 < machinehum> Did not see that 2023-08-24T22:18:31 < machinehum> I've tried a bunch of fixed DUC with the same issues, .99, .5 2023-08-24T22:19:07 < qyx> but you said earlier that buck mode works reasonably good 2023-08-24T22:19:40 < machinehum> It did, now I'm having issues with the other two boards 2023-08-24T22:19:59 < machinehum> Only difference is bulk caps, which I was just about to change over 2023-08-24T22:20:28 < machinehum> 20SVPF120M on working board, EEE-FTE221XAP on non-working 2023-08-24T22:20:29 < qyx> anyway, check the BOOT pin, it should be at Vin+Vdd 2023-08-24T22:21:09 < qyx> with a scope 2023-08-24T22:21:40 < qyx> if it goes to Vin, the high side mosfet is definitely turned off 2023-08-24T22:22:09 < machinehum> wrt gnd? Or boot wrt boot_r? 2023-08-24T22:23:41 < qyx> boot should be Vdd+boot_r 2023-08-24T22:24:28 < qyx> boot_r is at Vin when the mosfet is on, so boot is Vin+Vdd wrt gnd 2023-08-24T22:29:51 < machinehum> https://imgur.com/a/ltNkUCV 2023-08-24T22:34:35 < qyx> what are those 2023-08-24T22:36:45 < qyx> Vin is 5 V? 2023-08-24T22:36:55 < machinehum> It's the boot pin 2023-08-24T22:37:07 < machinehum> Second is zoomed in on that spike 2023-08-24T22:37:10 < machinehum> Vin is 5V, yes 2023-08-24T22:38:10 < qyx> and with a 100% DUC? 2023-08-24T22:38:17 < machinehum> Oh, sorry, no. Vdd = 5V, Vin is 15V 2023-08-24T22:39:28 < qyx> according to the functional block diagram, boot should be at Vdd on the beginning, which it is 2023-08-24T22:40:21 < qyx> which charges the cap to 5 V 2023-08-24T22:40:45 < qyx> then you set PWM to H 2023-08-24T22:42:02 < qyx> which should cause Vsw/boot_r to jump to 15 V and boot to 20 V 2023-08-24T22:43:26 < qyx> your boot cap is broken 2023-08-24T22:44:06 < qyx> it looks like when you apply H to PWM, the high side mosfet is turned on, gate is charged (boot-boot_r is 5 V and the driver circuit is properly powered) 2023-08-24T22:44:26 < qyx> which makes vsw go 15 V but boot is kept at 5 V 2023-08-24T22:45:06 < machinehum> Yeah 2023-08-24T22:45:17 < qyx> the driving voltage collapses, gate is discharged and returns back to 0 V 2023-08-24T22:45:42 < machinehum> I used a 100nFx7r, 50V 2023-08-24T22:45:43 < qyx> this repeats a few times 2023-08-24T22:46:08 < qyx> I would try a different one 2023-08-24T22:46:17 < qyx> or just try with a 1u 2023-08-24T22:46:35 < machinehum> 1u is it 2023-08-24T22:57:16 < machinehum> Same action 2023-08-24T23:00:41 < qyx> so you have one board working and you cannot get the other two working? 2023-08-24T23:01:20 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-24T23:01:23 < Laurence_b> hyperboss dun goofed 2023-08-24T23:02:07 < Laurence_b> first goof - ordered a shitton of mcp2515 boards, second goof - tried to fit a hyperwheelbearing on wrong diameter axel 2023-08-24T23:04:21 < machinehum> First one is acting up as well, for different reasons. I havn't gotten into it yet 2023-08-24T23:04:38 < machinehum> I'll take a look at those now, try to see if they're all the same failure mode 2023-08-24T23:07:27 < Laurence_b> hydraulic jack got busted 2023-08-24T23:07:30 < Laurence_b> https://files.catbox.moe/uzky46.jpg 2023-08-24T23:35:53 * Laurence_b got the hell out of there while the hydraulic oil was leaking all over the shop floor 2023-08-24T23:36:02 < Laurence_b> not my problem lol 2023-08-24T23:44:19 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-24T23:44:52 < Steffanx> https://www.youtube.com/watch?v=smE-uIljiGo time for a classic nomorekaki 2023-08-24T23:44:59 < machinehum> qyx: PWM signal from rp2040 is like .... 1hz 2023-08-24T23:45:02 < machinehum> Wtf 2023-08-24T23:45:03 < machinehum> Zephyr 2023-08-24T23:45:06 < machinehum> Asshole 2023-08-24T23:45:31 < Steffanx> You're doing it wrong 2023-08-24T23:45:57 < nomorekaki> Steffanx: full circle 2023-08-24T23:47:02 < qyx> Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd. Currently, 10.9M are free, but a safety buffer of 16.0M is enforced. 2023-08-24T23:47:05 < qyx> oh noes 2023-08-24T23:47:12 < qyx> systemd strikes back 2023-08-24T23:47:20 < nomorekaki> Steffanx: https://www.youtube.com/watch?v=_rywUtsLSI4 2023-08-24T23:50:21 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-24T23:52:02 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-24T23:54:15 -!- mouseghost [~draco@user/mouseghost] has quit [Quit: mew wew] --- Day changed pe elo 25 2023 2023-08-25T00:09:16 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-08-25T00:27:15 < mawk> rm -Rf /run 2023-08-25T00:27:52 < mawk> how many different ways can you make 0.13€ using euro coins? 2023-08-25T00:28:01 < mawk> then same question for 1 trillion euros 2023-08-25T00:28:32 < mawk> the naive algorithm probably doesn't work unless you have access to a supercomputer cluster 2023-08-25T00:29:10 < mawk> computers are allowed 2023-08-25T00:32:00 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-25T00:37:26 < Steffanx> Does mawk store still accept cash and 1 and 2 cent coins? 2023-08-25T00:47:06 < Steffanx> And does it include the special euro coin editions? Like a 5 euro and 10 euro coin 2023-08-25T01:01:01 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Remote host closed the connection] 2023-08-25T01:02:08 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-25T01:02:12 < Laurence_b> kek murica 2023-08-25T01:02:14 < Laurence_b> https://ichef.bbci.co.uk/live-experience/cps/624/cpsprodpb/vivo/live/images/2023/8/24/85a7b01c-3d9b-4ddd-9c40-9f059cfb18d4.jpg 2023-08-25T01:02:54 < Laurence_b> https://ichef.bbci.co.uk/live-experience/cps/624/cpsprodpb/vivo/live/images/2023/8/24/bbdc4c3a-06fc-40cd-bfb2-b9156ba190e8.jpg 2023-08-25T01:02:55 < Laurence_b> lolllll 2023-08-25T01:03:35 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-25T01:06:07 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-25T01:15:38 < catphish> i'd like to apply for some sympathy please 2023-08-25T01:16:31 < catphish> after days of designing, i tested my new flight controller with the new SMPS today, and it failed horribly 2023-08-25T01:16:59 < catphish> under some transient condition i haven't yet been ale to identify, the output shuts down 2023-08-25T01:17:21 < catphish> just long enough break things 2023-08-25T01:25:12 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-25T01:26:04 < mawk> Steffanx yes 1 and 2 cents coins 2023-08-25T01:26:09 < mawk> and no collection coins 2023-08-25T01:26:13 < qyx> catphish: o/\o machinehum 2023-08-25T01:26:18 < mawk> so 1 2 5 10 20 50 100 200 centd 2023-08-25T01:26:20 < mawk> cents 2023-08-25T01:27:35 < qyx> catphish: too low uvlo? inductor goes into saturation? 2023-08-25T01:27:45 < qyx> (too high output current & low inductance) 2023-08-25T01:43:56 < catphish> qyx: undervoltage input is a possibility, but one of the SMPS is grossly overspec'd for its output current, so i don't think it's a current issue 2023-08-25T01:45:41 < catphish> it usually happens when the drone lands, so i think it's either a mechanical issue, bad wiring or bad solder joint, or it's an undervoltage transient input caused by the motors pulling a bunch of current to try to counter the gyro input of hitting the ground 2023-08-25T01:45:54 < catphish> neither seems hugely likely though :( 2023-08-25T01:46:43 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-25T01:57:36 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 250 seconds] 2023-08-25T01:59:52 < qyx> couldn't you log the voltage? 2023-08-25T02:04:01 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-25T02:04:37 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-25T02:04:45 < qyx> Downloading http://downloads.openwrt.org/releases/22.03.0/packages/arm_cortex-a5_vfpv4/packages/python3-itsdangerous_2.0.1-1_arm_cortex-a5_vfpv4.ipk 2023-08-25T02:04:49 < qyx> what's that even 2023-08-25T02:04:55 < qyx> but probably it is dangerous 2023-08-25T02:05:44 < qyx> lol it takes about 6 seconds to run a python script on a sama5d27 2023-08-25T02:17:38 -!- Laurence_b [~Laurence_@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-25T02:28:55 < machinehum> Wow this board is doing something completely different https://imgur.com/a/GlXt4pK 2023-08-25T02:51:37 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-25T03:14:52 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5323))] 2023-08-25T03:14:57 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-25T03:50:47 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-25T03:53:53 -!- alan_o [~alan_o@2600:1700:1902:210f:9ce4:377:5e2c:c25c] has quit [Remote host closed the connection] 2023-08-25T03:54:34 -!- alan_o [~alan_o@2600:1700:1902:210f:e97d:f236:1f94:7739] has joined ##stm32 2023-08-25T04:29:42 < machinehum> Got the buck supply working again 2023-08-25T04:35:13 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-25T04:38:24 < machinehum> https://old.reddit.com/r/embedded/comments/160ky3d/stm32libopencm3_stepping_with_gdb_working_but_not/ 2023-08-25T04:38:27 < machinehum> It's been a long day 2023-08-25T04:56:27 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-25T04:57:18 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-25T05:05:24 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-25T05:23:22 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-25T05:52:12 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 256 seconds] 2023-08-25T05:57:44 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 2023-08-25T06:18:57 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has joined ##stm32 2023-08-25T06:20:46 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-25T06:41:08 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has joined ##stm32 2023-08-25T06:52:53 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-25T08:34:57 -!- jadew [~rcc@5.12.188.158] has quit [Ping timeout: 245 seconds] 2023-08-25T08:51:57 -!- jadew [~rcc@5.12.186.206] has joined ##stm32 2023-08-25T09:05:06 -!- Linux_Kerio [~Linux_Ker@85.216.193.138] has quit [Read error: Connection reset by peer] 2023-08-25T09:05:40 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-25T09:16:27 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-25T09:26:11 < jadew> situation: router 1 (from the ISP, can't control much about it) -> router 2 (my own) -> home network 2023-08-25T09:26:49 < jadew> woke up and router 2, wasn't working, upon reboot, it was working only for a minute or so, then it would slowly stop responding to ping and eventually stop working at all (rather fast) 2023-08-25T09:26:59 < jadew> couple of reboots, same situation 2023-08-25T09:27:24 < jadew> I power cycle router 1 (which also changes my IP), things go back to normal 2023-08-25T09:27:37 < jadew> what are the odds this wasn't an attack? 2023-08-25T09:28:16 < jadew> and if it was, what purpose could they have had I wonder? 2023-08-25T09:28:49 < jadew> did they get into my first network and were trying to penetrate the second? 2023-08-25T09:33:54 < jpa-> are you running bittorrent or other programs that might have large amount of outstanding connections? that used to be a typical way to crash routers 2023-08-25T09:37:57 < jadew> jpa-, no 2023-08-25T09:39:52 < jadew> I had a router that used to crash in the past because I had a website that would get a couple of thousands of connections per minute 2023-08-25T09:40:29 < jadew> but given there's nothing of the sort going on now, and that resetting that router solved it, I can only imagine 3 scenarios: 2023-08-25T09:41:06 < jadew> 1) Someone hacked into router 1, and was trying to bruteforce their way into router 2. 2023-08-25T09:41:39 < jadew> 2) Someone was DDoSing one of my port forwarded services (http). 2023-08-25T09:42:03 < jadew> 3) Something went wrong with router 1 and was doing something weird to router 1 - unlikely I think. 2023-08-25T09:42:50 < jadew> And there's an even scarier scenario (so 4 things): someone managed to get through router 1, past router 2, and was trying to bruteforce their way into one of the machines on the network 2023-08-25T09:43:27 < jadew> and the worst part about it is that I forgot to configure my iptables after I reinstalled linux 2023-08-25T09:43:35 < jadew> so I might do it again today :/ 2023-08-25T09:43:50 < BrainDamage> if it's a very old device, it could simply be defective hw 2023-08-25T09:43:54 < BrainDamage> like the psu going bad 2023-08-25T09:44:25 < jadew> BrainDamage, on which router tho? router 2 started working after I restarted router 1 2023-08-25T09:44:26 < BrainDamage> it'll boot ok, but certain workloads will throw a brownout and cripple the cpu 2023-08-25T09:44:56 < BrainDamage> all you need is one device in a network to spew nonsense to cripple all the others 2023-08-25T09:45:41 < BrainDamage> I have a usb-ethernet adapter that sometimes goes haywire, when it does, the whole network goes down until I restart that device 2023-08-25T09:45:50 < jpa-> if router 1 or ISP is for some reason dropping a lot of packets, devices on the network will do a lot of resends that could mess up router 2; but pure speculation 2023-08-25T09:46:08 < BrainDamage> no other device gets reachable from any other 2023-08-25T09:46:09 < jpa-> some routers seem very bad at handling even basic situations 2023-08-25T09:46:48 < jadew> you guys are very optimistic :) 2023-08-25T09:47:25 < jadew> I hope you're right and it was a hardware issue 2023-08-25T09:47:32 < BrainDamage> if a script hacked your router, it's not in their interest to make very visible activity 2023-08-25T09:48:04 < jadew> I thought that maybe they're trying to get to the source of something 2023-08-25T09:48:27 < BrainDamage> 99.99999% of the attacks are automated 2023-08-25T09:48:31 < jadew> for example, for my work I use a VPN, which was connected - I could see them going for that for example, to gain access to my work servers 2023-08-25T09:49:00 < jadew> that's true 2023-08-25T09:49:10 < jpa-> they might be trying to steal your datalogger design 2023-08-25T09:49:17 < jadew> :) 2023-08-25T09:50:54 < jadew> I guess I should change the routers 2023-08-25T09:51:16 < jadew> router 1 is from the ISP and I can't access it, nor do I have its administration password 2023-08-25T09:51:37 < jadew> which is why I'm isolated from it via router 2, which considers router 1 to be the internet 2023-08-25T09:51:49 < jadew> and router 2 is just some tp-link shit 2023-08-25T09:52:14 < jadew> I'll get something I have control over and if shit like this happens again, I can actually debug it as its happening 2023-08-25T09:52:33 < jadew> I couldn't eaves drop on the network from either routers 2023-08-25T09:52:41 < jadew> very frustrating 2023-08-25T09:54:54 < BrainDamage> try unplugging router 1 from router 2 when it happens, wait a while, and see if router 2 becomes responsive, if it does, plug a machine directly to router 1 and see what it gives you 2023-08-25T09:56:59 < jadew> let's hope it happens again 2023-08-25T09:59:11 < jadew> thanks for the ideas, it was helpful 2023-08-25T11:27:40 < mawk> https://www.reddit.com/r/france/comments/160aj51/prigogo/ 2023-08-25T11:31:31 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:a308:b008:f792:6280] has joined ##stm32 2023-08-25T11:34:26 < qyx> for whatever reason I thought Westinghouse is a clothing manufacturer 2023-08-25T12:09:23 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-25T12:16:53 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-25T12:32:27 < qyx> zomg I need a cross compiler toolchain to develop on openwrt 2023-08-25T12:32:30 < qyx> what was I thinking 2023-08-25T12:33:11 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-25T12:40:24 < qyx> opkg install gcc, here we go 2023-08-25T12:52:50 < PaulFertser> qyx: why not just use the OpenWrt build system the usual way, write a Makefile and your package will be cross-compiled as any other package. 2023-08-25T12:54:10 < qyx> I will but that process is a hassle when I need to actually develop directly on the openwrt system 2023-08-25T12:55:06 < qyx> once it is done i'll add it as a package 2023-08-25T12:59:48 < qyx> I haven't done anything in C on posix for so long I even forget how it should be done 2023-08-25T13:04:32 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-08-25T13:44:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-08-25T13:45:10 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-46.hsd1.wa.comcast.net] has joined ##stm32 2023-08-25T13:48:37 -!- CatCow [~wtf_over@c-98-246-223-133.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-08-25T13:57:48 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 252 seconds] 2023-08-25T14:00:16 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-25T14:04:49 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-25T14:05:47 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 245 seconds] 2023-08-25T14:06:11 -!- duude__- is now known as duude__ 2023-08-25T14:47:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-25T14:48:19 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-25T14:59:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-25T14:59:56 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-25T15:32:37 < karlp> does anyone remember which document this "tap id" value like set _CPUTAPID 0x0bc11477 is from? 2023-08-25T15:35:05 < zyp> probably all over the place 2023-08-25T15:35:58 < zyp> I believe ADIv5 spec defines the fields in it, but not necessarily the values 2023-08-25T15:37:27 < zyp> ADIv5.2 B3.4.4 to be specific 2023-08-25T15:39:32 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 245 seconds] 2023-08-25T15:41:19 < Steffanx> Mawk I have a "real life" math problem for you. Better solve it today. 2023-08-25T15:41:21 < karlp> ahh, I had IH0031_C_ not _G_ 2023-08-25T15:41:50 < karlp> I've got an old file that says this came frrom arm, but the link provided is dead (yay, interwebs) and i want to find a correct newer source :) 2023-08-25T15:43:57 < zyp> the fun thing is that there's the JTAG IDCODE register, and then there's the DPIDR register, and they were originally the same, but now they diverge and a newer JTAG-DP will have both with different values 2023-08-25T15:44:18 < zyp> as in, DPIDR was originally SWD IDCODE, not used in JTAG 2023-08-25T15:45:01 < karlp> stm32 RM has it as "cortex-m3 tap" and refers to arm defaults, and arm refs. 2023-08-25T15:45:19 < zyp> yeah 2023-08-25T15:45:37 < zyp> anything ending in 477 is ARM IP anyway 2023-08-25T15:46:09 < zyp> because that's how the JEP106 code encodes 2023-08-25T15:46:26 < karlp> yeah,. but the arm docs only have 477 in weird places, like, cm3-trm has 0x24770011 as the AHB-AP's ID register default value 2023-08-25T15:46:53 < karlp> and adiv5 docs have no 477 in them at all. 2023-08-25T15:47:10 < zyp> it's because the ID is 0x4, 0x3B 2023-08-25T15:49:45 < karlp> hrm, can I read ap regs directly via openocd? 2023-08-25T15:50:15 < zyp> I expect there to be a command to do so 2023-08-25T15:51:31 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-08-25T15:52:32 < zyp> Command: $dap_name apreg ap_num reg [value] 2023-08-25T15:52:33 < zyp> Displays content of a register reg from AP ap_num or set a new value value. On ADIv5 DAP ap_num is the numeric index of the AP. On ADIv6 DAP ap_num is the base address of the AP. reg is byte address of a word register, 0, 4, 8 ... 0xfc. 2023-08-25T15:53:17 < karlp> (gdb) mon xc6x0.dap dpreg 0 2023-08-25T15:53:19 < karlp> 0x0bb11477 2023-08-25T15:53:26 < karlp> ok. that worked then I guess. 2023-08-25T15:53:41 < zyp> yeah, that's DPIDR 2023-08-25T15:54:05 < karlp> and that's defined in adiv5 2023-08-25T15:54:11 * karlp goes back to decode bits and make himself happy 2023-08-25T15:54:40 < zyp> that's B2.2.5 2023-08-25T15:59:40 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 256 seconds] 2023-08-25T16:00:11 < qyx> PaulFertser: oh there is a SDK 2023-08-25T16:01:36 < PaulFertser> qyx: I never saw a point in it. Working with the main build system is nice enough, and you get all the deps etc, and then you can easily contribute packaging upstream. 2023-08-25T16:02:09 < qyx> but I am actively avoiding the build system, because honestly, who builds the whole operating system from source nowadays? gentoo times are over 2023-08-25T16:02:59 < PaulFertser> OpenWrt is meant for really constrained devices. If your target isn't constrained, just install Debian on it and build natively or with distcc. 2023-08-25T16:03:01 < qyx> from the maintainability pov, I don't like touching anything, I am even fine with the default rootfs from openwrt downloads 2023-08-25T16:03:14 < PaulFertser> qyx: also, somehow OE/Yocto is still very popular. 2023-08-25T16:03:32 < qyx> it is kinda constrained, I want read-only fs, 128M of ram 2023-08-25T16:05:53 < qyx> for building a customer specific software for a generic openwrt image, the SDK seems to be a good fit 2023-08-25T16:05:56 < qyx> but let's see 2023-08-25T16:06:17 < karlp> hrm, I wonder if this is actually protected flash, I can only read the first 0x1000 2023-08-25T16:06:20 < PaulFertser> Having your own feed is better imho. 2023-08-25T16:06:25 < karlp> it stilllooks like a normal set of vectors though 2023-08-25T16:06:42 < karlp> oh, it's goign to be spi flash, right... 2023-08-25T16:06:48 < qyx> I plan to have a package feed 2023-08-25T16:10:49 < zyp> PaulFertser, «still»? 2023-08-25T16:11:34 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-08-25T16:12:01 < karlp> ah well, this is alla bit academic, can't buy the parts anywhere... 2023-08-25T16:13:11 < PaulFertser> zyp: that is similar to Gentoo in many ways, and qyx said Gentoo times were over. 2023-08-25T16:13:38 < zyp> I don't really think it's comparable :) 2023-08-25T16:28:54 < PaulFertser> OE didn't have meta layers back then, so actually was pretty similar. 2023-08-25T16:29:54 < PaulFertser> Probably if Gentoo had good cross-compiling support OE wouldn't have been created. 2023-08-25T16:38:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-25T16:39:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-25T16:40:57 -!- bitmask [~bitmask@73.112.55.67] has joined ##stm32 2023-08-25T16:45:37 < bitmask> This should be interesting.... 2023-08-25T16:45:38 < bitmask> https://i.imgur.com/8MKWfIl.png 2023-08-25T16:48:54 < bitmask> The biggest problem is I need to make sure to empty it out after each use, otherwise water will sit in the filter and it won't be chilled 2023-08-25T16:53:04 < zyp> what am I looking at? 2023-08-25T16:55:01 < bitmask> a ridiculous water chiller 2023-08-25T16:55:14 < bitmask> which will use a peltier and cool a glass of water at a time 2023-08-25T16:56:11 < zyp> don't you have a fridge? 2023-08-25T16:56:19 < bitmask> all the way downstairs 2023-08-25T16:56:44 < bitmask> i had most of the parts already, i was mostly just looking for a quick project 2023-08-25T16:57:53 < bitmask> the problem with the fridge downstairs isnt the distance, but its always full because theres too many ppl in this house, so I cant keep a pitcher of water in there, and it does have a water dispenser which would be great but its always growing algae/mold 2023-08-25T17:02:02 < qyx> meh openwrtu, the packages feed contains eg. bluez, scripts/feeds update -a clones a repo, creates the index but bluez is missing 2023-08-25T17:02:21 < qyx> checked the exact revision it is cloning, indeed the bluez package isinside 2023-08-25T17:03:17 < qyx> doing clean, update -a 2023-08-25T17:04:01 < karlp> ./scripts/feeds install -a.... 2023-08-25T17:04:22 < karlp> (or, selectively, it's somewhat faster running things like menuconfig and a few other things if you don't "install" everything) 2023-08-25T17:04:44 < qyx> yes install is the next step but it failed 2023-08-25T17:04:57 < qyx> because zmq lists a dependency which it cannot find 2023-08-25T17:05:02 < qyx> and there are a few 2023-08-25T17:05:13 < qyx> which clearly are there, they just didn't get into the indec 2023-08-25T17:06:46 < qyx> which may be result of running out of space before 2023-08-25T17:10:02 < qyx> yeah clean helped 2023-08-25T17:23:28 < catphish> spent ages messing around with these SMPS, and i can't seem to figure out what's wrong, when the input gets too noisy, the output just shuts down for around 1ms 2023-08-25T17:29:01 < catphish> my 9V rail - very sad https://i.imgur.com/cFIp3yK.jpg 2023-08-25T17:49:16 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 248 seconds] 2023-08-25T17:59:49 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-25T18:03:47 -!- c10ud [~c10ud@user/c10ud] has quit [Quit: Leaving] 2023-08-25T18:11:20 < mawk> yes Steffanx ? 2023-08-25T18:22:12 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 244 seconds] 2023-08-25T18:31:07 < mawk> Steffanx 2023-08-25T18:31:08 < mawk> Steffanx 2023-08-25T18:31:10 < mawk> Steffanx 2023-08-25T18:34:25 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-08-25T18:38:18 -!- boB_K7IQ [~boB_K7IQ@c-67-161-96-46.hsd1.wa.comcast.net] has quit [Ping timeout: 252 seconds] 2023-08-25T18:42:26 < Steffanx> Lol. I don't text while driving sir mawk 2023-08-25T19:08:59 < mawk> yes Steffanx 2023-08-25T19:09:01 < mawk> do it 2023-08-25T19:09:35 < Steffanx> I have to make a few drawings and then ask for math skills. 2023-08-25T19:13:07 < mawk> o 2023-08-25T19:25:22 < mawk> and now Steffanx ? 2023-08-25T19:26:51 < Steffanx> Il let you know Mr mawk 2023-08-25T19:26:54 < Steffanx> Ill 2023-08-25T19:43:05 < mawk> it's taking too long 2023-08-25T19:46:09 < Steffanx> Yes 2023-08-25T19:46:27 < Steffanx> You're response was late. Now I'm busy 2023-08-25T19:46:30 < Steffanx> Your 2023-08-25T20:13:21 -!- sauce [~sauce@free.and.open.sauce.icu] has joined ##stm32 2023-08-25T20:25:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-08-25T20:32:55 -!- bitmask [~bitmask@73.112.55.67] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-25T20:35:31 -!- boB_K7IQ [~boB_K7IQ@c-67-161-97-133.hsd1.wa.comcast.net] has joined ##stm32 2023-08-25T20:37:57 -!- boB_K7IQ [~boB_K7IQ@c-67-161-97-133.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 2023-08-25T20:38:32 -!- cozis [~cozis@2a0e:421:604a:0:20ee:7eb5:8fb4:60d5] has joined ##stm32 2023-08-25T20:38:53 -!- boB_K7IQ [~boB_K7IQ@c-67-161-97-133.hsd1.wa.comcast.net] has joined ##stm32 2023-08-25T20:47:23 -!- boB_K7IQ [~boB_K7IQ@c-67-161-97-133.hsd1.wa.comcast.net] has quit [Ping timeout: 244 seconds] 2023-08-25T20:48:14 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-25T21:00:49 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 244 seconds] 2023-08-25T21:04:30 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-25T21:04:43 < machinehum> This 85% min DUC is an issue for me 2023-08-25T21:05:02 < machinehum> That's a 3.5V cutoff per cell 2023-08-25T21:05:44 < machinehum> Also this thing it working now I realised what happened I tried a 3A step from only 4s1p cells 2023-08-25T21:05:58 < machinehum> The undervoltage on the pack shutoff 2023-08-25T21:06:07 < machinehum> But my stlink was connected 2023-08-25T21:06:13 < machinehum> Smoked like 3A though that 2023-08-25T21:06:25 < machinehum> Got some USB isolators now 2023-08-25T21:06:28 < machinehum> Big brain stuff 2023-08-25T21:12:47 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-08-25T21:13:29 < qyx> and is this 85% really the issue? 2023-08-25T21:13:48 < qyx> I mean, did you confirm it doesn't behave if DUC is > 85%: 2023-08-25T21:17:40 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-25T21:35:20 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-25T21:36:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-08-25T21:40:56 -!- flom84 [~flom84@user/flom84] has quit [Ping timeout: 246 seconds] 2023-08-25T22:01:39 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-25T22:08:11 < machinehum> I have not tested yet 2023-08-25T22:08:18 < machinehum> But things are back to normal 2023-08-25T22:08:32 < machinehum> I have buck working, and boost is charging nicely 2023-08-25T22:08:43 < machinehum> Having issues writing the boost algo 2023-08-25T22:08:46 < machinehum> Kinda tricky 2023-08-25T22:09:20 < machinehum> Dropping the DUC very granularity, and battery current jumps up to 1A 2023-08-25T22:09:25 < machinehum> from like ... 50mA 2023-08-25T22:09:48 < machinehum> But I think this is actually going to work, havn't tested the full pull 9A 2023-08-25T22:11:42 < qyx> you could try G4 with hrtimer, this one has a ring oscillator thing for fast pwm 2023-08-25T22:15:35 < machinehum> I'm sticking with this rp2040 2023-08-25T22:26:36 < mawk> so Steffanx ???? 2023-08-25T22:26:43 < Steffanx> Im slow 2023-08-25T22:26:52 < Steffanx> wont come today 2023-08-25T22:26:57 < mawk> ¿¿¿ 2023-08-25T22:27:04 < Steffanx> i have to try to be smart myself first :P 2023-08-25T22:27:12 < mawk> that's not allowed 2023-08-25T22:27:27 < Steffanx> to see if its actually a problem or not 2023-08-25T22:27:56 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-25T22:37:40 -!- cozis [~cozis@2a0e:421:604a:0:20ee:7eb5:8fb4:60d5] has quit [Quit: Leaving] 2023-08-25T22:54:32 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 240 seconds] 2023-08-25T22:55:32 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-08-25T22:56:26 -!- fdarling [~forest@96.61.112.106] has joined ##stm32 2023-08-25T22:57:23 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-25T23:27:48 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-25T23:31:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 256 seconds] 2023-08-25T23:40:21 < nomorekaki> Steffanx: did you see movie The Menu? 2023-08-25T23:45:19 < Steffanx> Nein meinherr nomorekaki 2023-08-25T23:45:39 < nomorekaki> did you see Barbie? 2023-08-25T23:45:50 < nomorekaki> be honest 2023-08-25T23:47:02 < Steffanx> Lol nope 2023-08-25T23:47:13 < Steffanx> Not going to the cinema for THAT 2023-08-25T23:47:42 < Steffanx> Not a big fan of Ryan Gosling. 2023-08-25T23:47:51 < Steffanx> Nor barbie --- Day changed la elo 26 2023 2023-08-26T00:00:48 < Steffanx> You nomorekaki? 2023-08-26T00:01:17 < nomorekaki> went to see oppenheimer 2023-08-26T00:12:27 < nomorekaki> damn I regret not seeing Dunkirk in theatre 2023-08-26T00:13:05 < nomorekaki> friends went and apparently one got so emotional he wanted to start a fight outside 2023-08-26T00:21:19 < mawk> I saw the beginning of the menu 2023-08-26T00:33:02 -!- Mangy_Dogg [Mangy_Dog@82-69-39-176.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-08-26T00:35:22 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-26T01:00:36 < Steffanx> Emotional because it sucked arse I bet, nomorekaki 2023-08-26T01:01:35 < nomorekaki> 7.9 imdb 2023-08-26T01:02:30 < Steffanx> 7.8 2023-08-26T01:03:17 < Steffanx> I wasn't impressed 2023-08-26T01:03:32 < Steffanx> Not a movie I would watch again 2023-08-26T01:30:42 -!- [_] is now known as [itchyjunk] 2023-08-26T01:56:36 < qyx> no nukes pls 2023-08-26T02:15:24 -!- Mangy_Dogg [Mangy_Dog@82-69-39-176.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-26T02:44:08 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-26T03:00:07 -!- Netsplit *.net <-> *.split quits: Spirit532, bitmask, specing 2023-08-26T03:01:28 -!- Netsplit over, joins: Spirit532 2023-08-26T03:01:35 -!- Netsplit over, joins: specing 2023-08-26T03:34:22 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-08-26T04:26:46 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has joined ##stm32 2023-08-26T04:43:12 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:f9f9:c4d5:7031:120f] has quit [Ping timeout: 258 seconds] 2023-08-26T05:32:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-26T05:40:51 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:a308:b008:f792:6280] has quit [Ping timeout: 246 seconds] 2023-08-26T07:03:12 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-26T08:52:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-26T08:55:05 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-26T09:18:16 < Steffanx> Who's nuking qyx? 2023-08-26T10:11:46 < qyx> the mobie you mentioned 2023-08-26T11:06:08 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-26T11:32:05 < Steffanx> I see 2023-08-26T11:38:18 -!- nerozero [~nerozero@87.253.63.54] has quit [Read error: Connection reset by peer] 2023-08-26T11:54:10 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-26T11:58:05 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-26T12:00:07 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-26T12:06:14 < Steffanx> Early nomorekaki 2023-08-26T12:06:53 < nomorekaki> hm 2023-08-26T12:07:46 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:b8b5:6905:634e:766] has joined ##stm32 2023-08-26T12:34:18 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-26T12:38:20 -!- jadew [~rcc@5.12.186.206] has quit [Ping timeout: 248 seconds] 2023-08-26T12:43:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-26T12:52:12 -!- jadew [~rcc@5.12.186.206] has joined ##stm32 2023-08-26T13:50:26 -!- drzacek [~quassel@2a01:3d8:493:900:7641:d0d7:ebdc:6710] has joined ##stm32 2023-08-26T14:21:16 -!- ferdna_ [~ferdna@user/ferdna] has joined ##stm32 2023-08-26T14:23:50 -!- ferdna [~ferdna@user/ferdna] has quit [Ping timeout: 245 seconds] 2023-08-26T14:51:29 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 250 seconds] 2023-08-26T14:57:03 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-26T15:59:44 -!- drzacek [~quassel@2a01:3d8:493:900:7641:d0d7:ebdc:6710] has quit [Quit: Quit] 2023-08-26T16:32:36 -!- LFSveteran_ is now known as LFSveteran 2023-08-26T17:08:43 < zyp> RK6006 arrived, cute little thing: https://bin.jvnv.net/file/AbG4W.jpg 2023-08-26T17:13:22 -!- qyx [~qyx@84.245.120.194] has quit [Ping timeout: 246 seconds] 2023-08-26T17:20:32 -!- qyx [~qyx@84.245.120.110] has joined ##stm32 2023-08-26T17:21:01 < zyp> user interface seems usable enough 2023-08-26T17:22:25 < zyp> when adjusting setpoints, pushing the encoder cycles through which digit you're adjusting, i.e. step size 2023-08-26T17:23:21 < zyp> if I had more rackmount test equipment, I'd be tempted to stick a bunch of these in a 1U case 2023-08-26T17:30:07 < qyx> would it fit? looks higher than 44.45 2023-08-26T17:30:27 < qyx> oh wait no banana holes 2023-08-26T17:31:48 < zyp> qyx, specs says cutout height 39mm, front panel height 43mm, so it seems it should just fit 2023-08-26T17:32:17 < zyp> https://ae01.alicdn.com/kf/S95615754a1ac425eaf3c0d4c1e7bc21bY.jpg 2023-08-26T17:33:47 < zyp> could probably fit five of these with output posts and a master power switch on a 19" 1U panel 2023-08-26T17:34:35 < zyp> hmm, that probably gets too tight, but at least four :) 2023-08-26T18:11:01 < mawk> Steffanx ?????? 2023-08-26T18:11:08 < mawk> where's the problem 2023-08-26T18:14:44 < Steffanx> It disappeared over night 2023-08-26T18:18:07 < mawk> no 2023-08-26T18:18:12 < Steffanx> No 2023-08-26T18:18:16 < mawk> nonsense 2023-08-26T18:18:23 < mawk> do the drawing 2023-08-26T18:18:26 < mawk> quick quick 2023-08-26T18:19:42 < Steffanx> I'm slow 2023-08-26T18:22:08 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-26T18:22:29 < mawk> even in bed? 2023-08-26T18:22:43 < mawk> I will ask laurence 2023-08-26T18:24:24 < Steffanx> Ok 2023-08-26T18:31:32 < PaulFertser> zyp: but it's buck only, which is kind of limiting, what are you going to power it with? I had https://www.aliexpress.com/item/4001056093766.html XY-SEP4 3004 and it was kinda ok with a laptop power supply but the setpoints are controlled with a screwdriver and no remote interface at all. 2023-08-26T19:09:04 < zyp> PaulFertser, they're usually paired with a 68V output AC/DC module 2023-08-26T19:09:18 < zyp> they have kits with both enclosure and the AC/DC PSU 2023-08-26T19:09:30 < zyp> e.g. https://www.aliexpress.com/item/1005005771018101.html 2023-08-26T19:09:41 < PaulFertser> zyp: I see, cool, and the fan is there 2023-08-26T19:10:30 < zyp> for the RD series they sell the enclosure kits separately: https://www.aliexpress.com/item/4001068050317.html 2023-08-26T19:11:23 < zyp> that's what I got for the RD6024 2023-08-26T19:11:48 < zyp> bought the RK6006 without just to see how I like the reduced UI 2023-08-26T19:11:57 < PaulFertser> Makes plenty of sense then. 2023-08-26T19:12:20 < zyp> yeah 2023-08-26T19:12:45 < zyp> the RD60xxP series have a linear stage after the buck AIUI to stabilize the output voltage 2023-08-26T19:13:20 < zyp> but I'm not sure that matters for anything I use it for 2023-08-26T19:30:28 < karlp> I like those banana to push jacks you've got zyp 2023-08-26T19:54:28 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-26T19:54:35 < Laurence_b> woah they are still on the go 2023-08-26T19:54:37 < Laurence_b> https://www.emfcamp.org/ 2023-08-26T19:54:50 < Laurence_b> lol at "code of conduct" 2023-08-26T19:55:38 * Laurence_b reports a misgendering 2023-08-26T20:43:27 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-26T20:48:09 -!- flom84 [~flom84@user/flom84] has quit [Client Quit] 2023-08-26T20:52:14 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-26T20:53:46 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 245 seconds] 2023-08-26T20:58:14 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-26T20:58:16 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-26T21:03:19 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-26T21:04:32 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 245 seconds] 2023-08-26T21:13:04 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 255 seconds] 2023-08-26T21:14:25 < zyp> karlp, yeah, those are great 2023-08-26T21:15:09 < zyp> got a prototype from a client at work that came with those a while ago and I liked them so much I went and looked up where I could buy them 2023-08-26T21:16:42 < zyp> they are wago 215 series: https://www.digikey.com/en/products/filter/banana-and-tip-connectors/jacks-plugs/302?s=N4IgjCBcoLQCxVAYygMwIYBsDOBTANCAG4B2aWehA9lANogCcAHAKwBsIAuoQA4AuUECAC%20ooA 2023-08-26T21:17:22 < zyp> much more convenient than using the screw posts 2023-08-26T21:18:21 -!- flom84 [~flom84@user/flom84] has quit [Remote host closed the connection] 2023-08-26T21:22:43 < Steffanx> yeah those are nice 2023-08-26T21:22:47 < zyp> hmm, I just had an idea for this RK6006; I could stick it in a box with a PD trigger board and use it as a travel lab PSU 2023-08-26T21:22:58 < qyx> there are definitely cheaper ones from degson or so 2023-08-26T21:23:02 < qyx> the has them 2023-08-26T21:23:10 < qyx> *tme 2023-08-26T21:23:10 < Steffanx> tme? 2023-08-26T21:23:15 < Steffanx> lol 2023-08-26T21:27:16 < zyp> maybe not a good idea, a multichannel PD supply typically has a common ground, and it seems like a bad idea to have a bypass path there 2023-08-26T21:30:23 < qyx> just mark it as "not isolated" 2023-08-26T21:30:59 < zyp> it wouldn't be a problem if input negative and output negative was hardwired together 2023-08-26T21:31:32 < zyp> but they're not, I measured, and when there's some circuitry there, I'm worried about bypassing it 2023-08-26T21:31:41 < zyp> maybe it's doing current measurement on negative side 2023-08-26T21:32:29 < zyp> which means an external ground path could effectively bypass any current limiting 2023-08-26T21:35:58 < qyx> oh that 2023-08-26T21:36:14 < zyp> yeah, that 2023-08-26T21:36:31 < zyp> common ground wouldn't be an issue if it was actually common 2023-08-26T21:36:53 < zyp> unisolated but separate negative side outputs sounds like a recipe for disaster 2023-08-26T21:49:32 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 240 seconds] 2023-08-26T21:50:11 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-26T21:55:30 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-26T22:11:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-26T22:11:33 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-26T22:17:33 < qyx> meh my computer turned off again, probably overtemperature 2023-08-26T22:18:22 < qyx> overheating 2023-08-26T22:18:26 < qyx> the same applies to my head 2023-08-26T22:23:29 < Steffanx> So get your PC and head fixed 2023-08-26T22:59:40 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-26T23:00:08 < nomorekaki> dunkiekaks early 2023-08-26T23:05:55 < Steffanx> time for some kakimusic then nomorekaki https://www.youtube.com/watch?v=dSy2DcATYUo 2023-08-26T23:06:49 < nomorekaki> yes 2023-08-26T23:07:28 < nomorekaki> tight tight Steffanx 2023-08-26T23:08:08 < nomorekaki> are these lyrics like really simple? 2023-08-26T23:08:12 < Steffanx> what does "tight tight" translate to in proper english nomorekaki ? 2023-08-26T23:08:25 < nomorekaki> it means sick tune Steffanx 2023-08-26T23:08:37 < Steffanx> You dont know this song? 2023-08-26T23:09:00 < nomorekaki> I know this song yes 2023-08-26T23:09:09 < Steffanx> alright alright 2023-08-26T23:14:44 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-26T23:15:16 < qyx> karlp: is https://github.com/menudoproblema/libemqtt usable? 2023-08-26T23:16:00 < qyx> nevermind, 11y ago 2023-08-26T23:16:01 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has joined ##stm32 2023-08-26T23:20:55 < nomorekaki> https://www.youtube.com/watch?v=tO4dxvguQDk random musics steff 2023-08-26T23:28:26 -!- ferdna_ [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-26T23:35:46 < Steffanx> Very random.. 2023-08-26T23:43:19 -!- flom84 [~flom84@user/flom84] has quit [Quit: Leaving] --- Day changed su elo 27 2023 2023-08-27T00:31:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 255 seconds] 2023-08-27T00:47:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 256 seconds] 2023-08-27T00:51:06 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-27T01:10:52 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:b8b5:6905:634e:766] has quit [Ping timeout: 240 seconds] 2023-08-27T01:40:22 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Quit: Bye] 2023-08-27T02:32:07 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 255 seconds] 2023-08-27T03:04:33 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-27T03:25:57 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-27T05:29:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-27T06:07:44 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-27T06:08:10 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-27T06:28:49 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T06:32:52 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 240 seconds] 2023-08-27T07:02:03 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T07:06:30 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 246 seconds] 2023-08-27T07:12:46 < ColdKeyboard> Somehow, when I jump from bootloader into main application, the systick is set to 3Hz instead of 1000Hz and I don't have the slightest clue to what is going on... :\ 2023-08-27T07:14:49 < ColdKeyboard> But uart is spitting out serial information normally... 2023-08-27T07:26:14 < ColdKeyboard> Compiled without the bootloader and the app works fine 2023-08-27T07:34:47 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T07:39:22 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 244 seconds] 2023-08-27T08:07:02 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T08:11:40 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 248 seconds] 2023-08-27T08:16:02 < jpa-> ColdKeyboard: does your bootloader set oscillator configuration? 2023-08-27T08:16:24 < jpa-> some of the registers cannot be modified when PLL is enabled 2023-08-27T08:16:48 < jpa-> often best is to issue sysresetreq from bootloader and have a flag to jump directly from the bootloader reset handler to main app 2023-08-27T08:17:05 < jpa-> that ensures clean state for main app 2023-08-27T08:40:59 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T08:43:08 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-27T08:45:39 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 258 seconds] 2023-08-27T09:14:08 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T09:18:52 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 248 seconds] 2023-08-27T09:43:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-27T09:43:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-27T09:46:50 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T09:55:25 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 246 seconds] 2023-08-27T10:25:20 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T10:29:38 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 246 seconds] 2023-08-27T10:59:53 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T11:04:17 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 246 seconds] 2023-08-27T11:33:59 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has joined ##stm32 2023-08-27T11:38:32 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:fcfb:2266:5c97:c69d] has quit [Ping timeout: 258 seconds] 2023-08-27T11:42:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-503-49ae-848-2fdd.fixed6.kpn.net] has joined ##stm32 2023-08-27T11:55:38 -!- specing [~specing@user/specing] has quit [Quit: ZNC - https://znc.in] 2023-08-27T12:00:58 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T12:01:20 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-08-27T12:04:45 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-27T12:05:30 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 245 seconds] 2023-08-27T12:15:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-503-49ae-848-2fdd.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-27T12:26:12 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 245 seconds] 2023-08-27T12:26:16 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-503-49ae-848-2fdd.fixed6.kpn.net] has joined ##stm32 2023-08-27T12:27:01 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-08-27T12:33:45 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T12:38:31 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 260 seconds] 2023-08-27T12:39:22 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5327))] 2023-08-27T12:39:28 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-27T12:46:54 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-27T12:51:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-503-49ae-848-2fdd.fixed6.kpn.net] has quit [Remote host closed the connection] 2023-08-27T12:51:24 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-27T13:03:56 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc0e-6166-2525-bad2.fixed6.kpn.net] has joined ##stm32 2023-08-27T13:06:54 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T13:07:48 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-27T13:09:46 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-27T13:11:12 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 245 seconds] 2023-08-27T13:36:03 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 250 seconds] 2023-08-27T13:40:49 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 258 seconds] 2023-08-27T13:41:32 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T13:44:21 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-27T13:45:55 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 245 seconds] 2023-08-27T13:54:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc0e-6166-2525-bad2.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-27T13:54:48 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc0e-6166-2525-bad2.fixed6.kpn.net] has joined ##stm32 2023-08-27T13:57:24 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-27T14:08:42 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 255 seconds] 2023-08-27T14:11:23 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-27T14:17:03 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T14:21:46 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 260 seconds] 2023-08-27T14:52:46 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T14:57:42 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 256 seconds] 2023-08-27T15:00:41 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dc0e-6166-2525-bad2.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-27T15:01:02 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-4037-f6d3-c53b-9412.fixed6.kpn.net] has joined ##stm32 2023-08-27T15:03:19 -!- martinmoene1 is now known as martinmoene 2023-08-27T15:03:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4037-f6d3-c53b-9412.fixed6.kpn.net] has quit [Client Quit] 2023-08-27T15:06:53 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7df8-e78c-7043-d6bb.fixed6.kpn.net] has joined ##stm32 2023-08-27T15:24:50 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T15:29:01 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 244 seconds] 2023-08-27T15:51:24 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:239:3357:abea:fec1] has joined ##stm32 2023-08-27T15:59:04 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T16:03:37 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 246 seconds] 2023-08-27T16:32:07 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T16:33:31 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Read error: Connection reset by peer] 2023-08-27T16:34:35 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-08-27T16:36:20 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 245 seconds] 2023-08-27T17:06:58 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T17:11:31 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 260 seconds] 2023-08-27T17:24:24 < karlp> qyx: I've never used an "embedded" mqtt lib, I always ran mqtt stuff at linux level. 2023-08-27T17:37:18 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-27T17:42:15 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T17:46:31 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 246 seconds] 2023-08-27T18:01:42 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-27T18:04:24 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T18:07:31 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-08-27T18:08:42 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 245 seconds] 2023-08-27T18:08:45 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7df8-e78c-7043-d6bb.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-27T18:10:33 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-27T18:14:44 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c1e-b8c5-254f-658f.fixed6.kpn.net] has joined ##stm32 2023-08-27T18:25:37 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-27T18:39:18 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has joined ##stm32 2023-08-27T18:48:32 -!- machinehum4 [~machinehu@2604:3d08:937f:cf00:c818:bdac:f4f8:7c4c] has quit [Ping timeout: 240 seconds] 2023-08-27T19:08:32 -!- MGF_Fabio [~MGF_Fabio@2a01:e11:200d:8dd0:239:3357:abea:fec1] has quit [Ping timeout: 240 seconds] 2023-08-27T19:12:19 < catphish> are there any particular differences between -O1 and -O2 that are particularly likely to cause code to behave differently? my DMA/timer code is broken with O2 2023-08-27T19:13:40 < zyp> your code is broken in any case, it's just not exposed by O1 :) 2023-08-27T19:14:10 < catphish> zyp: yes i came to the same conclusion :) 2023-08-27T19:14:15 < catphish> the code: https://github.com/catphish/openuav/blob/master/firmware/src/dshot.c 2023-08-27T19:14:26 < catphish> it's mostly volatile variable / register writes 2023-08-27T19:14:44 < catphish> so there can't even be much optimization to do 2023-08-27T19:17:39 < catphish> i guess i'll just try to keep bisecting it until i find the offender 2023-08-27T19:22:52 < jpa-> note that you can use __attribute__((optimize("-O2"))) to optimize single functions 2023-08-27T19:23:42 < catphish> that's exactly what i need :) 2023-08-27T19:23:45 < catphish> thanks 2023-08-27T19:29:57 -!- machinehum [~machinehu@24.85.189.106] has quit [Quit: WeeChat 4.0.3] 2023-08-27T19:42:20 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9c1e-b8c5-254f-658f.fixed6.kpn.net] has quit [Ping timeout: 248 seconds] 2023-08-27T19:47:45 < catphish> this fixed it: RCC->AHB1ENR |= RCC_AHB1ENR_DMA1EN; asm("nop"); DMA1_Channel1->CPAR = (uint32_t) &TIM2->DMAR; 2023-08-27T19:48:10 < catphish> i've always wondered if peripherals need time to start, and it's never been an issue for me before 2023-08-27T20:05:14 < catphish> just moving all the clock-enabling calls to the top of my init functions seems to solve the problem anyway 2023-08-27T20:05:27 < catphish> (without the ugly sleep_) 2023-08-27T20:25:24 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-27T20:31:12 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 255 seconds] 2023-08-27T20:35:30 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Quit: martinmoene] 2023-08-27T20:41:23 < qyx> karlp: I just saw you in the contributors 2023-08-27T20:43:30 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd18-e823-aa95-cfe8.fixed6.kpn.net] has joined ##stm32 2023-08-27T20:56:57 < jpa-> catphish: you can probably use __sync_synchronize() also.. but yeah, that stuff happens if the enable and write instructions happen right next to each other 2023-08-27T20:57:54 < jpa-> another way to force it to wait for write to complete is to make a dummy read with (void)RCC->AHB1ENR; 2023-08-27T21:02:06 < catphish> makes sense 2023-08-27T21:02:27 < ColdKeyboard> jpa- That's a good point, since I always have the bootloader running first, I might as well skip the osc conf in the main app 2023-08-27T21:04:51 < jpa-> ColdKeyboard: note that the same problem can occur with enabled interrupts and lot of other stuff also, i would say do the reset dance and you'll avoid problems 2023-08-27T21:08:13 < ColdKeyboard> jpa- Problem is that flow is always bootloader -> main app 2023-08-27T21:08:48 < ColdKeyboard> So bootloader will at least setup the Osc and GPIO to check the pin (bootloader is requested) 2023-08-27T21:09:16 < ColdKeyboard> If you hold the pin down, it means you want to update FW through bootloader. Otherwie it will chainload the main app 2023-08-27T21:10:55 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-08-27T21:16:25 < jpa-> ColdKeyboard: so set a flag and issue sysresetreq when the bootloader wants to boot to main app, jump from reset handler 2023-08-27T21:19:10 < jpa-> something like https://github.com/ZuluSCSI/ZuluSCSI-firmware/blob/main/lib/ZuluSCSI_platform_RP2040/ZuluSCSI_platform.cpp#L719-L747 2023-08-27T21:30:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-27T21:30:52 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd18-e823-aa95-cfe8.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-08-27T21:35:12 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-27T21:39:36 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd18-e823-aa95-cfe8.fixed6.kpn.net] has joined ##stm32 2023-08-27T22:11:19 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-27T22:11:41 < ColdKeyboard> Thank jpa- I'll give it a try 2023-08-27T22:11:55 < ColdKeyboard> I think there also might be an issue with the bootloader... 2023-08-27T22:12:31 < ColdKeyboard> I just loaded the .bin file via JLink and it works as expected, but when loaded via bootloader it reports wrong baud... 2023-08-27T22:12:44 < ColdKeyboard> I have to figure out how to use jlink to read back entire flash and save as binary 2023-08-27T22:12:51 < ColdKeyboard> for some reason J-Flash doesn't have it :\ 2023-08-27T22:13:21 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 255 seconds] 2023-08-27T22:13:44 -!- boB_K7IQ [~boB_K7IQ@c-67-161-98-151.hsd1.wa.comcast.net] has joined ##stm32 2023-08-27T22:18:25 < mawk> use openocd ColdKeyboard 2023-08-27T22:18:28 < mawk> like a real pro 2023-08-27T22:18:50 < Steffanx> jflash does it have for sure ColdKeyboard 2023-08-27T22:19:41 < Steffanx> And if you are to lazy to click a few times: Press F10 2023-08-27T22:19:52 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-27T22:20:17 < Steffanx> and than save it 2023-08-27T22:24:25 -!- boB_K7IQ [~boB_K7IQ@c-67-161-98-151.hsd1.wa.comcast.net] has quit [Ping timeout: 244 seconds] 2023-08-27T22:25:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-27T22:27:23 < ColdKeyboard> Steffanx But how do you save it as .bin or .hex? It offers only some data file that ends up being ~300Mb file 2023-08-27T22:27:33 < ColdKeyboard> mawk I have to learn openocd :( 2023-08-27T22:27:59 < Steffanx> maybe not read the entire chip then but give the range 2023-08-27T22:28:04 < Steffanx> should be fine then 2023-08-27T22:28:30 < mawk> the data file is a .bin ColdKeyboard 2023-08-27T22:28:41 < mawk> if you want to convert to hex you can use any tool for that 2023-08-27T22:28:44 < mawk> like objcopy 2023-08-27T22:28:57 < mawk> objcopy -I binary -O ihex input.bin output.hex 2023-08-27T22:28:59 < ColdKeyboard> But on the other hand, I manually joined two .bin files and everything works fine. But when I load it via bootloader the frequency is messed up. So most likely I messed something up in the bootloader or it's getting corrupt during write 2023-08-27T22:29:01 < mawk> something like that 2023-08-27T22:29:25 < mawk> you mean your own bootloader? 2023-08-27T22:29:30 < ColdKeyboard> mawk I think you are right! I just saw that I didn't set the chip to G050 so it was reading from some wild start/stop ranges... that's why it's 300Mb :) 2023-08-27T22:29:30 < mawk> or ST's 2023-08-27T22:29:56 < ColdKeyboard> mawk "My own" (mostly copy&pasted what jpa- gave me) :) 2023-08-27T22:30:04 < mawk> o 2023-08-27T22:30:24 < ColdKeyboard> I think something is getting corrupted during upload or I fat-fingered some logic... 2023-08-27T22:30:35 < ColdKeyboard> But at least I have a clue to what is goign wrong now :) 2023-08-27T22:30:37 < mawk> so your binary data is made to be ran from 0x08001000 or whatever 2023-08-27T22:30:43 < mawk> leaving the first 4K to the bootloader 2023-08-27T22:30:54 < mawk> and that's what you give to the bootloader 2023-08-27T22:30:55 < qyx> jpa- described a possible clock issue quite precisely 2023-08-27T22:31:09 < qyx> unless you paste your bootloader clock init & app clock init, we cannot know 2023-08-27T22:31:34 < qyx> and he is true that the main application should start with all peripherals in the default state 2023-08-27T22:31:45 < ColdKeyboard> qyx It's quite possible but before wasting any more of your guys time I'm going to manually join two bin files, flash and see if it works (already did and everything works fine). 2023-08-27T22:31:48 < qyx> so if you are initialising clock in the bootloader, you have to undo it 2023-08-27T22:31:57 < ColdKeyboard> Then flash via bootloader and read back entire flash and compare. 2023-08-27T22:32:42 < ColdKeyboard> qyx I will add that "feature"/step regardless because it seems like the right thing to do 2023-08-27T22:32:42 -!- flom84 [~flom84@user/flom84] has quit [Ping timeout: 255 seconds] 2023-08-27T22:50:34 < ColdKeyboard> Ok files that I manually join and what I read back after uploading FW via bootloader are definitely not identical. Very similar for sure, but not identical :( 2023-08-27T22:50:52 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 256 seconds] 2023-08-27T22:53:49 < qyx> I hope you are erasing the flash before programming 2023-08-27T23:53:06 < karlp> qyx: contributors of what? 2023-08-27T23:53:30 -!- begriffs_ [~begriffs@user/begriffs] has joined ##stm32 2023-08-27T23:53:41 < karlp> huh, wow, I don't remember that... 2023-08-27T23:55:22 < karlp> this is possibly right as I was finishing up working on teh first gen etactica shit, that was this godawful stack of an arduino mega, arduino ethernet shield, and more crap bolted on, and I was hating all the craptastic arduino level mqtt clients, 2023-08-27T23:55:39 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-27T23:55:48 < karlp> must have been about the time we moved to the first serious gen though, with the linux gateway, and I never looked back. 2023-08-27T23:55:54 -!- dobson` [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-08-27T23:57:06 < qyx> heh 2023-08-27T23:58:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-27T23:59:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 --- Day changed ma elo 28 2023 2023-08-28T00:02:08 -!- Netsplit *.net <-> *.split quits: dobson, josuah, begriffs 2023-08-28T00:06:20 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 245 seconds] 2023-08-28T00:25:24 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-28T00:37:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-08-28T00:40:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-28T00:40:44 < karlp> catphish: what platform are you on? 2023-08-28T00:42:29 < karlp> sounds like https://github.com/libopencm3/libopencm3/pull/758 2023-08-28T00:46:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-28T01:01:45 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dd18-e823-aa95-cfe8.fixed6.kpn.net] has quit [Ping timeout: 245 seconds] 2023-08-28T01:24:41 < catphish> karlp: platform? Linux host / STM32G4 2023-08-28T01:37:54 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Quit: Bye] 2023-08-28T01:49:59 -!- machinehum4 [~machinehu@204.239.251.5] has joined ##stm32 2023-08-28T01:54:11 -!- machinehum4 [~machinehu@204.239.251.5] has quit [Ping timeout: 245 seconds] 2023-08-28T01:59:27 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-28T02:17:42 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-28T02:19:57 -!- machinehum4 [~machinehu@204.239.251.5] has joined ##stm32 2023-08-28T02:36:54 -!- machinehum4 [~machinehu@204.239.251.5] has quit [Ping timeout: 246 seconds] 2023-08-28T02:59:22 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-28T03:00:55 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 255 seconds] 2023-08-28T04:50:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 248 seconds] 2023-08-28T04:50:17 -!- nomorekaki [~nomorekak@87-93-190-65.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-28T05:03:49 < ColdKeyboard> Ok, the issue was with python script that was doing bootloader upload... It was not sending the last page. Classic mistake :) 2023-08-28T05:28:09 < ColdKeyboard> jpa- this is how the chainload function looks like -> https://pastebin.com/6yZcpcPq 2023-08-28T05:28:43 < ColdKeyboard> I believe this is what you suggested/had in your bootloader. The osc conf and other HAL/GPIO init seems to work fine after jumping to main app. 2023-08-28T06:10:35 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has joined ##stm32 2023-08-28T06:10:46 < nomorekaki> early 2023-08-28T06:15:55 < nomorekaki> https://www.youtube.com/watch?v=vfMxcrN90PE Olivetti -> SGS -> ST 2023-08-28T06:19:35 < nomorekaki> SGS -> Federico Faggio -> 4004 -> Zilog 2023-08-28T06:30:05 < nomorekaki> Z80 -> Home computing 2023-08-28T06:59:11 < aandrew> win 23 2023-08-28T07:41:50 < ColdKeyboard> The I2C slave ISR is not firing... :\ 2023-08-28T07:42:50 < ColdKeyboard> There is I2C1_IRQHandler in `_it.c/h` files. The HAL_I2C_MspInit init has `HAL_NVIC_EnableIRQ(I2C1_IRQn)` and I have __enable_irq(); just before entering while... 2023-08-28T07:42:55 < ColdKeyboard> Am I forgetting something? 2023-08-28T08:07:56 -!- Alexer [~alexer@85.17.122.98] has quit [Ping timeout: 248 seconds] 2023-08-28T08:08:41 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-08-28T08:34:10 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-28T09:02:27 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-28T09:13:59 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-28T09:22:32 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-28T09:22:32 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-08-28T09:22:32 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-08-28T09:58:45 -!- MGF_Fabio [~MGF_Fabio@host-217-58-46-226.business.telecomitalia.it] has joined ##stm32 2023-08-28T11:28:06 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-28T12:07:07 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-28T12:37:19 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-28T13:32:40 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-28T13:33:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-28T13:34:37 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-28T14:21:30 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-28T14:21:33 < Laurence_b> each time I hear him talk, Biden sounds moar liek time cube guy 2023-08-28T14:26:28 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T14:53:53 < jerkey> biden was the obvious choice as he was not trump 2023-08-28T14:54:40 < Laurence_b> Hunter 2024 tbh 2023-08-28T14:54:57 < jerkey> the democratic primary was a disaster and i still don't understand how we just switched from bernie to biden, but i'll allow it 2023-08-28T14:55:07 < Laurence_b> coke and hookers for every murican, but 10% tax for the big guy 2023-08-28T14:55:14 < jerkey> Laurence_b: they would lose their freaking minds, i would do it 2023-08-28T14:56:13 < jerkey> i know israel would zap bernie if he was the nominee and i like him too much to do that to him 2023-08-28T15:17:08 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-28T15:18:46 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T15:22:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-28T15:22:57 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-28T15:39:09 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 255 seconds] 2023-08-28T15:42:05 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T16:07:02 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-28T16:07:34 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-28T16:48:56 < catphish> i'm loc 2023-08-28T16:49:26 < catphish> i'm loving the JLCPCB parts management service, i can keep stuff in stock that i know i'll need, and auto order stuff for upcoming prototypes 2023-08-28T16:49:43 < catphish> i'm probably wasting money on parts i will never use, but it's so convenient 2023-08-28T16:56:48 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-08-28T17:04:07 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-28T17:19:17 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-28T17:19:31 -!- qyx [~qyx@84.245.120.110] has quit [Ping timeout: 255 seconds] 2023-08-28T17:21:29 -!- qyx [~qyx@84.245.120.212] has joined ##stm32 2023-08-28T17:27:10 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 255 seconds] 2023-08-28T17:41:04 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-08-28T18:13:36 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 260 seconds] 2023-08-28T18:16:03 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T18:20:30 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-28T18:21:10 -!- specing [~specing@user/specing] has quit [Ping timeout: 255 seconds] 2023-08-28T18:27:13 -!- specing [~specing@user/specing] has joined ##stm32 2023-08-28T18:27:17 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-28T18:28:59 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T18:35:35 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has quit [Ping timeout: 246 seconds] 2023-08-28T18:56:16 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-08-28T18:57:40 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T19:06:02 -!- MGF_Fabio [~MGF_Fabio@host-217-58-46-226.business.telecomitalia.it] has quit [Ping timeout: 246 seconds] 2023-08-28T19:06:23 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-28T19:07:57 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T19:22:26 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 260 seconds] 2023-08-28T19:26:43 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T19:39:36 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-28T19:40:56 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T19:41:25 < ColdKeyboard> Damn I2C slave is not triggering rx/address interrupt when there is I2C activity or appear on bus scan 2023-08-28T20:06:04 < zyp> which chip? 2023-08-28T20:14:03 < qyx> posix friends, any recommended command line argument parsing lib in C? 2023-08-28T20:15:14 < ColdKeyboard> zyp STM32G050K8T6 2023-08-28T20:16:08 < qyx> codez plz 2023-08-28T20:16:22 < qyx> did you enable it both in i2c regs and nvic? 2023-08-28T20:16:26 < ColdKeyboard> I have HAL_NVIC_SetPriority(I2C1_IRQn, 0, 0), HAL_NVIC_EnableIRQ(I2C1_IRQn) and HAL_I2C_EnableListen_IT(&hi2c_slave) but I2C1_CR1.RXIE is 0 :\ 2023-08-28T20:16:28 < qyx> is the flag set? 2023-08-28T20:16:48 < qyx> hm ok 2023-08-28T20:26:36 < qyx> https://github.com/cofyc/argparse 2023-08-28T20:26:40 < qyx> ho-ho-hoo 2023-08-28T20:29:11 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-08-28T20:32:35 < mawk> getopt isn't good enough for you qyx? 2023-08-28T20:32:56 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T20:33:50 < qyx> no, it is too low level 2023-08-28T20:34:55 < aandrew> qyx: I always use getopt 2023-08-28T20:40:00 < ColdKeyboard> qyx I used argparse but the Pyton module. I suspect it's the "same" one or inspired by this one :) 2023-08-28T20:41:01 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-28T20:54:33 < karlp> qyx: pl.app? :) 2023-08-28T21:08:06 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 255 seconds] 2023-08-28T21:19:49 < qyx> pl.app 2023-08-28T21:20:02 < qyx> whats that 2023-08-28T21:30:40 < qyx> ColdKeyboard: yeah argparse is the defacto standard in .py 2023-08-28T21:36:47 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-28T21:50:26 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 245 seconds] 2023-08-28T21:53:20 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T21:57:51 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 246 seconds] 2023-08-28T22:00:25 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T22:07:30 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 255 seconds] 2023-08-28T22:10:12 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T22:14:44 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 250 seconds] 2023-08-28T22:16:54 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-08-28T22:20:33 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 255 seconds] 2023-08-28T22:26:55 < karlp> actually, I normally used pl.lapp: https://lunarmodules.github.io/Penlight/libraries/pl.lapp.html 2023-08-28T22:32:25 < qyx> smells like lua 2023-08-28T22:34:22 < Steffanx> You love the smell of lue 2023-08-28T22:34:23 < Steffanx> lua 2023-08-28T22:34:32 < jerkey> lube 2023-08-28T22:35:02 < Steffanx> That's only required when you are Jerkey all day long. 2023-08-28T22:36:38 < Steffanx> lol what the hell is this website jerkey ? :D 2023-08-28T22:39:14 < Steffanx> i mean spaz.org .. damn 2023-08-28T22:44:22 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has joined ##stm32 2023-08-28T22:58:57 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Quit: martinmoene] 2023-08-28T23:09:25 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c9d3-1617-fb24-dc8e.fixed6.kpn.net] has joined ##stm32 2023-08-28T23:12:26 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-28T23:12:29 < Laurence_b> choose ur player 2023-08-28T23:12:31 < Laurence_b> https://i.imgur.com/LZV9n.jpg 2023-08-28T23:13:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c9d3-1617-fb24-dc8e.fixed6.kpn.net] has quit [Ping timeout: 244 seconds] 2023-08-28T23:22:45 < Steffanx> I hope you had a great time Laurence_b 2023-08-28T23:24:09 < jerkey> Steffanx: its people who believe in creating semi permanent autonomous zones, such as Autonomous Mutant Festival which was really fun this past june 2023-08-28T23:43:56 -!- Laurence_b [~Laurenceb@120.177.208.46.dyn.plus.net] has quit [Ping timeout: 246 seconds] 2023-08-28T23:49:15 < Steffanx> It's a crazy website jerkey 😅 2023-08-28T23:50:07 < PaulFertser> Do you need to be high to enjoy it? 2023-08-28T23:55:49 < jerkey> no paul i was sober for most of it 2023-08-28T23:56:14 < jerkey> a lot of people are, and a lot of people aren't. it's just whatever you want to do 2023-08-28T23:56:46 < jerkey> can you enjoy a hot tub sober? because i made a hot tub at this one, and it was amazing. I was shocked by how well that went 2023-08-28T23:56:54 < jerkey> Steffanx: try spaz.org/radio --- Day changed ti elo 29 2023 2023-08-29T00:01:49 < PaulFertser> jerkey: not sure, probably I was just never into electronics music and similar stuff. I enjoy watching Yellow Submarine though. 2023-08-29T00:07:09 < PaulFertser> jerkey: and not sure about hot tub, never tried one 2023-08-29T00:25:01 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 245 seconds] 2023-08-29T01:06:44 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-29T01:15:44 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Quit: Bye] 2023-08-29T02:34:26 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 244 seconds] 2023-08-29T03:14:12 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-29T03:18:08 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-08-29T04:19:18 < ColdKeyboard> STM32G050 is sending back only 0xFF over i2c... do I whip out the debugger and logic analyzer or just start whacking different config options and hope that convinces it to start working :) 2023-08-29T04:34:35 < ds2> why not drop a scope on it and see if the 2 lines are wiggling at all? 2023-08-29T05:07:05 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 246 seconds] 2023-08-29T05:20:58 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:1152:211f:2798:76f3] has joined ##stm32 2023-08-29T05:28:52 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:f835:a3c7:d9fe:8ea5] has joined ##stm32 2023-08-29T05:32:38 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:1152:211f:2798:76f3] has quit [Ping timeout: 246 seconds] 2023-08-29T05:47:14 < ColdKeyboard> They are 2023-08-29T05:47:58 < ColdKeyboard> The correct address is called, there is ack, then read back, acks and all but data is always 0xff so MCU is not sending the data back for some reason 2023-08-29T06:01:34 < ColdKeyboard> Interesting that HAL_I2C_AddrCallback is called but the HAL_I2C_SlaveTxCpltCallback is never fired 2023-08-29T06:24:52 < ColdKeyboard> Weirdly enough I'm using exact same code on another device and it works fine as i2c slave device... :\ 2023-08-29T06:25:03 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-29T06:25:11 < ColdKeyboard> It's again some silly mistake 2023-08-29T07:47:12 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-29T07:55:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-29T07:55:26 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-08-29T07:56:03 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-29T09:08:10 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-29T09:26:26 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-29T09:32:52 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-08-29T09:54:55 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-29T09:59:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-392d-45a6-ef14-3e96.fixed6.kpn.net] has joined ##stm32 2023-08-29T11:17:44 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:f835:a3c7:d9fe:8ea5] has joined ##stm32 2023-08-29T11:19:22 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:f835:a3c7:d9fe:8ea5] has quit [Ping timeout: 244 seconds] 2023-08-29T11:51:33 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 258 seconds] 2023-08-29T11:57:19 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-29T12:39:44 < jerkey> usually with a scope you might be able to see the different voltage levels pulled down by the dom and sub, since their transistors don't have exactly the same saturation voltage 2023-08-29T13:59:44 < jbo> moin 2023-08-29T13:59:58 < Steffanx> Gooday 2023-08-29T14:03:10 < jbo> feelin' fancy? 2023-08-29T14:03:39 < Steffanx> Wonderful 2023-08-29T14:05:15 < jbo> excellent - deligted to hear that 2023-08-29T14:28:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-392d-45a6-ef14-3e96.fixed6.kpn.net] has quit [Ping timeout: 244 seconds] 2023-08-29T14:31:59 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Ping timeout: 246 seconds] 2023-08-29T14:45:03 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-29T14:47:28 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Client Quit] 2023-08-29T14:47:38 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-31c3-e72d-2a8e-d71c.fixed6.kpn.net] has joined ##stm32 2023-08-29T14:49:56 -!- martinmoene1 is now known as martinmoene 2023-08-29T14:54:29 < jpa-> jbo: is this you? https://www.bild.de/bild-plus/regional/sachsen-anhalt/sachsen-anhalt-news/fotobeweis-das-ist-der-wolfsmensch-aus-dem-harz-85152444.bild.html 2023-08-29T14:55:04 < jbo> nah 2023-08-29T15:38:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-31c3-e72d-2a8e-d71c.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-29T15:42:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-31c3-e72d-2a8e-d71c.fixed6.kpn.net] has joined ##stm32 2023-08-29T16:14:44 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-08-29T16:25:03 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-31c3-e72d-2a8e-d71c.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-29T16:25:57 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 2023-08-29T16:35:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a578-152c-5024-704a.fixed6.kpn.net] has joined ##stm32 2023-08-29T16:54:22 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a578-152c-5024-704a.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-29T16:58:59 < ColdKeyboard> So I have STM32G050 I2C device that is ACK-ing it's I2C address, but then when I'm trying to further read any data, it's always just returning only 0xff 2023-08-29T16:59:58 < ColdKeyboard> The HAL_I2C_AddrCallback is getting called but I can't see HAL_I2C_SlaveTxCpltCallback being called :\ 2023-08-29T17:00:01 < ColdKeyboard> Any suggestions? 2023-08-29T17:06:37 < jpa-> read the HAL source code, see when it calls the TxCpltCallback, see why that condition is not happening 2023-08-29T17:06:59 < jpa-> are you starting a transfer in the AddrCallback? 2023-08-29T17:07:45 < jpa-> the fact that it is not returning correct data suggests that the transfer is not starting correctly, which is probably also why the second callback doesn't get triggered 2023-08-29T17:10:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-518c-1c89-d209-d710.fixed6.kpn.net] has joined ##stm32 2023-08-29T17:11:56 < ColdKeyboard> That's good point. I do check the direction in address callback and then start the tx with HAL_I2C_Slave_Seq_Transmit_IT(hi2c, &I2C_TX_BUFF[i2c_tx_pos], 1, I2C_NEXT_FRAME); 2023-08-29T17:14:21 < ColdKeyboard> And if I put a break there I can see that this get's executed and status code is HAL_OK... 2023-08-29T17:14:55 < ColdKeyboard> Anyway I'll have to dig a bit deeper. I'm confused a bit because I have the exact same .c/.h file on another device and it works fine 2023-08-29T17:15:14 < ColdKeyboard> But I'm most likely forgetting to check/clear some flag 2023-08-29T17:16:56 < jpa-> shouldn't it be I2C_FIRST_FRAME? 2023-08-29T17:39:49 < karlp> just tried usign docker to _hopefully_ get around build tool soup, and it's already downloaded ~12G... 2023-08-29T17:39:58 < karlp> O 2023-08-29T17:40:05 < karlp> m looking like running out of diskspace before I find out.. 2023-08-29T17:43:24 < qyx> exactly my second and last experience with docker 2023-08-29T17:43:42 < qyx> I guess there will not be another one 2023-08-29T17:44:23 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-08-29T17:57:33 < BrainDamage> what program is that, out of curiosity? 2023-08-29T18:08:04 < qyx> project name "a library for ... for a modern C++" 2023-08-29T18:08:14 < qyx> reading the first line "a header-only library for.." 2023-08-29T18:08:17 < qyx> ok gtfo. 2023-08-29T18:08:22 < qyx> sorry 2023-08-29T18:35:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-518c-1c89-d209-d710.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-08-29T18:57:33 < qyx> I am starting to see the MQTT community is very weird 2023-08-29T18:58:53 < qyx> I cannot see any advanced usage of it because the whole google is flooded with makers 2023-08-29T19:06:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-518c-1c89-d209-d710.fixed6.kpn.net] has joined ##stm32 2023-08-29T19:27:46 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-29T19:33:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-518c-1c89-d209-d710.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-08-29T20:00:18 -!- Thorn_ [~Thorn@2001:8a0:dfe1:a200:5d42:655f:ec2f:63cb] has joined ##stm32 2023-08-29T20:02:13 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 258 seconds] 2023-08-29T20:04:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6020-1656-d4f5-f129.fixed6.kpn.net] has joined ##stm32 2023-08-29T20:05:10 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-d4a2-421-9b9a-4f83.fixed6.kpn.net] has joined ##stm32 2023-08-29T20:08:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-6020-1656-d4f5-f129.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-08-29T20:08:12 -!- martinmoene1 is now known as martinmoene 2023-08-29T21:15:13 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-29T21:15:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-d4a2-421-9b9a-4f83.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-08-29T21:28:32 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-08-29T21:46:37 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-29T22:01:45 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has joined ##stm32 2023-08-29T22:04:07 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 245 seconds] 2023-08-29T22:19:31 < zyp> speaking of mqtt; I'm kinda tempted of doing a little ethernet/ip/tcp/mqtt stack 2023-08-29T22:19:54 < zyp> how hard could it be? :) 2023-08-29T22:26:22 < nomorekaki> why? 2023-08-29T22:26:52 < qyx> why? 2023-08-29T22:27:07 < qyx> but if yes I am in 2023-08-29T22:27:21 < qyx> except.. you would probably do it on laks 2023-08-29T22:27:59 < nomorekaki> ah laks is missing ip stack? 2023-08-29T22:28:05 -!- Laurence_b [~Laurenceb@34.177.208.46.dyn.plus.net] has joined ##stm32 2023-08-29T22:28:06 < Laurence_b> https://www.youtube.com/watch?v=L2m3aDCmjwo 2023-08-29T22:28:51 < qyx> oh I listened to some kakimusiks yesterday 2023-08-29T22:28:55 < qyx> wintersun it was nomorekaki 2023-08-29T22:29:29 < nomorekaki> oh it's finnish 2023-08-29T22:30:45 < nomorekaki> Laurence_b: your neighbourhood? 2023-08-29T22:33:43 < zyp> qyx, indeed 2023-08-29T22:33:53 < zyp> with all its coroutine goodness 2023-08-29T22:35:07 < qyx> hrmph 2023-08-29T22:38:07 < Laurence_b> lolno 2023-08-29T22:46:13 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-29T22:50:22 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 245 seconds] 2023-08-29T23:18:57 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 246 seconds] 2023-08-29T23:24:55 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-29T23:32:15 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b020-8e0f-9cc-352b.fixed6.kpn.net] has joined ##stm32 2023-08-29T23:38:25 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b020-8e0f-9cc-352b.fixed6.kpn.net] has quit [Ping timeout: 246 seconds] 2023-08-29T23:43:43 < ColdKeyboard> How are you supposed to send CAN FD frame using `cansend` ? 2023-08-29T23:44:07 < ColdKeyboard> I'm using it on the Raspberry PI and for some reason it's always sending standard frame with 8 bytes :\ 2023-08-29T23:44:34 < qyx> man cansend, it is there 2023-08-29T23:45:26 < qyx> even in cansend --help 2023-08-29T23:46:10 < qyx> and what MAC are you using on the pi that supports can-fd? --- Day changed ke elo 30 2023 2023-08-30T00:01:58 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 244 seconds] 2023-08-30T00:08:20 < karlp> ok, buildroot in docker/podman _worked_ by just following the documneted installs 2023-08-30T00:08:32 < karlp> obviously I could never get my local installs "clean" enough 2023-08-30T00:08:41 < karlp> I think I undersstand more why people are doing this :| 2023-08-30T00:09:11 < karlp> zyp: super easy to get working in your own network, then the other 99% making it play nicely properly in all the other environments of the world... 2023-08-30T00:09:59 < karlp> but yeah, there's space for another actualyl free one IMO. 2023-08-30T00:15:58 < qyx> ipv6 only because 2023 2023-08-30T00:16:19 < karlp> most of the ones I know of other than lwip are gpl though, fuck that shit 2023-08-30T00:16:26 < karlp> I'd never seen fnet though, that's new. 2023-08-30T00:19:25 < qyx> so today I have been researching libraries for parsing any suitable configuration format for c99 2023-08-30T00:19:35 < karlp> libconfig and libini? 2023-08-30T00:19:40 < qyx> the result is json is wrong, yaml is wrong, toml is wrong 2023-08-30T00:20:00 < karlp> (embed lua, load a lua file with a table as config... ;) 2023-08-30T00:20:07 < qyx> but the least aids seems to be cjson tbh 2023-08-30T00:27:44 < karlp> I've never used cjson, it's what mosquitto settled on. I'e used json-c, which was fine... 2023-08-30T00:27:52 < karlp> but fuck doing things in c99. 2023-08-30T00:28:11 < karlp> I'm hoping to continue doing things in python/lua and using C modules where they're actually needed. 2023-08-30T00:28:37 < qyx> for the time being I don't have better hardware 2023-08-30T00:28:42 < qyx> so no python for me this time 2023-08-30T00:51:22 < ds2> zyp: what kind of mqtt? server or client? 2023-08-30T00:58:49 < zyp> client 2023-08-30T00:58:59 < zyp> why would I bother with an embedded server 2023-08-30T01:08:44 -!- alan_o [~alan_o@2600:1700:1902:210f:e97d:f236:1f94:7739] has quit [Ping timeout: 248 seconds] 2023-08-30T01:11:15 -!- Laurence_b [~Laurenceb@34.177.208.46.dyn.plus.net] has quit [Quit: Ping timeout (120 seconds)] 2023-08-30T01:12:14 < ds2> it could be useful 2023-08-30T01:12:35 < ds2> i.e. to network a device with multiple chips 2023-08-30T01:17:15 < zyp> I don't think I'd use MQTT for that 2023-08-30T01:31:28 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 246 seconds] 2023-08-30T01:39:56 < qyx> uh 2023-08-30T01:58:12 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-08-30T02:03:14 < qyx> meh syslog.h, so there is no LOG_ERROR but LOG_ERR instead 2023-08-30T02:03:28 < qyx> on the other hand, there is no LOG_WARN but LOG_WARNING instead 2023-08-30T02:48:25 < mawk> cat https://i.imgur.com/v8cTKAE.jpeg 2023-08-30T02:50:13 < qyx> cat: 'https://i.imgur.com/v8cTKAE.jpeg': No such file or directory 2023-08-30T02:50:43 < qyx> you probably have to use dog 2023-08-30T03:06:22 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-30T03:12:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-30T03:34:31 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-30T03:56:19 < qyx> china MEIG modem works 2023-08-30T03:56:38 < qyx> now tell me what was the problem until now 2023-08-30T04:16:29 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-30T04:26:40 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-08-30T04:26:40 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-08-30T04:26:41 -!- begriffs_ [~begriffs@user/begriffs] has quit [Read error: Connection reset by peer] 2023-08-30T04:26:58 -!- begriffs_ [~begriffs@user/begriffs] has joined ##stm32 2023-08-30T04:28:25 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Ping timeout: 245 seconds] 2023-08-30T04:36:07 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-08-30T04:36:24 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-08-30T05:01:33 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-08-30T05:50:43 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 244 seconds] 2023-08-30T06:26:35 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:fbf0:e42a:c8c:9a0f] has joined ##stm32 2023-08-30T06:29:32 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:f835:a3c7:d9fe:8ea5] has quit [Ping timeout: 245 seconds] 2023-08-30T06:52:27 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-30T08:01:43 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-30T08:29:02 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-08-30T08:29:27 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-08-30T08:30:14 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-08-30T08:32:26 -!- Thorn_ [~Thorn@2001:8a0:dfe1:a200:5d42:655f:ec2f:63cb] has quit [Ping timeout: 246 seconds] 2023-08-30T09:00:44 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-30T09:03:51 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-08-30T09:39:13 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-08-30T09:59:24 -!- MGF_Fabio [~MGF_Fabio@host-217-58-46-226.business.telecomitalia.it] has joined ##stm32 2023-08-30T11:06:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-08-30T11:25:29 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:fbf0:e42a:c8c:9a0f] has joined ##stm32 2023-08-30T11:27:24 -!- drkow [~k\o\w@2607:fea8:1d00:89f0:fbf0:e42a:c8c:9a0f] has quit [Ping timeout: 248 seconds] 2023-08-30T11:28:29 < Steffanx> Still bullying the cat mawk? 2023-08-30T11:34:26 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:fbf0:e42a:c8c:9a0f] has quit [Ping timeout: 246 seconds] 2023-08-30T11:47:18 < mawk> yes 2023-08-30T11:50:09 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-30T13:32:46 -!- drfff [~k\o\w@2607:fea8:1d00:89f0:fbf0:e42a:c8c:9a0f] has joined ##stm32 2023-08-30T13:41:25 -!- mrcoffee [~mrcoffee@user/mago] has joined ##stm32 2023-08-30T13:41:28 < mrcoffee> Hello 2023-08-30T13:42:08 < mrcoffee> Im usint an stlink v3 probe connected to an stm32 MCU board and want to download its flash memory.. The whole firmware if posible.. 2023-08-30T13:42:19 < mrcoffee> Just starting with the stm32 toolchain and feel a bit lost.. 2023-08-30T13:42:40 < mrcoffee> What would be the right tool for that? STM32 monitor or CubeIDE? Or something else? 2023-08-30T14:05:37 < specing> mrcoffee: probably stm32flash tool 2023-08-30T14:06:06 < PaulFertser> Why not just use OpenOCD? 2023-08-30T14:13:13 < mrcoffee> Dont know, right now using stm32 programmer.. Those are my first attempts at using a probe.. 2023-08-30T14:23:16 < PaulFertser> openocd is available in all major distros 2023-08-30T14:26:24 < mrcoffee> I will try that one too at some point then. 2023-08-30T14:27:54 < karlp> qyx: yeah, warn vs warning shits me. I normally end up patching in the extra one. 2023-08-30T14:28:07 < karlp> I've regularly run into fails from just throwing in one or the other one 2023-08-30T14:35:36 -!- haritz [~hrtz@user/haritz] has quit [Remote host closed the connection] 2023-08-30T14:38:49 < mrcoffee> Ok, so far it seems to be working.. Is frequency important? Im using 8000 k.. What does this setting depend on? 2023-08-30T14:41:12 < mrcoffee> 8000 Khz 2023-08-30T14:42:37 < karlp> depends on how good your wires are 2023-08-30T14:49:19 < mrcoffee> It seems all frequencies are workign, should I stick to 8000 khz to be on the safe side or it doesnt matter to go up to 24000 Khz 2023-08-30T14:58:52 < qyx> if it stops working, lower it 2023-08-30T14:58:58 < qyx> there is no safe side 2023-08-30T14:59:06 < qyx> totally depends on your setup 2023-08-30T15:00:19 < zyp> pretty much 2023-08-30T15:00:23 < zyp> if it works, it works 2023-08-30T15:00:58 < zyp> depending on what you're doing, there might not be a major difference between 8MHz and 24MHz anyway 2023-08-30T15:02:07 < zyp> typically the slowest thing you're doing is flashing the chip, and that's because the flash is slow 2023-08-30T15:19:08 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 246 seconds] 2023-08-30T15:22:41 < mrcoffee> So fare have managed to dump the flash firmware.. 2023-08-30T15:22:51 < mrcoffee> I feel genius, lol 2023-08-30T15:27:09 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-08-30T15:33:31 -!- mrcoffee [~mrcoffee@user/mago] has quit [Quit: WeeChat 3.5] 2023-08-30T15:48:04 < qyx> oh I should make a coffee 2023-08-30T15:49:03 < qyx> karlp: btw the MEIG modem works in the default mode, it exports 8 usb-serial ports for various things, I can run a classic openwrt's 3G/UMTS+PPP on it 2023-08-30T15:49:47 < qyx> apparently it is a clone of neoway N58 or using the same reference design 2023-08-30T15:50:38 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has joined ##stm32 2023-08-30T15:50:38 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has quit [Changing host] 2023-08-30T15:50:38 -!- haritz [~hrtz@user/haritz] has joined ##stm32 2023-08-30T15:51:28 * karlp sticks his fingers in his ears... 2023-08-30T15:51:37 < karlp> somuch pain tracking that shit around 2023-08-30T15:52:05 < karlp> I have ~6 EG91EX in a draw if I want to make things myself down the road. 2023-08-30T15:52:24 < qyx> I hate cellular 2023-08-30T15:52:53 < karlp> I love the concept, I became nto much of a fan of how much of it is implemented, no :) 2023-08-30T15:53:06 < karlp> but ... is it worse than matter? 2023-08-30T16:00:46 < karlp> hrm, ali deliveries have gotten good recently. 2023-08-30T16:00:54 < karlp> was estimated sept 21, already delivered 2023-08-30T16:04:45 -!- haritz [~hrtz@user/haritz] has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in] 2023-08-30T16:12:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 255 seconds] 2023-08-30T16:46:11 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Remote host closed the connection] 2023-08-30T16:47:37 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-30T17:05:32 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-08-30T17:23:38 -!- qyx [~qyx@84.245.120.212] has quit [Ping timeout: 246 seconds] 2023-08-30T17:55:32 -!- qyx [~qyx@84.245.121.244] has joined ##stm32 2023-08-30T18:50:53 -!- MGF_Fabio [~MGF_Fabio@host-217-58-46-226.business.telecomitalia.it] has quit [Ping timeout: 244 seconds] 2023-08-30T18:52:14 -!- dogukan [~dogukan@user/dogukan] has joined ##stm32 2023-08-30T18:55:34 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has joined ##stm32 2023-08-30T18:55:34 -!- haritz [~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220] has quit [Changing host] 2023-08-30T18:55:34 -!- haritz [~hrtz@user/haritz] has joined ##stm32 2023-08-30T19:01:01 -!- dogukan [~dogukan@user/dogukan] has quit [Remote host closed the connection] 2023-08-30T19:05:46 -!- dogukan [~dogukan@user/dogukan] has joined ##stm32 2023-08-30T19:25:11 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-30T19:29:49 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 258 seconds] 2023-08-30T20:02:45 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-30T20:17:52 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 245 seconds] 2023-08-30T20:19:45 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-30T20:28:53 -!- dogukan [~dogukan@user/dogukan] has quit [Quit: Konversation terminated!] 2023-08-30T20:35:01 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-30T20:38:53 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 250 seconds] 2023-08-30T20:56:49 < catphish> C question - how can i initialize this struct to contain a pointer to a hardcoded array? https://paste.debian.net/1290508/ 2023-08-30T20:57:03 < catphish> this code is wrong, but i don't understand why 2023-08-30T20:58:19 < qyx> you want filter_p to be a pointer? 2023-08-30T20:58:38 < catphish> no, i want filter_p.coeffs to be a pointer to that array 2023-08-30T20:59:09 < qyx> .coeffs = (float *)&{.., .., ..} iirc 2023-08-30T20:59:37 < catphish> thanks 2023-08-30T20:59:44 < catphish> i just realised there's a second complexity here 2023-08-30T20:59:47 < qyx> try it first, thank later :P 2023-08-30T21:00:01 < catphish> i want that coeffs array in flash, but i want the history array in ram 2023-08-30T21:00:14 -!- Thorn_ [~Thorn@bl18-149-68.dsl.telepac.pt] has joined ##stm32 2023-08-30T21:00:36 < catphish> or maybe i want them both copied to RAM, i don't know what will happen in that regard by default 2023-08-30T21:00:39 < qyx> const float * may do the trick 2023-08-30T21:00:45 < zyp> you have to make/initialize the array first, then refer to that when initializing the struct 2023-08-30T21:01:02 < catphish> so make a regular array, and a const array, and then link to them? 2023-08-30T21:01:04 < zyp> making the former const should put it in .rodata which should go into flash 2023-08-30T21:01:09 < qyx> can't you sa the compiler to do that anonymous array in .rodata? 2023-08-30T21:01:22 < qyx> *tell the compiler 2023-08-30T21:01:29 < zyp> idk, does it work? 2023-08-30T21:02:38 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 244 seconds] 2023-08-30T21:04:23 < catphish> this isn't as pretty, but it works https://paste.debian.net/1290509/ 2023-08-30T21:04:54 < zyp> line 3 should probably also say const 2023-08-30T21:05:40 < catphish> will that just make the pointer read only? 2023-08-30T21:06:20 < catphish> or does that refer to the data inside? this always confuses me 2023-08-30T21:06:32 < zyp> well, you're making a const array, making a non-const pointer to it is strictly wrong 2023-08-30T21:06:33 < catphish> in any case it can't do any harm 2023-08-30T21:07:23 < catphish> oh, i see, if i wanted to make the *pointer* constant, then the const would be on the whole struct 2023-08-30T21:07:49 < zyp> nah 2023-08-30T21:07:58 < catphish> nah? 2023-08-30T21:08:06 < zyp> you're getting confused 2023-08-30T21:08:12 < qyx> https://paste.jvnv.net/view/Geu5z 2023-08-30T21:08:22 < qyx> sizeof prints 32 2023-08-30T21:08:23 < qyx> but 2023-08-30T21:08:32 < catphish> so what if i wanted the struct to point to a constant array, but i wanted to be able to modify the pointer? 2023-08-30T21:08:35 < catphish> (i don't, but still) 2023-08-30T21:09:07 < zyp> I mean, for a pointer type, you can have «const float *», «float const *» and «float * const» 2023-08-30T21:09:32 < zyp> the former two are identical, it means you have a pointer to a const float, that's what you typically want and what I suggested here 2023-08-30T21:09:34 < catphish> oh i understand now 2023-08-30T21:09:56 < zyp> the latter is a const pointer to a non-const float, i.e. pointer can't be modified but the float itself can 2023-08-30T21:10:05 < zyp> not very useful 2023-08-30T21:10:55 < catphish> so i actually want const float * const? 2023-08-30T21:10:59 < zyp> so, to get the data put into flash, you make the array «const float[]», and when you make a pointer to it, you get a «const float*» 2023-08-30T21:11:18 < catphish> because i don't need to modify either the pointer nor the data 2023-08-30T21:11:32 < zyp> so if you stuff it into a regular «float*» you discard the const qualifier and the compiler might complain or error 2023-08-30T21:11:56 < catphish> const float * const coeffs; 2023-08-30T21:11:57 < zyp> no, you generally don't want to do that 2023-08-30T21:12:00 < catphish> no? 2023-08-30T21:12:04 < zyp> no 2023-08-30T21:12:07 < catphish> :( 2023-08-30T21:12:38 < catphish> i suspect it would have no effect, since the struct has to be in RAM anyway 2023-08-30T21:12:56 < zyp> const pointers generally don't serve any useful purpose, pointers are usually copied anyway and nobody cares if you modify your copy 2023-08-30T21:13:19 < catphish> *nod* 2023-08-30T21:14:03 < zyp> but it matters whether the pointee is const or not, partly because it makes trying to edit a value in flash a compile time error 2023-08-30T21:18:44 < qyx> oh hey 2023-08-30T21:19:02 < qyx> https://paste.jvnv.net/view/HPTNH 2023-08-30T21:19:04 < qyx> this works 2023-08-30T21:19:18 < qyx> 0000000000002020 l O .rodata 0000000000000044 __compound_literal.0 2023-08-30T21:19:25 < zyp> nice 2023-08-30T21:19:44 < qyx> those 17 floats reside in .rodata 2023-08-30T21:22:00 < qyx> k I can get a coffee now 2023-08-30T21:22:14 < qyx> time(done) - time(plan) = 7 hours 2023-08-30T21:22:16 < qyx> finally. 2023-08-30T21:22:26 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 246 seconds] 2023-08-30T21:31:06 < Steffanx> qyx don't use drugs. 2023-08-30T21:32:31 < qyx> I started this month, sorry 2023-08-30T21:32:54 < Steffanx> oh dear.. why? 2023-08-30T21:33:16 < qyx> but I can't say coffeine does anything 2023-08-30T21:33:22 < qyx> it depends 2023-08-30T21:40:18 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-30T21:55:06 < bitmask> I got this Python data analysis task for $36.50 / hr, I gotta get better with pandas 2023-08-30T22:00:12 < Steffanx> ok :P 2023-08-30T22:08:12 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-30T22:09:19 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 255 seconds] 2023-08-30T22:19:54 < catphish> qyx: nice 2023-08-30T22:20:07 -!- drzacek [~quassel@2a01:3d8:4d5:1600:e126:c471:2402:1659] has joined ##stm32 2023-08-30T22:21:33 -!- flom84 [~flom84@user/flom84] has quit [Quit: Leaving] 2023-08-30T22:22:15 < qyx> bitmask: remember, python will kill you 2023-08-30T22:22:38 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-30T22:25:33 -!- flom84 [~flom84@user/flom84] has quit [Read error: Connection reset by peer] 2023-08-30T22:28:09 < catphish> qyx: why const float (*coeffs)[]; and not just: const float *coeffs; 2023-08-30T22:31:25 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-30T22:32:39 < qyx> because *coeffs is a classic pointer to a single float, coeffs[] is the same (still a pointer), but the compiler treats it as a variable length member 2023-08-30T22:32:59 < qyx> so (*coeffs)[] is a single pointer to a variable length array 2023-08-30T22:33:14 < catphish> qyx: what practical difference does that create? 2023-08-30T22:33:55 < catphish> i usually point regular pointers to arrays, i didn't know there was a special "pointer to array" syntax 2023-08-30T22:33:58 < qyx> well, the first one is a single float and you want multiple (compiler errs in your code case) 2023-08-30T22:34:18 < qyx> the second one is uncompilable too, because variable length member can be only the last one 2023-08-30T22:35:25 < qyx> but I rate myself only 6/10 on a C scale 2023-08-30T22:35:47 < catphish> you're right, (*coeffs)[] compils, but *coeffs doesn't 2023-08-30T22:36:02 < catphish> but this doesn't apply to *history, that works fine 2023-08-30T22:36:22 < qyx> it does 2023-08-30T22:36:36 < catphish> i still don't understand the difference between a pointer to a single item and a pointer to an array 2023-08-30T22:37:12 < catphish> don't they both just contain the memory address of the first item? why does the compiler care in this specific case? 2023-08-30T22:38:25 < qyx> technically yes but they are different types 2023-08-30T22:39:49 < qyx> https://c-faq.com/aryptr/aryptr2.html 2023-08-30T22:40:54 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-30T22:41:51 < qyx> I guess I should educate myself a bit too 2023-08-30T22:46:18 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has joined ##stm32 2023-08-30T22:49:00 < catphish> qyx: more fleshed out codes: https://paste.debian.net/1290521/ 2023-08-30T22:51:11 < catphish> the function at the bottom is 100% courtesy of copilot 2023-08-30T22:54:57 -!- flom84 [~flom84@user/flom84] has quit [Ping timeout: 245 seconds] 2023-08-30T23:00:42 -!- drzacek [~quassel@2a01:3d8:4d5:1600:e126:c471:2402:1659] has quit [Quit: Quit] 2023-08-30T23:13:18 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-08-30T23:18:07 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-08-30T23:19:56 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 248 seconds] 2023-08-30T23:27:52 -!- Mangy_Dog [~Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 245 seconds] 2023-08-30T23:28:56 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-30T23:33:35 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-30T23:38:04 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 248 seconds] 2023-08-30T23:47:12 -!- noarb [~noarb@user/noarb] has quit [Ping timeout: 240 seconds] --- Day changed to elo 31 2023 2023-08-31T00:04:36 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-31T00:09:01 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 255 seconds] 2023-08-31T00:27:43 -!- noarb [~noarb@user/noarb] has joined ##stm32 2023-08-31T00:49:12 < qyx> the coffee has killed me 2023-08-31T00:55:50 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has quit [Ping timeout: 246 seconds] 2023-08-31T01:37:00 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-08-31T02:12:45 < qyx> catphish: just curious why you are not using cmsis-dsp? 2023-08-31T02:36:39 < catphish> qyx: i don't use any libraries 2023-08-31T02:37:40 < catphish> qyx: a better question is why i'm not using fmac 2023-08-31T02:38:35 < catphish> and the answer to that is simply that i haven't learned how to use it yet 2023-08-31T02:54:21 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-08-31T02:56:48 < qyx> if you used cmsis-dsp.. 2023-08-31T03:05:19 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-08-31T03:35:26 -!- jbo [~tct@user/tct] has quit [Ping timeout: 245 seconds] 2023-08-31T03:36:02 -!- tct [~tct@user/tct] has joined ##stm32 2023-08-31T03:55:47 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-08-31T03:59:05 -!- dobson` [~dobson@static.38.6.217.95.clients.your-server.de] has quit [Quit: Leaving] 2023-08-31T04:03:08 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-08-31T04:36:40 -!- Sadale [~Sadale@user/sadale] has quit [Quit: tawa pona!] 2023-08-31T04:37:33 -!- Sadale_ [~Sadale@user/sadale] has joined ##stm32 2023-08-31T04:47:55 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-08-31T05:56:09 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-31T05:58:16 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Client Quit] 2023-08-31T06:16:28 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 248 seconds] 2023-08-31T06:17:17 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-08-31T06:17:18 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-08-31T06:17:36 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-08-31T06:17:43 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-08-31T06:18:16 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-08-31T06:20:11 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-08-31T09:24:05 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-31T09:25:30 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has joined ##stm32 2023-08-31T09:34:32 -!- machinehum4 [~machinehu@212-51-149-46.fiber7.init7.net] has quit [Ping timeout: 246 seconds] 2023-08-31T09:56:14 -!- PlasmaHH [~PlasmaHH@user/plasmahh] has joined ##stm32 2023-08-31T10:48:08 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Ping timeout: 246 seconds] 2023-08-31T11:01:36 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-08-31T11:18:09 -!- jadew [~rcc@5.12.186.206] has quit [Ping timeout: 255 seconds] 2023-08-31T11:30:28 -!- jadew [~rcc@5.12.186.206] has joined ##stm32 2023-08-31T11:48:25 < josuah> One way I healed from NIH syndrome is: if I had to organize my own codebase with many different projects, I would likely put shared pieces of code into external dependencies 2023-08-31T11:49:57 < josuah> then the fact that there are 3rd-parties to a project does not feel so unnatural 2023-08-31T11:52:10 < josuah> "if I had to split this common code as an external library, what would be the ideal way to build it? is there such a thing out there already?" 2023-08-31T11:52:40 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-90dd-c349-d342-5bd1.fixed6.kpn.net] has joined ##stm32 2023-08-31T11:55:08 < josuah> I would not build a library for string padding though... :P 2023-08-31T12:15:52 < catphish> josuah: i think it depends entirely on the scale of your operation. for small projects crafted with love, i have NIH++, but for commercial purposes, i'm happy to crank out a hundred bloated apps with the same third party libraries 2023-08-31T12:54:15 < PlasmaHH> It also depends on the overlap of requirements and existing libraries... when stuff is too slow, its too slow... 2023-08-31T12:56:30 -!- Mangy_Dog [Mangy_Dog@user/mangy-dog/x-7397214] has joined ##stm32 2023-08-31T13:25:51 -!- ventYl [~ventyl@bband-dyn133.95-103-31.t-com.sk] has quit [Ping timeout: 246 seconds] 2023-08-31T13:27:52 -!- ventYl [~ventyl@bband-dyn14.178-40-28.t-com.sk] has joined ##stm32 2023-08-31T13:51:24 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-90dd-c349-d342-5bd1.fixed6.kpn.net] has quit [Ping timeout: 248 seconds] 2023-08-31T14:16:46 < qyx> catphish: you said you are not using libraries! 2023-08-31T14:17:05 < catphish> (not in this projct) 2023-08-31T14:22:29 < qyx> you are even creatig unmaintainable commercial codez! 2023-08-31T14:22:56 < qyx> I hate when android igores my n and it happens frequently 2023-08-31T14:28:26 -!- Sadale_ is now known as Sadale 2023-08-31T15:28:43 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-08-31T15:40:16 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-90dd-c349-d342-5bd1.fixed6.kpn.net] has joined ##stm32 2023-08-31T15:43:34 < karlp> heh, lol. I was just reviewing what my public github profile looks like, and there's links to bugs filed on silabs SDK "which attracted N comments" 2023-08-31T15:43:43 < karlp> silabs has since _removed_ issues frrom their SDK 2023-08-31T15:43:57 < karlp> you can nominally send them PRs, but they've just nuked issues completely, valid or not 2023-08-31T16:01:27 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-90dd-c349-d342-5bd1.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-08-31T16:21:24 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-08-31T16:51:27 < jpa-> karlp: after they fixed the last issue, there was no point having an issues tab for perfect code 2023-08-31T16:56:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-31T17:05:40 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Remote host closed the connection] 2023-08-31T17:06:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-31T17:07:12 < karlp> . 2023-08-31T17:07:16 < karlp> riiiight... 2023-08-31T17:42:24 -!- machinehum4 [~machinehu@62.2.223.18] has joined ##stm32 2023-08-31T18:03:53 < qyx> they also checked their public profile.. 2023-08-31T18:14:38 -!- machinehum4 [~machinehu@62.2.223.18] has quit [Ping timeout: 246 seconds] 2023-08-31T18:17:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Max SendQ exceeded] 2023-08-31T18:18:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-08-31T18:24:47 < catphish> how does one flash DFU with windows? 2023-08-31T18:25:02 < catphish> is there a generic app for this? 2023-08-31T18:31:12 < englishman> https://www.st.com/en/development-tools/stsw-stm32080.html 2023-08-31T18:35:44 < catphish> cool, and i guess also https://www.st.com/en/development-tools/stm32cubeprog.html 2023-08-31T18:35:45 < catphish> thanks 2023-08-31T18:54:43 < Mangy_Dog> interesting, just drawing up a symbol for teh PY32F030K2 part im going to use in a cheap project. Going through its datasheet to get the pin numbers... Noticing that, though not quite pin perfect. Its had a damn close arrangment as the STM32 parts. Even the ports sharing the same perifs... Is that just part of the ARM cortex design? 2023-08-31T18:55:03 < Mangy_Dog> or is port and hardware matching a per chip maker thing? 2023-08-31T19:14:10 < qyx> no it is called cloning 2023-08-31T19:14:25 < qyx> their ultimate aim is to be fully compatible 2023-08-31T19:15:03 < qyx> even the pn is probably an exact copy with stm replaced by py 2023-08-31T19:15:09 < qyx> also, what is "py" 2023-08-31T19:15:16 < qyx> never seen that particular one 2023-08-31T19:16:23 < qyx> oh puya 2023-08-31T19:16:32 < qyx> where is the world going 2023-08-31T19:16:35 < BrainDamage> stm32 periphs have been cloned over and over, the core is arm and well known, the part that was unique to the stm32 was the periph, and those are what they cloned 2023-08-31T19:17:13 < BrainDamage> and they tried to pair them with riscv too, since riscv lacks a standard lib, in fact riscv has the same issues as cortexm 2023-08-31T19:18:02 < qyx> also I hate you BrainDamage, since our recent talk about dishwashers it is not washing anymore 2023-08-31T19:18:35 < qyx> now I am cleaning dishes by hand 2023-08-31T19:19:11 < Mangy_Dog> lol 2023-08-31T19:19:19 < Mangy_Dog> whats wrong with dishwashers... I use one 2023-08-31T19:19:35 < Mangy_Dog> also yeah wondered if it was just cloning or if the port to hardware maps are part of the core design thats lisenced out 2023-08-31T19:19:50 < BrainDamage> nothing, the convo was just how detergent pods are stupid 2023-08-31T19:20:08 < Mangy_Dog> in what way>? 2023-08-31T19:21:10 < catphish> as far as clones go, i was rather impresed by the specs of the AT32 2023-08-31T19:21:24 < BrainDamage> unless you use "fast" or "eco" programs ( and people that use detergent pods tend to do, because they seem to do nothing ), the soap tray has 2 compartments, one sealed one not, you're supposed to fill both and the unsealed one feeds soap during the initial phase, the most intensive one 2023-08-31T19:21:40 < Mangy_Dog> yeah seems AT32s seem to be making grounds as a drop in replacment of STM32s 2023-08-31T19:21:49 < Mangy_Dog> the PY32 main appeal is DIRT cheap 2023-08-31T19:21:51 < BrainDamage> otherwise you run the "scrub" phase with just water, which is way less effective 2023-08-31T19:22:02 < Mangy_Dog> which is great for small silly little projects that you want to make 50 of 2023-08-31T19:22:08 < Mangy_Dog> like the hex tiles im currently designing :p 2023-08-31T19:22:49 < Mangy_Dog> ahh i guess that depends on th emodel of washer, ours only has 1 compartment 2023-08-31T19:23:09 < Mangy_Dog> theres no prewash slot or anything 2023-08-31T19:23:18 < Mangy_Dog> strangely this is a topic that came up on tech connections 2023-08-31T19:24:24 < BrainDamage> the ones without a dedicated tray for pre-wash often state in the manual to add it to the door, which is dumb AF 2023-08-31T19:24:33 < BrainDamage> since it's hard to measure that way 2023-08-31T19:32:49 < Mangy_Dog> the one thing im not sure of yet is if the py32 can run at 48mhz on its internal clockl (if it has one) or if it needs an external 2023-08-31T19:33:17 < Mangy_Dog> also another odity on this chip 2023-08-31T19:33:20 < Mangy_Dog> only 1 power input 2023-08-31T19:33:25 < Mangy_Dog> 1 power pin 2023-08-31T19:54:10 < qyx> They use a interesting “merge first, review later” process 2023-08-31T19:54:11 < qyx> lol 2023-08-31T19:58:21 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 245 seconds] 2023-08-31T20:00:11 < qyx> ok zeromq doesn't do reliable delivery 2023-08-31T20:00:21 < qyx> it doesn't reconnect either 2023-08-31T20:00:43 < qyx> if a single message is miss, SAFU 2023-08-31T20:01:08 < qyx> that's not what I wanted and expected from a high level transport 2023-08-31T20:10:07 < qyx> so.. that makes me a particularly sad panda, in these circumstances I may use a simple udp instead 2023-08-31T20:24:22 -!- machinehum4 [~machinehu@62.2.223.18] has joined ##stm32 2023-08-31T20:26:47 -!- ventYl [~ventyl@bband-dyn14.178-40-28.t-com.sk] has quit [Ping timeout: 260 seconds] 2023-08-31T20:48:56 -!- machinehum4 [~machinehu@62.2.223.18] has quit [Ping timeout: 260 seconds] 2023-08-31T20:50:47 < zyp> qyx, I told you it was the wrong tool for the job for the stuff I worked on that used it 2023-08-31T20:53:51 < qyx> I should have been listening better 2023-08-31T20:56:32 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-31T21:10:57 -!- machinehum4 [~machinehu@62.2.223.18] has joined ##stm32 2023-08-31T21:26:57 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 250 seconds] 2023-08-31T21:29:31 -!- drzacek [~quassel@2a01:3d8:308:bc00:2a59:e186:672c:4126] has joined ##stm32 2023-08-31T21:44:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9430-4397-93af-9081.fixed6.kpn.net] has joined ##stm32 2023-08-31T21:52:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9430-4397-93af-9081.fixed6.kpn.net] has quit [Ping timeout: 244 seconds] 2023-08-31T22:14:21 -!- flom84 [~flom84@user/flom84] has joined ##stm32 2023-08-31T22:21:48 -!- dima [~dima@kappa.ac93.org] has quit [Remote host closed the connection] 2023-08-31T22:27:03 -!- nomorekaki [~nomorekak@178-55-181-86.bb.dnainternet.fi] has joined ##stm32 2023-08-31T22:36:34 -!- dima [~dima@kappa.ac93.org] has joined ##stm32 2023-08-31T22:48:26 < mawk> we found laurence's mom https://reddit.com/r/oddlyspecific/s/K8thCxqHrl 2023-08-31T22:50:59 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-08-31T23:14:40 < Steffanx> Lol 2023-08-31T23:15:38 -!- drzacek [~quassel@2a01:3d8:308:bc00:2a59:e186:672c:4126] has quit [Quit: Quit] 2023-08-31T23:15:42 < nomorekaki> stephan 2023-08-31T23:17:00 < nomorekaki> I have waited for perfect timing but I paste before I forget this video https://www.youtube.com/watch?v=69v-9S8ho5Q 2023-08-31T23:19:14 -!- machinehum4 [~machinehu@62.2.223.18] has quit [Ping timeout: 246 seconds] 2023-08-31T23:41:51 -!- flom84 [~flom84@user/flom84] has quit [Quit: Leaving] 2023-08-31T23:42:40 < zyp> I don't get it 2023-08-31T23:48:31 < PlasmaHH> Does the documentation somewhere state the frequency of the u5 smps ? 2023-08-31T23:50:57 < zyp> probably 2023-08-31T23:51:15 < PlasmaHH> Failed to find any... 2023-08-31T23:51:22 < zyp> which u5 variant? 2023-08-31T23:51:55 < PlasmaHH> 575 and 585 2023-08-31T23:52:59 < zyp> 1.5 or 3 MHz depending on operating voltage, ref. 5.3.4 on page 155 of https://www.st.com/resource/en/datasheet/stm32u575ag.pdf 2023-08-31T23:53:39 < PlasmaHH> Thanks, now that its there it seems like easy to find *sigh* 2023-08-31T23:53:55 < zyp> :) 2023-08-31T23:55:31 < zyp> it's a matter of knowing how ST likes organizing their information, I guess 2023-08-31T23:55:36 < PlasmaHH> But that also means the ~ 256kHz in the EMC report isn't that and we have to really dig down... 2023-08-31T23:56:10 < zyp> they usually put all the physical parameters like that in the datasheet, not the reference manual, so you can spend quite a long time searching if you try the reference manual first 2023-08-31T23:56:51 < PlasmaHH> yeah, I often forget to check the datasheet because somehow I am used to finding things in the reference manual I guess 2023-08-31T23:59:23 -!- Thorn_ [~Thorn@bl18-149-68.dsl.telepac.pt] has quit [Quit: Depression is merely anger without enthusiasm] --- Log closed pe syys 01 00:00:03 2023