STPM3x INT1/2 outputs - how to configure
hi,
I am now familiar with the STPM3x programming, by using EVALSTPM33/34 boards.
I have been able to do some basic low voltage testing where I receive interrupts on INT1 line on EVALSTPM33/4 for voltage swell before I try mains voltages.
Then I run the same code (same SPI frequency 12Mhz, same MCU driving it) on our proprietary HW at mains voltage, that uses STPM33 in the recommended configuration, the INT1 line is not changing when a swell event occur (here I tested current swell). Here the swell logic is generating interrupts into the IRQ register, but the external pin INT1 is not changing. CRC's etc of registers seem correct, and I am taking care not to write to reserved bits, using read/mod write. I have read the Metrology code in en.stsw-stpm002.zip
In order to rule misconfiguration of the STPM3x on our proprietary board, my question is, how is the multifunction muxing of INT1 achieved?
There is no obvious setting I can see in the STPM3x spec. I couldn't see that LCS1/2 control this.
please can you advise if there is anything else I could check in programming the STPM3x,
thank you.
Paul
