SAME70: Initialization has to be done a little differently because the board has no 32.768KHz crystal installed
This commit is contained in:
parent
fbca4d4ecf
commit
1f7df26f24
@ -57,9 +57,11 @@
|
|||||||
* Master Clock (MCK): Source = PLLACK, Prescalar = 1 to generate MCK = 120MHz
|
* Master Clock (MCK): Source = PLLACK, Prescalar = 1 to generate MCK = 120MHz
|
||||||
* CPU clock: 120MHz
|
* CPU clock: 120MHz
|
||||||
*
|
*
|
||||||
* There are two on-board crystals:
|
* There can be two on-board crystals. However, the the 32.768 crystal is not
|
||||||
|
* populated on the stock SAME70.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#undef BOARD_HAVE_SLOWXTAL /* Slow crystal not populated */
|
||||||
#define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */
|
#define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */
|
||||||
#define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */
|
#define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
* There are two on-board crystals:
|
* There are two on-board crystals:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define BOARD_HAVE_SLOWXTAL 1 /* Slow crystal is populated */
|
||||||
#define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */
|
#define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */
|
||||||
#define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */
|
#define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user