gnss15  2.1.0.0
Main Page

GNSS 15 click

GNSS 15 Click is a compact add-on board for advanced automotive navigation and tracking applications. This board features the TESEO-VIC3DA, an automotive GNSS dead-reckoning module from STMicroelectronics. This module combines a 6-axis IMU with multi-constellation satellite reception, offering exceptional accuracy and dead-reckoning capabilities. It stands out for its rapid time-to-first-fix and the ability to receive firmware updates for enhanced performance. Designed for flexibility, it supports both UART and I2C communications, includes pins for precise odometer readings, and features an SMA antenna connector for superior signal quality.

click Product page


Click library

  • Author : Nenad Filipovic
  • Date : Oct 2023.
  • Type : UART type

Software Support

We provide a library for the GNSS 15 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Library Description

This library contains API for GNSS 15 Click driver.

Standard key functions :

Example key functions :

  • gnss15_parse_gpgga This function parses the GPGGA data from the read response buffer.
    err_t gnss15_parse_gpgga ( uint8_t *rsp_buf, uint8_t gpgga_element, uint8_t *element_data )
  • gnss15_reset_device This function resets the device by toggling the RST pin.

Example Description

This example demonstrates the use of GNSS 15 click board by processing the incoming data and displaying them on the USB UART.

The demo application is composed of two sections :

Application Init

Initializes the driver and resets the click board.

void application_init ( void )
{
log_cfg_t log_cfg;
gnss15_cfg_t gnss15_cfg;
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, " Application Init " );
// Click initialization.
gnss15_cfg_setup( &gnss15_cfg );
GNSS15_MAP_MIKROBUS( gnss15_cfg, MIKROBUS_1 );
if ( UART_ERROR == gnss15_init( &gnss15, &gnss15_cfg ) )
{
log_error( &logger, " Communication init." );
for ( ; ; );
}
log_info( &logger, " Application Task " );
}

Application Task

Reads the received data, parses the GPGGA info from it, and once it receives the position fix it will start displaying the coordinates on the USB UART.

void application_task ( void )
{
if ( GNSS15_OK == gnss15_process( &gnss15 ) )
{
if ( app_buf_len > ( sizeof ( GNSS15_RSP_GPGGA ) + GNSS15_GPGGA_ELEMENT_SIZE ) )
{
gnss15_parser_application( app_buf );
}
}
}

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Other Mikroe Libraries used in the example:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.GNSS15

Additional notes and informations

Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.


GNSS15_OK
@ GNSS15_OK
Definition: gnss15.h:233
gnss15_s
GNSS 15 Click context object.
Definition: gnss15.h:172
GNSS15_MAP_MIKROBUS
#define GNSS15_MAP_MIKROBUS(cfg, mikrobus)
MikroBUS pin mapping.
Definition: gnss15.h:138
application_task
void application_task(void)
Definition: main.c:99
gnss15_cfg_setup
void gnss15_cfg_setup(gnss15_cfg_t *cfg)
GNSS 15 configuration object setup function.
gnss15_init
err_t gnss15_init(gnss15_t *ctx, gnss15_cfg_t *cfg)
GNSS 15 initialization function.
gnss15_reset_device
void gnss15_reset_device(gnss15_t *ctx)
GNSS 15 reset device function.
application_init
void application_init(void)
Definition: main.c:69
gnss15_cfg_t
GNSS 15 Click configuration object.
Definition: gnss15.h:201
gnss15_parse_gpgga
err_t gnss15_parse_gpgga(uint8_t *rsp_buf, uint8_t gpgga_element, uint8_t *element_data)
GNSS 15 parse GPGGA function.
GNSS15_RSP_GPGGA
#define GNSS15_RSP_GPGGA
Definition: gnss15.h:77
GNSS15_GPGGA_ELEMENT_SIZE
#define GNSS15_GPGGA_ELEMENT_SIZE
GNSS 15 GPGGA command elements.
Definition: gnss15.h:84