543 views|0 replies

914

Posts

0

Resources
The OP
 

Quasi-bidirectional port/weak pull-up mode of microcontroller [Copy link]

According to the analysis of this picture, the upper circuit is the output, and the lower circuit is the input, which is a quasi-bidirectional input and output port.

When the port outputs, assuming it is a high level, it passes through two NOT gates and two CPU signal delays to reach the OR gate. Why are two CPU clock signal delays used here? After the OR gate output is still a high level, at this time, one output signal is divided into two paths to drive two MOS tubes to conduct, and the output is a high level. Similarly, the output can be a low level. I wonder if my understanding is correct?

If it is configured as a port input state, then it is the input circuit below. The following one should be relatively simple, with a Schmitt trigger flipping the level, which has a certain debounce capability. Assuming that the external input is high level, it is low level after the Schmitt trigger, but what is the role of the MOS tube connected to the back stage of the Schmitt trigger, and what does weak mean?

This post is from 51mcu
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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