# IOT expension , add GPIO

**URL:** https://mangoh.discourse.group/t/iot-expension-add-gpio/9602
**Category:** Uncategorized
**Created:** [August 19, 2021, 11:58am UTC](https://mangoh.discourse.group/t/iot-expension-add-gpio/9602 "2021-08-19T11:58:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)
#### Post date: [August 19, 2021, 11:58am UTC](https://mangoh.discourse.group/t/iot-expension-add-gpio/9602/1 "2021-08-19T11:58:07Z")

</div>

Hello

on IOT expension card, by default 4 GPIO are suported

I need to have additional 2 GPIO (can also be only output or only input)

is it possible to define 2 of the IOT expension card as alternate finctions

besides the GPIO I only also need to keep the I2C pns functionality, all other are not used

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [August 19, 2021, 1:00pm UTC](https://mangoh.discourse.group/t/iot-expension-add-gpio/9602/2 "2021-08-19T13:00:33Z")

</div>

You can take uart1 CTS as output and RTS pin as input

> **[UART flow control with WP7608](https://forum.legato.io/t/uart-flow-control-with-wp7608/4597/32)**
>
> To set RI pin as input pin: you need to first send an AT command: AT!RIOWNER=1 after that you can control the RI in linux console: echo RI \> /sys/class/gpio/export echo in \> /sys/class/gpio/gpioRI/direction cat...

You can also check if the nReset pin is connecting to any gpio pin
