mpc8306 DMA for UART and CAN BUS

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

mpc8306 DMA for UART and CAN BUS

1,384 Views
00lirui
Contributor I

Hello.

  Can I  take advantage of DMA  for UART receive and transfer data? Is there some code example for it ?

  thanks!

0 Kudos
Reply
4 Replies

1,234 Views
alexander_yakov
NXP Employee
NXP Employee

Which UART you are using - DUART or QE UART?

0 Kudos
Reply

1,234 Views
00lirui
Contributor I

DUART,  But can it work on QE UART?

0 Kudos
Reply

1,234 Views
Pavel
NXP Employee
NXP Employee

The main advantage of the DMA is that DMA and Core can access the SDRAM simultaneously. The DMA has the advantage that it can execute bursts on the bus.

It reduces utilization of the core.
See attached file. It is simple program example for DUART FIFO using on the MPC8349.
Similar code can be used on the MPC8306.
0 Kudos
Reply

1,234 Views
00lirui
Contributor I

Thank you,

But the code I can see is something about DUART FIFO,not take adantage of DMA.

Am I right?

0 Kudos
Reply