AT!CUSTOM commands not working

Hi,
we have a SIM switch wired to GPIO6 and I want to test the SIMs, but I’m not able to set it with +KSIMSEL, because this requires AT!CUSTOM="EXTUIMSWITCHEN",1 and this always gives me an error.

All of the custom commands I tested give me an error except for AT!CUSTOM=?

I also tried to use cm sim select EXTERNAL_SLOT_2, but this gives me: Unable to select 'EXTERNAL_SLOT_2'.

I’m using wp76xx. What am I missing here?

Thanks,
Simon

Hi simon.naegele,

Have you unlocked the password command?
AT!ENTERCND=“A710”

OK
AT!CUSTOM=“EXTUIMSWITCHEN”,1

OK
AT!CUSTOM?

!CUSTOM:
GPSENABLE 0x01
IPV6ENABLE 0x01
UIM2ENABLE 0x01
SIMLPM 0x01
SINGLEAPNSWITCH 0x01
HSICENABLE 0x01
BOOTQUIETDISABLE 0x01
SCRUBEN 0x01
EXTUIMSWITCHEN 0x01
STKUIEN 0x02
EXTGPSLNAEN 0x01

OK

Hi Donald,
thanks for the information on the password. I have seen it and tried it but the password is listed nowhere.
Unfortunately, I’m not able to switch the SIMs. The GPIO6 doesn’t change it’s state and I get this error:

AT!ENTERCND="A710"

OK
AT!CUSTOM="EXTUIMSWITCHEN",1

OK
AT!CUSTOM?

!CUSTOM:
             GPSENABLE		0x01
             GPSLPM		0x01
             IPV6ENABLE		0x01
             SIMHOTSWAPDIS	0x02
             UIM2ENABLE		0x01
             SIMLPM		0x01
             USBSERIALENABLE	0x01
             SINGLEAPNSWITCH	0x01
             TXONINDICATION	0x01
             HSICENABLE		0x01
             BOOTQUIETDISABLE	0x01
             SCRUBEN		0x01
             EXTUIMSWITCHEN	0x01
             EXTGPSLNAEN		0x01


OK
AT+KSIMSEL?

+KSIMSEL: 1

OK
AT+KSIMSEL=2

+CME ERROR: 3
AT+KSIMSEL?

+KSIMSEL: 1

OK

EDIT: I tried to change the GPIO6 in WIOCFG, as it is mentioned in the AT command guide:

at+wiocfg=6,8,1,1,0,0,0
ERROR

But after rebooting I got:

AT+WIOCFG?

+WIOCFG: 2,16,0,0,1,0,0
+WIOCFG: 6,8,0,0,1,0,0

AT+KSIMSEL?

+KSIMSEL: 1

OK
AT+KSIMSEL=2

OK
AT+KSIMSEL?

+KSIMSEL: 2

But I’m still not able to use the SIM on the second external port:

root@swi-mdm9x28-wp:~# cm sim select EXTERNAL_SLOT_1
root@swi-mdm9x28-wp:~# cm sim
SIM card is absent (LE_SIM_ABSENT).

root@swi-mdm9x28-wp:~# cm sim select EXTERNAL_SLOT_2
Unable to select 'EXTERNAL_SLOT_2'.

Thanks,
Simon

Any news on this?
Sorry, it’s pretty urgent :frowning:

Hi simon.naegele,

Which module type(WP7607, WP7608…) and firmware version are you using?
Get device information: ATI3 and ATI8

The +KSIMSEL command is for use with hardware designs with an external SIM multiplexer connected to the WP module’s UIM1 interface.
Make sure that your development kit is modified correctly to use Dual SIM Standby.

If you are not in the latest firmware, please download the latest one and retry.
You can get it here WP76xx Firmware Release 16

Hi Donald,
this is our own hardware with a wp76xx module. I was able to measure the GPIO6 to toggle with KSIMSEL, but it seems that we have a hardware problem. We have an eSIM and a normal SIM connector connected to UIM1 with a multiplexer. This is why I asked how to switch them.

The problem at the moment is to get UIM_VCC to get 1.8 V when selecting UIM1 interface through cm sim select EXTERNAL_SLOT_1 or AT!UIMS=0.
We already discovered, that when we pull GPIO4 to ground, that we get the UIM_VCC to go to 1.8V.
We are working to figure out the rest of the problem.

At the moment I don’t have question, but I’ll come back to you as soon as I have news.

Thanks

Hi Donald,
we fixed our problem. The reason was, that we multiplexed UIM_DET instead of only connecting it to the first SIM. After removing the muxer for it, we got UIM_VCC without pulling GPIO4 to ground, which is also not what should be done.

Thanks,
Simon