USART Operation: UART Mode
13-14
USART Peripheral Interface, UART Mode
Receive Bit Timing
Receive timing consists of two error sources. The first is the bit-to-bit timing
error. The second is the error between a start edge occurring and the start
edge being accepted by the USART. Figure 13−9 shows the asynchronous
timing errors between data on the URXDx pin and the internal baud-rate clock.
Figure 13−9. Receive Error
1 2 3
4 5 6
0
i
t0
t
ideal
7 8
1
t1
2
9 10 11 12 13 14 1 2 3
4 5 6 7 8
9 10 11 12 13 14 1 2 3
4 5 6 7
t0
t1
t2
ST
D0
D1
D0
D1
ST
Synchronization Error
±
0.5x BRCLK
Int(UxBR/2)+m0 =
Int (13/2)+1 = 6+1 = 7
Majority Vote Taken
Majority Vote Taken
UxBR +m1 = 13+1 = 14
UxBR +m2 = 13+0 = 13
Majority Vote Taken
BRCLK
URXDx
URXDS
t
actual
Sample
URXDS
The ideal start bit timing t
ideal(0)
is half the baud-rate timing t
baud rate
because
the bit is tested in the middle of its period. The ideal baud rate timing t
ideal(i)
for
the remaining character bits is the baud rate timing t
baud rate
. The individual bit
errors can be calculated by:
Error [%]
+
ȧȡȢ
baud rate
BRCLK
NJ
2
ƪ
m0
)
int
ǒ
UxBR
2
Ǔ
ƫ
)
ǒ
i
UxBR
)
S
j
i
+
1
m
i
Ǔ
Nj
*
1
*
j
Ǔ
100%
Where:
baud rate is the required baud rate
BRCLK is the input frequency—selected for UCLK, ACLK, or SMCLK
j = 0 for the start bit, 1 for data bit D0, and so on
UxBR is the division factor in registers UxBR1 and UxBR0
Summary of Contents for MSP430x1xx
Page 1: ... 2005 Mixed Signal Products User s Guide SLAU049E ...
Page 6: ...vi ...
Page 18: ...1 6 Introduction ...
Page 36: ...2 18 System Resets Interrupts and Operating Modes ...
Page 112: ...3 76 ...
Page 130: ...4 18 Basic Clock Module ...
Page 152: ...5 22 Flash Memory Controller ...
Page 160: ...6 8 Supply Voltage Supervisor ...
Page 168: ...7 8 Hardware Multiplier ...
Page 192: ...8 24 ...
Page 200: ...9 8 Digital I O ...
Page 234: ...11 24 Timer_A ...
Page 260: ...12 26 Timer_B ...
Page 291: ...13 31 USART Peripheral Interface UART Mode ...
Page 314: ...14 23 USART Peripheral Interface SPI Mode ...
Page 346: ...15 32 USART Peripheral Interface I2C Mode ...
Page 358: ...16 12 Comparator_A ...
Page 386: ...17 28 ADC12 ...
Page 418: ...18 32 ADC10 ...
Page 432: ...19 14 DAC12 ...