« October 2006 | Main | September 2007 »

March 2007 Archives

March 9, 2007

Cluck - New Common Lisp Library

I've been working on several new microcontroller designs and found that I was using a calculator too often to compute optimal parameters for the microcontroller timers. So, I built a small library to automate the computations and now it's quite quick to pick a optimal master clock speed, timer prescalar, timer compare value, and UART divisors.

The library is called cluck (Common Lisp μcontroller ClocK calculator) and is available at http://files.b9.com/cluck. Its initial functions include:

  • displaying range of frequencies and periods for 8, 16, and 32-bit timers values for a given clock speed
  • displaying prescaler, compare values, and error percentage for a desired millisecond interrupt period
  • displaying UART divisors and error percentage for common serial port speeds

About March 2007

This page contains all entries posted to Kevin Rosenberg in March 2007. They are listed from oldest to newest.

October 2006 is the previous archive.

September 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.