Skip to main content
Lep
Senior
September 25, 2022
Solved

STM32WB55RGV6 GPIO pin configuration 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).

  • September 25, 2022
  • 1 reply
  • 5122 views

0693W00000SwBb6QAF.png0693W00000SwBbBQAV.pngADS_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.

This topic has been closed for replies.
Best answer by Jaroslav JANOS

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?

1 reply

Jaroslav JANOS
ST Employee
September 26, 2022

Hello,

so the ADS_DRDY is some external signal? Could you please give us more information about this?

Also, why have you changed the pull-down to pull-up?

Jaroslav

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.
Lep
LepAuthor
Senior
September 26, 2022

Thank you. :beaming_face_with_smiling_eyes:

It's no pull, the picture is wrong.

When I use raising edge external interruption, all is well.

When I use falling edge external interruption, the led can toggle, but I can't find my BLE device (BLE can't work). Can I think the cause of my problem is on the bluetooth side?

​If so, I still don't know how to fix it.

The ADS_DRDY signal are as follows(ads1299 datasheet):0693W00000SwDdOQAV.png0693W00000SwDeCQAV.png