DA14695 Development Kit – USB resets after USB extracting

⚠️
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.
10 posts / 0 new
Last post
aectaan
Offline
Last seen:2 months 2 weeks ago
加入:2019-10-02 07:06
DA14695 Development Kit – USB resets after USB extracting

Hello Dialog,

I have combined two examples from SDK: PXP reporter and USB SMSD. I implemented a charging profile for my battery and connect the battery to J5 port. I have jumpers on J2(2:3) and J3(2:3). All works well, but when I insert/extract DevKit from USB port, DevKit reboots. Similar situation with powerbank( stucks at insertion/extraction). When I leave DevKit inserted and manually connect J2:2 and J2:3 all works well. What is may be wrong?

Thank you.

Device:
PM_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2018-02-08 11:03
Hi aectaan,

Hi aectaan,

It seems that you are using the correct jumpers configuration according to user manualUM-B-103 User Manual: DA14695 USB Kit. Can you please indicate how you know it’s rebooting? Because when you are doing that you do not have the JTAG. Did you successfully see the MSD on the host computer?

In the meanwhile, can you please share more information regarding the merging of two SDK projects? Did you use the pxp_reporter as a starting point and you imported the USB SMSD, or did you do the opposite? In addition, it would be very helpful to share both custom_config_qspi.h and custom_charging_profile.h files that you are using. Can you please zip and attach both?

Thanks, PM_Dialog

aectaan
Offline
Last seen:2 months 2 weeks ago
加入:2019-10-02 07:06
Hi PM_Dialog,

Hi PM_Dialog,

1. I add heartbeat task - LED on board starts blinking two seconds after reboot. Also, I connect my nRF52840 dongle as a master, after USB detaching it loses connection.

2. You are right, I use PXP as a starting point, and add necessary tasks and definitions from USB example, with USB library from SDK (/sdk/interfaces/usb/DA1469x-00-Debug)

3. custom_config, charging profile and heartbeat task attached

Thanks, Egor

Attachment:
aectaan
Offline
Last seen:2 months 2 weeks ago
加入:2019-10-02 07:06
I guess, that problem may be

I guess, that problem may be with USB hub on the board (USB2512B) because both hub and DA14695 get VBUS simultaneously, but there may be a delay for hub initialization.

PM_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2018-02-08 11:03
Hi aectaan,

Hi aectaan,

Can you please try it without the USB hub? Are you able to replicate this issue if you connect the USB DK directly to your PC? In the meanwhile, thanks for your inputs - we will go through them.

Thanks, PM_Dialog

aectaan
Offline
Last seen:2 months 2 weeks ago
加入:2019-10-02 07:06
All my previous attempts was

All my previous attempts was with direct connection into laptop/powerbank. In my last post I wrote about hub IC, mounted on the DevKit-USB PCB.

PM_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2018-02-08 11:03
Hi aectaan,

Hi aectaan,

Thanks for the update. We will try to replicate it and I will let you know

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2018-02-08 11:03
Hi aectaan,

Hi aectaan,

Can you please share any other inputs that might be helpful regarding the merging?

Thanks, PM_Dialog

aectaan
Offline
Last seen:2 months 2 weeks ago
加入:2019-10-02 07:06
The problem was self-fixed

The problem was self-fixed after the SDK update.

PM_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2018-02-08 11:03
Hi aectaan,

Hi aectaan,

Thanks for your feedback. Generally, we strongly recommend the latest version of the SDK/Tools etc as they are much more improved. If you have any other issue, please create a new forum thread.

Thanks, PM_Dialog