Frosty_47
New Member
Hello,
My lab requires me to set the baud rate to 4800 using 12Mhz crystal. I just don't see how this is possible because 12Mhz/12/32 = 31250 divide that by 4800 and you get 6.5104. How on earth am I supposed program timer 1 with that value?
Unbelivably, this question was on the final exam that I wrote today. The closest value I can get to 4800 Baud with 12Mhz crystal is 5208. Is there something I might have missed in class? Is there some sort of trick for this ?
The only way I know to get 4800 Baud is to use Xtal of 11.0592Mhz...
My lab requires me to set the baud rate to 4800 using 12Mhz crystal. I just don't see how this is possible because 12Mhz/12/32 = 31250 divide that by 4800 and you get 6.5104. How on earth am I supposed program timer 1 with that value?
Unbelivably, this question was on the final exam that I wrote today. The closest value I can get to 4800 Baud with 12Mhz crystal is 5208. Is there something I might have missed in class? Is there some sort of trick for this ?
The only way I know to get 4800 Baud is to use Xtal of 11.0592Mhz...