SPRUJC6A December 2024 – July 2025 AM2752-Q1 , AM2754-Q1
Octal-SPI Configuration Register
Return to Summary Table
| Instance Name | Physical Address |
|---|---|
| FSS0 | 0FC4 0000h |
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| IDLE_FLD | DUAL_BYTE_OPCODE_EN_FLD | CRC_ENABLE_FLD | CONFIG_RESV2_FLD | PIPELINE_PHY_FLD | ENABLE_DTR_PROTOCOL_FLD | ||
| R | R/W | R/W | R | R/W | R/W | ||
| 1h | 0h | 0h | 0h | 0h | 0h | ||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ENABLE_AHB_DECODER_FLD | MSTR_BAUD_DIV_FLD | ENTER_XIP_MODE_IMM_FLD | ENTER_XIP_MODE_FLD | ENB_AHB_ADDR_REMAP_FLD | |||
| R/W | R/W | R/W | R/W | R/W | |||
| 0h | Fh | 0h | 0h | 0h | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| ENB_DMA_IF_FLD | WR_PROT_FLASH_FLD | PERIPH_CS_LINES_FLD | PERIPH_SEL_DEC_FLD | ENB_LEGACY_IP_MODE_FLD | |||
| R/W | R/W | R/W | R/W | R/W | |||
| 0h | 0h | 0h | 0h | 0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ENB_DIR_ACC_CTLR_FLD | RESET_CFG_FLD | RESET_PIN_FLD | HOLD_PIN_FLD | PHY_MODE_ENABLE_FLD | SEL_CLK_PHASE_FLD | SEL_CLK_POL_FLD | ENB_SPI_FLD |
| R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W |
| 1h | 0h | 0h | 0h | 0h | 0h | 0h | 1h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | IDLE_FLD | R | 1h | Serial interface and low level SPI pipeline is IDLE: This is a STATUS read-only bit. Note this is a retimed signal, so there will be some inherent delay on the generation of this status signal. |
| 30 | DUAL_BYTE_OPCODE_EN_FLD | R/W | 0h | Dual-byte Opcode Mode enable bit This bit is to be set in case the target Flash Device supports dual byte opcode [i.e. Macronix MX25]. It is applicable for Octal I/O Mode or Protocol only so should be set back to low if the device is configured to work in another SPI Mode. If enabled, the supplementing bytes are taken from Opcode Extension Register [Lower] and from Opcode Extension Register [Upper]. |
| 29 | CRC_ENABLE_FLD | R/W | 0h | CRC enable bit This bit is to be set in case the target Flash Device supports CRC [Macronix MX25]. It is applicable for Octal DDR Protocol only so should be set back to low if the device is configured to work in another SPI Mode. |
| 28:26 | CONFIG_RESV2_FLD | R | 0h | Reserved |
| 25 | PIPELINE_PHY_FLD | R/W | 0h | Pipeline PHY Mode enable: This bit is relevant only for configuration with PHY Module. It should be asserted to 1 between consecutive PHY pipeline reads transfers and de-asserted to 0 otherwise. |
| 24 | ENABLE_DTR_PROTOCOL_FLD | R/W | 0h | Enable DTR Protocol: This bit should be set if device is configured to work in DTR protocol. |
| 23 | ENABLE_AHB_DECODER_FLD | R/W | 0h | Enable AHB Decoder: Value=0 : Active target is selected based on Peripheral Chip Select Lines [bits [13:10]]. Value=1 Active target is selected based on actual AHB address [the partition for each device is calculated with respect to bits [28:21] of Device Size Configuration Register] |
| 22:19 | MSTR_BAUD_DIV_FLD | R/W | Fh | Initiator Mode Baud Rate Divisor: SPI baud rate = [initiator reference clock] baud_rate_divisor |
| 18 | ENTER_XIP_MODE_IMM_FLD | R/W | 0h | Enter XIP Mode immediately: Value=0 : If XIP is enabled, then setting to 0 will cause the controller to exit XIP mode on the next READ instruction. Value=1 : Operate the device in XIP mode immediately Use this register when the external device wakes up in XIP mode [as per the contents of its non- volatile configuration register]. The controller will assume the next READ instruction will be passed to the device as an XIP instruction, and therefore will not require the READ opcode to be transferred. Note: To exit XIP mode, this bit should be set to 0. This will take effect in the attached device only after the next READ instruction is executed. Software therefore should ensure that at least one READ instruction is requested after resetting this bit in order to be sure that XIP mode is exited. |
| 17 | ENTER_XIP_MODE_FLD | R/W | 0h | Enter XIP Mode on next READ: Value=0 : If XIP is enabled, then setting to 0 will cause the controller to exit XIP mode on the next READ instruction. Value=1 : If XIP is disabled, then setting to ?1? will inform the controller that the device is ready to enter XIP on the next READ instruction. The controller will therefore send the appropriate command sequence, including mode bits to cause the device to enter XIP mode. Use this register after the controller has ensured the FLASH device has been configured to be ready to enter XIP mode. Note : To exit XIP mode, this bit should be set to 0. This will take effect in the attached device only AFTER the next READ instruction is executed. Software should therefore ensure that at least one READ instruction is requested after resetting this bit before it can be sure XIP mode in the device is exited. |
| 16 | ENB_AHB_ADDR_REMAP_FLD | R/W | 0h | Enable AHB Address Re-mapping: [Direct Access Mode Only] When set to 1, the incoming AHB address will be adapted and sent to the FLASH device as [address + N], where N is the value stored in the remap address register. |
| 15 | ENB_DMA_IF_FLD | R/W | 0h | Enable DMA Peripheral Interface: Set to 1 to enable the DMA handshaking logic. When enabled the controller will trigger DMA transfer requests via the DMA peripheral interface. Set to 0 to disable |
| 14 | WR_PROT_FLASH_FLD | R/W | 0h | Write Protect Flash Pin: Set to drive the Write Protect pin of the FLASH device. This is resynchronized to the generated memory clock as necessary. |
| 13:10 | PERIPH_CS_LINES_FLD | R/W | 0h | Peripheral Chip Select Lines: Peripheral chip select lines If pdec = 0, ss[3:0] are output thus: ss[3:0] n_ss_out[3:0] xxx0 1110 xx01 1101 x011 1011 0111 0111 1111 1111 [no peripheral selected] else ss[3:0] directly drives n_ss_out[3:0] |
| 9 | PERIPH_SEL_DEC_FLD | R/W | 0h | Peripheral select decode: 0 : only 1 of 4 selects n_ss_out[3:0] is active 1 : allow external 4-to-16 decode [n_ss_out = ss] |
| 8 | ENB_LEGACY_IP_MODE_FLD | R/W | 0h | Legacy IP Mode Enable: 0 : Use Direct Access Controller/Indirect Access Controller 1 : legacy Mode is enabled. In this mode, any write to the controller via the AHB interface is serialized and sent to the FLASH device. Any valid AHB read will pop the internal RX-FIFO, retrieving data that was forwarded by the external FLASH device on the SPI lines,4,2 or 1 byte transfers are permitted and controlled via the HSIZE input. |
| 7 | ENB_DIR_ACC_CTLR_FLD | R/W | 1h | Enable Direct Access Controller: 0 : disable the Direct Access Controller once current transfer of the data word [FF_W] is complete. 1 : enable the Direct Access Controller When the Direct Access Controller and Indirect Access Controller are both disabled, all AHB requested are completed with an error response. |
| 6 | RESET_CFG_FLD | R/W | 0h | RESET pin configuration: 0 = RESET feature on DQ3 pin of the device 1 = RESET feature on dedicated pin of the device [controlling of 5th bit influences on reset_out output] |
| 5 | RESET_PIN_FLD | R/W | 0h | Set to drive the RESET pin of the FLASH device and reset for de-activation of the RESET pin feature |
| 4 | HOLD_PIN_FLD | R/W | 0h | Set to drive the HOLD pin of the FLASH device and reset for de-activation of the HOLD pin feature |
| 3 | PHY_MODE_ENABLE_FLD | R/W | 0h | PHY mode enable: When enabled, the controller is informed that PHY Module is to be used for handling SPI transfers. This bit is relevant only for configuration with PHY Module. |
| 2 | SEL_CLK_PHASE_FLD | R/W | 0h | Select Clock Phase: Selects whether the clock is in an active or inactive phase outside the SPI word. 0 : the SPI clock is active outside the word 1 : the SPI clock is inactive outside the word |
| 1 | SEL_CLK_POL_FLD | R/W | 0h | Clock polarity outside SPI word: 0 : the SPI clock is quiescent low 1 : the SPI clock is quiescent high |
| 0 | ENB_SPI_FLD | R/W | 1h | Octal-SPI Enable: 0 : disable the Octal-SPI, once current transfer of the data word [FF_W] is complete. 1 : enable the Octal-SPI, when spi_enable = 0, all output enables are inactive and all pins are set to input mode. |