mpc8306 DMA for UART and CAN BUS

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

mpc8306 DMA for UART and CAN BUS

1,377 次查看
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 项奖励
回复
4 回复数

1,227 次查看
alexander_yakov
NXP Employee
NXP Employee

Which UART you are using - DUART or QE UART?

0 项奖励
回复

1,227 次查看
00lirui
Contributor I

DUART,  But can it work on QE UART?

0 项奖励
回复

1,227 次查看
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 项奖励
回复

1,227 次查看
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 项奖励
回复