MPC8313 (QUICC II) and DMA for SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8313 (QUICC II) and DMA for SPI

Jump to solution
1,087 Views
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

Tags (3)
0 Kudos
1 Solution
941 Views
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.

View solution in original post

0 Kudos
2 Replies
942 Views
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 Kudos
941 Views
w2vy
Contributor V

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

0 Kudos