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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

744件の閲覧回数
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.

タグ(1)
0 件の賞賛
返信
0 返答(返信)