|
| 1 | +.. _adafruit_aw9523: |
| 2 | + |
| 3 | +Adafruit AW9523 GPIO Expander and LED Driver |
| 4 | +############################################ |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The `Adafruit AW9523 GPIO Expander and LED Driver`_ provides |
| 10 | +16-channel GPIO/LED controller function. |
| 11 | + |
| 12 | +.. figure:: adafruit_aw9523.webp |
| 13 | + :align: center |
| 14 | + :alt: Adafruit AW9523 |
| 15 | + |
| 16 | + Adafruit AW9523 (Credit: Adafruit) |
| 17 | + |
| 18 | +Pin Assignments |
| 19 | +=============== |
| 20 | + |
| 21 | ++--------------------------+------------------------------------------+ |
| 22 | +| Shield Pin | Function | |
| 23 | ++==========================+==========================================+ |
| 24 | +| SDA | AW9523B I2C SDA | |
| 25 | ++--------------------------+------------------------------------------+ |
| 26 | +| SCL | AW9523B I2C SCL | |
| 27 | ++--------------------------+------------------------------------------+ |
| 28 | +| INT (Pad on board) | AW9523B Interrupt output [1]_ | |
| 29 | ++--------------------------+------------------------------------------+ |
| 30 | +| RST (Pad on board) | AW9523B Reset pin [2]_ | |
| 31 | ++--------------------------+------------------------------------------+ |
| 32 | + |
| 33 | +.. [1] To receive interrupts, connect the INT pin to the SoC's GPIO and set the connected |
| 34 | + GPIO in the ``int-gpios`` property in an additional overlay. The INT terminal must be |
| 35 | + pulled up. |
| 36 | +
|
| 37 | +.. [2] If you want to control the reset pin from the SoC, connect it to a GPIO on the SoC |
| 38 | + and define the ``reset-gpios`` property in an additional overlay. |
| 39 | +
|
| 40 | +Programming |
| 41 | +*********** |
| 42 | + |
| 43 | +Set ``--shield adafruit_aw9523`` when you invoke ``west build``. |
| 44 | + |
| 45 | +.. _Adafruit AW9523 GPIO Expander and LED Driver: |
| 46 | + https://learn.adafruit.com/adafruit-aw9523-gpio-expander-and-led-driver |
| 47 | + |
| 48 | +.. _Awinic AW9523B 16 MULTI-FUNCTION LED DRIVER AND GPIO CONTROLLER WITH I2C INTERFACE: |
| 49 | + https://doc.awinic.com/doc/202403/deffbf3b-7e7b-4ff6-8e91-fd85e2d845d5.pdf |
0 commit comments