Skip to main content
Visitor II
August 5, 2025
Question

STPM32 triggers interrupt for non masked bits.

  • August 5, 2025
  • 0 replies
  • 122 views

Hello,

I use a STPM32 on a battery charge system. The STPM32 is associated with an ESP32 module.

The driver used is from ST (V1.0, 17 may 2016).

I want to detect some defaults with interrupt, and I configure the interrupt mask only for current and voltage swell.

But when I launch a battery charge, an interrupt is triggered (the period error interrupt) which is not masked.

I don't understand this behavior and don't find an answer in the datasheet.

Any help would be appreciated !

Best regards

Gilles.