8201 views|4 replies

132

Posts

0

Resources
The OP

What is the use of UCA0MCTL in serial communication? I don't understand it in the manual. [Copy link]

What is the use of UCA0MCTL in serial communication? I don't understand it in the manual.
This post is from Microcontroller MCU

Latest reply

It is used for frequency adjustment. To put it simply, for example, if you use a 32768 clock to divide a 9600 baud rate, the frequency division factor is about 3.41, and the machine cannot distinguish decimals. Therefore, the width of some BIT bits (in time) takes up 3 clock cycles, and some take up 4 clock cycles. On average, each bit of the UART takes up approximately 3.4 cycles. This register is used to do this.  Details Published on 2012-12-9 13:54

Comments

I have also read many examples but I don't quite understand what UCA0MCTL does. What is the difference between the two modes UCA0MCTL = UCBRS2 + UCBRS0 and UCA0MCTL = UCBRS0? Please explain. Thanks. Does the host understand? Can you explain it to me?  Details Published on 2012-11-25 08:02

5001

Posts

11

Resources
推荐
It is used for frequency adjustment. To put it simply, for example, if you use a 32768 clock to divide a 9600 baud rate, the frequency division factor is about 3.41, and the machine cannot distinguish decimals. Therefore, the width of some BIT bits (in time) takes up 3 clock cycles, and some take up 4 clock cycles. On average, each bit of the UART takes up approximately 3.4 cycles. This register is used to do this.
This post is from Microcontroller MCU

11

Posts

0

Resources
2
I have also read many examples but I don't quite understand what UCA0MCTL does. What is the difference between the two modes UCA0MCTL = UCBRS2 + UCBRS0 and UCA0MCTL = UCBRS0? Please explain. Thanks. Does the host understand? Can you explain it to me?
This post is from Microcontroller MCU

61

Posts

0

Resources
3
If you download the user manual and look at the meaning of the register settings, you will know what it means. The user manual has a detailed description of the registers. Remember, it is the user manual, not the data sheet. . .
This post is from Microcontroller MCU

25

Posts

0

Resources
4
I don't understand either. It seems that the manual doesn't explain it clearly either.
This post is from Microcontroller MCU

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list