BS_Serial memory interface
RM0082
306/844
Doc ID 018672 Rev 1
15.8 Programming
model
15.8.1 External
pin
connection
The SMI can be fully configured by programming a set of 32 bit wide registers (listed in
) which can be accessed at the base address 0xFC00_0000
Note:
All transfer to and from these registers must be 32 bit wide only. Any attempt to access with
a different size will result an ERROR response.
15.8.2 Register
description
15.8.3 SMI_CR1
register
The SMI_CR1 (control register 1) is a RW register which is able (together with coupled
SMI_CR2,
) to configure the behavior of SMI. The SMI_CR1 bit assignments
Table 239.
External pin connection
Signal
Ball
SMI_DATAIN
M13
SMI_DATAOUT
M14
SMI_CLK
N17
SMI_CS_0
M15
SMI_CS_1
M16
Table 240.
SMI registers summary
Name
Offset
Reset value
Description
SMI_CR1
0x000
32’h51
SMI control register 1.
SMI_CR2
0x004
32’h0
SMI control register 2.
SMI_SR
0x008
32’h0
SMI status register.
SMI_TR
0x00C
32’h0
SMI transmit register.
SMI_RR
0x010
32’h0
SMI receive register.
Table 241.
SMI_CR1 register bit assignments
Bit
Name
Reset
value
Type
Description
[31:30]
Reserved -
-
Read: undefined. Write: should be zero.
[29]
WBM
1’h0
RW
Write burst mode.
Setting this bit, the write burst mode is enabled and
selected external memory device remains active after an
AHB write request. In contrast (bit cleared, default),
selected memory device is released.