2019-06-10 07:13 AM
Hi Everybody,
I have an issue with STM32L433CCU6, when it's entering or exiting STOP 1 mode at temperatures from -36dC to -29dC uP completely freezes
Basic overview of program:
Overview of behavior:
I want to ask whether you experienced similar behavior even at room temperatures, and how to solve this problem.
I will be very grateful if you help me solve this issue. Thanks.
Tomas
Solved! Go to Solution.
2019-10-28 04:25 AM
Thanks you all for helpful advice.
My problem was hardware related. I found that uP doesn't work even directly with HSE with some crystals and room temperatures. I ran successfully same setup on another design ( same L4 and crystal ) without error, Main cause was insufficient grounding of crystal pads and crystal paths separation from another signals, therefore it was presented on all boards I have tested. It seems that PLL works differently with HSE and can overcome mentioned design error within some temperature range.
Problem was solved using HSI as main clock source as this clock source was sufficiently stable through whole temperature range.
2019-06-10 07:40 AM
The chip is rated to -40C. I suggest you discuss with STM if that rating is for run condition when the chip is self heating. (Edited)
Regards, Hal
2019-06-10 07:43 AM
Are you using a chamber or a freeze spray? How fast the temperature transient?
2019-06-10 08:07 AM
Hi Hal,
thank you for joining. Yes that is true, all ICs used in design have -40 dC rating. ST declares that operating conditions are from -40 dC, that should mean it includes all low power modes. I have very good experience with STM32L151CBU6A which works even at temperatures -50 dC without any issue. I performed also cold startup test when STM32L4 was at temperature -40 dC for several hours without power and then power was connected. It performs well. I have tested 4 chips on 4 PCBs all of them have similar behavior.
Tomas
2019-06-10 08:16 AM
Hi,
I used in first test Cryostat and in several other tests Climatic chamber. Temperature slope in first case was about -1dC / 2 minutes and in second case it was about -1 dC / 1 minute. I always wait for complete settlement of temperature.
Tomas
2019-06-10 03:28 PM
Are you sure it isn't the HSE (I assume a crystal) that is freezing ? Maybe stick to the HSI at such low temperatures
2019-06-10 11:02 PM
Hi,
thank you for your interest. The HSE is monitored with Clock Security System and in the case of HSE failure MSI clock starts and software tries to recover HSE. Even if HSE fails, chip should be able to be reset with NRST, communicate through SWD and consumption should be the same as with HSE. I think HSE works fine; I tested design down to -60 dC without any problem and communication at 1200 bps works, with MSI I think at that temperature it would probably fail.
Tomas
2019-06-11 12:25 AM
Can't you simply try, sticking to HSI, trying to eliminate one possible point of failure? (Rationale is, what if HSE fails and - as you've said - it's quite likely MSI won't start, so CRS might fail, too).
And I'd also try to omit the PLL. The "big" 'L4s have an erratum where their PLL's won't lock at sub-zero temperatures, if their VCO is set below 96MHz (they are normally allowed to go as low as 64MHz). While in the "little" 'L4s the PLL VCO is not allowed to go below 96MHz, I'd say this is another potential point of failure I'd recommend to try to eliminate.
JW
2019-06-20 03:53 AM
Could you please try to run from HSI to avoid use of HSE ?
Could you also try to run your code from SRAM ?
The problem is sees on 4 boards out of 4 boards, or 4 out of XXXX ?
2019-10-28 03:25 AM
Please check your PLL/PLLSAI/... VCO as waclawek.jan said.
Our thread, perhaps same problem: https://community.st.com/s/question/0D50X0000BVnby2SQB/have-anyone-noticed-a-problem-with-the-stm32l4-wakeup-timer-wakeup-from-standby-with-temperatures-10c
The PLL had no problems to lock at our PCBs, but the collateral damage/disturbance seams to be real.