SPRABJ8D September 2022 – May 2025 AM2612 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
The following pins are configured in the device boot ROM to enable boot from the OSPI (or QSPI) flash device. These pins must be used in the connection between the AM263Px MCU and flash device.
| Package Name | Function Name | GPIO # | PinMux Mode # |
|---|---|---|---|
| QSPI0_CSn0 | QSPI0_CSn0 | 0 | 0 |
| QSPI0_CLK0 | QSPI0_CLK0 | 2 | 0 |
| QSPI0_D0 | QSPI0_D0 | 3 | 0 |
| QSPI0_D1 | QSPI0_D1 | 4 | 0 |
| QSPI0_D2 | QSPI0_D2 | 5 | 0 |
| QSPI0_D3 | QSPI0_D3 | 6 | 0 |
| MCAN0_RX | OSPI0_D4 | 7 | 2 |
| MCAN0_TX | OSPI0_D5 | 8 | 2 |
| MCAN1_RX | OSPI0_D6 | 9 | 2 |
| MCAN1_TX | OSPI0_D7 | 10 | 2 |
The AM263Px can reset an OSPI flash device using the dedicated OSPI0_RESET_OUT mux mode on GPIO20, GPIO66, or GPIO64. On the AM263Px controlCARD, the on-board OSPI flash reset signal is generated from the output of an AND gate with PORz and OSPI0_RESET_OUT0 as inputs. This method allows the flash device to be reset when the AM263Px device is power cycled, or through a software reset command.
Figure 6-6 AM263Px OSPI Reset SchemeFor the AM263Px SIP (Silicon-In-Package) device, the boot ROM configures the internal device pads connected to the on-die OSPI flash for boot.
| Package Name | Function Name | GPIO # | PinMux Mode # |
|---|---|---|---|
| QSPI0_CSn0(1) | QSPI0_CSn0 | 65 | 6 |
| QSPI0_CLK0(1) | QSPI0_CLK0 | 9 | 6 |
| QSPI0_D0(1) | QSPI0_D0 | 0 | 6 |
| QSPI0_D1(1) | QSPI0_D1 | 66 | 6 |
| QSPI0_D2(2) | QSPI0_D2 | 8 | 6 |
| QSPI0_D3(1) | QSPI0_D3 | 69 | 6 |
| MCAN0_RX(1) | OSPI0_D4 | 6 | 6 |
| MCAN0_TX(1) | OSPI0_D5 | 67 | 6 |
| MCAN1_RX(1) | OSPI0_D6 | 5 | 6 |
| MCAN1_TX(1) | OSPI0_D7 | 68 | 6 |
| GPIO7(1) | OSPI0_DQS | 7 | 6 |
| GPIO70(1) | OSPI0_ECC_FAIL | 70 | 6 |
| GPIO64(3) | OSPI0_RESET_OUT0 | 64 | 5 |
The AM263Px-SIP OSPI flash reset is generated using an open-drain version of PORz connected to the dedicated OSPI0_RESET_OUT0 pin configured by the device boot ROM. One method of implementing this is connecting the AM263Px-SIP PORz signal to the gate of a P-channel MOSFET, and connecting the source to the OSPI0_RESET_OUT0 (GPIO64) pin on the AM263Px-SIP MCU, with a 10kΩ pull-up resistor connected to this net. The drain of the P-channel MOSFET is to be connected to GND.