RM0082
BS_Serial memory interface
Doc ID 018672 Rev 1
309/844
Note:
Interrupt request issued (IRQ9), will be the OR of the events enabled by WCIE and TFIE
fields (See the
Section 8.4: Interrupt connection table
in the VIC chapter).
15.8.5 SMI_SR
register
The SMI_SR (Status register) is a RO register which allows to retrieve the current status of
SMI. The SMI_SR bit assignments are given in
.
[10]
RSR
1’h0
RW
Read status register command.
Setting this bit, a read status register command is sent to
the memory bank selected by the BS field. Result from
memory is then loaded into the SMSR field of SMI_SR
register (
). The RSR bit is then directly
cleared by hardware as soon as the read status register
command has been successfully completed. A write of
1‘b0 has no effect.
[09]
WCIE
1’h0
RW
Write complete interrupt enable.
Setting this bit, it allows to enable the issue of an interrupt
request when write complete event occurs. This event also
results in setting the write complete flag (WCF) in the
SMI_SR register (
[08]
TFIE
1’h0
RW
Transfer finished interrupt enable
Setting this bit, it allows to enable the issue of an interrupt
request when software transfer complete event occurs.
This event also results in setting the transfer finished flag
(TFF) in the SMI_SR register (
[07]
SEND
1’h0
RW
Send command.
Setting this bit, the transfer to external memory starts
according to data format defined by both REC_LENGTH
and TRA_LENGTH fields of this register. A write of 1‘b0
has no effect.
Note: The WEN bit can be set by software (only if Software
mode is enabled), and it is cleared by hardware only.
[06:04]
REC_LEN
GTH
3’h0
RW
Reception length.
This 3 bit field is used to specify the number of bytes to be
received from external memory, following a send
command (setting SEND bit).
[03]
Reserved
-
-
Read: undefined. Write: should be zero.
[02:00]
TRA_LEN
GTH
3’h0
RW
Transmission length.
This 3 bit field is used to specify the number of bytes to be
transmitted to external memory, following a send
command (setting SEND bit).
Note: The REC_LENGTH and TRA_LENGTH fields must
be set by software, and their values are latched at the
beginning of software transfer.
Table 242.
SMI_CR2 register bit assignments (continued)
Bit
Name
Reset
value
Type
Description