# WP7611 GPIOs?

**URL:** <https://forum.sierrawireless.com/t/wp7611-gpios/32745>\
**Category:** WP Series\
**Tags:** debug, faq\
**Created:** [July 10, 2024, 9:10pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745 "2024-07-10T21:10:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 10, 2024, 9:10pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/1 "2024-07-10T21:10:00Z")

</div>

Hello All,

I am working to migrate my product over from the WP7603-1 to the WP7611-1 as the 7603 is now obsolete. So far in my testing mostly everything is working, except I have one minor confusion.

In the datasheet for the WP7603 it states there are 18 GPIOs that are addressable, and only 8 on the WP7611. However, when I look at the Technical Specification Guide it is not exactly clear to me which 8 GPIOs are available only to the WP7611. In fact, I see 13 GPIOs (maybe even more) on pages 149-154 in the guide.

The technical guide does specify which GPIOs are only available to Group Variant A devices (which have an MCU and ULPS capability), but the GPIOs that are not designated I assume are available on both variants, but there are still more than eight GPIOs listed here.

I could really use some clarification here on which 8 GPIOs are designated for the WP7611 if anyone else has figured this out. It’d be much appreciated too! 🙂

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 11, 2024, 1:13am UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/2 "2024-07-11T01:13:45Z")

</div>

you can refer to this table in PTS where GPIO36, GPIO37, GPIO38, GPIO40, GPIO41 are not available in WP7611:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/1/1c4478228d05ded40b618135f97c51b5461e818f.png)

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 11, 2024, 12:29pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/3 "2024-07-11T12:29:35Z")

</div>

Hi Jyijyi,

Thank you for the quick reply!

So that is the table I was referring to on pages 149-154 in the Product Technical Specification, so then that means all of the other GPIOs (besides 36,37,38,40, and 41) are available on the WP7611?

On the Semtech website’s product page for the WP7611 it shows 8 GPIOs available:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/3be97771f926aae7b22cde8a5119a32188f2c069.png)

> **[WP7611-1 IoT Module](https://www.sierrawireless.com/iot-modules/smart-modules/wp7611-1/)**
>
> This LTE Cat-1 wireless module is ideal for low-bandwidth IoT applications that require real-time communication along with the longevity and network quality that 4G LTE networks bring.

And the for the WP7607 (closest model to WP7603 with the same I/Os) shows 18 GPIOs:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/0/01ffde88912347d7011321a4204b529620c7af50.png)

> **[WP7607 IoT Module](https://www.sierrawireless.com/iot-modules/smart-modules/wp7607/)**
>
> The WP7607 IoT module is part of the WP Series offering a secure device-to-cloud architecture enabling IoT developers to build a Linux-based product on a single module.

Currently on my WP7603 I rely on GPIOs 8, 22, 37, 35, and 42. Which I see already in my logread that exporting GPIO 37 produces an error, and GPIO 8 does not, but the LED I have connected to 8 will not activate despite the “value” file stating the GPIO is pulled high (Value is “1”).

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/7/7117ba96d081a838975a12e3c094058093e74f46.png)

So if all of the other GPIOs I am using are available on the WP7611 besides 37, then I’m wondering why GPIO 8 will not behave as expected… unless it’s a hardware issue 😅

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 11, 2024, 12:39pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/4 "2024-07-11T12:39:02Z")

</div>

you might need to check AT+WIOCFG? on the WP7611 and see if GPIO8 is for linux usage.

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 11, 2024, 1:32pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/5 "2024-07-11T13:32:49Z")

</div>

I actually checked AT+WIOCFG? yesterday after finding another post where you mention its use to determine if GPIOs are accessible from the Linux host.

I found that GPIO8 was configured to work with the Linux host, and I verified with GPIO21 (which has the same WIOCFG settings) that this works properly, as I have a green LED on GPIO21, so the steps to enable/disable it should be the same as GPIO8 (I assume), and it turns on/off by modifying “value” under /sys/class/gpio/gpio21.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/e/ec87d8cfef52818e8c5bce81244eedb77e0f3f81.png)

I even tried removing my applications from the device, except the default apps, and I reverted the device firmware back to a stock R17 Generic firmware. Still no luck. I can control my LED on GPIO21, but the one on GPIO8 refuses to work.

I only have two modules to test with, and both are behaving the exact same. So I’m not sure at this point whether this is due to a poor hardware connection or something different in how this GPIO is implemented in the WP7611 versus the WP7603.

Looks like the GPIO Service doesn’t report any issues either, which if the GPIO wasn’t available I’d imagine it would have a similar error message to “pin not available or disabled by config”:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/47358c88b084180d874e56246094fcab7da2a60c.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 11, 2024, 3:28pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/6 "2024-07-11T15:28:01Z")

</div>

if gpio8 is working fine in WP7603, are you comparing same FW R16 in WP7611?

I don’t have WP7611, but i don’t find problem to export GPIO8 in WP7608 with FW R16.3

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 12, 2024, 12:55pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/7 "2024-07-12T12:55:48Z")

</div>

Yes, I downgraded from R17 to R16 to match the firmware used on my WP7603, same behavior.  
Also, I don’t have any issues with exporting GPIO8 on the WP7611, it just doesn’t appear to do anything if I set its value to “1”.

Technically I’m using GPIO8 to enable a 5V rail in my device, and there is an LED attached to the rail which is supposed to turn on when it’s active. This LED still doesn’t turn on, and I have checked with a multimeter to check if there is any voltage going to it. There is none.

Also, on a side-note, I tried to install an extra WP7611 in my MangOH Red board that I have, but unfortunately with that board being obsoleted, I am unable to build a proper firmware greater than R13 which supports the WP7611 in the MangOH hardware, so that test wasn’t conclusive.

But I’ll keep pressing on, and if I find anything that works I’ll put my findings here to help the community. 🙂

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 12, 2024, 3:12pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/8 "2024-07-12T15:12:41Z")

</div>

You don’t need to build firmware on mangoh red board.  
You can use official firmware.

Btw, how about setting gpio8 to output pin in at+wiocfg

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 2:17pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/9 "2024-07-15T14:17:58Z")

</div>

Ah okay, I was trying to use the GPIO expander card that came with the board and it seemed to not be working; or at least I thought you needed an app called, “[GPIOExpanderService](https://github.com/mangOH/GpioExpander)” to use it? Which when I tried to flash that application, it threw my module into a reboot loop, until the device failed to “golden master”. So I gave up on troubleshooting the module in my Mangoh Red.

Also, same result setting GPIO8 as output via at+wiocfg:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/0/0407f5998011e1f4f47eba77f66ac7621c3c42ed.jpeg)

I compared the at+wiocfg? output against my WP7603, and everything appears to be the same, so I’m not sure changing this to output was going to help.

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 2:46pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/10 "2024-07-15T14:46:14Z")

</div>

Here is some screenshots of the same procedure performed on both WP7603 and WP7611:

 ![Screenshot from 2024-07-15 10-23-47](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/7/74444bd36cc1bd47922615d7eb4ee72ec5e8e258.png)  
 ![Screenshot from 2024-07-15 10-40-55](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/361ec8620ceb265c27aa55b54d26247ec3770c7a.jpeg)

Note: The firmware version listed is a custom release, but I did test with R16 official release on both modules as well.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 15, 2024, 3:04pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/11 "2024-07-15T15:04:14Z")

</div>

from the schematic of mangoh red board, gpio8 is connected to IOT0\_GPIO4 which is routed to pin 27 of IOT connector:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/4cb0c05e1fce82988705c9a4815706201d2eaaaa.jpeg)

Not quite sure why you are talking about the GPIO expander

You can put a WP7603 to mangoh red, and then measure the pin status in pin 27.  
After that you can do the same for WP7611 in mangoh red board to verify.

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 3:20pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/12 "2024-07-15T15:20:27Z")

</div>

Ah yes, this is the card I’m referring to that is outlined in the MangOH User Guides. I plugged this into my Mangoh Red, and performed the same steps to set GPIO8 as High. Then I used a multimeter to check pin 27 on this card to see if I could detect any voltage; which I did not see any changes modifying the value from 0 to 1.

Which that is when I thought I needed this GPIOExpander Service application to properly route the signal from GPIO8 on the CF3 module to pin27 on this card. Which I figured out last week after I posted that response that this card is called an “IoT card”, so I must have confused the SX1509 GPIO Expander with this “IoT card”. But regardless, I tested it out, and as I said, I did not see any voltage change on Pin27.

Also, this module is a WP7611-1, which is a low-bandwidth version of the WP7611. I assume this module is the same configuration as the standard WP7611 and it doesn’t make a difference to the GPIOs available?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 15, 2024, 3:24pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/13 "2024-07-15T15:24:44Z")

</div>

what if you put a WP7603 to the mangoh red board, can it change the GPIO8 voltage from 0 to 1?

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 3:28pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/14 "2024-07-15T15:28:59Z")

</div>

Yes, I have tested with the WP7603 in the Mangoh as well, and a WP7607 that I have and both work as expected. And I can also control GPIO21 on both which is linked to a green LED.

I have 3 WP711’s. One is a loose CF3 module, and the other two are soldered to our custom PCB.

We’ve been working with the WP7607/03/08 for about five years now, and since we’ve been working to integrate the WP7611, this is the first time we’re seeing an issue like this.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 15, 2024, 3:33pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/15 "2024-07-15T15:33:55Z")

</div>

From your description, the mangoh red board and WP7607/ WP7603/ WP7608 should be OK in the hardware.

Originally i think your WP7611, which tested in mangoh red board, has some problem on hardware .  
But for other two WP7611 soldered to custom PCB, they also have problem, so it seems to me that this is not hardware issue.

Have you contacted distributor on this?

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 3:39pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/16 "2024-07-15T15:39:25Z")

</div>

Yeah, I’m scratching my head on this too, trying to determine if it’s hardware related or not. I just got this from one of my colleagues, so I’ll have to check with them if they can contact the distributor and see if we can get some additional samples.

Thank you again for all of your help! I really appreciate it!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 15, 2024, 3:50pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/17 "2024-07-15T15:50:31Z")

</div>

Can you help to compare the return of OK case (WP7607) and NOK case (WP7611) with same FW (e.g. R16.3) and AT+WIOCFG setting on GPIO8?

```auto
ATI3
AT!ENTERCND="A710"
AT!BSGPIO?58

```

This is to check the internal GPIO status for the GPIO8

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 4:27pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/18 "2024-07-15T16:27:18Z")

</div>

Certainly! Here you are:

 ![Screenshot from 2024-07-15 12-20-00](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/a/a75240680f33adf52a50f77a8a98b9b7d079410f.jpeg)  
 ![Screenshot from 2024-07-15 12-25-57](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/b/b6a6b8f2de41c705273fa760ae3d1879adbedfb2.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 15, 2024, 4:30pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/19 "2024-07-15T16:30:57Z")

</div>

OK, seems there is no difference then

---

<div class="post-metadata">

**Author:** ![SteveDave](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/stevedave/32/8563_2.png) [@SteveDave](https://forum.sierrawireless.com/u/SteveDave)\
**Post date:** [July 15, 2024, 8:14pm UTC](https://forum.sierrawireless.com/t/wp7611-gpios/32745/20 "2024-07-15T20:14:43Z")

</div>

Darn, okay. Let’s see what my colleague can figure out on our end, and I’ll try to obtain another fresh module to test with, and I’ll report if we have any success.

Thanks again jyijyi!

[Next page](https://forum.sierrawireless.com/t/wp7611-gpios/32745.md?page=2)
