AnsweredAssumed Answered

Problem with UART and LL drivers

Question asked by SARTHAK KELAPURE on Dec 16, 2017
Latest reply on Dec 19, 2017 by SARTHAK KELAPURE

Hello everyone, this is a problem regarding my DISCO-L072CZ-LRWAN kit which I am using for a project of mine.


I am using the LRWAN expansion kit for LoRa functionality while I am also trying to add up a UART as UART1 on Pin 9/10. While using this UART, I am trying to use the HAL drivers especially HAL_UART_Receive function which receives N number of character and has a timeout given by the user which I am giving as 0x00FF. Internally this function takes sysTick using Get_HAL_Tick() but as the LoRa function has initialized all LL drivers, the getting systick function from HAL does not work. Which means that there will be no timeout and I have to specify the number of characters to be received, which is bizarre.


I hope you understood my problem. Please try and help with solution or any other alternative.


If you have any solution for UART which solves this problem please reply.