Control of MAGPIO during %XRFTEST

Hi!

I have an issue with control of the MAGPIO during RFTEST procedures.

The device is using RF Switch (like Thingy91) and I want to perform SNR/Received signal power tests to make sure the matching network is properly working.

I have the following problem. The MAGPIO configuration I can prepare for testing purpose is only valid when the Modem is on (AT+CFUN=1). When I switch the modem off, all the GPIO output drop to low state.

However, the RF SNR test (%XRTEST=3,...) is working reliably only when the modem is offline (AT+CFUN=0). When I'm trying to perform this test while the modem is online, the modem seems to freeze.

The modem fw is 1.1.4.

The question is:

- How to control the MAGPIO when the modem is offline, or how to perform SNR tests when the modem is online?

Any help appreciated!

Parents Reply
  • Hi!

    Let me use this example:

    The AT host sample started
    AT+CFUN=0
    OK
    AT%XMAGPIO=1,1,1,1,7,600,2100
    OK
    AT%XRFTEST=3,1,19,8800,-65,1,0
    %XRFTEST: -177,-24516
    OK

    The problem is that this MAGPIO setup is not effective while AT+CFUN=0. All MAGPIO are down. Once I switch the modem on - all MAGPIO go to 1.8V (as expected). Taking the modem off causes all MAGPIO to go back to low (0V). Offline modes etc (AT+CFUN=4, 44 etc.) give the same result.

Children
Related