SPRUJ51 june 2023
The boot mode for the AM62x-Low power SK EVM board is defined by two banks of switches SW3 and SW4 or by the I2C buffer connected to the Test automation connector. This allows for AM62x SoC Boot mode control by either the user (DIP Switch Control) or by the Test Automation connector.
All the bits of switch (SW3 & SW4) have week pull down resistor and a strong pull up resistor as shown in below picture. Note that OFF setting provides a low logic level (‘0’) and an ON setting provides a high logic level (‘1’).
The boot mode pins of the SoC have associated alternate functions during normal operation. Hence isolation isprovided using Buffer IC’s to cater for alternate pin functionality. The output of the buffer is connected to the bootmode pins on the AM62x Low Power SK EVM. The output is enabled when the bootmode is needed during a reset cycle.
The input to the buffer is connected to the DIP switch circuit and to the output of an I2C buffer set by the test automatio ncircuit. If the test automation circuit is going to control the bootmode, all the switches will manually be set to the OFF position. The bootmode buffer should be powered by an always ON power supply to ensure that the bootmode remains present even if the SoC power is cycled.
Switch SW1 and SW2 bits [15:0] are used to set the SoC Boot mode.
The switch map to the boot mode functions is provided in the tables below.
Bit15 | Bit14 | Bit13 | Bit12 | Bit11 | Bit10 | Bit9 | Bit8 | Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Reserved | Backup Boot Mode Configuration | Backup Boot Mode | Primary Boot Mode Configuration | Primary Boot Mode | PLL Configuration |
BOOT-MODE[0:2] – Denote system clock frequency for PLL configuration. By default this bits are set for 25MHz.
SW3.3 | SW3.2 | SW3.1 | PLL REF CLK (MHz) |
---|---|---|---|
OFF | OFF | OFF | RSVD |
OFF | OFF | ON | RSVD |
OFF | ON | OFF | 24 |
OFF | ON | ON | 25 |
ON | OFF | OFF | 26 |
ON | OFF | ON | RSVD |
ON | ON | OFF | RSVD |
ON | ON | ON | RSVD |
BOOT-MODE [3:6] – This provides primary boot mode configuration to select the requested boot mode after POR, that is, the peripheral/memory to boot from primary boot device selection details.
SW3.7 | SW3.6 | SW3.5 | SW3.4 | Primary Boot Device Selected |
---|---|---|---|---|
OFF | OFF | OFF | OFF | Serial NAND |
OFF | OFF | OFF | ON | OSPI |
OFF | OFF | ON | OFF | QSPI |
OFF | OFF | ON | ON | SPI |
OFF | ON | OFF | OFF | Ethernet RGMII1 |
OFF | ON | OFF | ON | Ethernet RMII1 |
OFF | ON | ON | OFF | I2C |
OFF | ON | ON | ON | UART |
ON | OFF | OFF | OFF | MMC/SD card |
ON | OFF | OFF | ON | eMMC |
ON | OFF | ON | OFF | USB0 |
ON | OFF | ON | ON | GPMC NAND |
ON | ON | OFF | OFF | GPMC NOR |
ON | ON | OFF | ON | Rsvd |
ON | ON | ON | OFF | xSPI |
ON | ON | ON | ON | No boot/Dev Boot |
• BOOT-MODE [10:12] – Select the backup boot mode, used when the primary boot mode is not available.
SW4.5 | SW4.4 | SW4.3 | Backup Boot Device Selected |
---|---|---|---|
OFF | OFF | OFF | None(No backup mode) |
OFF | OFF | ON | USB |
OFF | ON | OFF | Reserved |
OFF | ON | ON | UART |
ON | OFF | OFF | Ethernet |
ON | OFF | ON | MMC/SD |
ON | ON | OFF | SPI |
ON | ON | ON | I2C |
BOOT-MODE [9:7] – These pins provide optional settings and are used in conjunction with the primary boot device selected.
SW4.2 | SW4.1 | SW3.8 | Boot Device |
---|---|---|---|
Reserved | Read Mode 2 | Read Mode 1 | Serial NAND |
Reserved | Iclk | Csel | QSPI |
Speed | Iclk | Csel | OSPI |
Reserved | Mode | Csel | SPI |
Clkout | 0 | Link stat | Ethernet RGMII |
Clkout | Clk src | 0 | Ethernet RMII |
Bus Reset | Reserved | Addr | I2C |
Reserved | Reserved | Reserved | UART |
Port | Reserved | Fs/raw | MMC/ SD card |
Reserved | Reserved | Reserved | eMMC |
Core Volt | Mode | Lane swap | USB0 |
Reserved | Reserved | Reserved | GPMC NAND |
Reserved | Reserved | Reserved | GPMC NOR |
Reserved | Reserved | Reserved | Reserved |
SFDP | Read Cmd | Mode | xSPI |
Reserved | ARM/Thumb | No/Dev | No boot/Dev Boot |
BOOT-MODE[13] – These pins provide optional settings and are used in conjunction with the backup boot device devices. Switch SW2.6 when ON sets 1 and sets 0 if OFF, see the device-specific TRM.
BOOT-MODE [14:15] – Reserved. Provides backup boot media configuration options.
SW4.6 | Boot Device |
---|---|
Reserved | None |
Mode | USB |
Reserved | Reserved |
Reserved | UART |
IF | Ethernet |
Port | MMC/SD |
Reserved | SPI |
Reserved | I2C |