cancel
Showing results for 
Search instead for 
Did you mean: 

USART fifo mode STM32WB

EnricoMosconi
Associate

Hello, I'm using STM32WB55 for my application.

My code is divided in 2 parts, bootloader and application.

I configured the bootloader using USART 1 with FIFO mode disabled. 

In the application I initialize again the USART 1 using the FIFO mode (enabled).

Jumping in the application the USART works fine, but in the bootloader there is something strange, it loses byte when receiving.

It seems the USART is still configured in FIFO mode in bootloader.

NVIC system reset, or power reset, does not resolve the problem.

When configuring the pheriperal in the same mode in both part (FIFO mode enabled or not enabled), everything work perfect.

It sounds like HW problem when initialize or de inizialize the fifo mode.

Anyone has some kind of suggestion?

1 REPLY 1
Uwe Bonnes
Principal III

If power cycle does not help, assume an error first in your program or a hardware problem on your side.