SD Set Block Size

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English
Table 26-18:      SD Set Block Size

Task

SD{0, 1}
Registers

Register Field

Register Offset

Bits

Value

Check the present state register to make sure the bus is free.

reg_presentstate

presentstate_inhibitcmd, presentstate_inhibitdat, sdhcdmactrl_wrxferactive, sdhcdmactrl_rdxferactive

0x24

9:8 and 1:0

Read

Send block write command (CMD16) (see Table: SD CMD Transfer).

Read card-specific data in response.

reg_response0

command_response

0x10

15:0

Read

Set the block size.

reg_blocksize

xfer_blocksize

0x04

11:0

0x200