2019-09-09 01:16 AM
Hi there, I have set up my STM32WB55 nucleo board up to work in the platform for my company. So far, the UART and GPIO are working. But I'm stuck on the BLE. I can set it up and find it with my phone, but when i connect to it, it doesnt get me an user event. I It's kinda strange because I get these IPCC_Rx interrupts in the APP_BLE_Init(), but when it starts advertising and I connect(which is working, i can read attributes on my phone) I don't get an interrupt. I also noticed that the timer that handles the connection state machine to restart the adversting when nobody connects to it, also doesn't work.
I checked with the BLE_BloodPressure example from ST and when i connect to this, it generates an interrupt.
Hope somebody can help me, I've been stuck for some days now on this problem
Solved! Go to Solution.
2019-09-09 02:41 AM
I fixed the problem. In the ST example, they use their own debug channel. But when you turn off the debugging and also the defines(in the AppConf), the chip goes in LPM(low power mode). I am using my own debugging so i turned it off...
So for people not getting any events after discovery mode, check if you are in low power mode and turn it off ;) (I don't need to LPM in my application for now)
Thx for all the answers
2019-09-09 01:56 AM
Let me confirm one point.
Using any of the examples provided in the ST official STM3232WB Cube FW package is working fine, correct?
You developped your onw application on the Nucleo board.
2019-09-09 02:41 AM
I fixed the problem. In the ST example, they use their own debug channel. But when you turn off the debugging and also the defines(in the AppConf), the chip goes in LPM(low power mode). I am using my own debugging so i turned it off...
So for people not getting any events after discovery mode, check if you are in low power mode and turn it off ;) (I don't need to LPM in my application for now)
Thx for all the answers