Hi, Vinolzy
You can use DMA on either TX or RX but not both, in K64 both UARTs 4 and 5 have this restriction.
If you connect the source to a DMA channel with both RX and TX DMA triggers enabled either of them will trigger a DMA transfer, which means that RX will disturb TX and TX will disturb RX.
I think that you will need to decide on the direction to use DMA mode and use interrupt on the other.
UARTs: http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
I hope this information help you!.
Kind Regards