Question
Character Match in UART setting problem
Posted on November 30, 2016 at 19:45
Hi,
I am trying to set a character match interrupt on Uart2 of stm32L4 (discovery board).all things work fine but it just seems to have a bug, in page 1229 of STM32L4X6 datasheet it is written:''This bit field can only be written when reception is disabled (RE = 0)or
the USART is disabled(UE=0)''before i write CR2[32:24] for the Character, i Disable RE, but CR2 doesn't get new value !it only gets new Value when i Disable UE !means i have to disable whole uart to be able to write on CR2 character match side.is it a bug in MCU or i'm doing something wrong ... ?!