2022-09-25 08:34 AM
ADS_DRDY_Pin is PC11. When I change GPIO_MODE_IT_RISING to GPIO _MODE_IT_FALLING, my ble server can not work normally. Rising is ok, but I can't find my ble device(in falling). Thank in advance.
Solved! Go to Solution.
2022-09-27 02:19 AM
Once again, is the code FULLY working with rising edge? Could you please test it again? Is there anything else you have changed?
Also, where do you call UTIL_SEQ_Run() if the last code-image is the main loop?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-09-27 02:40 AM
I have tested many times. I haven't changed anything else. The falling edge really doesn't work.
In main loop,It only has UTIL_SEQ_Run() . The following picture content(HAL_GPIO_Readpin) is just a way to replace edges interruption. But I don't know how to add to UTIL_SEQ_Run(). Because it is neither an external interrupt mode nor a virtual timer to send notifications regularly...
2022-10-15 02:07 AM
I just moved the red circle part of Figure 1 to the position of the red circle in Figure 2, but I don't think anything has changed, but the program is fine. Can you tell me?
2022-10-17 09:46 PM
Thank you for your help. It's really a problem with my program.:beaming_face_with_smiling_eyes: