title: Atmega8 UART not working with F_CPU 8MHz and baud rate 300
body: <p>i'm using atmega 8 with F_CPU set to 8MHz
  i made my code for using the UART, it's working fine so far, but i have a problem when i'm using 8MHz of F_CPU with a baud rate. it's working fine for baud rate 9600,and some other values down till about 600. i want to use a lower baud rate. but it doesn't seem to work, at least not on ISIS PROTEUS. i don't know what i'm doing wrong.
  the code works exactly the same with the other baud rate values just by changing that single #define and the baud rate in the virtual terminal in proteus.</p>
  
  <pre><code>#define F_CPU 8000000UL
  #define BAUD 600
  #define BAUDRATE (((F_CPU)/(BAUD*16UL))-1)
  </code></pre>
  
  <p>Am i the only one facing this problem? the baud rate 300 work with lower F_CPU like 2MHZ or 4MHZ. i want to use F_CPU 8 with baud rate 300, or even lower or possible.
  so, any suggestions?</p>