Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   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 get more information from the ac6-tools website and download (registration required) various documents highlighting:

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!