LoRa B-L072Z-LRWAN1 AT-slave firmware on USART1 in stead of LPUART
Hello
For an IoT project I am using the CMWX1ZZABZ-078 LoRa transceiver module, which is used in the B-L072Z-LRWAN1 evaluation board. I want to use the LoRa module as an AT command slave. So that I can use an other MCU as master. They are communicating with eachoter via UART. The AT-slave firmware can I download from the website from ST, I-CUBE-LRWAN. This contains an example of such an AT slave firmware. Now my problem is that on the evaluation board the LoRa module communicates with the STLink MCU via LPUART1. The Tx pin is on PA3 and the Rx pin is on PA2. For my project I want to use the USART1 which is located on pins PA9 (Tx) and PA10 (Rx).
So first I changed the UART hardware definitions so that I initialize USART1 in stead of LPUART1. However, when I test this I can only send some data, but I get no feedback. Maybe its because of the DMA?
The thing is that I am not sure that my device works correct, because I get no feedback from the LoRa module.
Maybe somebody knows what I am doing wrong?
Thanks!
Gilles
