From a665f17fc86edfb1c23894b1d82e590fca917dcb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 26 Feb 2016 12:32:13 -0600 Subject: [PATCH] SAME70: The nomimal frequency of the slow RC oscillator is 32KHz, not 32.768 KHz which has too much false implied accuracy --- configs/same70-xplained/include/board.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/same70-xplained/include/board.h b/configs/same70-xplained/include/board.h index 3f0cc2868d..21c55f3ac6 100644 --- a/configs/same70-xplained/include/board.h +++ b/configs/same70-xplained/include/board.h @@ -58,11 +58,12 @@ * CPU clock: 120MHz * * There can be two on-board crystals. However, the the 32.768 crystal is not - * populated on the stock SAME70. + * populated on the stock SAME70. The fallback is to use th on-chip, slow RC + * oscillator which has a frequency of 22-42 KHz, nominally 32 KHz. */ #undef BOARD_HAVE_SLOWXTAL /* Slow crystal not populated */ -#define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */ +#define BOARD_SLOWCLK_FREQUENCY (32000) /* 32 KHz RC oscillator (nominal) */ #define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */ /* Main oscillator register settings.