We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I want to read data from hm-trlr-s series 100 mW LoRa Transceiver using nucleo-L011k4 which is a platform using a STM32L011K4T6 microcontroller.. The Transceiver communicates with the MCU through USART interface. when I run the code in debugging mode the recieve buffer does not change and it show zero. when I use STM32F4DISCOVERY board with the Transceiver I can recieve the data. However, by changing the HCLK frequency of STM32F4DISCOVERY from 168MHz which is maximum frequency for it to any frequency below 168MHz I could not take any response from the Transceiver. I should mention here that once I use the Transceiver with nucleo-L011k4 and putting break points at uart transmitting and recieving code I can take the first character of the data that should I take. Is it necessary to use a big MCU like STM32F4DISCOVERY for this small task or can I use nucleo-L011k4. Thank you for your help.
Baud rate was 9600
Check for UART Prescaler settings on L0, but both L0/F4 should have no issues processing 9600 baud data even if you ran them at 8 MHz.
Thank you Westonsupermare Pier . The problem was solved. It was not related to the frequency. It was related to time_delay that I forgot to write in the code.