4909 views|51 replies
QWE4562009
Currently offline
|
The OP
Published on 2020-10-12 18:40
Only look at the author
This post is from 51mcu
Latest reply
[attach]506561[/attach]Serial communication see Chapter 8
Details
Published on 2020-10-20 12:01
| |
|
||
2
Published on 2020-10-12 19:20
Only look at the author
This post is from 51mcu
| ||
|
||
|
3
Published on 2020-10-12 19:27
Only look at the author
This post is from 51mcu
| ||
|
||
|
4
Published on 2020-10-12 19:32
Only look at the author
This post is from 51mcu
Comments
I looked it up but I really don't understand. Some people say to use clock frequency/division number/timer initial value directly. For example, if the baud rate is 115200 and the clock frequency is 24M, if it is divided by 4, it is {[24000000/4]/[24000000/4/115200]-115200}/11
Details
Published on 2020-10-13 15:02
| ||
|
||
|
w494143467
Currently offline
|
5
Published on 2020-10-12 19:42
Only look at the author
This post is from 51mcu
| |
|
||
|
QWE4562009
Currently offline
|
This post is from 51mcu
Comments
Don’t worry about Timer 2 for now. The 51 microcontroller only has Timer 0 and Timer 1, but no Timer 2. The 52 microcontroller has Timer 2.
Details
Published on 2020-10-13 16:47
Don’t worry about Timer 2 for now. The 51 microcontroller only has Timer 0 and Timer 1, but no Timer 2. The 52 microcontroller has Timer 2.
Details
Published on 2020-10-13 16:45
Don’t worry about Timer 2 for now. The 51 microcontroller only has Timer 0 and Timer 1, but no Timer 2. The 52 microcontroller has Timer 2.
Details
Published on 2020-10-13 16:31
Don’t worry about Timer 2 for now. The 51 microcontroller only has Timer 0 and Timer 1, but no Timer 2. The 52 microcontroller has Timer 2.
Details
Published on 2020-10-13 16:22
Don’t worry about Timer 2 for now. The 51 microcontroller only has Timer 0 and Timer 1, but no Timer 2. The 52 microcontroller has Timer 2.
Details
Published on 2020-10-13 15:42
| |
|
||
|
7
Published on 2020-10-13 15:24
Only look at the author
This post is from 51mcu
Comments | ||
|
||
|
8
Published on 2020-10-13 15:42
Only look at the author
This post is from 51mcu
Comments
Overflow counts once?
Details
Published on 2020-10-14 16:08
Overflow counts once?
Details
Published on 2020-10-14 16:05
| ||
|
||
|
9
Published on 2020-10-13 15:59
Only look at the author
This post is from 51mcu
Comments
What should I do if the overflow occurs? Overflow means full, right? Does it mean that 65535 is full?
Details
Published on 2020-10-14 16:11
What should I do if the overflow occurs? Overflow means full, right? Does it mean that 65535 is full?
Details
Published on 2020-10-14 15:44
| ||
|
||
|
10
Published on 2020-10-13 16:00
Only look at the author
This post is from 51mcu
Comments
What is this overflow rate? 65535-initial value?
Details
Published on 2020-10-14 15:43
| ||
|
||
|
11
Published on 2020-10-13 16:22
Only look at the author
This post is from 51mcu
| ||
|
||
|
12
Published on 2020-10-13 16:31
Only look at the author
This post is from 51mcu
| ||
|
||
|
13
Published on 2020-10-13 16:45
Only look at the author
This post is from 51mcu
Comments
Where does this pre-loaded value come from?
Details
Published on 2020-10-14 15:42
| ||
|
||
|
14
Published on 2020-10-13 16:47
Only look at the author
This post is from 51mcu
| ||
|
||
|
15
Published on 2020-10-13 21:00
Only look at the author
| |
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
|
|
QWE4562009
Currently offline
|
This post is from 51mcu
| |
|
||
|
QWE4562009
Currently offline
|
This post is from 51mcu
Comments
"Where does this pre-loaded value come from?" When the microcontroller is initialized, you write the high 8 bits of timer 1, that is, write TH1.
Details
Published on 2020-10-14 15:48
| |
|
||
|
QWE4562009
Currently offline
|
This post is from 51mcu
| |
|
||
|
19
Published on 2020-10-14 15:44
Only look at the author
This post is from 51mcu
| ||
|
||
|
QWE4562009
Currently offline
|
This post is from 51mcu
Comments
When you add 1 and it becomes 0, it is overflow. Just like when you do first grade math, 9 plus 1 equals 10, and when it reaches 10, it goes up by 1, and the ones place is 0.
Details
Published on 2020-10-14 15:53
When you add 1 and it becomes 0, it is overflow. Just like when you do first grade math, 9 plus 1 equals 10, and when it reaches 10, it goes up by 1, and the ones place is 0.
Details
Published on 2020-10-14 15:51
| |
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190