cancel
Showing results for 
Search instead for 
Did you mean: 

trying to get NMEA sentences from EVB-VIC3DA using NUCLEO-C031C6

swayamsidhmohanty
Associate

Happy New Year everyone !

I am currently trying to get the nmea sentences from the above gnss module (vic3da) i have connected the uart rx/tx and ground (gnd) and am able to ping the gps unit but unable to read any data from it has anyone ever written code that i might have a look at to know if I'm doing some thing wrong as I am completely new to MCUs or can anyone guide me to complete my project successfully ? 

 

with regards

swayam :)

1 REPLY 1
GalaxyQuest
ST Employee

Hi,

VIC3DA has 2 UARTs, UART1 and UART2. By default, NMEA is coming out of UART2. 

Can you please tell me which UART (UART1 or UART2) you are tapping into?

Where you are connecting the UART lines?

Have you put a scope or logic analyzer on the UART TX pin to see if there is data coming out on the point where you are tapping into?

If you are looking into developing application development with an MCU, it is better to use UART1 as there is J401 and J403 with UART pins exposed. You can connect STM32 MCU UART lines here.

To change internal routing for VIC3DA from UART2 to UART1, you should send the following commands.

 

 

$PSTMSETPAR,1101,1  //changes from UART2 to UART1
$PSTMSAVEPAR        // save into flash
$PSTMSRR            // software rest for settings to take effect

//any time you make a change to CDB (register settings), you have to send $PSTMSAVEPAR followed by $PSTMSRR for settings to take effect.

 

 

Please note that once you change communication from UART2 to UART1, you will no longer see data on the USB port. 

Also there is board called X-NUCLEO-GNSS2A1 board which plugs directly into the ST morpho connector. This might be the best hardware fit your development needs. https://www.st.com/en/ecosystems/x-nucleo-gnss2a1.html

Regarding firmware, you can refer to X-NUCLEO-GNSS1 software package. Please refer to getting started guide on how to start a project and you can include one of the example projects as part of your application during GNSS middleware configuration.

 


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.