17.5.8 Hardware and Software Constraints

The table below provides clock frequencies configured by the ROM code during boot.

Table 17-2. Clock Frequencies during External Memory Boot Sequence
ClockFrequency
PLLA756 MHz
PCK378 MHz
MCK126 MHz
SDMMC (init/operational)400 kHz / 25 MHz
SPI12 MHz
QSPI50 MHz

The NVM drivers use several PIOs in Peripheral mode to communicate with external 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.

To ensure the correct functionality, it is recommended to plug in critical devices to other pins not used by the NVM.

The table below 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 some I/O pins is set to 'medium' 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.

Table 17-3. PIO Driven during Boot Program Execution
NVM BootloaderPeripheralIO SetPinPIO LineDrive Strength
SD Card / e.MMCSDMMC_01SDMMC0_CKPIOA0low
SDMMC0_CMDPIOA1medium
SDMMC0_DAT0PIOA2medium
SDMMC0_DAT1PIOA3medium
SDMMC0_DAT2PIOA4medium
SDMMC0_DAT3PIOA5medium
SDMMC0_DAT4PIOA6low
SDMMC0_DAT5PIOA7low
SDMMC0_DAT6PIOA8low
SDMMC0_DAT7PIOA9low
SDMMC0_RSTNPIOA10medium
SDMMC0_1V8SELPIOA11low
SDMMC0_WPPIOA12medium
SDMMC0_CDPIOA13medium
SDMMC_11SDMMC1_DAT0PIOA18medium
SDMMC1_DAT1PIOA19medium
SDMMC1_DAT2PIOA20medium
SDMMC1_DAT3PIOA21medium
SDMMC1_CKPIOA22low
SDMMC1_RSTNPIOA27medium
SDMMC1_CMDPIOA28medium
SDMMC1_WPPIOA29medium
SDMMC1_CDPIOA30medium
NAND FlashHSMC1D0–D7PIOA22-PIOA29low
NANDWEPIOA30low
NANDCS3PIOA31low
NAND ALEPIOB0low
NAND CLEPIOB1low
NANDOE PIOB2low
D8–D15PIOB3–PIOB10low
2D0–D7PIOA0–PIOA7low
NANDWEPIOA8low
NANDCS3PIOA9low
NAND ALEPIOA10low
NAND CLEPIOA11low
NANDOE PIOA12low
D8–D15PA13–PA20low
SPI FlashSPI_01SPCKPIOA14low
MOSIPIOA15low
MISOPIOA16medium
NPCS0PIOA17low
2NPCS0PIOA30low
MISOPIOA31medium
MOSIPIOB0low
SPCKPIOB1low
SPI_11SPCKPIOC1low
MOSIPIOC2low
MISOPIOC3medium
NPCS0PIOC4low
2SPCKPIOA22low
MOSIPIOA23low
MISOPIOA24medium
NPCS0PIOA25low
3SPCKPIOD25low
MOSIPIOD26low
MISOPIOD27medium
NPCS0PIOD28low
QSPI FlashQSPI_01SCKPIOA0low
CSPIOA1low
IO0PIOA2low
IO1PIOA3low
IO2PIOA4low
IO3PIOA5low
QSPI_02SCKPIOA14low
CSPIOA15low
IO0PIOA16medium
IO1PIOA17medium
IO2PIOA18medium
IO3PIOA19medium
QSPI_03SCKPIOA22low
CSPIOA23low
IO0PIOA24medium
IO1PIOA25medium
IO2PIOA26medium
IO3PIOA27medium
QSPI_11SCKPIOA6low
CSPIOA7medium
IO0PIOA8medium
IO1PIOA9medium
IO2PIOA10medium
IO3PIOA11low
QSPI_12SCKPIOB5low
CSPIOB6low
IO0PIOB7medium
IO1PIOB8medium
IO2PIOB9medium
IO3PIOB10medium
QSPI_13SCKPIOB14low
CSPIOB15low
IO0PIOB16medium
IO1PIOB17medium
IO2PIOB18medium
IO3PIOB19medium
Console Terminal and SAM-BA MonitorUART_01DRXDPIOB26low
DTXDPIOB27low
UART_11DRXDPIOD2low
DTXDPIOD3low
2DRXDPIOC7low
DTXDPIOC8low
UART_21DRXDPIOD4low
DTXDPIOD5low
2DRXDPIOD23low
DTXDPIOD24low
3DRXDPIOD19low
DTXDPIOD20low
UART_31DRXDPIOC12low
DTXDPIOC13low
2DRXDPIOC31low
DTXDPIOD0low
3DRXDPIOB11low
DTXDPIOB12low
UART_41DRXDPIOB3low
DTXDPIOB4low
Debug PortJTAG1TCKPIOD14low
TDIPIOD15low
TDOPIOD16low
TMSPIOD17low
NTRSTPIOD18low
2TCKPIOD6low
TDIPIOD7low
TDOPIOD8low
TMSPIOD9low
NTRSTPIOD10low
3TCKPIOD27low
TDIPIOD28low
TDOPIOD29low
TMSPIOD30low
NTRSTPIOD31low
4TCKPIOA22low
TDIPIOA23low
TDOPIOA24low
TMSPIOA25low
NTRSTPIOA26low