1
00:00:01,233 --> 00:00:02,900
iPhone mobile phone commonly used bus
2
00:00:03,400 --> 00:00:07,033
In this video, we mainly explain the SPI bus
3
00:00:07,900 --> 00:00:11,700
The SPI bus is a full-duplex synchronous serial bus developed by Motorola.
5
00:00:15,333 --> 00:00:18,600
For communication between microcontrollers and external devices
6
00:00:19,600 --> 00:00:22,500
SPI works in master-slave mode
7
00:00:22,733 --> 00:00:24,666
Generally there is one master device and one or more slave devices
9
00:00:27,833 --> 00:00:30,633
The CPU is equivalent to the master device
10
00:00:31,066 --> 00:00:33,833
It is connected to audio, hard disk, touch screen and fingerprint through SPI bus
12
00:00:37,600 --> 00:00:40,033
These devices are slave devices
13
00:00:40,766 --> 00:00:43,300
The SPI bus consists of four wires
14
00:00:43,733 --> 00:00:45,200
In some circuits, three wires will work fine
16
00:00:47,566 --> 00:00:49,166
The main signals of this line are
18
00:00:51,566 --> 00:00:52,600
MOSI, master output slave input
20
00:00:55,766 --> 00:00:56,933
MISO, master input slave output
twenty two
00:00:59,366 --> 00:01:02,200
SCLK is the clock signal, generated by the master device
twenty four
00:01:04,800 --> 00:01:08,133
cs Chip selection is sent by the master device, which device is used to control the communication
26
00:01:11,200 --> 00:01:14,766
There are many devices used in the iPhone mobile phone
27
00:01:15,033 --> 00:01:17,566
For example, the main audio to the CPU, and the hard disk to the CPU also have an SPI bus
29
00:01:22,100 --> 00:01:26,733
The touch screen to the CPU is also through the SPI bus
30
00:01:27,100 --> 00:01:28,666
The fingerprint to the CPU is also transmitted through the SPI bus
32
00:01:31,766 --> 00:01:34,433
Is there anything listed in the frame diagram?
33
00:01:34,666 --> 00:01:36,066
e.g. compass, gyroscope, barometric pressure sensor
35
00:01:38,533 --> 00:01:39,533
These peripherals also transmit data through the SPI bus
37
00:01:42,966 --> 00:01:45,800
If there is a problem with the SPI bus, the corresponding function will not be available.
39
00:01:50,766 --> 00:01:53,400
Below we take the iPhone 8P Qualcomm motherboard as an example to check the SPI bus from the touch screen to the CPU
41
00:01:58,033 --> 00:01:59,133
We first find the display touch connection socket on the annotation diagram
43
00:02:02,966 --> 00:02:05,833
Then go to the drawing to search for the connection seat
44
00:02:06,566 --> 00:02:08,900
After finding the connecting seat, we can see that there are many English words on both sides of the connecting seat
46
00:02:11,766 --> 00:02:13,500
As long as the SPI is marked, it belongs to the SPI bus
48
00:02:15,000 --> 00:02:17,500
If TOUCH is marked, it means it is the SPI bus of the touch screen
50
00:02:20,500 --> 00:02:23,766
SPI TOUCH TO AP MISO refers to data output
53
00:02:26,133 --> 00:02:28,733
The SPI AP TO Touch CS signal is a signal for the CPU to select the touch screen when communicating with the touch screen
57
00:02:34,800 --> 00:02:39,200
MOSI stands for Data In
58
00:02:39,333 --> 00:02:42,200
SPI AP TO TOUCH SCLK is the SPI bus clock from the CPU to the touch screen
60
00:02:49,066 --> 00:02:52,333
iPhone 8 p touch screen has 4 SPI signals
61
00:02:52,633 --> 00:02:55,533
Then the CPU to the fingerprint is also the SPI bus
62
00:02:55,600 --> 00:02:58,733
But the bus uses three lines, the search method is the same as above
64
00:03:00,266 --> 00:03:03,166
After finding the connecting seat, we can see the English of the line identification
66
00:03:05,233 --> 00:03:09,100
The one that identifies SPI represents the SPI bus
67
00:03:09,333 --> 00:03:11,166
Among them, 15 feet, 17 feet, and 21 feet
70
00:03:13,733 --> 00:03:17,066
These English names all contain spi
71
00:03:17,233 --> 00:03:19,166
That means that these three lines belong to the SPI bus from the fingerprint to the CPU
73
00:03:22,700 --> 00:03:25,100
Among other pins, we can see that there is no SPI mark
75
00:03:28,300 --> 00:03:32,433
That means the SPI of the fingerprint only uses three lines
76
00:03:32,666 --> 00:03:34,966
That bus is connected to the CPU
77
00:03:35,266 --> 00:03:38,600
We can check the connection through the bitmap
78
00:03:41,066 --> 00:03:42,333
In the bitmap, each bus passes through one or two fuse resistors
81
00:03:47,266 --> 00:03:49,266
Then connect to the cpu
82
00:03:51,866 --> 00:03:54,566
The clock of the SPI bus passes through two fuse resistors to the cpu
84
00:03:57,366 --> 00:03:58,733
data input from the bus
85
00:04:00,600 --> 00:04:04,066
The data input is connected to the CPU through a safety inductor FL5840
88
00:04:08,066 --> 00:04:10,800
21 pin data output
89
00:04:13,233 --> 00:04:16,333
The signal is connected to the cpu after passing through the R5844 fuse resistor
92
00:04:20,800 --> 00:04:22,900
It can be clearly seen from the diagram we just checked
94
00:04:24,900 --> 00:04:28,000
The SPI bus of the fingerprint is connected to the CPU
95
00:04:28,300 --> 00:04:30,066
After the SPI bus is damaged, the corresponding functions will be unavailable
97
00:04:33,400 --> 00:04:36,000
If the SPI bus of the touch screen is damaged, it will cause no touch
99
00:04:38,200 --> 00:04:39,866
If the SPI bus of the fingerprint is damaged, the fingerprint function will be unavailable
101
00:04:42,700 --> 00:04:45,166
That's all for this video