WP7611 GPIOs?

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! :slight_smile:

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

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:

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

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”).

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 :sweat_smile:

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

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.

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”:

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

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. :slight_smile:

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

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” 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:

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.

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


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

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

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.

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?

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

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.

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?

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!

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?

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

This is to check the internal GPIO status for the GPIO8

Certainly! Here you are:


OK, seems there is no difference then

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!