| ??? 11/18/08 15:51 Modified: 11/18/08 15:52 Read: times Msg Score: +3 +3 Good Answer/Helpful |
#160114 - SIO init possibly wrong Responding to: ???'s previous message |
With a 12MHZ crystal and standard 12 clockers, it is not possible to generate 9600 baud with Timer 1. Either use Timer 2 as the baudrate generator (if your particular controller has it) or configure it for a different baudrate which should be possible with a 12MHz crystal.
The Keil Baudrate generator at http://www.keil.com/c51/baudrate.asp may help you to calculate valid settings for T1. |
| Topic | Author | Date |
| about serial communication problem | 01/01/70 00:00 | |
| be more specific | 01/01/70 00:00 | |
| check baudrate | 01/01/70 00:00 | |
| Loopback? | 01/01/70 00:00 | |
| more specified | 01/01/70 00:00 | |
| Just Exactly what do you mean by "not working"? | 01/01/70 00:00 | |
| SIO init possibly wrong | 01/01/70 00:00 | |
UART and PC hyper terminal | 01/01/70 00:00 |



