2024-02-09 04:37 AM - last edited on 2024-02-28 05:54 AM by Amel NASRI
Hello, we are a manufacturer company that uses STM products. We developed a device using stm32f410 and stm32f446 products 2 years ago. We have a few processors from this old series, stm32f410 and stm32f446, and they work without any problems. However, the new stm32f410 and stm32f446 processors we bought do not work on the same card we developed 2 years ago. Periodically, the processor enters an endless reset loop. When we look at the CUB IDE debugger, we see that PADRST is active in the CSR area. But the reset input is not active. We have 200 new stm32f410 products. We cannot solve the problem. Please can you help?
Thank you in advance for your help.
Solved! Go to Solution.
2024-02-12 12:31 PM
Thanks for your help. I solved my problem. The problem was caused by the low pass filter I connected to the analog input. When I removed the filter the problem was solved. Somehow the low pass filter causes an error in the analog module. This probably causes a power related problem.
2024-02-09 04:49 AM - edited 2024-02-09 04:51 AM
Hi,
In this case better contact STM support directly :
2024-02-09 06:23 AM
PADRSTF/PINRSTF in RCC_CSR indicates the NRST pin was low which caused a reset. What other flags are present in RCC_CSR? Are you clearing them after you read them?
2024-02-09 09:33 AM
Hi, thank you for your answer. Yes, I reset the flags. Other flags appear low. I only run a single led toggle application. LED current 3mA.
2024-02-09 11:03 AM
Probably will need to dig into the details here to fix the issue. Schematic, code, etc. Unlikely to be glaring issues with the hardware, especially one as old and commonly used as the STM32F4 series. Likely to be tied to something specific you're doing.
See if you can reproduce on a much pared down program.
> But the reset input is not active.
How are you verifying exactly? With a scope on the NRST line?
2024-02-12 12:31 PM
Thanks for your help. I solved my problem. The problem was caused by the low pass filter I connected to the analog input. When I removed the filter the problem was solved. Somehow the low pass filter causes an error in the analog module. This probably causes a power related problem.