SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4B30 0000 | Instance | QSPI |
Description | Revision register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REVISION |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | REVISION | IP Revision | R | TI Internal data |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4B30 0010 | Instance | QSPI |
Description | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | IDLE_MODE | RESERVED |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:4 | RESERVED | R | 0x2 | |
3:2 | IDLE_MODE | Configuration of the local target state management mode. By definition, target can handle read/write transaction as long as it is out of IDLE state. 0x0: Force-idle mode 0x1: No-idle mode 0x2: Smart-idle mode 0x3: Reserved. | RW | 0x2 |
1:0 | RESERVED | R | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4B30 0020 | Instance | QSPI |
Description | This register contains raw interrupt status flags. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | WIRQ_RAW | FIRQ_RAW |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | RW | 0x0 | |
1 | WIRQ_RAW | Word Interrupt Status. Read indicates the raw status. | RW | 0x0 |
Read: | ||||
0x0: No interrupt | ||||
0x1: Interrupt | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Sets this raw status bit | ||||
0 | FIRQ_RAW | Frame Interrupt Status. Read indicates the raw status. | RW | 0x0 |
Read: | ||||
0x0: No interrupt | ||||
0x1: Interrupt | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Sets this raw status bit |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0024 | ||
Physical Address | 0x4B30 0024 | Instance | QSPI |
Description | This register contains status flags of the enabled interrupts. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | WIRQ_ENA | FIRQ_ENA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | R | 0x0 | |
1 | WIRQ_ENA | Word Interrupt Enabled Status. Read indicates enabled status. | RW | 0x0 |
Read: | ||||
0x0: No interrupt | ||||
0x1: Interrupt | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Clears the word interrupt status flag. The corresponding raw status flag is also cleared. | ||||
0 | FIRQ_ENA | Frame Interrupt Enabled Status. Read indicates enabled status. | RW | 0x0 |
Read: | ||||
0x0: No interrupt | ||||
0x1: Interrupt | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Clears the frame interrupt status flag. The corresponding raw status flag is also cleared. |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4B30 0028 | Instance | QSPI |
Description | This register enables the interrupts. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | WIRQ_ENA_SET | FIRQ_ENA_SET |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | R | 0x0 | |
1 | WIRQ_ENA_SET | Word interrupt enable. | RW | 0x0 |
Read: | ||||
0x0: Word interrupt is disabled | ||||
0x1: Word interrupt enabled | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Enables the word interrupt | ||||
0 | FIRQ_ENA_SET | Frame interrupt enable. | RW | 0x0 |
Read: | ||||
0x0: Frame interrupt is disabled | ||||
0x1: Frame interrupt is enabled | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Enables the frame interrupt |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 002C | ||
Physical Address | 0x4B30 002C | Instance | QSPI |
Description | This register disables the interrupts. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | WIRQ_ENA_CLR | FIRQ_ENA_CLR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | R | 0x0 | |
1 | WIRQ_ENA_CLR | Word interrupt disable. | RW | 0x0 |
Read: | ||||
0x0: Word interrupt is disabled | ||||
0x1: Word interrupt is enabled | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Clears the word interrupt | ||||
0 | FIRQ_ENA_CLR | Frame interrupt disable. | RW | 0x0 |
Read: | ||||
0x0: Frame interrupt is disabled | ||||
0x1: Frame interrupt is enabled | ||||
Write: | ||||
0x0: Has no effect | ||||
0x1: Clears the frame interrupt |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4B30 0030 | Instance | QSPI |
Description | Software End-Of-Interrupt: Allows the generation of further pulses on the interrupt line, if a new interrupt event is pending, when using the pulsed output. Unused when using the level interrupt line (depending on module integration). | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EOI_VECTOR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | EOI_VECTOR | Number associated with the interrupt outputs. There is one interrupt output. Write 0x0 after servicing the interrupt to be able to generate another interrupt if pulse interrupts are used. Any other write value is ignored. | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0040 | ||
Physical Address | 0x4B30 0040 | Instance | QSPI |
Description | This register controls the external SPI clock generation. This register can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CLKEN | RESERVED | DCLK_DIV |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | CLKEN | External SPI clock (qspi1_sclk) enable. | RW | 0x0 |
0x0: The qspi1_sclk clock is turned off | ||||
0x1: The qspi1_sclk clock is enabled | ||||
30:16 | RESERVED | R | 0x0 | |
15:0 | DCLK_DIV | Divide ratio for the external SPI clock (qspi1_sclk) | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0044 | ||
Physical Address | 0x4B30 0044 | Instance | QSPI |
Description | This register controls the different modes for each output chip select. This register can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DD3 | CKPH3 | CSP3 | CKP3 | RESERVED | DD2 | CKPH2 | CSP2 | CKP2 | RESERVED | DD1 | CKPH1 | CSP1 | CKP1 | RESERVED | DD0 | CKPH0 | CSP0 | CKP0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:27 | DD3 | Data delay for chip select 3 0x0: Data is output on the same cycle as the qspi1_cs[3] goes active 0x1: Data is output 1 qspi1_sclk cycle after the qspi1_cs[3] goes active 0x2: Data is output 2 qspi1_sclk cycles after the qspi1_cs[3] goes active 0x3: Data is output 3 qspi1_sclk cycles after the qspi1_cs[3] goes active | RW | 0x0 |
26 | CKPH3 | Clock phase for chip select 3. If CKP3 = 0: 0x0: Data shifted out on falling edge; input on falling edge 0x1: Data shifted out on rising edge; input on rising edge If CKP3 = 1: 0x0: Data shifted out on rising edge; input on rising edge 0x1: Data shifted out on falling edge; input on falling edge | RW | 0x0 |
25 | CSP3 | Chip select polarity for chip select 3. | RW | 0x0 |
0x0: Active low | ||||
0x1: Active high | ||||
24 | CKP3 | Clock polarity for chip select 3. | RW | 0x0 |
0x0: When there are no data transfers the qspi1_sclk is '0' | ||||
0x1: When there are no data transfers the qspi1_sclk is '1' | ||||
23:21 | RESERVED | R | 0x0 | |
20:19 | DD2 | Data delay for chip select 2 0x0: Data is output on the same cycle as the qspi1_cs[2] goes active 0x1: Data is output 1 qspi1_sclk cycle after the qspi1_cs[2] goes active 0x2: Data is output 2 qspi1_sclk cycles after the qspi1_cs[2] goes active 0x3: Data is output 3 qspi1_sclk cycles after the qspi1_cs[2] goes active | RW | 0x0 |
18 | CKPH2 | Clock phase for chip select 2. If CKP2 = 0: 0x0: Data shifted out on falling edge; input on falling edge 0x1: Data shifted out on rising edge; input on rising edge If CKP2 = 1: 0x0: Data shifted out on rising edge; input on rising edge 0x1: Data shifted out on falling edge; input on falling edge | RW | 0x0 |
17 | CSP2 | Chip select polarity for chip select 2. | RW | 0x0 |
0x0: Active low | ||||
0x1: Active high | ||||
16 | CKP2 | Clock polarity for chip select 2. | RW | 0x0 |
0x0: When there are no data transfers the qspi1_sclk is '0' | ||||
0x1: When there are no data transfers the qspi1_sclk is '1' | ||||
15:13 | RESERVED | R | 0x0 | |
12:11 | DD1 | Data delay for chip select 1 0x0: Data is output on the same cycle as the qspi1_cs[1] goes active 0x1: Data is output 1 qspi1_sclk cycle after the qspi1_cs[1] goes active 0x2: Data is output 2 qspi1_sclk cycles after the qspi1_cs[1] goes active 0x3: Data is output 3 qspi1_sclk cycles after the qspi1_cs[1] goes active | RW | 0x0 |
10 | CKPH1 | Clock phase for chip select 1. If CKP1 = 0: 0x0: Data shifted out on falling edge; input on falling edge 0x1: Data shifted out on rising edge; input on rising edge If CKP1 = 1: 0x0: Data shifted out on rising edge; input on rising edge 0x1: Data shifted out on falling edge; input on falling edge | RW | 0x0 |
9 | CSP1 | Chip select polarity for chip select 1. | RW | 0x0 |
0x0: Active low | ||||
0x1: Active high | ||||
8 | CKP1 | Clock polarity for chip select 1. | RW | 0x0 |
0x0: When there are no data transfers the qspi1_sclk is '0' | ||||
0x1: When there are no data transfers the qspi1_sclk is '1' | ||||
7:5 | RESERVED | R | 0x0 | |
4:3 | DD0 | Data delay for chip select 0 0x0: Data is output on the same cycle as the qspi1_cs[0] goes active 0x1: Data is output 1 qspi1_sclk cycle after the qspi1_cs[0] goes active 0x2: Data is output 2 qspi1_sclk cycles after the qspi1_cs[0] goes active 0x3: Data is output 3 qspi1_sclk cycles after the qspi1_cs[0] goes active | RW | 0x0 |
2 | CKPH0 | Clock phase for chip select 0. If CKP0 = 0: 0x0: Data shifted out on falling edge; input on falling edge 0x1: Data shifted out on rising edge; input on rising edge If CKP0 = 1: 0x0: Data shifted out on rising edge; input on rising edge 0x1: Data shifted out on falling edge; input on falling edge | RW | 0x0 |
1 | CSP0 | Chip select polarity for chip select 0. | RW | 0x0 |
0x0: Active low | ||||
0x1: Active high | ||||
0 | CKP0 | Clock polarity for chip select 0. | RW | 0x0 |
0x0: When there are no data transfers the qspi1_sclk is '0' | ||||
0x1: When there are no data transfers the qspi1_sclk is '1' |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0048 | ||
Physical Address | 0x4B30 0048 | Instance | QSPI |
Description | This register sets up the SPI command. This register can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CSNUM | RESERVED | WLEN | CMD | FIRQ | WIRQ | RESERVED | FLEN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | RESERVED | R | 0x0 | |
29:28 | CSNUM | Device select. Sets the active chip select for the current transfer. 0x0: Chip Select 0 active 0x1: Chip Select 1 active 0x2: Chip Select 2 active 0x3: Chip Select 3 active | RW | 0x0 |
27:26 | RESERVED | R | 0x0 | |
25:19 | WLEN | Word length. Sets the size of the individual transfers from 1 to 128 bits. When a word length greater than 32 bits is configured, not only the QSPI_SPI_DATA_REG register, but also the QSPI_SPI_DATA_REG_1, QSPI_SPI_DATA_REG_2, QSPI_SPI_DATA_REG_3 are used. One or all of these registers are used depending on the length of words transferred. 0x0: 1 bit 0x1: 2 bits ... 0x7F: 128 bits | RW | 0x0 |
18:16 | CMD | Transfer command. 0x0: Reserved 0x1: 4-pin Read Single 0x2: 4-pin Write Single 0x3: 4-pin Read Dual 0x4: Reserved 0x5: 3-pin Read Single 0x6: 3-pin Write Single 0x7: 6-pin Read Quad | RW | 0x0 |
15 | FIRQ | Frame complete interrupt enable. | RW | 0x0 |
0x0: The interrupt is disabled | ||||
0x1: The interrupt is enabled | ||||
14 | WIRQ | Word complete interrupt enable | RW | 0x0 |
0x0: The interrupt is disabled | ||||
0x1: The interrupt is enabled | ||||
13:12 | RESERVED | R | 0x0 | |
11:0 | FLEN | Frame Length. 0x0: 1 word 0x1: 2 words ... 0xFFF: 4096 words | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 004C | ||
Physical Address | 0x4B30 004C | Instance | QSPI |
Description | This register contains indicators to allow the user to monitor the progression of a frame transfer. This register can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | WDCNT | RESERVED | FC | WC | BUSY |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:28 | RESERVED | R | 0x0 | |
27:16 | WDCNT | Word count. This field will reflect the 1-4096 words transferred | R | 0x0 |
15:3 | RESERVED | R | 0x0 | |
2 | FC | Frame complete. This bit is set after the transmision of all the requested words completes. This bit is reset when QSPI_SPI_STATUS_REG register is read. | R | 0x0 |
0x0: Transfer is not complete | ||||
0x1: Transfer is complete | ||||
1 | WC | Word complete. This bit is set after each word transfer completes. This bit is reset when QSPI_SPI_STATUS_REG register is read. | R | 0x0 |
0x0: Word transfer is not complete | ||||
0x1: Word transfer is complete | ||||
0 | BUSY | Busy bit. Active transfer in progress. This bit is only set during an active word transfer. Between words it is cleared. | R | 0x0 |
0x0: Idle | ||||
0x1: Busy |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0050 | ||
Physical Address | 0x4B30 0050 | Instance | QSPI |
Description | The data received in this register is shifted to the LSB position and the content of the register is shifted to the left. This register acts as the first 32-bit register of the 128-bit shift in/out register. This register is cleared between reads or writes and can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | DATA | Data register for read and write operations | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0054 | ||
Physical Address | 0x4B30 0054 | Instance | QSPI |
Description | This register contains the read/write command setup for the memory mapped protocol translator (effecting chip select 0 output). By default (reset), the device uses a write command of 2, read command of 3 and address bytes number of 3. This default covers most of the serial flash devices, but can be changed. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NUM_D_BITS | WCMD | RESERVED | READ_TYPE | NUM_D_BYTES | NUM_A_BYTES | RCMD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:24 | NUM_D_BITS | Number of dummy bits to use if NUM_D_BYTES = 0x0 | RW | 0x0 |
23:16 | WCMD | Write command | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | READ_TYPE | Determines if the read command is a single, dual or quad read mode command. 0x0: Normal read (all data input on qspi1_d[1]) 0x1: Dual read (odd bytes input on qspi1_d[1]; even bytes on qspi1_d[0]) 0x2: Normal read (all data input on qspi1_d[1]) 0x3: Quad read (uses also qspi1_d[2] and qspi1_d[3]) | RW | 0x0 |
11:10 | NUM_D_BYTES | Number of dummy bytes to be used for fast read. 0x0: No dummy bytes required. Use the value in NUM_D_BITS 0x1: Use 8 bits 0x2: Use 16 bits 0x3: Use 24 bits | RW | 0x0 |
9:8 | NUM_A_BYTES | Number of address bytes to be sent. 0x0: 1 byte 0x1: 2 bytes 0x2: 3 bytes 0x3: 4 bytes | RW | 0x2 |
7:0 | RCMD | Read Command | RW | 0x3 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0058 | ||
Physical Address | 0x4B30 0058 | Instance | QSPI |
Description | This register contains the read/write command setup for the memory mapped protocol translator (effecting chip select 1 output). By default (reset), the device uses a write command of 2, read command of 3 and address bytes number of 3. This default covers most of the serial flash devices, but can be changed. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NUM_D_BITS | WCMD | RESERVED | READ_TYPE | NUM_D_BYTES | NUM_A_BYTES | RCMD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:24 | NUM_D_BITS | Number of dummy bits to use if NUM_D_BYTES = 0x0 | RW | 0x0 |
23:16 | WCMD | Write command | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | READ_TYPE | Determines if the read command is a single, dual or quad read mode command. 0x0: Normal read (all data input on qspi1_d[1]) 0x1: Dual read (odd bytes input on qspi1_d[1]; even bytes on qspi1_d[0]) 0x2: Normal read (all data input on qspi1_d[1]) 0x3: Quad read (uses also qspi1_d[2] and qspi1_d[3]) | RW | 0x0 |
11:10 | NUM_D_BYTES | Number of dummy bytes to be used for fast read. 0x0: No dummy bytes required. Use the value in NUM_D_BITS 0x1: Use 8 bits 0x2: Use 16 bits 0x3: Use 24 bits | RW | 0x0 |
9:8 | NUM_A_BYTES | Number of address bytes to be sent. 0x0: 1 byte 0x1: 2 bytes 0x2: 3 bytes 0x3: 4 bytes | RW | 0x2 |
7:0 | RCMD | Read Command | RW | 0x3 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 005C | ||
Physical Address | 0x4B30 005C | Instance | QSPI |
Description | This register contains the read/write command setup for the memory mapped protocol translator (effecting chip select 2 output). By default (reset), the device uses a write command of 2, read command of 3 and address bytes number of 3. This default covers most of the serial flash devices, but can be changed. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NUM_D_BITS | WCMD | RESERVED | READ_TYPE | NUM_D_BYTES | NUM_A_BYTES | RCMD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:24 | NUM_D_BITS | Number of dummy bits to use if NUM_D_BYTES = 0x0 | RW | 0x0 |
23:16 | WCMD | Write command | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | READ_TYPE | Determines if the read command is a single, dual or quad read mode command. 0x0: Normal read (all data input on qspi1_d[1]) 0x1: Dual read (odd bytes input on qspi1_d[1]; even bytes on qspi1_d[0]) 0x2: Normal read (all data input on qspi1_d[1]) 0x3: Quad read (uses also qspi1_d[2] and qspi1_d[3]) | RW | 0x0 |
11:10 | NUM_D_BYTES | Number of dummy bytes to be used for fast read. 0x0: No dummy bytes required. Use the value in NUM_D_BITS 0x1: Use 8 bits 0x2: Use 16 bits 0x3: Use 24 bits | RW | 0x0 |
9:8 | NUM_A_BYTES | Number of address bytes to be sent. 0x0: 1 byte 0x1: 2 bytes 0x2: 3 bytes 0x3: 4 bytes | RW | 0x2 |
7:0 | RCMD | Read Command | RW | 0x3 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0060 | ||
Physical Address | 0x4B30 0060 | Instance | QSPI |
Description | This register contains the read/write command setup for the memory mapped protocol translator (effecting chip select 3 output). By default (reset), the device uses a write command of 2, read command of 3 and address bytes number of 3. This default covers most of the serial flash devices, but can be changed. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NUM_D_BITS | WCMD | RESERVED | READ_TYPE | NUM_D_BYTES | NUM_A_BYTES | RCMD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:24 | NUM_D_BITS | Number of dummy bits to use if NUM_D_BYTES = 0x0 | RW | 0x0 |
23:16 | WCMD | Write command | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | READ_TYPE | Determines if the read command is a single, dual or quad read mode command. 0x0: Normal read (all data input on qspi1_d[1]) 0x1: Dual read (odd bytes input on qspi1_d[1]; even bytes on qspi1_d[0]) 0x2: Normal read (all data input on qspi1_d[1]) 0x3: Quad read (uses also qspi1_d[2] and qspi1_d[3]) | RW | 0x0 |
11:10 | NUM_D_BYTES | Number of dummy bytes to be used for fast read. 0x0: No dummy bytes required. Use the value in NUM_D_BITS 0x1: Use 8 bits 0x2: Use 16 bits 0x3: Use 24 bits | RW | 0x0 |
9:8 | NUM_A_BYTES | Number of address bytes to be sent. 0x0: 1 byte 0x1: 2 bytes 0x2: 3 bytes 0x3: 4 bytes | RW | 0x2 |
7:0 | RCMD | Read Command | RW | 0x3 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0064 | ||
Physical Address | 0x4B30 0064 | Instance | QSPI |
Description | This register allows initiators to switch control of the SPI core port between the configuration port and the SFI translator. In addition, an interrupt enable field is defined which is used to enable or disable word complete interrupt generation in memory mapped mode. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MM_INT_EN | MMPT_S |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | R | 0x0 | |
1 | MM_INT_EN | Memory mapped mode interrupt enable. | RW | 0x0 |
0x0: Word complete interrupt is disabled during memory mapped operations | ||||
0x1: Word complete interrupt is enabled for memory mapped operations | ||||
0 | MMPT_S | MPT select. | RW | 0x0 |
0x0: Configuration port is selected to control the SPI_CORE. | ||||
0x1: SFI translator is selected to control the SPI_CORE. |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0068 | ||
Physical Address | 0x4B30 0068 | Instance | QSPI |
Description | The data received in this register is shifted to the LSB position and the content of the register is shifted to the left. This register acts as the second 32-bit register of the 128-bit shift in/out register. This register is cleared between reads or writes and can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | DATA | Data register for read and write operations | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 006C | ||
Physical Address | 0x4B30 006C | Instance | QSPI |
Description | The data received in this register is shifted to the LSB position and the content of the register is shifted to the left. This register acts as the third 32-bit register of the 128-bit shift in/out register. This register is cleared between reads or writes and can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | DATA | Data register for read and write operations | RW | 0x0 |
Quad Serial Peripheral Interface |
Address Offset | 0x0000 0070 | ||
Physical Address | 0x4B30 0070 | Instance | QSPI |
Description | The data received in this register is shifted to the LSB position and the content of the register is shifted to the left. This register acts as the fourth 32-bit register of the 128-bit shift in/out register. This register is cleared between reads or writes and can only be written when the QSPI module is not busy, as identified by the QSPI_SPI_STATUS_REG[0] BUSY bit. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | DATA | Data register for read and write operations | RW | 0x0 |
Quad Serial Peripheral Interface |