WP7607 - cannot get NMEA through UART2

I am working with sierra Module WP7607, no NMEA sentences is displayed when I set UART2 port to this puropse.

Can you give me the right way to configure UART2 port to get NMEA sentences ?

Thanks

There could be some reasons, such as if correct device drivers are installed, if the GPS settings is correctly configured. Please provide information as detailed as possible.

  1. What is the platform you are using, Linux or Windows? What drivers are you using for AT and NMEA port?
    2), if you can use AT command, what is ‘AT!GPSAUTOSTART?’
  2. you can check if GPS is enable with ‘AT!CUSTOM?’

I’ communicate with WP7607 through AT command ( UART1)
To check if the module sents correctly NMEA sentences, I’m using MangOh green evaluation board, I’connect a RS232 link between the evaluation board ( UART2 ) and my PC .

I think that GPS settings is correctly configured, because when I send AT!GPSLOC command, the module respends with GPS fix position.

  • I configure UART2 as MNEA port with AT!MAPUART command ( service 4 )
  • The AT!GPSAUTOSTART ? is
    enable : 2
    fixtype:1
    maxtime : 180
    maxdist : 50
    fixrate :60 sec

I have one remark :
in 4118047_WPx5xx-76xx-77xx AT Command Reference_r6.pdf page 197 :
"
Requirements:
• NMEA streaming must be enabled using !GPSNMEA before using this command.
"

but this command ( !GPSNMEA) is not supported by module ! in the AT commande référence it is given that this command was removed in revision number 2 release date septembre 2016 ( page 5 )

‘AT!GPSAUTOSTART?’ returns function 2 (2=When NMEA port opened), in this case if ‘AT!GPSLOC?’ response contains GPS fix info that means the firmware detects NMEA port is opened and the GPS engine is started.
To confirm can you disconnect UART2 and see if GPS status changes in AT!GPSSTATUS? (if changes, we can determine UART2 is already configured for GPS service)
Or you can connect a USB cable and see if NMEA sentences are displayed from USB serial port

When I disconnect UART2 the AT!GPSSTATUS? command gives the same response as with UART2 connected.

Let me informe you that NMEA sentences are displayed from USB serial port but not from UART2 port

Below a set of AT commande and responses sends by module

ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7607-1
Revision: SWI9X07Y_02.16.02.00 000000 jenkins 2018/04/19 19:59:02
IMEI: 359780080107133
IMEI SV: 4
FSN: VP811485670210
+GCAP: +CGSM

AT!GPSAUTOSTART?
enable: 2
fixtype: 1
maxtime: 180 seconds
maxdist: 50 meters
fixrate: 2 seconds
OK

AT!GPSLOC?
Lat: 49 Deg 21 Min 40.57 Sec N (0x008C67C8)
Lon: 2 Deg 47 Min 21.80 Sec E (0x0007EF2C)
Time: 2019 04 30 1 12:23:42 (GPS)
LocUncAngle: 0.0 deg LocUncA: 4 m LocUncP: 3 m HEPE: 5.000 m
3D Fix
Altitude: 56 m LocUncVe: 5.3 m
Heading: 0.0 deg VelHoriz: 0.0 m/s VelVert: 0.0 m/s
OK

AT!GPSSTATUS? ----> UART2 connceted
Current time: 1980 01 06 6 00:12:36

1980 01 06 6 00:12:34 Last Fix Status = SUCCESS
1980 01 06 6 00:12:34 Fix Session Status = ACTIVE

TTFF (sec) = 3

OK
AT!GPSSTATUS? ----> UART2 disonnceted
Current time: 1980 01 06 6 00:12:59

1980 01 06 6 00:12:58 Last Fix Status = SUCCESS
1980 01 06 6 00:12:58 Fix Session Status = ACTIVE

TTFF (sec) = 3

OK

I can map service 16 (Linux console) to UART2 with no issue. However I cannot make NMEA service work on UART2.
When I set GPSAUTOSTART=1 and open UART via Prolific UART/USB adapter, I see lot of USB activities but yet no message is displayed. I’m checking with the firmware team.

ok! this is exactly the reason for wich I give the firmwar Revision :).
I’m waiting with impatience the Firmware team back related to this issue, It becomes very critical for our project progress.

Thanks

Confirmed this is a firmware issue and has been fixed in newer versions, please try the new firmware posted here https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-latest-release/ with following setting

  • at!mapuart=4,2 //set NMEA outut via UART2
  • AT!GPSAUTOSTART=1 //NMEA start at boot
  • AT!reset

The NMEA output is like
$GPVTG,326.4,T,307.3,M,0.0,N,0.0,K,A27
$GPRMC,223951.00,A,4910.345976,N,12304.260018,W,0.0,326.4,030519,19.1,E,A,V
68
$GPGSA,A,2,02,03,06,17,19,24,1.3,1.0,0.8,12A
$GPGSV,4,1,14,02,45,175,43,03,07,028,36,06,60,109,46,17,28,063,41,1
6E
$GPGSV,4,2,14,19,49,059,50,24,46,227,44,12,54,299,14,05,333,16B
$GPGSV,4,3,14,25,16,298,28,32,06,317,44,48,1
61
$GPGSV,4,4,14,48,42,51,37,16B
$GPGGA,223952.00,4910.345972,N,12304.260017,W,1,06,1.0,-0.9,M,-15.0,M,7D
$PQXFI,223952.0,4910.345972,N,12304.260017,W,-0.9,3.54,2.60,0.09
5F
$GPVTG,326.4,T,307.3,M,0.0,N,0.0,K,A
27
$GPRMC,223952.00,A,4910.345972,N,12304.260017,W,0.0,326.4,030519,19.1,E,A,V60
$GPGSA,A,2,02,03,06,17,19,24,1.3,1.0,0.8,1
2A
$GPGSV,4,1,14,02,45,175,43,03,07,028,36,06,60,109,46,14,05,333,24,167
$GPGSV,4,2,14,17,28,063,41,19,49,059,50,24,46,227,44,12,54,299,1
64

There are two Firmwares for WP7607 :

  • R12 (Generic — GCF) — WP7607, WP7608, WP7609
  • R12 (Sierra Wireless — GCF) — WP7607, WP7608, WP7609
    Can you give me the right one to be update to ?

Thanks

I guess you don’t have Sierra eSIM installed(?), then please use the first one

  • R12 (Generic — GCF) — WP7607, WP7608, WP7609

If Your question is about the use of cellular network ( GSM), I confirme that I use It, so the principal is to get the GPS information trough UART2 ( NMEA sentences) and send them by SMS trough GSM network.

should I update the model to R12 (Generic — GCF) — WP7607, WP7608, WP7609 ?

Yes, you can use it.

For data and SMS, you can use the USB interfaces, such as AT port and the network interface. For NMEA you can use either the USB NMEA port or UART2. Please note that if UART2 is used, you should use AT!GPSAUTOSTART=1

In our Hardware architecture, it is not possible to use USB module interface, the only used interfaces is UART1 for AT command and UART2 for NMEA sentences. so the SMSs will be sent using AT interface command.
Can you confirme that the module responds to our need please?

I will update the module and use the AT you proposed in this topic and comme back to inform you if all is OK.

I have an other problem whith NMEA sentence form
I configure module to send GGA and GSA sentences every 10 seconds ( evaluation board mangOH, NMEA through USB link )

Can you please explain why the model sent NMEA sentence like this :

GPGSA,A,1,*32

GPGGA,0,*66

GPGGA,090405.00,4921.673512,N,00247.354422,E,1,07,0.6,56.0,M,48.0,M,*57

GPGSA,A,2,06,12,15,17,24,25,32,0.9,0.6,0.7,1*21

As you see the module sends evrey time those unused sentences :

GPGSA,A,1,*32

GPGGA,0,*66

In our Hardware architecture, it is not possible to use USB module interface, the only used interfaces is UART1 for AT command and UART2 for NMEA sentences. so the SMSs will be sent using AT interface command.
Can you confirme that the module responds to our need please?

I will update the module and use the AT you proposed in this topic and comme back to inform you if all is OK.

I have an other problem whith NMEA sentence form
I configure module to send GGA and GSA sentences every 10 seconds ( evaluation board mangOH, NMEA through USB link )

Can you please explain why the module sent NMEA sentence like this :

GPGSA,A,1,*32

GPGGA,0,*66

GPGGA,090405.00,4921.673512,N,00247.354422,E,1,07,0.6,56.0,M,48.0,M,*57

GPGSA,A,2,06,12,15,17,24,25,32,0.9,0.6,0.7,1*21

As you see the module sends evrey time those unused sentences :

GPGSA,A,1,*32

GPGGA,0,*66

those unused sentences are sent up to 8 times between two used sentences.

why the NMEA sentence contains more than used characters ? :

$24 G47 P50 G47 S53 A41,2C A41 ,2C 232 ,2C 232 131 ,2C 232 636 ,2C 333 131 ,2C
,2C ,2C ,2C ,2C ,2C ,2C ,2C ,2C ,2C 737 .2E 131 ,2C 737 .2E 030 ,2C 131 .2E 030
,2C 131 *2A 232 B42 0D 0D 0A 00
$24 G47 P50 G47 S53 A41 ,2C A41 ,2C 131 ,2C ,2C ,2C ,2C ,2C ,2C ,2C
,2C ,2C ,2C ,2C ,2C ,2C ,2C ,2C ,2C *2A 333 232 0D 0D 0A 00
$24 G47 P50 G47 G47 A41 ,2C ,2C ,2C ,2C ,2C ,2C 030 ,2C ,2C ,2C ,2C ,2C ,2C ,2C
,2C *2A 636 636 0D 0D 0A 00

thanks

GPGSA,A,1,*32
GPGGA,0,*66
Indicates that GPS fix is invalid/not available.
Thanks

That mean that even if I configure module tu send NMEA sentences every 30 seconds ( periode) it can send lot of NMEA sentences indicate thate GPS fix is invalid/not available between time periode ?!

GPS fix may be related to how many satellites are in the view, how strength the signal is and required accuracy, etc. You could try the default settings of GPSAUTOSATRT 1, 1, 180, 50, 1 before you tweak the parameters. Also move to close to the windows, etc. please check the GPS signal
AT!GPSSATINFO?
AT!GPSSTATUS?
(Usually you need at least 4 satellites in view)
Yes, even if you configure 30 seconds, that probably will not change the fix result.

OK.
Now the NMEA sentences are sent through UART2 after firmware updating :slight_smile:
I dont found how change UART2 baudrate in documentation.
Can you give me the right way to do this please.

Thanks for your help.