About nRF9160 schematic review of external antenna FW configuration issue

Hi ,

It is currently confirmed that the new version of nRF9160-DK (V1.1.0) circuit design integrates GPS_ EN control is connected to the GPIO pin of COEXO.
However, the GPS products that our company has mass produced are designed according to the old nRF9160-DK circuit to confirm GPS_ EN control is connected to the GPIO pin of MAGPIO.
When GPS_ EN control is connected to the GPIO pin of MAGPIO. The parameter definition "CONFIG_MODEM_ANTENNA_AT_MAGPIO=" AT% XMAGPIO=1,0,0,1,115741577 "in its .config seems to be invalid for GPS_EN control.
For the problem that GPS_EN has no effective control. I need Nordic professional help, thank you.

Parents
  • Hi,

    Which SDK version are you using?

    Could you try to escape the '%'? I.e. instead of "%" use "\%" in your prj.conf

    Best regards,

    Didrik

  • Hi Didrik,

    Thank you for your help.
    The SDK version is v2.3.0. I don't fully understand the way you propose to change the AT command definition. 
    Modifying the definition to CONFIG_MODEM_ANTENNA_AT_MAGPIO="AT\%XMAGPIO=1,0,0,1,1,1574,1577" is invalid for GPS_EN switching internal/external antenna: confirm "CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=n/y" its R5 and R6 contacts ( GPS_EN) are kept at high level. When MAGPIO0 is used as internal/external antenna to switch GPIO, What other definition settings are required by FW to make the GPS_EN level switching correct?

  • CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL does not affect the MAGPIO configuration. It only changes the default value of CONFIG_MODEM_ANTENNA_AT_COEX0.

    Lulu.C said:
    Modifying the definition to CONFIG_MODEM_ANTENNA_AT_MAGPIO="AT\%XMAGPIO=1,0,0,1,1,1574,1577" is invalid for GPS_EN switching internal/external antenna

    I am not entirely sure what you are asking here, but you need the '\' to esacpe the '%', as the value of the config option is treated as a format string.

Reply
  • CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL does not affect the MAGPIO configuration. It only changes the default value of CONFIG_MODEM_ANTENNA_AT_COEX0.

    Lulu.C said:
    Modifying the definition to CONFIG_MODEM_ANTENNA_AT_MAGPIO="AT\%XMAGPIO=1,0,0,1,1,1574,1577" is invalid for GPS_EN switching internal/external antenna

    I am not entirely sure what you are asking here, but you need the '\' to esacpe the '%', as the value of the config option is treated as a format string.

Children
Related