SAME70: The nomimal frequency of the slow RC oscillator is 32KHz, not 32.768 KHz which has too much false implied accuracy
This commit is contained in:
parent
c71ed665c2
commit
a665f17fc8
@ -58,11 +58,12 @@
|
|||||||
* CPU clock: 120MHz
|
* CPU clock: 120MHz
|
||||||
*
|
*
|
||||||
* There can be two on-board crystals. However, the the 32.768 crystal is not
|
* 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 */
|
#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 */
|
#define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */
|
||||||
|
|
||||||
/* Main oscillator register settings.
|
/* Main oscillator register settings.
|
||||||
|
Loading…
Reference in New Issue
Block a user