Q24Plus GPIO Service


Hi Everyone,

I have been trying to subscribe to the GPIO Service on my Q24Plus (Q24PL001). Unfortunately, I keep receiving parameter errors regardless of the GPIO mask. Here is my code snippet.

static s8 GPIO_LED_Handle;

GPIO_LED_Handle = adl_ioSubscribe(ADL_IO_Q24PLUS_GPO_0, 0, 0, 0, (adl_ioHdlr_f)NULL);

As far as I can see there is nothing wrong with the direction, default value, or the polling parameters. Am I missing something? Thank you for your time.



Your culprit is GPO_0. It is reserved for 1.8V SIM operation (requiring you to add the level shifter outside and attach it to GPO0). However, you can disable this feature. Had exactly this issue just yesterday.


Solution: viewtopic.php?f=3&t=1495&hilit=SIM3VONLY

I then spent hours wondering why +WIOR=2 etc gives me errors. It was simply because they are outputs and on wavecom you cannot read an output.
If you still have trouble, try enabling and disabling UART2 again:

All this should preferably be done when your OAT app is stopped.


Thanks Theron,

Disabling the feature worked. Unfortunately, I cannot do this on the production version of the code and will have to use another I/O pin (not used by the two UARTS, SPI, or this 1.8V feature).



You can try to call these AT commands from your OAT app, but if you do have a choice of IO, rather stay away from any muxed IO and simply use one that is all on its own.