Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 372
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
24.4
Device Initialization
Initialization follows the steps described below:
1.
Stack setup
2.
Setup the Embedded Flash Controller
3.
External Clock detection (crystal or external clock on XIN)
4.
If external crystal or clock with supported frequency, allow USB activation
5.
Else, does not allow USB activation and use internal 12 MHz RC oscillator
6.
Main oscillator frequency detection if no external clock detected
7.
Switch Master Clock on Main Oscillator
8.
C variable initialization
9.
PLLA setup: PLLA is initialized to generate a 48 MHz clock
10. Disable the Watchdog
11. Initialization of UART0 (115200 bauds, 8, N, 1)
12. Initialization of the USB Device Port (in case USB activation allowed)
13. Wait for one of the following events
1.
Check if USB device enumeration has occurred
2.
Check if characters have been received in UART0
)