Kinetis UART: using DMA and ISR possible?

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

Kinetis UART: using DMA and ISR possible?

ソリューションへジャンプ
1,022件の閲覧回数
davenadler
Senior Contributor I

Kinetisis K64F. I'd like to send characters out the UART using DMA, and receive using an ISR. I configured a DMA channel to send to the UART (triggered from the URT TRE signal). I set TDMAS, which says "Configures the transmit data register empty flag, S1[TDRE], to generate interrupt or DMA requests if C2[TIE] is set". So I set TIE as well, but now I never get the DMA transfer, but the RX_TX ISR is called repeatedly...

Is it possible to send with DMA while receiving with an ISR? If so what bits need be set?

Thanks in advance for any help,
Best Regards, Dave

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 解決策
841件の閲覧回数
davenadler
Senior Contributor I

Yes, it works just fine if you set TDMAS as I intended and not TCDMAS as I typed the first time, aaarrggg...

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
842件の閲覧回数
davenadler
Senior Contributor I

Yes, it works just fine if you set TDMAS as I intended and not TCDMAS as I typed the first time, aaarrggg...

0 件の賞賛
返信