Associate II
April 26, 2018
Solved
Is there a way to switch from LPUART to USART1 in AT_Slave ?
- April 26, 2018
- 1 reply
- 1087 views
Posted on April 26, 2018 at 10:57
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
#lpuart #stm32l0 #usart #i-cube-lrwan #b-l072z-lrwan1 #at_slave