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,467 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
Reply
1 Solution
1,321 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
Reply
2 Replies
1,322 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
Reply
1,321 Views
w2vy
Contributor V

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

0 Kudos
Reply