title: Uart higher BaudRate problems in Raspberry Pi
body: <p>Any idea why my native C application can't reach higher baudrates than 38400?
  I have exactly the same application which i successfully initialize to listen and transmit on 9600, 19200, 38400 baudes. However as soon as i set up for 57600 i get garabage out of the transmitter(receiver i don't know). I'm listening to it with a terminal so i see the garbage directly from pin header.</p>
  
  <p>I use Raspbian and uart on Pin 14 and 15 of the GPIO header.   </p>
  
  <p>Is there any adjustment of some precission fraction which causes the problem?</p>
  
  <p>Right now i just do this (and it works):
      cfsetispeed(&amp;options,B38400);
      cfsetospeed(&amp;options,B38400);
      tcsetattr(uart0_filestream, TCSANOW, &amp;options);
      fcntl(uart0_filestream, F_SETFL,O_NDELAY);</p>
  
  <p>TX part:
      int a = write(uart0_filestream, StartOfTheMessage, Length);  </p>
  
  <p>Thank you.</p>