aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-10-20 17:42:52 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-10-20 17:42:52 +0000
commitba297b27bd708d35803341cd49c826f2061f9a9b (patch)
tree2f2f4821fff2206607a3b880e3ce974671b97ddc
parent055b06771fe7265f3134d15d94b303368a65d0d6 (diff)
downloadv-usb-ba297b27bd708d35803341cd49c826f2061f9a9b.tar.gz
v-usb-ba297b27bd708d35803341cd49c826f2061f9a9b.tar.bz2
v-usb-ba297b27bd708d35803341cd49c826f2061f9a9b.zip
- Added reference to Henrik Haftmann for oscillator sync
-rw-r--r--libs-device/osctune.h2
-rw-r--r--usbdrv/Changelog.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/libs-device/osctune.h b/libs-device/osctune.h
index a48f884..d1e34a0 100644
--- a/libs-device/osctune.h
+++ b/libs-device/osctune.h
@@ -35,6 +35,8 @@ range and allows a precision of better than +/-1%. A prescaler factor of 8
allows tuning to slightly more than +/-6% of the default frequency and is
more precise than one step of OSCCAL. It is therefore not suitable to tune
an 8 MHz oscillator to 12.5 MHz.
+
+Thanks to Henrik Haftmann for the idea to this routine!
*/
#define TIMER0_PRESCALING 64 /* must match the configuration for TIMER0 in main */
diff --git a/usbdrv/Changelog.txt b/usbdrv/Changelog.txt
index 9d6844d..c1d2d5f 100644
--- a/usbdrv/Changelog.txt
+++ b/usbdrv/Changelog.txt
@@ -249,3 +249,5 @@ Scroll down to the bottom to see the most recent changes.
- Added a module for 12.8 MHz RC oscillator with PLL in receiver loop.
- Added hook to SOF code so that oscillator can be tuned to USB frame clock.
- Added timeout to waitForJ loop. Helps preventing unexpected hangs.
+ - Added example code for oscillator tuning to libs-device (thanks to
+ Henrik Haftmann for the idea to this routine).