Example of how use UART to communicate with a LTE modem #stm32 #uart


Gustavo FN
 

Hi everyone,

I am new with Zephyr OS and I have a STM32 nucleo l4rz5i board. I'm using the default UART2 port for console output and I would like to use uart1 to connect to a LTE modem, to be able to send data to an API over AT commands.

Basically I need to know how to setup the UART1 port, be able to send commands and read the response from the LTE modem.

As far as I have seen, is no simple uart example in the sample section. So it is difficult for me to figure out how to take the initial steps. Please, has someone did it before and could share how it was done?

All the best

Join users@lists.zephyrproject.org to automatically receive all group messages.