Xinyuan-LilyGO / LilyGo-T-SIM7080G

52 stars 26 forks source link

Spurious interrupts ? #68

Closed dannybackx closed 4 months ago

dannybackx commented 6 months ago

Hey, I'm trying to write code to reliably flag power changes (send a signal to my phone when the house power goes down) using the interrupt mechanism. I'm not using Arduino though so my code looks slitghtly different than the examples.

Sample output :

E (22:14:20.375) Power Interrupt: loop 0x8 BAT_CHG_OVER_TEMP_IRQ
E (22:14:21.373) Power Interrupt: loop 0x0 
E (22:14:22.372) Power Interrupt: loop 0x0 
E (22:14:23.371) Power Interrupt: loop 0x0 
E (22:14:24.495) Power Interrupt: loop 0x10 GAUGE_NEW_SOC_IRQ
E (22:14:27.723) Power Interrupt: loop 0x8 BAT_CHG_OVER_TEMP_IRQ
E (22:14:28.722) Power Interrupt: loop 0x0 
E (22:14:29.720) Power Interrupt: loop 0x0 
E (22:14:30.719) Power Interrupt: loop 0x0 
E (22:14:31.718) Power Interrupt: loop 0x0 
E (22:14:32.716) Power Interrupt: loop 0x100000 BAT_CHG_DONE_IRQ
E (22:14:33.715) Power Interrupt: loop 0x0 
E (22:14:34.839) Power Interrupt: loop 0x10 GAUGE_NEW_SOC_IRQ
E (22:14:35.629) Power Interrupt: loop 0x1000 BAT_REMOVE_IRQ

What could be causing this ?

FYI https://sourceforge.net/p/lilygo-t-sim-7080-s3/code/HEAD/tree/trunk/webserver/

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 4 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.