RFQ/BOM 0 로그인 / 등록하다

귀하의 위치를 선택하세요

사용자 이미지

STM32F103 cannot wake up when it enters STOP mode during interrupt.

MCU
12월 21, 2020 by Gwyneth 2003

I encountered a problem when debugging the STOP mode. I used the GPIO interrupt to enter the STOP mode and also used the GPIO interrupt to wake up

But if you enter STOP mode directly in the GPIO interrupt function, you cannot wake up

If the flag bit is set in the GPIO interrupt, the while detection enters the STOP mode in the main function, you can wake up

Excuse me, can I enter the STOP mode during interrupt processing?


모든 댓글

user image

Dewi 게시 날짜 December 21, 2020

Does it have anything to do with this?

0
user image

Marylou 게시 날짜 December 21, 2020

In the main loop to stop, before entering the stop, hang the corresponding IO to the corresponding interrupt line.

0
user image

Brylin 게시 날짜 December 21, 2020

Try not to enter the stop mode in the interrupt. In the main loop mode, enter the stop mode

1. Because the following program needs to be executed after waking up, try to enter the stop mode in the main loop

2. After waking up from stop mode, reconfigure the clock

0

답변 작성

답글을 달려면 로그인이 필요합니다. 로그인 | 등록하다