AnsweredAssumed Answered

how to use two dma

Question asked by Lijo Francis on Mar 26, 2015
Latest reply on Mar 30, 2015 by Adrian Cano

dear sir,

i am using K60 Tower board.i have uart communication both transmitting packets and receiving packets.

i coded for receving packet using dma with interrupt.I use channel 0 in dma0.receving packet comes in milli second

i have to transmit some bytes before i get receiving bytes.To ensure to get right packet bytes i use printf function.but the problem is that when i use printf function transmitting packet never goes.because may be crash with receiving packet.that i dont know when i remove printf working ok...but if the delay or some additional tasks that problem may be repeat.

how can i remove the problem

if i use dma for transmitting uart packets without interrupt,can i remove the problem

if i use two dma ,can use dma1 with channel 1?

actually i dont know when two dma with channel

tell me what i have to care when selecting two DMA....?