Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


HAL_UART_Transmit_IT only work for Size 4 or smaller

Dear friends,

I have been struggling with a problem using HAL_UART_Transmit_IT.

I assume all config files should be ok, as the transmission works fine for messages with 4 or fewer words. Any thoughts would be very much appreciated.

Thanks

Ps. Config files attached.

Hi Fernando,
What does your code look like?

What do you mean by “only work for 4 or fewer words.”

Hello HankB,

the code is as simple as:


uint8_t aTxStartMessage[] = “\n\r ****UART-Hyperterminal communication based on IT ****\n\r Enter command :\n\r”;
HAL_UART_Transmit_IT(&huart4, (uint8_t*)aTxStartMessage, SIZE);

if SIZE is more than 4, I get an overrun error. I had to disable the Error Interrupt, and everything works just fine....

Thanks!