HSMCI_MR

HSMCI Mode Register

This register can only be written if the WPEN bit is cleared in the HSMCI Write Protection Mode Register.

  0x04 32 Read/Write 0x0  

HSMCI Mode Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
                CLKODD  
Access                   
Reset                0  
Bit  15 14 13 12 11 10 9 8  
    PADV FBYTE WRPROOF RDPROOF PWSDIV[2:0]  
Access                   
Reset    0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
  CLKDIV[7:0]  
Access                   
Reset  0 0 0 0 0 0 0 0  

Bits 7:0 – CLKDIV[7:0]: Clock Divider

Clock Divider

High Speed MultiMedia Card Interface clock (MCCK or HSMCI_CK) is Master Clock (MCK) divided by 2 × CLKDIV + CLKODD + 2.

Bits 10:8 – PWSDIV[2:0]: Power Saving Divider

Power Saving Divider

High Speed MultiMedia Card Interface clock is divided by 2(PWSDIV) + 1 when entering Power Saving Mode.

Warning: This value must be different from 0 before enabling the Power Save Mode in the HSMCI_CR (PWSEN bit).

Bit 11 – RDPROOF: Read Proof Enable

Read Proof Enable

Enabling Read Proof allows to stop the HSMCI Clock during read access if the internal FIFO is full. This will guarantee data integrity, not bandwidth.

ValueDescription
0

Disables Read Proof.

1

Enables Read Proof.

Bit 12 – WRPROOF: Write Proof Enable

Write Proof Enable

Enabling Write Proof allows to stop the HSMCI Clock during write access if the internal FIFO is full. This will guarantee data integrity, not bandwidth.

ValueDescription
0

Disables Write Proof.

1

Enables Write Proof.

Bit 13 – FBYTE: Force Byte Transfer

Force Byte Transfer

Enabling Force Byte Transfer allow byte transfers, so that transfer of blocks with a size different from modulo 4 can be supported.

Warning: BLKLEN value depends on FBYTE.
ValueDescription
0

Disables Force Byte Transfer.

1

Enables Force Byte Transfer.

Bit 14 – PADV: Padding Value

Padding Value

PADV may be only in manual transfer.

ValueDescription
0

0x00 value is used when padding data in write transfer.

1

0xFF value is used when padding data in write transfer.

Bit 16 – CLKODD: Clock divider is odd

Clock divider is odd

This bit is the least significant bit of the clock divider and indicates the clock divider parity.