Monthly Archives: October 2012

Arduino Timing Failure

Why does this attempt to time a fixed-point math multiplication yield 0 microseconds? After examining the resultant assembly code produced, it appears the optimizing compiler performed the math, eliminated the fixed-point code and treated the answer as a constant. Look … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Continued Look at Fixed Point Math on the Arduino Platform

Continuing my overly simplified comparison of 24.8 fixed point vs. floating math on the AVR168/328 chip, I compared the elapsed time of the following two division operations running at 16Mhz: That’s nearly 1.8 times faster for the fixed-point math. If … Continue reading

Posted in Uncategorized | Tagged , , , , , | 3 Comments

Fixed Point Math on the Arduino Platform

Here is an overly simplified comparison of 24.8 fixed point vs. floating math on the AVR168/328 chip. I compared the elapsed time of the following two multiplications running at 16Mhz: That’s nearly 9.5 times faster. However, my comparison is not … Continue reading

Posted in Uncategorized | Tagged , , , , , | 12 Comments

FREQUENCY and TIME

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Teensy 3.0

I’ve been using Teensy-Arduino compatible boards for several years, and this new version looks very promising. It is programmable from inside the arduino IDE. The Teensy 3.0 is a 32bit ARM Cortex-M4 running at 48mhz with some of the following … Continue reading

Posted in Uncategorized | Leave a comment