Skip to main content
aritec
Associate III
April 12, 2021
Question

STM32L4 - HSI16 accuracy / over time stability

  • April 12, 2021
  • 4 replies
  • 1520 views

On our project 4 (out of 1200) devices startet to have problems after a few weeks of working. It turned out they had a HSI16 of 15MHz @ the default calibration settings. A recalibrating brought it back to 16MHz, but questions arises:

  1. How can the HSI16 come out of frequency in a very stable environment ?
  2. Do we need to check and recalibrate the HSI16 (MSI) in a timed base manner?

MCU: STM32L496QGI6P

Thanks for any comments

Armin

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
April 12, 2021

Honestly something you should perhaps discuss with your FAE. Not sure the general population has done this kind of long term testing or evaluation.

Temperature and voltage could be most direct causes.

Long term might look for other components absorbing moisture from the environment, or drying in low humidity ones.

Perhap board level stresses.

I don't think there are any aging factors like there would be for crystals.

Might consider replacing the MCU and see if the issue follows the board or the IC

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
April 12, 2021

> HSI16 of 15MHz @ the default calibration settings

Sounds like the possible calibration extreme.

Wasn't the calibration register overwritten by 0 (possibly due to software bug)?

JW

aritec
aritecAuthor
Associate III
April 12, 2021

It was reproducable with every restart.

Here you see the relation HSI16 frequency to calibration value (0..127).

The measurement was done with the LSE 32768Hz 100ppm mean of 10x LSE trigger divided by 8.

  0693W000008zJf7QAE.png

waclawek.jan
Super User
April 12, 2021
aritec
aritecAuthor
Associate III
April 13, 2021

Thank's for the reply, but this has been fixed a while ago.