1172 views|6 replies

968

Posts

0

Resources
The OP
 

[Output transmission data on the falling edge of the transmission clock, input reception data on the rising edge] What is the meaning of this rule? [Copy link]

邀请:@damiaa   @led2015   @吾妻思萌   @wangerxian   参与回复

As shown in the figure below [transmit data is output on the falling edge of the transmit clock, and receive data is input on the rising edge]. Sending and receiving cannot be performed within the same clock pulse. What is the significance of this regulation?

This post is from stm32/stm8

Latest reply

What does this have to do with receiving transmission... It just gives you an option to better adapt the device you want to communicate with...   Details Published on 2023-7-19 17:31
 

6062

Posts

4

Resources
2
 
This post was last edited by damiaa on 2023-7-17 11:15

This is the logical timing relationship of this UART. It tells you that the input data must be stable before the rising edge arrives, so that the chip can receive it, and the data is output at the falling edge. You can receive the data from the chip at this time.

It's not good or bad. You just do it as the chip says. Otherwise, it will go wrong.

This post is from stm32/stm8
 
 

6742

Posts

2

Resources
3
 

This is similar to a protocol. The rising edge and falling edge are instantaneous, so it is better to use this rising edge and falling edge to send and receive. The microcontroller can also easily detect it, and the data at this time is generally more stable.

This post is from stm32/stm8
 
 

4764

Posts

12

Resources
4
 
The most reliable way to make agreements is currently discovered by generations of engineers.
This post is from stm32/stm8
 
 
 

4764

Posts

12

Resources
5
 
A few more words~ In essence, we count and compare numbers based on conventions. Decimal, hexadecimal, 73-decimal, and 82-decimal are all agreed upon. Follow this and execute~ The same is true for the rising and falling edges~
This post is from stm32/stm8
 
 
 

7422

Posts

2

Resources
6
 

The timing itself is realized by jumping up and down. As for whether it is up or down, it is related to the choice made when it was designed. For example, spi can be both up and down.

This post is from stm32/stm8
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

29

Posts

0

Resources
7
 

What does this have to do with receiving transmission... It just gives you an option to better adapt the device you want to communicate with...

This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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