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.

PGA900: The highest baud rate of PGA900's uart

Part Number: PGA900


line 52 to line 56 is in PGA900's FIRMWARE.The highest baud rate is 19200.

And I tried to raise the baud rate of uart to 115200, I add the code in line57.

But the uart communication seems work not well.

So I wonder the highest baud rate of PGA90's uart is 19200 which is TI suggested?

  • Hello,

    What errors do you seem to have with the UART in this configuration? The error status of the UART communication is stored in the UART_LINE_STATUS register. There are several bits which will be high depending on the type of UART error that is occurring. Please let me know which bits are high when you attempt to communicate in this configuration.

    Regards,

    Scott

  • The picture above showed my code about UART communication.

    The PADC data is stored in ADC_BUFF_P,and transmitted by UART_TX_BUF. Each time the data has been transmitted by UART_TX_BUF, I use UART_LINE_STATUS register BIT4 to judge whether the data has been transmitted.

    When ADC_BUFF_P[1] and ADC_BUFF_P[0] have been transmitted, UART transmitt 0x00 to seperate the data as a tag.

    In 9600 baud rate, this work well. As shown in picture, the data structure is 0XAA 0XAA 0X00 0XAA 0XAA 0X00(here 0XAA means PADC_DATA), the transmitt go well.

    In 115200, this data structure has been ruined. I don't know why, but it shows uart didn't work correctly in 115200 baud rate.

  • Hello,

    Could you please share some scope captures of the UART transmissions and read from the UART_LINE_STATUS register? This will help determine what part of the communication is having trouble.


    Thank you,
    Scott