BS_Serial memory interface
RM0082
310/844
Doc ID 018672 Rev 1
Table 243.
SMI_SR register bit assignments
Bit
Name
Reset
value
Type
Description
[31:16]
Reserved
-
-
Read: undefined.
[15:14]
WM
2’h0
RO
Write mode for selected bank.
This 2 bit field report the write mode (
for the four supported memory banks. Each bit is associated
to a single bank (specifically the LSB, bit [12], refers to
Bank0). A bit is set in case related bank is in write mode,
that is, when a write enable command – opcode 8’h06 – is
sent to the relevant memory bank. Note: The WM field is not
cleared by instructions sent in software mode.
[13:12]
-
-
-
Not Used.
[11]
ERF1
1’h0
RO
Error flag 1: forbidden access.
This bit is used to issue error flags concerning access to
external memory. Specifically, if set ERF1 marks forbidden
access to memory, that is: read/write access requested on
disabled bank, read/write access requested in software
mode, or read requests in write burst mode (bit WBM set in
SMI_CR1 register,
[10]
ERF2
1’h0
RO
Error flag 2: forbidden Write request.
T
his bit is used to issue error flags concerning access to
external memory. Specifically, if set ERF2 marks specific
forbidden write request, that is: write requests when out of
write mode (bit WM cleared in this register for relevant
bank), size changed between two consecutive write
requests, or address is not incremented. Note: Setting
either ERF1 or ERF2, an ERROR response is sent back to
AHB master on HRESP.
[09]
WCF
1’h0
RO
Write complete flag.
This bit is set in case of write completion, that is when the
WIP bit of SMSR is set to 1‘b0 (stating the end of
programming). After a write instruction, a read status
register command (opcode 8’h05) is performed by
hardware.