AnsweredAssumed Answered

Is there a way to switch from LPUART to USART1 in AT_Slave ?

Question asked by Nicolas Hell on Apr 26, 2018
Latest reply on Apr 27, 2018 by Nicolas Hell

Hi everybody,


I work on a B-L072Z-LRWAN1 and particularly on the AT_Slave project from I_CUBE_LRWAN. I know that this project uses LPUART via ST-LINK to send AT commands through a terminal to the Murata LoRa module, the pin related are PA2 and PA3 for Tx and Rx.


What I would like to do is to switch from LPUART to USART1 (I need to do that for another project). I tried to change the code in order to replace LL_LPUART by LL_USART then I tested it and tried to send AT on USART1 through a terminal plugged to PA9 and PA10 pins (Tx and Rx for USART1) but it didn't work, the code changed is joined.


So my question is, is there a way to do what I try to do ? To switch from LPUART to USART1 to send AT commands ?


Thank you