Hi Matt, > Joep, the delay measurement code you have at project\delay_calibrate > does not work well with clock rates such as 48MHz since some of the > calculation gets cut off. This could cause some of your deviation. > > 1/48000000*4 = 0.000000083333333333333333333.... You're right! The base time is ns per instructions and that is indeed 0.4% off at 48MHz. No issue for my project at the time but less suitable for generic library. You could fix this by multipying first and divide afterwards. This would require even larger varialbes and make it quite expensive...
Joep -- 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.
