2026-05-13 6:50 PM
There is a bug in the FW package V1.6.3 where the UART and DMA doesn't work correctly.
I've been using FW package V1.6.2 for awhile with UART in DMA circular mode and it has never had an issue.
I've recently made a copy of the project to make an A and B comparison because we needed to make some subtle changes. I migrated to the latest FW Package V1.6.3 for the B project.
With V1.6.3, when receiving a string command, i only receive a few character from the beginning of the string and the last few characters from the end of the string. A bunch of characters are missed from the middle of the string.
I decided to go back to FW package V1.6.2 in CubeMX because that is the only thing that really changed and generated the code. The project works correctly.
What i see in V1.6.3 are a lot of missing huart->TxXferCount = 0U; and huart->RxXferCount = 0U; throughout the stm32g0xx_hal_uart.c file compared to V1.6.2
In WinMerge you can see in the left column a bunch of differences, mostly the missing huart->TxXferCount and huart->RxXferCount
WinMerge also shows in folder mode, a lot of the HAL drivers have changed.