#avr Logs

Nov 20 2019

#avr Calendar

03:14 AM polprog: rue_mohr: that printer on twitter, what mode is that?
03:19 AM polprog: model*
04:13 AM nohit: rue_shop2: you mean the arm cmsis math lib?
04:13 AM nohit: the sines work fine
04:55 AM nohit: but actually the sin() in math.h is quite fast
04:56 AM nohit: if you have FPU
04:56 AM nohit: *sinf()
04:57 AM cehteh: because sin x = x ? :)
08:43 AM rue_bed: a calculated sine wave from the stm32 to a dac comes out wrong
08:44 AM rue_bed: from what I can tell, the values from sin() are just messed up
08:44 AM rue_bed: polprog, its a type of i2, I end up customizing everything
08:44 AM rue_bed: want designs?
08:45 AM rue_bed: I'm not really done fixing the design problems with the i2 yet
09:09 AM polprog: no, i was asking since it looks familiar to what im fixing at the lab
09:11 AM polprog: https://i.ibb.co/CHbHqBn/IMG-20191119-165530.jpg
09:11 AM polprog: i took the pic upside down though, lol
09:11 AM polprog: heres me checking the nozzle temp
09:40 AM rue_mohr: I think I could have worded that pre-punch thing better.... hmmmm
09:40 AM rue_mohr: meh
10:49 AM merethan_w is now known as Guest666
10:51 AM Guest666 is now known as Guest9001
10:53 AM Guest9001 is now known as merethan_w
02:24 PM nohit: 16:38:00 <rue_bed> from what I can tell, the values from sin() are just messed up
02:24 PM nohit: sure :D
02:25 PM nohit: your code being messed up is more possible
02:25 PM cehteh: int sin(float x){ return x;} :)
02:32 PM nohit: its kinda n00bish to blame the C std library when you dont get stuff working
02:33 PM nohit: well not kinda
02:33 PM nohit: it is
02:33 PM cehteh: nah .. a) the clib has bugs for sure b) always better to blame someone else
02:34 PM cehteh: .. but still that doesnt get it fixed, but thats another thing :)
02:36 PM nohit: well, i have tested both sin() and sinf() on both work just fine
02:37 PM nohit: so does the ones in arm math lib
02:38 PM cehteh: with or without fpu?
02:38 PM nohit: with
02:38 PM cehteh: the emulation is prolly a bit more ugly, and has some knobs to tune
02:40 PM nohit: yeah
11:30 PM day__ is now known as day