Tool/software:
Hi,
Can user call UART_write and UART_read for one UART port in different task when DMA is enabled?
It seems this will cause issue. Why?
Thanks,
Chris
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
Can user call UART_write and UART_read for one UART port in different task when DMA is enabled?
It seems this will cause issue. Why?
Thanks,
Chris
Hello Chris.
Are you calling the read and write in different tasks for the same UART port?
Sincerely,
Santosh
Hello Chris.
Let me look into this and provide an update by the end of the day tomorrow. It may be due to how the UART peripherals are configured as usually one UART port is reading and one UART port is writing for 6843, as opposed to both doing both like in 6432.
Sincerely,
Santosh
Hello Chris.
Just as a clarification, where are you trying to read and where are you trying to write? It would seem that they are already being called in different tasks, with UART_read being done in CLI and UART_writePolling in the transmitProcessedOutput.
Sincerely,
Santosh
Santosh,
I don't think UART_read and UART_writePolling have change to work at same time in TI demo. Customer used UART_write.
Thanks,
Chris
Can the customer try using writePolling as opposed to write? Also I would make sure that the baud rate for the logging UART is 921600.
Sincerely,
Santosh