No response in ble_peripheral_start()

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
DialogTestingDe……
Offline
Last seen:4 months 2 weeks ago
加入:2019-05-07 09:01
No response in ble_peripheral_start()

Hey,

我试着把ble_peripheral example with a custom service running but i can't. I'm using the DA 14683 USB Dev Kit and the DA1468x_DA15xxx_SDK_1.0.14.1081.

Building and flasing works fine but when I debug the Code it stucks in the ble_peripheral_task() in line ble_peripheral_start() until the WatchDog fires.

I tryed to turn the WatchDog off but as expected I can't see an BLE service with the BLE scanner.

The blank example without any changes didn't run either.

I hope you can help me. Thank you.

Device:
DialogTestingDe……
Offline
Last seen:4 months 2 weeks ago
加入:2019-05-07 09:01
Hey,

Hey,

I solved the problem by using the GNU Arm Embedded Toolchain version 4.9-2015-q3-update instead of the 7 2018-q2-update.

PM_Dialog
Offline
Last seen:1 hour 27 min ago
Staff
加入:2018-02-08 11:03
Hi DialogTestingDeveloper,

Hi DialogTestingDeveloper,

Please readDA14682/DA14683 USB Kit Getting Starteduser manual and in section 5.16 Power Section you will find that there is a switch button (SW6). According to the documents, the DA14683 SoC can be supplied either from the USB port with a voltage of 5V to the VBUS pin or through LDO (U10) with a voltage of 3.3V to the VBAT pin. The power selection is achieved through the switch SW6 (Figure 30, Figure 31). The maximum current for SW6 is 100mA. The default position of SW6 connects the VBUS pin of DA14683 with the USB port (5V). Please find more information in section 6. The ble_peripheral example uses extended sleep mode, so if the SW is in VBUS position, the chip will not be able to enter the sleep and is will continuedly resets. If you would like to have extended sleep mode, you should place the SW in VBAT position.

Thanks, PM_Dialog