2020-06-18 10:23 AM
I am using Nucleo - L412KB I think I might have encountered a Software bug. As you can see in the screenshot, the contents of the PWR_SCR in the SW don't match with the one in the reference manual. The contents of this register are probably swapped with PWR_SCR register and some bits are missing too.
PWR_SCR: Power Status Clear Register
PWR_SR1: Power Status Register
Solved! Go to Solution.
2020-06-20 12:06 AM
The bit naming in SVD file is wrong and ETX_SMPS_RDY bit is missing.
2020-06-18 10:50 AM
If you or anyone can make sure that you are right, I think you need to check your board origin again. I met the problem with registers on Stm32F1, data in TIMx_CCR when using in encoder mode had been seems swapped with other register in Timer group (may be TIMx_DR, I don't remember exactly). and one more case with UART2. After that, I realize that my blue pill boad (STM32F103C8T6) is counterfeit product, i think it may be the root cause. Hope this help
2020-06-20 12:06 AM
The bit naming in SVD file is wrong and ETX_SMPS_RDY bit is missing.
2020-06-28 05:21 PM
@Piranha @HPham.1590 I am able to successfully do what I have to. It's just the naming. The naming is wrong and yes, I haven't checked the ETX_SMPS_RDY but, I am sure it works too. Just follow the datasheet, ignore what it says in the Software and you will be able to get your desired outcome.
Thanks guys for your answers:)
2020-07-15 09:52 AM
Hi @Anonymous ,
I reported this error found on STM32L412.svd (and STM32L4x2.svd file) internally.
Thanks for highlighting it and I will keep you informed once fixed.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2020-07-19 06:12 AM
Thanks @Amel NASRI :smiling_face_with_smiling_eyes: