Skip to content

Commit 8c4d464

Browse files
hunterhu3000fabiobaltieri
authored andcommitted
doc: mec172xevb_assy6906: Add how to enable the PCA9555
Describes the Connectors/Jumpers of testing the PCA9555 on I2C1 Signed-off-by: Hu Zhenyu <[email protected]>
1 parent 62b01ff commit 8c4d464

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

boards/arm/mec172xevb_assy6906/doc/index.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,35 @@ Troubleshooting
427427

428428
#. If Dediprog can't detect the onboard flash, press the board's Reset button and try again.
429429

430+
PCA9555 Enabling
431+
================
432+
#. To enable PCA9555PW and test the I2C on mec172xevb_assy6906, additional works are needed:
433+
434+
As the I2C slave device NXP pca95xx on mec172xevb_assy6906 is connected to I2C00 port,
435+
however, I2C00 port is shared with UART2 RS232 to TTL converter used to catch serial log,
436+
so it's not possible to use UART2 and I2C00 port simultaneously. We need to change to use
437+
I2C01 port by making some jumpers setting as below:
438+
439+
+---------+---------+------------------------------------------+
440+
| Pin 1 | Pin 2 | Comment |
441+
+=========+=========+==========================================+
442+
| JP49.1 | JP49.2 | Connect PCA9555 VCC to +3.3V_STBY |
443+
+---------+---------+------------------------------------------+
444+
| JP53.1 | JP53.2 | Select address 0100b, which means 0x26 |
445+
+---------+---------+------------------------------------------+
446+
| JP12.13 | JP12.14 | Connect I2C01_SDA from CPU to header J20 |
447+
+---------+---------+------------------------------------------+
448+
| JP12.4 | JP12.5 | Connect I2C01_SCL from CPU to header J20 |
449+
+---------+---------+------------------------------------------+
450+
| JP77.7 | JP77.8 | External pull-up for I2C01_SDA |
451+
+---------+---------+------------------------------------------+
452+
| JP77.9 | JP77.10 | External pull-up for I2C01_SCL |
453+
+---------+---------+------------------------------------------+
454+
| JP58.1 | JP20.1 | Connect NXP PCA9555 SCL to I2C01 |
455+
+---------+---------+------------------------------------------+
456+
| JP58.3 | JP20.3 | Connect NXP PCA9555 SDA to I2C01 |
457+
+---------+---------+------------------------------------------+
458+
430459
References
431460
**********
432461

0 commit comments

Comments
 (0)