Hi Daniel,
I do not quite understand your question, could you please elaborate a bit more on what you want to achieve?
To enable the sleep mode, you need to configure all related registers as it is described in the AN4074.
Regards,
Tomas
PS: If my answer solves your question, please mark it as "Correct" or “Helpful”. Thank you.