For a new project in my company, i am using an FRDM-KV31F board and i am working with gcc and the KSDK 1.3 library, in order to gain time for the different tests that i need to perform.
I am transfering datas from two ADCs via an UART and a specific transfer protocol from my company, which RX frames doesn't have a fixed size.
However, as i need to transfer a lot of datas ( 2 ADCs, each >= 40 kHz), i therefore need to activate DMA on TX but not on RX (because the size of the frames received by the microcontroller can be variable).
I tried many things using the functions in the KSDK 1.3 library but i can't have something working. It seems that the UART_EDMA driver can only configure both TX and RX. I also tried to configure the UART with the UART driver and then to active one DMA channel but i didn't succeed.
Does anyone can give me a code example to do it with the KSDK 1.3 library functions ? or if not possible an other solution ?
Thanks in advance,