We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The NXP P89V51RD2 has the ability to choose either Timer1 or Timer2 as the baud rate generator for it's UART.
If I were to use the Timer 1 in mode 2 (auto reload), what is the relation between the baud rate and the crystal frequency in Normal and X2 modes?
I'm using the UART in mode 1(8 bit variable baud rate).
Hello Darren,
I know about the X2 mode.My question was whether the equation will be the same irrespective of the mode.Page 27 says "In the ‘Timer’ function, the register is incremented every machine cycle".Table-58 in page 61 shows that clocks per machine cycle varies with the mode, which is why I had a doubt. All the figures for the timers only show osc/6.
Coming back to my question, the equations mentioned in pages 35-39 are all for timer 2 and _not_ timer 1 :(
Thanks Ravi