User Activity

I'm using HAL UART Receive with DMA (configured using CubeMX). I'm encountering a problem where data via UART, send in chunks, is corrupted if a chunk doesn't fit at the end of buffer perfectly. By chunks I mean a set of byte-sized data that is trans...
I'm trying to calculate the period of DMA ADC interrupt triggered when the destination buffer is completely full. As of my understanding the period is:T_dmaDone = [(T_sample + T_conv) * sampleCount * channelCount] / F_adcIn my case each rank is set t...
After inspecting blocking I2C functions from HAL libraries I found that apparently I2C blocking functions don't return "HAL_TIMEOUT" status if timeout is reached during I2C transfer. The following function does the work of verifying whether timeout w...
I'm using CMSIS-RTOSv2 middleware which I configure through CubeMX. The files generated by CubeMX are somewhat different from the ones from official CMSIS-RTOSv2 github repository where latter has all implementations for memory pool functions and my ...
I'm using STM32F7xx for my project where I use VS Code text editor in combination with CMake project build. I also use CubeMX for code generation. When I generate code using STM32CubeIDE template, the 'syscalls.c' file is generated. It provides the f...