40.8.2 Block Size Register

Table 40-2. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: BSR
Offset: 0x04
Reset: 0x0000
Property: -

Bit 15141312111098 
  BOUNDARY[2:0]  BLKSIZE[9:8] 
Access ---R/WR/W 
Reset 00000 
Bit 76543210 
 BLKSIZE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 14:12 – BOUNDARY[2:0] SDMA Buffer Boundary

This field specifies the size of the contiguous buffer in the system memory. The SDMA transfer waits at every boundary specified by this field and the peripheral generates the DMA Interrupt to instruct the software to update SDHC_SSAR. If this field is set to 0 (buffer size = 4 Kbytes), the lowest 12 bits of SDHC_SSAR.ADDRESS point to data in the contiguous buffer, and the upper 20 bits point to the location of the buffer in the system memory. This function is active when the DMA Enable bit in the Transfer Mode Register (SDHC_TMR.DMAEN) is '1'.

ValueNameDescription
04K

4-Kbyte boundary

18K

8-Kbyte boundary

216K

16-Kbyte boundary

332K

32-Kbyte boundary

464K

64-Kbyte boundary

5128K

128-Kbyte boundary

6256k

256-Kbyte boundary

7512K

512-Kbyte boundary

Bits 9:0 – BLKSIZE[9:0] Transfer Block Size

This field specifies the block size of data transfers for CMD17, CMD18, CMD24, CMD25 and CMD53. Values ranging from 1 to SDMMC_MAX_BLOCK_SIZE can be set. It can be accessed only if no transaction is executing (i.e., after a transaction has stopped). Read operations during transfers may return an invalid value, and write operations are ignored.