2 Replies Latest reply on Apr 21, 2014 5:32 PM by user_199038981

    UART Baud Rate

    user_199038981

      Hi,

         

      I'm programming the UART to do 921,600 baud and seem to be having issues with the upper nibble on values. The \r comes through fine but anything with ones in the upper nibble either gets shifted left or an extra binary one added.

         

      'l' should be 0x6C, is 0xCC

         

      '=' should be 0x3D, is 0x7D

         

      '1' should be 0x31, is 0x71.

         

      There is a warning about the UART_IntClock's accuracy not being within tolerance. I tried going from 16X over sampling back to 8X, which changed the clock's value but it still have the same value. Also tried 2 stop bits.

         

      Any ideas or known solutions?

         

      Nick