# How to Connecting GPIO13 with wp76xx

**URL:** <https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060>\
**Category:** Legato Application Framework\
**Created:** [January 13, 2022, 9:10am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060 "2022-01-13T09:10:04Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 14, 2022, 9:55am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/21 "2022-01-14T09:55:23Z")

</div>

is your app automatically stopped?

```auto

Jan 14 17:37:26 swi-mdm9x28-wp user.info Legato: INFO | gpioService[1918]/sysfsGpio T=main | gpioSysfsUtils.c gpioSysfs_SessionOpenHandlerFunc() 1176 | Assigning GPIO 8
Jan 14 17:40:09 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1078]/supervisor T=main | app.c app_Stop() 3596 | Stopping app ‘gpio’

```

You can port your application to a helloworld application and see which line makes the printing stopped.

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [January 14, 2022, 9:59am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/22 "2022-01-14T09:59:43Z")

</div>

no I have to use command to stop

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 14, 2022, 10:10am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/23 "2022-01-14T10:10:57Z")

</div>

You can port your application to a helloworld application and see which line makes the printing stopped.

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [January 26, 2022, 2:50am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/24 "2022-01-26T02:50:14Z")

</div>

how to add a gpio pin other than the one from wiocfg??

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 26, 2022, 2:56am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/25 "2022-01-26T02:56:51Z")

</div>

you need to set +WIOCFG so that the GPIO can be used in yocto linux.

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [January 26, 2022, 2:59am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/26 "2022-01-26T02:59:08Z")

</div>

did you mean like this??

at+wiocfg=36,16,0,0,1,0,0  
ERROR

I got error ☹

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 26, 2022, 3:03am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/27 "2022-01-26T03:03:44Z")

</div>

how about AT+WIOCFG=13,16

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [January 26, 2022, 3:06am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/28 "2022-01-26T03:06:28Z")

</div>

yes, it’s okay  
at+wiocfg=13,16  
OK

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 26, 2022, 3:17am UTC](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060/29 "2022-01-26T03:17:51Z")

</div>

then what is the problem?  
Didn’t you ask GPIO 13 in this thread?

[Previous page](https://forum.legato.io/t/how-to-connecting-gpio13-with-wp76xx/6060.md?page=1)
