LPC55S16 USB-A Dongle Schematic Review and TC2030 SWD Compatibility

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S16 USB-A Dongle Schematic Review and TC2030 SWD Compatibility

735 Views
shiiii
Contributor I

image.png

Hello,

I am designing a USB security dongle based on the LPC55S16JBD64E and would appreciate a review of my schematic, particularly the USB and debug/programming sections.

USB-A Connection

The device will be a USB-A dongle that plugs directly into a PC and operates as a USB device (HID initially).

I would like to verify:

  1. Whether the USB-A connection to the LPC55S16 is correct.
  2. Whether I should use USB0 or USB1 for a USB HID dongle application.
  3. For USB0, I noticed some NXP examples use PIO0_22 as VBUS detection. Is this the recommended approach for LPC55S16 USB device mode?
  4. Are there any issues with my VBUS, D+, D−, ESD protection, or USB power routing

SWD Programming Header

Currently I have a standard 10-pin Cortex SWD header (FTSH-105 style) in the design.

I would like to replace it with a Tag-Connect TC2030 footprint to save PCB space.

Could someone confirm:

  1. Is the LPC55S16 fully compatible with a TC2030 SWD connection?
  2. Which signals are required?
    • VTref
    • SWDIO
    • SWCLK
    • RESETN
    • GND
    • SWO (optional)
  3. Are there any NXP-specific requirements or recommendations when using Tag-Connect instead of the standard 10-pin SWD header?

Additional Review

If anyone notices issues in the power supply, DC-DC converter section, reset circuitry, clock configuration, or general LPC55S16 hardware design, I would appreciate any feedback before I proceed to PCB layout.

Thank you for your help.image.pngimage.pngimage.png

Labels (2)
0 Kudos
Reply
2 Replies

690 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @shiiii 

1) For the SWD section, please refer to below:

 

Alice_Yang_1-1780648118832.png

 

 

And schematic for LPCXpresso55s16-evk:  https://www.nxp.com/webapp/Download?colCode=LPCXPRESSSO55S16-DESIGN-FILES 

2) For the power section, I did not find any issues. Please refer to the Hardware Design Guidelines for LPC55(S)xx Microcontrollers for further review.

AN13033: Hardware Design Guidelines for LPC55(S)xx Microcontrollers | NXP Semiconductors 

 

3)For the USB part, I will continue reviewing it and will share the results with you as soon as possible.

Thank you.

 

BR

Alice

0 Kudos
Reply

663 Views
shiiii
Contributor I

 

Hello Alice,

Thank you for reviewing the SWD and power sections and for sharing the LPCXpresso55S16 reference schematic and hardware design guidelines.

I will update my design accordingly and proceed with the TC2030 SWD interface implementation.

For the USB section, I appreciate your continued review. My application is a USB-A dongle that plugs directly into a PC and will operate as a USB device (initially HID). I look forward to your recommendations regarding the USB0/USB1 connection, VBUS sensing, and any layout considerations.

Thank you for your support.

Best regards,
Shivam

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2377019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPC55S16%20USB-A%20Dongle%20Schematic%20Review%20and%20TC2030%20SWD%20Compatibility%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20718px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20718px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20718px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387921i8B9739C651309CDA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20designing%20a%20USB%20security%20dongle%20based%20on%20the%20%3CSTRONG%3ELPC55S16JBD64E%3C%2FSTRONG%3E%20and%20would%20appreciate%20a%20review%20of%20my%20schematic%2C%20particularly%20the%20USB%20and%20debug%2Fprogramming%20sections.%3C%2FP%3E%3CH3%20id%3D%22toc-hId-2032984760%22%20id%3D%22toc-hId-2032988726%22%20id%3D%22toc-hId-2032988726%22%3EUSB-A%20Connection%3C%2FH3%3E%3CP%3EThe%20device%20will%20be%20a%20%3CSTRONG%3EUSB-A%20dongle%20that%20plugs%20directly%20into%20a%20PC%3C%2FSTRONG%3E%20and%20operates%20as%20a%20USB%20device%20(HID%20initially).%3C%2FP%3E%3CP%3EI%20would%20like%20to%20verify%3A%3C%2FP%3E%3COL%3E%3CLI%3EWhether%20the%20USB-A%20connection%20to%20the%20LPC55S16%20is%20correct.%3C%2FLI%3E%3CLI%3EWhether%20I%20should%20use%20%3CSTRONG%3EUSB0%3C%2FSTRONG%3E%20or%20%3CSTRONG%3EUSB1%3C%2FSTRONG%3E%20for%20a%20USB%20HID%20dongle%20application.%3C%2FLI%3E%3CLI%3EFor%20USB0%2C%20I%20noticed%20some%20NXP%20examples%20use%20%3CSTRONG%3EPIO0_22%20as%20VBUS%20detection%3C%2FSTRONG%3E.%20Is%20this%20the%20recommended%20approach%20for%20LPC55S16%20USB%20device%20mode%3F%3C%2FLI%3E%3CLI%3EAre%20there%20any%20issues%20with%20my%20VBUS%2C%20D%2B%2C%20D%E2%88%92%2C%20ESD%20protection%2C%20or%20USB%20power%20routing%3C%2FLI%3E%3C%2FOL%3E%3CH3%20id%3D%22toc-hId-225530297%22%20id%3D%22toc-hId-225534263%22%20id%3D%22toc-hId-225534263%22%3ESWD%20Programming%20Header%3C%2FH3%3E%3CP%3ECurrently%20I%20have%20a%20standard%20%3CSTRONG%3E10-pin%20Cortex%20SWD%20header%20(FTSH-105%20style)%3C%2FSTRONG%3E%20in%20the%20design.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20replace%20it%20with%20a%20%3CSTRONG%3ETag-Connect%20TC2030%20footprint%3C%2FSTRONG%3E%20to%20save%20PCB%20space.%3C%2FP%3E%3CP%3ECould%20someone%20confirm%3A%3C%2FP%3E%3COL%3E%3CLI%3EIs%20the%20LPC55S16%20fully%20compatible%20with%20a%20%3CSTRONG%3ETC2030%20SWD%20connection%3C%2FSTRONG%3E%3F%3C%2FLI%3E%3CLI%3EWhich%20signals%20are%20required%3F%3CUL%3E%3CLI%3EVTref%3C%2FLI%3E%3CLI%3ESWDIO%3C%2FLI%3E%3CLI%3ESWCLK%3C%2FLI%3E%3CLI%3ERESETN%3C%2FLI%3E%3CLI%3EGND%3C%2FLI%3E%3CLI%3ESWO%20(optional)%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3EAre%20there%20any%20NXP-specific%20requirements%20or%20recommendations%20when%20using%20Tag-Connect%20instead%20of%20the%20standard%2010-pin%20SWD%20header%3F%3C%2FLI%3E%3C%2FOL%3E%3CH3%20id%3D%22toc-hId--1581924166%22%20id%3D%22toc-hId--1581920200%22%20id%3D%22toc-hId--1581920200%22%3EAdditional%20Review%3C%2FH3%3E%3CP%3EIf%20anyone%20notices%20issues%20in%20the%20power%20supply%2C%20DC-DC%20converter%20section%2C%20reset%20circuitry%2C%20clock%20configuration%2C%20or%20general%20LPC55S16%20hardware%20design%2C%20I%20would%20appreciate%20any%20feedback%20before%20I%20proceed%20to%20PCB%20layout.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20help.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20826px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20826px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20826px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387923i7174CEF79B9C0569%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387924i3B1186BBEE91544F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20422px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20422px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20422px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387925iEB1D75A0BB84EEBF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2377019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC55xx%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUSB%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2377337%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC55S16%20USB-A%20Dongle%20Schematic%20Review%20and%20TC2030%20SWD%20Compatibility%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377337%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263475%22%20target%3D%22_blank%22%3E%40shiiii%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1)%20For%20the%20SWD%20section%2C%20please%20refer%20to%20below%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Alice_Yang_1-1780648118832.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_1-1780648118832.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_1-1780648118832.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F388014i9DD41C09DF6EAAF7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Alice_Yang_1-1780648118832.png%22%20alt%3D%22Alice_Yang_1-1780648118832.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAnd%20schematic%20for%20LPCXpresso55s16-evk%3A%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DLPCXPRESSSO55S16-DESIGN-FILES%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DLPCXPRESSSO55S16-DESIGN-FILES%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2)%20For%20the%20power%20section%2C%20I%20did%20not%20find%20any%20issues.%20Please%20refer%20to%20the%20%3CSTRONG%3EHardware%20Design%20Guidelines%20for%20LPC55(S)xx%20Microcontrollers%3C%2FSTRONG%3E%20for%20further%20review.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN13033%2Fpage%2Ftopics%2Fintroduction.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN13033%3A%20Hardware%20Design%20Guidelines%20for%20LPC55(S)xx%20Microcontrollers%20%7C%20NXP%20Semiconductors%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E3)For%20the%20USB%20part%2C%20I%20will%20continue%20reviewing%20it%20and%20will%20share%20the%20results%20with%20you%20as%20soon%20as%20possible.%3C%2FP%3E%0A%3CP%3EThank%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2377895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC55S16%20USB-A%20Dongle%20Schematic%20Review%20and%20TC2030%20SWD%20Compatibility%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHello%20Alice%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20reviewing%20the%20SWD%20and%20power%20sections%20and%20for%20sharing%20the%20LPCXpresso55S16%20reference%20schematic%20and%20hardware%20design%20guidelines.%3C%2FP%3E%3CP%3EI%20will%20update%20my%20design%20accordingly%20and%20proceed%20with%20the%20TC2030%20SWD%20interface%20implementation.%3C%2FP%3E%3CP%3EFor%20the%20USB%20section%2C%20I%20appreciate%20your%20continued%20review.%20My%20application%20is%20a%20USB-A%20dongle%20that%20plugs%20directly%20into%20a%20PC%20and%20will%20operate%20as%20a%20USB%20device%20(initially%20HID).%20I%20look%20forward%20to%20your%20recommendations%20regarding%20the%20USB0%2FUSB1%20connection%2C%20VBUS%20sensing%2C%20and%20any%20layout%20considerations.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3EBest%20regards%2C%3CBR%20%2F%3EShivam%3C%2FP%3E%3C%2FLINGO-BODY%3E