once hardware flow control is enabled, rts should only be initialized after the uart is enabled by setting the UE flag. This is stated in the stm32f4 errata.