Other Parts Discussed in Thread: SYSCONFIG
Hi.,
I am using the SDK mcu_plus_sdk_am263x_08_06_00_34, I Config the 3 UART Channel only Tx Mode. I transfer the Data for 3 UART at a same Time. But the UART Transmission didn't start at the same Time.
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.
Hi.,
I am using the SDK mcu_plus_sdk_am263x_08_06_00_34, I Config the 3 UART Channel only Tx Mode. I transfer the Data for 3 UART at a same Time. But the UART Transmission didn't start at the same Time.
Hi,
It is expected.
If you run the code in one core, the CPU core only executes a single instruction at any given instant. The CPU needs to writes data to each UART TX data buffer. After the data is written to TX data buffer, the data is transferred to the shift register if the shift register is empty, then data is transmitted to UART TX pin.
As far as I know, there is no mechanism to sync or trigger the transmit of several UART modules.
Ok My Requirement in i need to sent the Data at Sync in UART How to Handle that in Code
Hi Wang,
Thank you for your reply.
Our purpose is not to have a HW SYNC for between the UART channels, we are trying to minimise the drift between the channels. is it possible that we load the individual UART FIFO at once and then trigger the transmission of all 3 Uart channels ? or the transmission happens automatically once data is loaded to the FIFO?
BR
Bikash
Hi Bikash,
The data is transmitted automatically when the TX FIFO reaches its threshold.
As far as I know, there is no mechanism to sync or trigger the transmit of several UART modules.
Not in software but perhaps we could use hardware flow control. Connect a GPIO pin to two or more UART CTS inputs. When we want to trigger two UARTs together, then we output 0 on the single GPIO pin.
FIFO Size is Set to 64 . I use the UART_putChar able to sent the data more than 64 Char.
Could you Clarify the TX FIFO threshold in that case. For My Guess the FIFO is Just for Validation Purpose.
The trigger levels (Tx and RX) are selected from UAR configure window of sysconfig GUI.
Generated code"