SPRUJA1 October 2023
The boot mode for the AM62x SIP 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 SIP 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 weak 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 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 SIP 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 bootmode, then all the switches are manually set to the OFF position. The boot mode buffer is powered by an always ON power supply to make sure 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.
Bit15 | Bit14 | Bit13 | Bit12 | Bit11 | Bit10 | Bit9 | Bit8 | Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Reserved | Reserved | Backup boot mode configuration | Backup boot mode | Primary boot mode configuration | Primary boot mode | PLLConfiguration |
The table below gives details of 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 |
The table below provides primary boot device selection details.
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 | Noboot/Dev Boot |
The below table provides backup boot mode selection details.
Bit 12 | Bit 11 | Bit 10 | Backup Boot Device Selected |
---|---|---|---|
OFF | ON | 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 |
The table below gives primary boot media configuration details.
Bit 9 | Bit 8 | Bit 7 | Boot Device |
---|---|---|---|
Reserved | Read Mode 2 | Read Mode 1 | Serial NAND |
Speed | Iclk | Csel | OSPI |
Reserved | Iclk | Csel | QSPI |
Reserved | Mode | Csel | SPI |
Clkout | Delay | Link Stat | Ethernet RGMII |
Clkout | Clksrc | Reserved | Ethernet RMII |
BusReset | Reserved | Addr | I2C |
Reserved | Reserved | UART | |
Port | Reserved | Fs/raw | MMC/ SD card |
Reserved | Voltage | eMMC | |
Reserved | Mode | Lane Swap | USB0 |
Reserved | GPMC NAND | ||
Reserved | GPMC NOR | ||
Reserved | Reserved | ||
SFDP | Read Cmd | Mode | xSPI |
Reserved | No/Dev | Noboot/Dev Boot |
The table below provides backup boot media configuration options.
Bit 13 | Boot Device |
---|---|
Reserved | None |
Mode | USB |
Reserved | Reserved |
Reserved | UART |
IF | Ethernet |
Port | MMC/SD |
Reserved | SPI |
Reserved | I2C |