mpc8306 DMA for UART and CAN BUS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mpc8306 DMA for UART and CAN BUS

1,380件の閲覧回数
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,230件の閲覧回数
alexander_yakov
NXP Employee
NXP Employee

Which UART you are using - DUART or QE UART?

0 件の賞賛
返信

1,230件の閲覧回数
00lirui
Contributor I

DUART,  But can it work on QE UART?

0 件の賞賛
返信

1,230件の閲覧回数
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,230件の閲覧回数
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 件の賞賛
返信