The DMA buffer size in WinCE IMX ESDHC driver -blog archive

cancel
Showing results for 
Search instead for 
Did you mean: 

The DMA buffer size in WinCE IMX ESDHC driver -blog archive

286 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

    The ESDHC driver has no such limitation for DMA buffer size, for ADMA mode, the max buffer size is 64KB (This is not the once DMA transfer max size, ADMA can use chain to transfer more buffers in once DMA), we can reference to "Figure 20-31. Format of the Descriptor Table" in iMX35 reference manual, there are 16 bits "Data Length" in ADMA description.

    Reference to the WinCE SDBUS driver architecture, the DMA data buffers are alloced in SD device drivers (such as SD memory driver), not in ESDHC driver. The ESDHC driver will only fill the SD device driver's data buffer address and length into the ADMA descriptions, and only the DMA descriptions are alloced in ESDHC driver.

Tags (1)
0 Kudos
0 Replies