| ??? 05/07/03 16:36 Read: times |
#45013 - RE: baud rate setting - problem Responding to: ???'s previous message |
Okay , Accepting the fact that we have no idea of the derivative ,or if indeed he wanted 9200 ,of even if the xtal is 17.432mhz ...but suppose he has..
As Erik stated ( and Waqar,you would do well to listen to Erik ) timer 2 on "OUR" 8032 can be configured to act as the baud rate generator.. the reload value being reload (RCAP2 H&L)= 65535 - (osc/(32 x baud)). so 65535 - (17.432mhz/(32 x 9200))=65476. actually 65535-59.21 so a small error and I rounded down. now to see if the deviation is less than +/- 1% baud = osc/(32x (65535 - reload)) baud = 17.432mhz/(32x 59) = 9233 (9200/9233)x 100 = 99.643% so the error is less than 0.5 percent |
| Topic | Author | Date |
| baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
| RE: baud rate setting - problem | 01/01/70 00:00 | |
RE: baud rate setting - problem | 01/01/70 00:00 |



