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.
Keywords:
Device:

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.
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