Hello,
Our customer use PGA900EVM and host to used the UART for debugging, the UART is not sent regularly, which is inconsistent with the description in datasheet.
According to the datasheet, whenever UART-TX-BUF is written data, PGA900 will automatically send data according to the baud rate and check bit configured by UARY-CONFIG function. When the TX is sent , bit 5 is set to 1 of the UART_LINE_STATUS register, and UART_TX_BUF is cleared when the data is written.
According to the program I wrote to send UART, I should only output ADC_BUFF[0] data during single -step debugging, because after the first send, TX_COMPLETE should set to be zero and cause the statement to fail and break out the loop. But in reality, single-step will output four different sets of data in sequence. The following is the continuous debugging screenshot:
During continuous debugging, the data received by the host though the UART completely irregular. TX transmission can be sent, but the timing sequence of data transmission doesn't seem to follow the predetermined program.
In addition, the TX_COMPLETE of UART_LINE_STATUS can only be read not written, and I can't manually set zero to change the sequence of the data sending, so where can I see the specific function of the TX sending in the UART to modify?
Best regards
kailyn