Hi,
First you need to have two clock configurations for the CPU component, check the image below, here configuration 0 is configured in PEE mode and the configuration 1 is configured in BLPI mode allowing low power modes.

In the Serial component enable the component in both clock configurations and set a baud rate that both configurations can achieve.

I hope this information can help you.
Regards,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. It would be nice!
-----------------------------------------------------------------------------------------------------------------------