SPRUJ40F May 2022 – August 2026
The boot mode for the SK EVM board is defined by two banks of switches SW1 and SW2 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 (SW1 and SW2) have week pull-down resistor and a strong pull-up resistor as shown in below picture.
Figure 2-19 Bootmode Switch Configuration
for SD Boot (From E2)
Figure 2-20 Bootmode Switch Configuration
for SD Boot (E1)The boot mode pins of the SoC have associated alternate functions during normal operation. Hence isolation is provided using Buffer IC’s to cater for alternate pin functionality. The output of the buffer is connected to the boot mode pins on the AM62x and the output is enabled when the boot mode 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 automation circuit. If the test automation circuit is going to control the boot mode, all the switches are manually set to the OFF position. Power the boot mode buffer with a power supply that is always ON so that the boot mode 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.
| Bit 15 | Bit 14 | Bit 13 | Bit 12 | Bit 11 | Bit 10 | Bit 9 | Bit 8 | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Reserved | Reserved | Backup Boot Mode Configuration | Backup Boot Mode | Primary Boot Mode Configuration | Primary Boot Mode | PLL Configuration | |||||||||
Table 2-21 gives details ON PLL reference clock selection.
| Bit 2 | Bit 1 | Bit 0 | 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 |
| Bit 6 | Bit 5 | Bit 4 | Bit 3 | 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 |
Table 2-23 provides backup boot mode selection details.
| Bit 12 | Bit 11 | Bit 10 | 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 |
Table 2-24 gives primary boot configuration details.
| SW2.2 (B9) | SW2.1 (B8) | SW1.8 (B7) | Primary Boot Mode | |||
|---|---|---|---|---|---|---|
| RVSD | Read Mode2 | 0: RSVD (Read mode is taken from Read Mode 1) | Read Mode1 | 0: OSPI/ 1-1-8 Mode (valid only when Read Mode 2 is 0) | Serial NAND | |
| 1: SPI/ 1-1-1 Mode (Read mode is taken from Read Mode 2 and Read Mode 1 is ignored) | 1: OSPI/ 1-1-4 Mode (valid only when Read Mode 2 is 0) | |||||
| RVSD | Iclk | 0: Iclock source external | Csel | 0: Boot Flash is on CS 0 | OSPI | |
| 1: Iclock source internal (pad loopback) | 1: Boot Flash is on CS 1 | |||||
| RVSD | Iclk | 0: Iclock source external | Csel | 0: Boot Flash is on CS 0 | QSPI | |
| 1: Iclock source internal (pad loopback) | 1: Boot Flash is on CS 1 | |||||
| RVSD | Mode | 0: SPI Mode 0 | Csel | 0: Boot Flash is on CS 0 | SPI | |
| 1: SPI Mode 3 | 1: Boot Flash is on CS 1 | |||||
| 0 | 0 | Link stat | 0: Phy scan used for speed/duplex setup | RGMII1 | ||
| 1: RGMII status register used for speed/ duplex setup | ||||||
| CLKOUT | 0: 50MHz clock not generated on CLKOUT0 | CLK SRC | 0: External clock source | 0 | RMII1 | |
| 1: 50MHz clock generated on CLKOUT0 | 1: Internal clock source | |||||
| Bus reset | 0: Hung bus reset try after 1ms | RSVD | Addr | 0: 0x50 | I2C0 | |
| 1: No hung Bus reset attempted | 1: 0x51 | |||||
| RSVD | RSVD | RSVD | UART0 | |||
| 1 | RSVD | Fs/Raw | 0: FileSystem Mode | MMC/SD Card | ||
| 1: Raw Mode | ||||||
| RSVD | RSVD | RSVD | eMMC | |||
| Core Volt | 0: 0.85V Core Voltage | Mode | 0: DFU(Device) | Lane Swap | 0: No swapping of DP/DM | USB |
| 1: 0.75V Core Voltage | 1: MSC(Host) | 1: DP/DM is swapped | ||||
| RSVD | RSVD | RSVD | GPMC NAND | |||
| RSVD | RSVD | RSVD | GPMC NOR | |||
| RSVD | RSVD | RSVD | RSVD | |||
| SFDP | 0: SFDP disabled | Read Cmd | 0: 0x0B Read Command | Mode | 0: 1S-1S-1S mode at 50MHz | xSPI |
| 1: SFDP enabled | 1: 0xEE Read Command | 1:8D-8D-8D mode at 25MHz | ||||
| RSVD | ARM/ Thumb | 0: ARM mode | No/Dev | 0: Development Boot | No-boot/Dev boot | |
| 1: Thumb mode | 1: No Boot | |||||
Table 2-25 provides backup boot configuration options.
| SW2.6 | (B13) | Backup Boot Mode | Defaulted Values for Back up Boot Mode |
|---|---|---|---|
| RSVD | None | ||
| Mode | 0: DFU (Device) | USB | Core Volt bit = 0 Lane Swap bit = 0 |
| 1: MSC(Host) | |||
| RSVD | RSVD | ||
| RSVD | UART | ||
| Interface | 0: RGMII with internal Delay | Ethernet | Link Stat bit = 0 (If RGMII) |
| 1: RGMII with external clock source | ClkOut bit= 0 and Clksrc bit = 1 (If RMII) | ||
| 1 | MMC | Mode bit = 0 | |
| RSVD | SPI | Csel bit = 0 Mode = 0 | |
| RSVD | I2C | Addr = 0 Bus Rest = 0 | |