SPRABJ8D September 2022 – May 2025 AM2612 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
The OSPI Flash memory interface is the primary bootloader memory location for the AM263Px and AM261x MCUs, and the QSPI Flash memory interface is the primary bootloader memory location for the AM263x MCU. For a full description of boot ROM execution, including OSPI and QSPI boot information, see the device specific AM26x Technical Reference Manual. The correct OSPI and QSPI pins configured by the AM26x boot ROM are connected to the flash memory device if the intention is to boot from the flash.. Refer to Section 6.1 for additional details
The excerpt from Figure 6-1 shows the implementation of the QSPI NOR flash interface from the LP-AM263 design.
Figure 6-1 Example AM263x QSPI Controller
and NOR Flash Memory Schematic The excerpt from Figure 6-2 shows the implementation of the OSPI NOR flash interface on the TMDSCNCD263P AM263Px controlCARD design.
Figure 6-2 Example AM263Px OSPI
Controller and NOR Flash Memory Schematic To control OSPI and QSPI bus transition overshoot and undershoot, include 22Ω series termination resistors close to the OSPI and QSPI memory pins. The OSPI_D[7:1] and QSPI_D[3:1] bits of the interface are used as a read interface and series termination resistors are used at the memory side of the bus. OSPI and QSPI_D0 can benefit from termination resistors at both the MCU side and the OSPI and QSPI memory side of the bus when used as both a single-mode write and part of single-mode and octal and quad-mode reads. However, placement of additional termination on both sides of this bus can be difficult to achieve from a PCB floor-planning perspective. The termination scheme presented here must be used as a minimum recommendation.
AM263x, AM263Px, and AM261x ZCZ package devices are only capable of 3.3V-IO flash.
AM261x ZFG, ZEJ, ZNC are capable of operating flash in the 3.3V and 1.8V-IO domains. The flash IO level is set by supplying the corresponding power nets with the proper IO voltage - 3.3V or 1.8V:
| Power Rail | Device Power Net | Corresponding OSPI Peripheral |
|---|---|---|
| VDDSHV_D | FLASH0 | OSPI0 |
| VDDSHV_E | FLASH1 | OSPI1 |
For example, if the OSPI device connected to OSPI0 operates at 1.8V logic, then connect a 1.8V to the VDDSHV_D pins on the AM261x device. If OSPI1 operates at 3.3V logic, then connect a 3.3V supply to the VDDSHV_E pins on the AM261x device.
Pull resistors are also necessary on the QSPI clock, chip-select, reset and data lines. Different OSPI/QSPI memories can have different pull-up/down requirements depending on the specific memory and application requirements. These pull resistor recommendations are based on the implementation of the S25FL128x memory used on the LP-AM263 design. To confirm all pin memory configuration details, see the device-specific QSPI Flash memory data sheet. Include the following pull resistors on the QSPI signals:
Different OSPI memories have different pull-up and pull-down requirements depending on the specific memory and application requirements. These pull resistor recommendations are based on the implementation of the IS25LX256x memory used on the TMDSCNCD263P design. To confirm all pin memory configuration details, see the device specific OSPI Flash memory data sheet. Include the following pull resistors on the OSPI signals:
Stronger pull-up resistors are used to disable write-protect and hold modes by default. Weaker pull-up resistors are used to keep the lines at valid logic levels between transactions. Pull resistors must be placed close to the OSPI and QSPI memory pins to prevent any additional routing stubs from being formed.
Figure 6-3 Excerpt From LP-AM263
Launchpad Layout – Highlighting SOP0/QSPI_D0 Path and SOP Isolation
ResistorAdditional routing guidelines for the QSPI memory interface are provided in Figure 6-4 and Table 6-2. These must be used as maximum routing delay and skew match limits. The QSPI memory must be placed close to the AM26x BGA footprint as possible. This allows for routing that maximizes the delay margins and skew margins and minimizes transmission-line effects.
Additional routing guidelines for the OSPI memory interface are provided in Figure 6-5 and Table 6-3. These are used as maximum routing delay and skew match limits. The OSPI memory must be placed close to the AM263Px and AM261x BGA footprint as possible. This allows for routing that maximizes the delay margins and skew margins and minimizes transmission-line effects.
Figure 6-5 AM263Px. AM261x OSPI - Routing
Rules Diagram| Spec No. | Specification | Value | Unit |
|---|---|---|---|
| 1 | QSPI_CLK, QSPI_CS0, QSPI_D[3:0] maximum delay | 450 | ps |
| 2 | QSPI_CLK to QSPI_D[3:0] maximum skew | 50 | ps |
| 3 | Approximate maximum routing distances | 3214 | mils |
| 4 | Approximate maximum routing skew | 357 | mils |
| 5 | A series termination resistor (R1 in diagram above) must be placed close to the QSPI_CLK transmit pin of the AM263x, AM263Px, AM261x to control rise-time and reflections of the clock line. | Variable, 0 to 40 | Ω |
| 6 | A series termination resistor (R2 in diagram above) must be placed close to the QSPI data pins of the attached memory to control rise-time and reflections of the data lines. | Variable, 0 to 40 | Ω |
| Spec No. | Specification | Value | Unit |
|---|---|---|---|
| 1 | OSPI_CLK, OSPI_CS0, OSPI_D[7:0] maximum delay (1) | 450 | ps |
| 2 | OSPI_CLK to OSPI_D[7:0] and OSPI_CSn maximum skew | 60 | ps |
| 3 | OSPI_CLK to OSPI_DQS maximum skew | 30 | ps |
| 4 | Approximate maximum routing distances (1) | 3214 | mils |
| 5 | OSPI_CLK to OSPI_D[7:0] and OSPI_CSn approximate maximum routing skew | 429 | mils |
| 6 | OSPI_CLK to OSPI_DQS approximate maximum routing skew | 214 | mils |
| 7 | A series termination resistor (R1 in diagram above) must be placed close to the OSPI_CLK transmit pin of the AM263Px to control rise-time and reflections of the clock line. | Variable, 0 to 40 | Ω |
| 8 | Series termination resistor must be placed close to the OSPI data pins of the attached memory and the AM263Px device to control rise-time and reflections of the data lines. | Variable, 0 to 40 | Ω |