Skip to main content
YJain.1
Associate II
December 30, 2019
Question

How to enable GPGLL on Teseo-Liv3F module ?

  • December 30, 2019
  • 7 replies
  • 3508 views

I am working with Teseo-Liv3F to test NMEA0183 strings over BLSP UART 12 on my board.

  1. wanted to know how reset and wakeup are used to monitor UART transfers ?
  2. How can we enable GPGLL, GPVTG on the module to obtain NMEA strings?

To test the antenna used is : FR-01-S4-224 ,also gpsmon application and gpsd daemon .

I am unable to get location fixed , only empty strings are coming.

Is there any info about ways to check firmware file is updated, or to flash the binary on the Teseo-Liv3F module ?

Thanks in advance.

    This topic has been closed for replies.

    7 replies

    Tesla DeLorean
    Guru
    December 30, 2019

    No fix is more indicat​ive of a poor RF path or poor antenna implementation/placement. Check tuning, test outside with clear view ok sky.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    YJain.1
    YJain.1Author
    Associate II
    December 30, 2019

    I have used the passive antenna FR-01-S4-224, which I know is the reason for long time-taken-to-fix . But is there any :

    1) means to modify LNA circuits to get a quicker fix ?

    2) means to check if the module has necessary firmware uploaded ?

    Tesla DeLorean
    Guru
    December 30, 2019
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    YJain.1
    YJain.1Author
    Associate II
    January 2, 2020

    My procedure to test GPS is as simple as :

    1) Connecting the antenna to the module, and running gpsd daemon in background.

    2) Application to test NMEA : gpsmon

    How impactful is it to configure the module using commands designed by ST in Teseo-Suite ?

    Is it the part of procedure to run these configurations on every module to start searching for satellites ?

    Thanks in advance..

    YJain.1
    YJain.1Author
    Associate II
    January 3, 2020

    I have followed the steps you suggested.

    The log file attached says :

    [03-01-2020 10:38:27] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER

    Please check the file for reference.

    Thanks

    [03-01-2020 10:35:38] INFO APPLICATION MAIN Application starts with no args
    [03-01-2020 10:35:38] INFO MANAGER VERSION Product : TeseoSuite
    [03-01-2020 10:35:38] WARNING MANAGER VERSION Platform and build number unknown
    [03-01-2020 10:35:41] INFO MANAGER SERIAL_PORT Port COM24 - not data received
    [03-01-2020 10:35:41] WARNING FORM MAIN Automatic port detection failed
    [03-01-2020 10:35:49] INFO SYSTEM NMEA_SETTINGS Load NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadNMEA.xml 
    [03-01-2020 10:35:49] INFO SYSTEM NMEA_SETTINGS Load output NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadOutputNMEA.xml 
    [03-01-2020 10:35:49] INFO MANAGER VERSION Product : DRLIB
    [03-01-2020 10:35:49] INFO SYSTEM NMEA_SETTINGS Load NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadNMEA.xml 
    [03-01-2020 10:35:49] INFO SYSTEM NMEA_SETTINGS Load output NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadOutputNMEA.xml 
    [03-01-2020 10:35:49] INFO FORM SESSION Session Name:[Auto], Add Device:[STA8090_v4.5.1_D1], NmeaPort:[COM24,115200,8,None,One,1000], 
    [03-01-2020 10:36:38] INFO MANAGER SERIAL_PORT Serial port COM24 input buffer size: 7200 bytes
    [03-01-2020 10:36:39] INFO MANAGER DEVICE Open Port:[Control] on device [STA8090_v4.5.1_D1]
    [03-01-2020 10:36:39] INFO MANAGER DEVICE Start read nmea thread on device [STA8090_v4.5.1_D1]
    [03-01-2020 10:36:39] INFO MANAGER NMEA >$PSTMGETSWVER,255
     
    [03-01-2020 10:36:39] INFO MANAGER NMEA >$PSTMGETSWVER
     
    [03-01-2020 10:36:39] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER,255
    [03-01-2020 10:36:39] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER
    [03-01-2020 10:37:00] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER
    [03-01-2020 10:37:20] ERROR DECODER NMEA No Checksum in the frame : $PSTMCOLD,F
    [03-01-2020 10:37:42] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER
    [03-01-2020 10:38:27] INFO MANAGER NMEA >$PSTMGETSWVER,255
     
    [03-01-2020 10:38:27] INFO MANAGER NMEA >$PSTMGETSWVER
     
    [03-01-2020 10:38:27] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER,255
    [03-01-2020 10:38:27] ERROR DECODER NMEA No Checksum in the frame : $PSTMGETSWVER

    Technical Moderator
    January 7, 2020

    Hi

    Sorry for a so long delay due to Christmas Holiday.

    Than:

    1. LIV3F is shipped already programmed and tested therefore no reason to reflash/reprogram the module
    2. GPGLL message is already enabled in the default-message-list

    In the Log I see:

    > COM24,115200,8,None,One,1000

    it's wrong ... the default LIV3F baud rate is 9600

    On the No-Fix-Issue:

    • LNA and SAW filter are strongly suggested; moreover the passive antenna FR-01-S4-224, you are using, seems not-good for GNSS signal;

    > wanted to know how reset and wakeup are used to monitor UART transfers ?

    wakuep pin is required to asynchronous waking-up the module from standby (no real relationship with UART transmission)

    reset pin (active low) is used to reset the module

    Hope this helps

    Regards

    Francesco

    YJain.1
    YJain.1Author
    Associate II
    February 4, 2020

    I am configuring the UART port for using Teseo-LIV3F. I have used BLSP_UART12 of Qualcomms SD820 board.

    In this the board is having issues in registering UART port, since its having only /sys/devices/platform/soc/75b4000.uart/.

    Is there any UART driver that needs to be configured for this module to start UART tx and rx ??

    Thanks for any help on this..

    Technical Moderator
    February 4, 2020

    Hi

    just because you are powering the module LIV will start transmitting.

    There is no special driver...

    You have only to configure the Host.UART with the right setting:

    9600 - 8bits- 1STop - ParitiNone

    Host doesn't have to raise any command to trigger LIV transmission.

    At the end just using a minicom on the tty port you should see the NMEA stream

    Regards

    Francesco

    YJain.1
    YJain.1Author
    Associate II
    February 6, 2020

    Is there a Linux variant of the Teseo-Suite application ??

    And is the serial USB driver only way to detect the Device for communication.

    Since in my case the UART port from module is linked to processor without having output FTDI connection.

    Thanks for any help on this..

    Technical Moderator
    February 6, 2020

    Hi

    > Is there a Linux variant of the Teseo-Suite application ??

    No . there isn't any Linux variant.

    In any case the standard NMEA message (GPGGA... GPGLL etc... ) should be parsed by gpsd standard linux program.

    > Since in my case the UART port from module is linked to processor without having output FTDI onnection.

    both the board EVB-LIV3F and X-Nucleo-GNSS1A1 provide I2C port access to the LIV.

    On the I2C port LIV3F proves the same NMEA stream available on the UART.

    Hope this helps

    regards

    Francesco

    YJain.1
    YJain.1Author
    Associate II
    February 20, 2020

    Hi,

    I have got the UART port working, it was issue with the PIN assignment.

    I am finally getting UART prints from : tio /dev/ttyMSM3

    Is there any existing application/method to parse the values coming from UART, so that I could print Latitude & Longitude values from the GPGLL/GPGSA values printed constantly.

    YJain.1
    YJain.1Author
    Associate II
    February 6, 2020

    Yes, I opt to test it over UART and the log file from Teseo-Suite is :

    [06-02-2020 14:53:40] INFO APPLICATION MAIN Application starts with no args

    [06-02-2020 14:53:40] INFO MANAGER VERSION Product : TeseoSuite

    [06-02-2020 14:53:40] WARNING MANAGER VERSION Platform and build number unknown

    [06-02-2020 14:53:44] INFO MANAGER SERIAL_PORT Port COM25 - not data received

    [06-02-2020 14:53:44] WARNING FORM MAIN Automatic port detection failed

    [06-02-2020 14:55:12] INFO SYSTEM NMEA_SETTINGS Load NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadNMEA.xml

    [06-02-2020 14:55:12] INFO SYSTEM NMEA_SETTINGS Load output NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadOutputNMEA.xml

    [06-02-2020 14:55:12] INFO MANAGER VERSION Product : DRLIB

    [06-02-2020 14:55:12] INFO FORM SESSION Session Name:[test], Add Device:[STA8090_v4.5.1_D1], DebugPort:[COM25,9600,8,None,One,1000]

    [06-02-2020 14:55:22] INFO MANAGER SERIAL_PORT Serial port COM25 input buffer size: 600 bytes

    [06-02-2020 14:55:22] INFO MANAGER DEVICE Open Port:[Debug] on device [STA8090_v4.5.1_D1]

    [06-02-2020 14:55:22] INFO MANAGER DEVICE Start read debug thread on device [STA8090_v4.5.1_D1]

    [06-02-2020 14:56:19] INFO MANAGER DEVICE Close Port:[Debug] on device [STA8090_v4.5.1_D1]

    [06-02-2020 14:56:47] INFO SYSTEM NMEA_SETTINGS Load NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadNMEA.xml

    [06-02-2020 14:56:47] INFO SYSTEM NMEA_SETTINGS Load output NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadOutputNMEA.xml

    [06-02-2020 14:56:47] INFO MANAGER VERSION Product : DRLIB

    [06-02-2020 14:56:47] INFO SYSTEM NMEA_SETTINGS Load NMEA configuration file : C:\Users\yash.j\AppData\Local\STMicroelectronics\Teseo_Suite\NMEA_Payload\STA8089_8090\ConfigPayloadNMEA.xml 

    In the NMEA decoding window:

    On sending $PSTMGETPAR

    The system didnt print any logs

    Is there anything basic I'm might be missing ?

    Technical Moderator
    February 6, 2020

    Hi

    > [STA8090_v4.5.1_D1], DebugPort:[COM25,9600,8,None,One,1000]

    Sorry but you have to configure and enable the 'Ctrl port'

    You can follow the presentation @ https://www.st.com/resource/en/product_presentation/evb-liv3f-presentation.pdf

    Regards

    Francesco