aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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).