16.20.3 NFC Status Register

Name: HSMC_SR
Offset: 0x008
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
        RB_EDGE0 
Access R 
Reset 0 
Bit 2322212019181716 
 NFCASEAWBUNDEFDTOE  CMDDONEXFRDONE 
Access RRRRRR 
Reset 000000 
Bit 15141312111098 
  NFCSID[2:0]NFCWR  NFCBUSY 
Access RRRRR 
Reset 00000 
Bit 76543210 
   RB_FALLRB_RISE   SMCSTS 
Access RRR 
Reset 000 

Bit 24 – RB_EDGE0 Ready/Busy Line 0 Edge Detected

If set to one, this flag indicates that an edge has been detected on the Ready/Busy Line 0. Depending on HSMC_CFG.EDGECTRL, only the rising or the falling edge is detected. This flag is reset after a Status Read operation.

Bit 23 – NFCASE NFC Access Size Error

If set to one, this flag indicates that an illegal access has been detected in the NFC Memory Area. Only Word access is allowed within the NFC memory area. This flag is reset after a Status Read operation.

Bit 22 – AWB Accessing While Busy

If set to one, this flag indicates that an AHB host has performed an access during the busy phase. This flag is reset after a Status Read operation.

Bit 21 – UNDEF Undefined Area Error

When set to one, this flag indicates that the processor performed an access in an undefined memory area. This flag is reset after a Status Read operation.

Bit 20 – DTOE Data Timeout Error

When set to one, this flag indicates that the data timeout set by DTOMUL and DTOCYC has been exceeded. This flag is reset after a Status Read operation.

Bit 17 – CMDDONE Command Done

When set to one, this flag indicates that the NFC has terminated the command. This flag is reset after a Status Read operation.

Bit 16 – XFRDONE NFC Data Transfer Terminated

When set to one, this flag indicates that the NFC has terminated the data transfer. This flag is reset after a Status Read operation.

Bits 14:12 – NFCSID[2:0] NFC Chip Select ID (this field cannot be reset)

When a command is issued, this field indicates the value of the targeted chip select.

Bit 11 – NFCWR NFC Write/Read Operation (this field cannot be reset)

When a command is issued, this field indicates the current Read or Write operation.

Bit 8 – NFCBUSY NFC Busy (this field cannot be reset)

When set to one, this flag indicates that the controller is activated and accesses the memory device.

Bit 5 – RB_FALL Selected Ready Busy Falling Edge Detected

When set to one, this flag indicates that a falling edge on the Ready/Busy Line has been detected. This flag is reset after a Status Read operation. The Ready/Busy line is selected through the decoding of field HSMC_SR.NFCSID.

Bit 4 – RB_RISE Selected Ready Busy Rising Edge Detected

When set to one, this flag indicates that a rising edge on the Ready/Busy Line has been detected. This flag is reset after a Status Read operation. The Ready/Busy line is selected through the decoding of field HSMC_SR.NFCSID.

Bit 0 – SMCSTS NAND Flash Controller Status (this field cannot be reset)

ValueDescription
0 The NAND Flash controller is disabled.
1 The NAND Flash controller is enabled.