1.8k views
in GUI Development by

Hi, 

I don't know if it is the best place to ask it but:

I am using STM32F769-Discovery Platform Package for developing a product prototype.

I have modified ew_bsp_console.c for using USART6 instead of USART1 for communications. That is working perfectly if using HAL_UART_Transmit() in EwBspConsolePutCharacter().

Now I'm trying to use HAL_UART_Transmit_IT() along with USART6_IRQHandler(). Also, I have modified  EwConsoleOutput() for sending all buffer at once, instead of single characters.

Attached the modified files:https://ask.embedded-wizard.de/?qa=blob&qa_blobid=588006794209012583

The issue is that I get this response when transmitting (PC and stm32 serial config are: 9600,8bits,1stop, none parity, none hw control)

Why sometimes the transmission is not correct?

Kind Regards,

Rafa

1 Answer

0 votes
by
Hi Rafa,

since this question is not related to GUI development with Embedded Wizard, let me recommend to have a look into the UART examples that are provided with the STM32 Cube firmware tree and to have a look into some STM32 forums. I think there will be a lot of discussions about UART configuration with or without interrupts.

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...