Hi guys, I wrote some code to measure the duration of delays (and hacked the serial lib to meet my requirements for this). I don't think we will re-use this often, but we might. Would it be worth while to put this somewhere in a directory or is it too specific?
Joep 2009/8/5 <[email protected]>: > > > Comment #3 on issue 83 by jsuijs: delay.jal accuracy varies > http://code.google.com/p/jallib/issues/detail?id=83 > > Current results > - avrg abs deviation at 20MHz remains at 1.3% (but stdev is 50% less) > - avrg abs deviation at 8MHz from 15.2% to 2.2% > - avrg abs deviation at 4MHz from 41% to 9,7% > accuracy at 1MHz is better but remains bad; a 1 us delay + loop just takes > way > longer then the 10us base. > (see table below for details, first old, then new abs error) > > Still have to verify results with a logic analyser. > > Joep > > MHz > setpoint 1 4 8 20 > 1 300,0% 0,0% 0,0% 0,0% 75,0% > 2 100,0% 0,0% 0,0% 0,0% 25,0% > 5 60,0% 0,0% 0,0% 0,0% 15,0% > 9 33,3% 0,0% 0,0% 0,0% 8,3% > 10 660,0% 140,0% 60,0% 0,0% 215,0% > 20 420,0% 90,0% 35,0% 0,0% 136,3% > 50 524,0% 116,0% 48,0% 8,0% 174,0% > 100 372,0% 78,0% 29,0% 0,0% 119,8% > 200 296,0% 59,0% 19,5% 4,0% 94,6% > 500 250,4% 47,6% 13,8% 6,4% 79,6% > 1000 235,2% 43,8% 11,9% 0,0% 72,7% > 2000 227,6% 41,9% 11,0% 0,3% 70,2% > 5000 3,0% 0,3% 0,1% 0,4% 1,0% > 10000 0,2% 0,1% 0,4% 0,2% > 20000 0,2% 0,2% 0,4% 0,2% > 267,8% 41,1% 15,2% 1,3% 74,9% > > abs_delta > MHz > setpoint 1 4 8 20 > 1 300,0% 0,0% 0,0% 0,0% 75,0% > 2 100,0% 0,0% 0,0% 0,0% 25,0% > 5 60,0% 0,0% 0,0% 0,0% 15,0% > 9 33,3% 0,0% 0,0% 0,0% 8,3% > 10 420,0% 30,0% 10,0% 2,0% 115,5% > 20 500,0% 65,0% 12,5% 4,0% 145,4% > 50 308,0% 26,0% 5,0% 2,8% 85,5% > 100 244,0% 13,0% 2,5% 2,4% 65,5% > 200 212,0% 6,5% 1,3% 2,2% 55,5% > 500 192,8% 2,6% 0,5% 2,1% 49,5% > 1000 186,4% 1,6% 0,8% 2,0% 47,7% > 2000 183,2% 0,8% 0,4% 2,0% 46,6% > 5000 0,5% 0,3% 0,1% 0,1% 0,3% > 10000 0,2% 0,0% 0,0% 0,1% 0,1% > 20000 0,5% 0,1% 0,0% 0,1% 0,2% > 182,7% 9,7% 2,2% 1,3% 49,0% > > > > -- > You received this message because you are listed in the owner > or CC fields of this issue, or because you starred this issue. > You may adjust your issue notification preferences at: > http://code.google.com/hosting/settings > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
