Kinetis UART: using DMA and ISR possible?

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

Kinetis UART: using DMA and ISR possible?

Jump to solution
1,029 Views
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

Tags (1)
0 Kudos
Reply
1 Solution
848 Views
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...

View solution in original post

0 Kudos
Reply
1 Reply
849 Views
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 Kudos
Reply