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:
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
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
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.
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
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.
Hi aectaan,
Thanks for the update. We will try to replicate it and I will let you know
Thanks, PM_Dialog
Hi aectaan,
Can you please share any other inputs that might be helpful regarding the merging?
Thanks, PM_Dialog
The problem was self-fixed after the SDK update.
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