cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB1 BLE reduce connecting time

Minkyu Kim
Associate III

Hello,

I made 2 project about client and server using stm32wb1mmc product.

 > server project is using "custom p2p server"

It works well but I want to improve usability.

 

1. How to reduce scan time for connect client to server?

  > I quote it from examples. use "CFG_TASK_START_SCAN_ID" when external pin interrupt is set.

    so when button is pushed, client start scan request. after 10s appx, client can be connected server.

    I want to reduce this time.

 > Or is it possible to scan as soon as the power is applied? In my case it didn't work due to Hardfault.

 

2. How to enter sleep(stop) mode cpu2?

As far as I know, cpu2 can't enter stop mode after cpu1 & cpu2 booted completely. If it is correct, is it no way to cpu2 enter sleep and wake up?

 

3.I don't think the low power settings are working correctly. In my case, it consumes around 6mA. What are some settings I've missed?

1 REPLY 1
DS.4
Senior II

I an not an ST guy, but that what I think might help.

 

1. To reduce connection time you can try to  advertise faster. Also, There might be  something in the ble settings regarding connection interval or something like that.. ST guys might help on that.

 

2. For sleep, look at the BLE_HeartRate example, It enters sleep pretty much as soon as it starts.

 

3. Look at 2, it consumes 3uA. Compare to your project...