1
00:00:00,300 --> 00:00:05,900
Hello everyone, today we continue to analyze the timing of the Wistron 15221 motherboard
2
00:00:07,900 --> 00:00:12,566
In the last class, we talked about how the standby power supply of EC is generated
3
00:00:12,700 --> 00:00:19,833
In this lesson, let's take a look at the clock, reset, program of EC...how these conditions are met
4
00:00:22,733 --> 00:00:30,133
First of all, after the EC receives power from AVCC, VSTBY, etc.,
5
00:00:31,500 --> 00:00:41,033
before it is reset, the EC will open-drain and output S5_ENABLE
6
00:00:43,633 --> 00:00:50,100
Because S5_ENABLE is provided by the GPIO pin inside the EC chip
7
00:00:50,700 --> 00:00:56,566
Before the GPIO pin is reset and the program is not read, it is in a high-impedance state
8
00:00:56,966 --> 00:01:03,100
Then S5_ENABLE is powered by EC standby in the circuit and is pulled up to high level
9
00:01:03,666 --> 00:01:10,300
Therefore, when the EC open-drain outputs S5_ENABLE, this signal is a high-level signal
10
00:01:10,666 --> 00:01:19,733
Then, S5_ENABLE is renamed to 3V_5V_EN through a resistor, and then renamed to
11
00:01:19,900 --> 00:01:23,033
PWR_5V_EN1 and PWR_3D3V_EN2
12
00:01:23,333 --> 00:01:29,533
They came to the EN1 and EN2 pins of PU4501 respectively,
13
00:01:32,266 --> 00:01:35,900
which are used to control the generation of two PWM outputs
14
00:01:36,600 --> 00:01:46,333
The PWM on the left is PWR_3D3V, which is renamed 3D3V_S5 after passing through the node
15
00:01:47,066 --> 00:01:54,800
The road on the right is PWR_5V, which is renamed 5V_S5 after passing through the node
16
00:01:55,500 --> 00:02:02,300
3V_5V_EN is controlled by PURE_HW_SHUTDOWN# through diode
17
00:02:03,400 --> 00:02:07,266
This PURE_HW_SHUTDOWN# signal comes from the over-temperature protection circuit
18
00:02:08,166 --> 00:02:15,366
This signal will be pulled down by the temperature control circuit only if there is overheating after starting up
19
00:02:17,300 --> 00:02:24,533
When this signal is low level, it will pull down the turn-on signal (3V_5V_EN) to low level along the diode
20
00:02:27,766 --> 00:02:32,400
When the start signal is low level,
21
00:02:32,766 --> 00:02:35,766
the two PWM outputs will be turned off to realize the power down of the whole machine
22
00:02:36,500 --> 00:02:41,933
After 3D3V_S5 and 5V_S5 are generated normally
23
00:02:42,900 --> 00:02:54,100
This 3D3V_S5 will provide power to U2502 (BIOS chip), and then the EC delay will be reset
24
00:02:55,566 --> 00:02:58,533
The external name is ECRST##
25
00:02:59,066 --> 00:03:05,033
Search for the source of this reset signal and find that it comes from the pull-up of the EC standby power supply
26
00:03:05,566 --> 00:03:10,200
This EC has a built-in clock crystal oscillator, no need to provide an external standby clock
27
00:03:10,800 --> 00:03:16,966
When the EC is powered and reset,
28
00:03:17,233 --> 00:03:26,166
then the EC reads the BIOS through the SPI bus and configures the GPIO pins of the EC
29
00:03:26,533 --> 00:03:31,433
All GPIO pins of EC need to be defined by the program
30
00:03:32,533 --> 00:03:37,733
For example, the SYS_PWROK power good signal sent by EC
31
00:03:38,100 --> 00:03:43,633
Before the EC reads the program and configures the pin, this pin has no function
32
00:03:44,533 --> 00:03:51,466
When the EC reads the program and configures the pins, the EC can work normally
33
00:03:52,400 --> 00:03:54,933
OK, this is the standby condition for the EC