Skip to main content
Associate II
June 27, 2024
Question

About int18 in sample code spc58ec wkpu

  • June 27, 2024
  • 2 replies
  • 1021 views

Hello, I have a question. Regarding waking up the system from LOW POWER mode, I want to use the WKPU but not with a push button as in the example.  Instead, I want to use a GPIO port to monitor an external signal. I want to use a rising edge interrupt. I cannot use INT18 because it is connected to a push button and the signal pin is always connected to VCC.  Therefore, a rising edge cannot be achieved.

2 replies

Erwan YVIN
ST Employee
July 1, 2024

Hello Tuan,

I recommend to check SPC5Studio Tools Suite

ErwanYVIN_0-1719824281203.png

SPC5-STUDIO - Code Generator, Quick resources configurator and Eclipse development environment for SPC5 MCUs - STMicroelectronics

Which family do you use?

         Best regards

                     Erwan

 

 

 

tuananh13Author
Associate II
July 2, 2024

dear Erwan
Thank you very much, I have found the solution.