STM32 HAL (Hardware Abstraction Layer) is a set of high-level peripheral libraries for stm32 MCUs.
Questions tagged [stm32-hal]
36 questions
0
votes
0 answers
STM32F4 write internal flash through UART
I want to code OTA function in STM32F4 using HAL library.
I already have a LTE module download upgrade binary file and forward to STM32F4 through UART.
The problem is that I know I can receive binary file to RAM by using HAL_UART_Receive_DMA() and I…

doushicai
- 31
- 4
0
votes
2 answers
STM32 Serial DMA - Finding the beginning of the Stream
I have a known serial stream format that I am capturing via the DMA. It has header and footer bytes. But sometimes the MCU starts capturing in the middle of the stream and then the sync is out because the DMA is looking for a set number of bytes. I…

Dylan144GT
- 93
- 1
- 8
0
votes
0 answers
How to load generated .bin from processor(AM5728 i'm using) to internal flash of STM32 Board
I am using an stm32h series controller and i wanted to load generated .bin file into the controller's internal flash form processor(AM5728) end.if anybody has any idea then please let me know.

Tejas Bhumkar
- 1
- 4
0
votes
1 answer
STM32 usart interrupt cannot translate correct data to other functions
I have some problem when I use a stm32 discovery board send data to another one and it can get correct data and print in callback function, but cannot print correctly in other function.
void UART7_IRQHandler()
{
HAL_UART_IRQHandler(&huart7);
…

林鼎倫
- 1
- 2
0
votes
1 answer
stm32 doesn't receive a Rx interrupt from UART
I'm trying to implement simple echo for UART on stm32f4 discovery board (using freertos). As far as I understand it should be very easy.
First I call HAL_UART_Receive_IT(&huart3, &rx_char,1) in a task. And after receiving an interrupt…

Logen Sand
- 111
- 3
- 10
-1
votes
1 answer
STM32H743 nucleo board, using the 3 ADCs at once (1 ADC at a time) on polling mode; doesn´t work
I am working on a project where a STM32H743 nucleo board and use of 16 ADC inputs are involved.
Obviously, these analog inputs are used once a time; read the value via polling mechanism and configure the next input... configure the ADC channel,…

mst
- 11
- 2