Amit Mehta

Kinetis K24 UART DMA issue

Discussion created by Amit Mehta on Feb 12, 2018

i have configured two DMA channels for UART receive and transmit. UART is connected to half duplex RS485 communication. K24 keeps on sending appx 60 bytes of data on RS485 line every 125ms. When there is some event on secondary controller that controller sends 8 bytes of data to K24, but after some time K24 UART transmitter is getting stuck and receiver part seems to be working fine. i am not able to send data on RS485. I have to reset UART and DMA each time it get stuck.