SLLS890C August 2008 – April 2024 TL28L92
PRODUCTION DATA
In the timer mode, a symmetrical square wave is generated whose half period is equal in time to division of the selected counter/timer clock frequency by the 16-bit number loaded in the CTLR CTUR. Thus, the frequency of the counter/timer output is equal to the counter/timer clock frequency divided by twice the value of the CTUR CTLR. While in the timer mode, the ISR bit 3 (ISR[3]) is set each time the counter/timer transitions from logic 1 to logic 0 (HIGH-to-LOW). This continues regardless of issuance of the stop counter command. ISR[3] is reset by the stop counter command.
The value of the divisor n is (1) Often the division results in a non-integer number; 26.3 for example. One may only program integer numbers to a digital divider. Therefore, 26 (0x1A) is chosen. If 26.7 is the result of the division, then 27 (0x1B) is chosen.
Reading of the CTU and CTL registers in the timer mode is not meaningful. When the C/T is used to generate, a baud rate and the C/T is selected through the CSR then the receivers and/or transmitter is operating in the 16× mode. Calculation for the number n to program the counter/timer upper and lower registers is shown in Equation 1.
The value of the divisor n is:
Often, the division results in a non-integer number; 26.3 for example. One may only program integer numbers to a digital divider. Therefore 26 (0x1A) would be chosen. If 26.7 is the result of the division, then 27 (0x1B) is chosen. This gives a baud rate error of 0.3/26.3 or 0.3/26.7 that yields a percentage error of 1.14% or 1.12% respectively, well within the ability of the asynchronous mode of operation. Higher input frequency to the counter reduces the error effect of the fractional division.