cancel
Showing results for 
Search instead for 
Did you mean: 

Teseo-LIV3F Rate of messages

lucaass95
Associate

I'm using the Teseo-LIV3F module in my project, and I want to receive NMEA messages at a higher frequency than 1 Hz. Is there a command to set the message output rate to 500 ms?

1 ACCEPTED SOLUTION

Accepted Solutions
GalaxyQuest
ST Employee

Hi Lucas,

 

You can change the GNSS fix rate by changing the value of CDB 303 register. However, please note that it might be good to change the clock rate as well by modifying CDB-130.

With 2 Hz update rate (500 ms), it might be fine to stay at default of 9600 baud rate but if you are noticing message dropouts, please increase baud-rate. 

 

$PSTMSETPAR,1130,00,0  //sets clock divider to 0 for max speed
$PSTMSETPAR,1303,0.5   //sets update rate to 2 Hz / 500 ms  
$PSTMSAVEPAR           // save
$PSTMSRR               // reset to save setting to flash

 

If you observe messages are getting dropped, increase baud rate as follows. Once you change baud-rate, please close and reopen Teseo Suite, so that Teseo Suite will autodetect the new baudrate

 

$PSTMSETPAR,1102,0xA    //change baud rate to 115200
$PSTMSAVEPAR            //save
$PSTMSRR                //reset for settings to take effect

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
GalaxyQuest
ST Employee

Hi Lucas,

 

You can change the GNSS fix rate by changing the value of CDB 303 register. However, please note that it might be good to change the clock rate as well by modifying CDB-130.

With 2 Hz update rate (500 ms), it might be fine to stay at default of 9600 baud rate but if you are noticing message dropouts, please increase baud-rate. 

 

$PSTMSETPAR,1130,00,0  //sets clock divider to 0 for max speed
$PSTMSETPAR,1303,0.5   //sets update rate to 2 Hz / 500 ms  
$PSTMSAVEPAR           // save
$PSTMSRR               // reset to save setting to flash

 

If you observe messages are getting dropped, increase baud rate as follows. Once you change baud-rate, please close and reopen Teseo Suite, so that Teseo Suite will autodetect the new baudrate

 

$PSTMSETPAR,1102,0xA    //change baud rate to 115200
$PSTMSAVEPAR            //save
$PSTMSRR                //reset for settings to take effect

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.