Project

General

Profile

Wiki » History » Version 14

Frédéric Blanc, 2024-11-07 14:12

1 1 Frédéric Blanc
h1. Wiki
2
3 9 Frédéric Blanc
{{toc}}
4 1 Frédéric Blanc
5 9 Frédéric Blanc
h2. USB <-> I2C
6 3 Frédéric Blanc
7
!clipboard-202411051457-ujwet.png!
8 1 Frédéric Blanc
Passerelle USB-I2C SiLabs CP2112
9
10
h3. Commande Linux
11
12
i2c-tools
13
<pre><code class="shell">
14
sudo apt install i2c-tools
15
</code></pre>
16
17
<pre><code class="shell">
18
i2cdetect -l
19
</code></pre>
20 6 Frédéric Blanc
!clipboard-202411051520-zo9bt.png!
21 4 Frédéric Blanc
22
<pre><code class="shell">
23 5 Frédéric Blanc
i2cdetect -r -y N
24 4 Frédéric Blanc
</code></pre>
25 5 Frédéric Blanc
N numero I2C ici 5
26 8 Frédéric Blanc
!clipboard-202411051525-mfhc4.png!
27 7 Frédéric Blanc
detection d'une puce I2C PCF8563 @ 0x51
28 1 Frédéric Blanc
29 2 Frédéric Blanc
https://www.acmesystems.it/i2c
30 1 Frédéric Blanc
https://www.youtube.com/watch?v=QwlqOTDAPfk
31 10 Frédéric Blanc
32
h2. Composants
33
34
h3. PCF8563 Real-time clock/calendar
35
36 14 Frédéric Blanc
400-kHz Fast I2C bus
37
38 10 Frédéric Blanc
!clipboard-202411071057-aw2q3.png!
39
40 11 Frédéric Blanc
*@I2C 0x51*
41
42 10 Frédéric Blanc
h3. TCA9535 I/O Expander 16-Bit
43
44 13 Frédéric Blanc
Low-Voltage 16-Bit I2C and SMBus Low-Power I/O Expander with Interrupt Output and Configuration Registers,400-kHz Fast I2C bus.
45 10 Frédéric Blanc
46
!clipboard-202411071059-exmd3.png!
47 12 Frédéric Blanc
48
*@I2C*
49
!clipboard-202411071120-iho0j.png!