There are fellow programmers that has developed program of Microcontroller inquire about this. It is about the next part of programming for connecting through
We take the both to do for controlling Timer’s working in order to use as looping to measure time taken of Baud Rate, is to set value in TMOD such as TMOD=00100000B. Here, we use getting and sending data 11 bit, will have 8 data bit, Start bit, Stop bit, Custom data bit. All we will set Timer to occur interrupt that we will set at IE (Interrupt Enable Register), setting to be zero every bit, for Baud rate of getting and sending data, will use the rate of Timer Overflow together with the value of SMOD(Serial Mode Register). For the value that will set for Timer in order to create the rate of getting and sending of Serial Port in Microcontroller can use the below table.
The table of setting value for Timer in order to use for Baud Rate
| Frequency(MHz) | Baud Rate of
|
The value of Timer that will be set |
| 11.059 | 1200 | E8H |
| 11.059 | 2400 | F4H |
| 11.059 | 4800 | FAH |
| 11.059 | 9600 | FDH |
Programming for setting value of working of Timer Read the rest of this entry »

