??? 07/07/08 10:20 Modified: 07/07/08 10:20 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#156462 - this will be most probably the culprit Responding to: ???'s previous message |
So I played the clairvoyant a little bit... Xtal is 24MHz, and mis-setting TMOD (presumably when setting it up for Timer0) so that the upper 4 bits gets 0 set Timer1 into mode 0, which is a free-running 13-bit counter (part of the '48 legacy); which rolls over at 24000000/12/2^13 = cca 244Hz, which yields a baudrate of 244/32=cca 7.6Hz...
JW |