2.5.4 Hardware Considerations
The table below provides clock frequencies configured by the ROM code during boot.
Clock | Frequency |
---|---|
PLLA | 1200 MHz |
CPU_CLK | 600 MHz |
MCK | 200 MHz |
SDMMC (init/operational) | 400 kHz/25 MHz |
QSPI | 50 MHz |
The default UART used for ROM code console and SAM-BA Monitor UART link is given below:
Index Value in CONSOLE_IOSET[5:0] Bit | Interface |
0 | DBGU |
The default can be changed by writing another index in the Boot Configuration Packet (refer to CONSOLE_PIN).
The NVM drivers use several PIOs in Peripheral mode to communicate with external Flash memory devices. Care must be taken when these PIOs are used by the application. The connected devices could be unintentionally driven at boot time, and thus electrical conflicts between the output pins used by the NVM drivers and the connected devices could occur.
The following table contains a list of pins that are driven during the boot program execution. These pins are driven during the boot sequence for a period of less than 1 second if no correct boot program is found. The drive strength of pull-up I/O pins is set to High while the pins are used in Peripheral mode by the ROM code.
Before performing the jump to the application in the internal SRAM, all the PIOs and peripherals used in the boot program are set to their reset state.
NVM Bootloader | Peripheral | IO Set | Signal | PIO Line | Pull-up enabled |
---|---|---|---|---|---|
SD Card/e.MMC | SDMMC_0 | 1 | SDMMC0_DAT0 | PIO_PA0A | Y |
SDMMC0_CMD | PIO_PA1A | Y | |||
SDMMC0_CK | PIO_PA2A | – | |||
SDMMC0_DAT1 | PIO_PA3A | Y | |||
SDMMC0_DAT2 | PIO_PA4A | Y | |||
SDMMC0_DAT3 | PIO_PA5A | Y | |||
SDMMC_1 | 1 | SDMMC1_DAT0 | PIO_PA9B | Y | |
SDMMC1_DAT1 | PIO_PA6B | Y | |||
SDMMC1_DAT2 | PIO_PA7B | Y | |||
SDMMC1_DAT3 | PIO_PA8B | Y | |||
SDMMC1_CMD | PIO_PA10B | Y | |||
– | |||||
SDMMC1_CK | PIO_PA11B | ||||
NAND Flash | HSMC | 1 | NANDOE | PIO_PD0A | – |
NANDWE | PIO_PD1A | – | |||
NANDALE | PIO_PD2A | – | |||
NANDCLE | PIO_PD3A | – | |||
NANDCS | PIO_PD4A | – | |||
NAND WAIT | PIO_PD14A | – | |||
D0-D7 | PIO_PD6A-PIO_PD13A | Y | |||
SPI Flash | FLEXCOM0 | 1 | MOSI | PIO_PA31A | Y |
MISO | PIO_PA30A | – | |||
NPCS0 | PIO_PA3A | – | |||
SPCK | PIO_PA8A | – | |||
2 | MOSI | PIO_PA0A | Y | ||
MISO | PIO_PA1A | – | |||
NPCS1 | PIO_PA2A | – | |||
SPCK | PIO_PA4A | – | |||
FLEXCOM1 | 1 | MOSI | PIO_PA5A | Y | |
MISO | PIO_PA6A | – | |||
NPCS0 | PIO_PC28C | – | |||
SPCK | PIO_PC29C | – | |||
2 | MOSI | PIO_PA5A | Y | ||
MISO | PIO_PA6A | – | |||
NPCS1 | PIO_PC27C | – | |||
SPCK | PIO_PC29C | – | |||
FLEXCOM2 | 1 | MOSI | PIO_PA7A | Y | |
MISO | PIO_PA8A | – | |||
SPCK | PIO_PB1B | – | |||
NPCS0 | PIO_PB2B | – | |||
2 | MOSI | PIO_PA7A | Y | ||
MISO | PIO_PA8A | – | |||
SPCK | PIO_PB2B | – | |||
NPCS1 | PIO_PB0B | – | |||
FLEXCOM3 | 1 | MOSI | PIO_PC22B | Y | |
MISO | PIO_PC23B | – | |||
NPCS0 | PIO_PC25B | – | |||
SPCK | PIO_PC26B | – | |||
2 | MOSI | PIO_PC22B | Y | ||
MISO | PIO_PC23B | – | |||
NPCS1 | PIO_PC24B | – | |||
SPCK | PIO_PC26B | – | |||
SPI Flash | FLEXCOM4 | 1 | MISO | PIO_PA11A | – |
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS0 | PIO_PA14A | – | |||
2 | MISO | PIO_PA11A | – | ||
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS1 | PIO_PA0C | – | |||
3 | MISO | PIO_PA11A | – | ||
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS1 | PIO_PA7B | – | |||
4 | MISO | PIO_PA11A | – | ||
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS2 | PIO_PA1B | – | |||
5 | MISO | PIO_PA11A | – | ||
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS2 | PIO_PA8C | – | |||
6 | MISO | PIO_PA11A | – | ||
MOSI | PIO_PA12A | Y | |||
SPCK | PIO_PA13A | – | |||
NPCS3 | PIO_PB3B | – | |||
SPI Flash | FLEXCOM5 | 1 | NPCS0 | PIO_PA8B | – |
MISO | PIO_PA21B | – | |||
MOSI | PIO_PA22B | Y | |||
SPCK | PIO_PA23B | – | |||
2 | NPCS1 | PIO_PA0B | – | ||
MISO | PIO_PA21B | – | |||
MOSI | PIO_PA22B | Y | |||
SPCK | PIO_PA23B | – | |||
3 | MISO | PIO_PA21B | – | ||
MOSI | PIO_PA22B | Y | |||
SPCK | PIO_PA23B | – | |||
NPCS1 | PIO_PA7C | – | |||
4 | MISO | PIO_PA21B | – | ||
MOSI | PIO_PA22B | Y | |||
SPCK | PIO_PA23B | – | |||
NPCS2 | PIO_PA31B | – | |||
5 | MISO | PIO_PA21B | – | ||
MOSI | PIO_PA22B | Y | |||
SPCK | PIO_PA23B | – | |||
NPCS3 | PIO_PA30B | – | |||
QSPI NOR Flash | QSPI0 | 1 | QSCK | PIO_PB19A | – |
QCS | PIO_PB20A | – | |||
QIO0 | PIO_PB21A | X | |||
QIO1 | PIO_PB22A | X | |||
QIO2 | PIO_PB23A | X | |||
QIO3 | PIO_PB24A | X | |||
ROM code console and SAM-BA Monitor | DBGU | 1 | DTXD | PIO_PA27A | – |
DRXD | PIO_PA26A | X | |||
FLEXCOM0 | 1 | DTXD | PIO_PA30A | – | |
DRXD | PIO_PA31A | X | |||
FLEXCOM1 | 1 | DTXD | PIO_PA28A | – | |
DRXD | PIO_PA29A | X | |||
FLEXCOM2 | 1 | DTXD | PIO_PA13A | – | |
DRXD | PIO_PA14A | X | |||
FLEXCOM3 | 1 | DTXD | PIO_PC22B | – | |
DRXD | PIO_PC23B | X | |||
FLEXCOM4 | 1 | DTXD | PIO_PA10A | – | |
DRXD | PIO_PA9A | X | |||
FLEXCOM5 | 1 | DTXD | PIO_PA16B | – | |
DRXD | PIO_PA15B | X | |||
FLEXCOM6 | 1 | DTXD | PIO_PA14A | – | |
DRXD | PIO_PA15A | X | |||
FLEXCOM7 | 1 | DTXD | PIO_PC0C | – | |
DRXD | PIO_PC1C | X | |||
FLEXCOM8 | 1 | DTXD | PIO_PB4B | – | |
DRXD | PIO_PB5B | X | |||
FLEXCOM9 | 1 | DTXD | PIO_PC8C | – | |
DRXD | PIO_PC9C | X | |||
FLEXCOM10 | 1 | DTXD | PIO_PC16C | – | |
DRXD | PIO_PC17C | X | |||
FLEXCOM11 | 1 | DTXD | PIO_PB15C | – | |
DRXD | PIO_PB16C | X | |||
FLEXCOM12 | 1 | DTXD | PIO_PB17C | – | |
DRXD | PIO_PB18C | X |