MPC8313 (QUICC II) and DMA for SPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC8313 (QUICC II) and DMA for SPI

跳至解决方案
1,196 次查看
w2vy
Contributor V

Is it possible to use the DMA/Message Unit and maybe Sequencer to provide DMA for the SPI port?

And as always pointers to any examples would be awesome!

Tom

标记 (3)
0 项奖励
1 解答
1,050 次查看
r8070z
NXP Employee
NXP Employee

It is impossible to use the DMA/Message Unit to provide DMA for the SPI port.

We can program the MPC8313 DMA controller to write (read) character to the SPITD (from SPIRD) but there is no way to synchronize DMA and SPI port data rates. The MPC8313 SPI controller has very shallow FIFO (2 characters only). So it is more effective when core checks for the SPI NE/NF events and write/read characters to/from SPI data registers.

在原帖中查看解决方案

0 项奖励
2 回复数
1,051 次查看
r8070z
NXP Employee
NXP Employee

It is impossible to use the DMA/Message Unit to provide DMA for the SPI port.

We can program the MPC8313 DMA controller to write (read) character to the SPITD (from SPIRD) but there is no way to synchronize DMA and SPI port data rates. The MPC8313 SPI controller has very shallow FIFO (2 characters only). So it is more effective when core checks for the SPI NE/NF events and write/read characters to/from SPI data registers.

0 项奖励
1,050 次查看
w2vy
Contributor V

That's too bad. I am trying to use it as a SPI slave...

0 项奖励