lpc176x SPI-DMA SD-card access

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

lpc176x SPI-DMA SD-card access

1,351件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dill on Wed Jun 20 05:01:27 MST 2012
Hello,

is it possible to access a SD-card via SPI using DMA on lpc1768?
Is there any example code available?

Thanks!
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,204件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wmues on Fri Aug 24 00:51:18 MST 2012
Using DMA via SPI for SD-cards is a very difficult thing.

For many SD-cards, you need to do bitwise shifting of incomming data for each response pattern and for each start of data block.

Due to the synchronous nature of the SD card SPI protocol, you will need CPU power for each response and for each start and end of a data block. So DMA will give NO better results than polling with the CPU.

Just my 2 cents.
0 件の賞賛
返信

1,204件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by solsal on Thu Aug 23 15:04:31 MST 2012
hi there

this is my question too:

is it possible to access a SD-card via SPI using DMA on lpc1768?
Is there any example code available?

regards
0 件の賞賛
返信