MCXN527 USB ISP

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

MCXN527 USB ISP

354 Views
BuS
Contributor I

Hello,

i am new to the MCX Controllers, and i can not establish an USB connection.

I use a MCXN527VKLT Controller, and I have connected:

-USB0-DM and -DP

-VDD_USB (over a 3.3V regulator)

-VSS_USB

-USB0_VBUS_DET to 5V from USB

My expectations are that when I pull ISPMODE_N pin to GND via a switch, then plug in USB in my computer, open the ISPMODE_N switch, the controller should be seen as an HID?

I also tried testing the connection with the secure provisioning tool.

What am I missing?

Thanks in advance and sorry for this beginner question.

 

Steve

Labels (1)
0 Kudos
Reply
4 Replies

304 Views
BuS
Contributor I

Hi,

there is a 24MHz crystal attached to pin P1_30 and P1_31.

 

Steve

0 Kudos
Reply

197 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @BuS 

thank you for clarifying!

Please review the VDD_CORE voltage.

USB HS is not supported when VDD_CORE < 1.1 V

Also review that your system follows the 2.5 Required Power-On-Reset (POR) Sequencing described at Highly integrated low-power dual-core Arm Cortex M33 MCU with on-chip accelerators

Could you confirm if you were able to use your custom board before? 

0 Kudos
Reply

13 Views
BuS
Contributor I

Hi,

this is the first prototype of the custom PCB. So this has not worked before.

 

I use the on chip DCDC_CORE to power LDO_CORE as shown in chapter 35 in the reference manual. I read 1.08V on LDO_CORE.

I also ordered new controllers and the problem is still the same.

Can you please confirm my assumption that this controller should be seen as HID when connected to USB? Is there any kind of driver that must be installed before pluging in?

Thanks!

 

 

Steve

0 Kudos
Reply

331 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @BuS 

Thank you for your post,

Could you confirm your external crystal oscillator value? 

The UG10092: MCX N Series Hardware Design Guide | NXP Semiconductors has a note that is relevant in the case of ISP over USB: If using the HS USB in In-system programming (ISP) mode, a 24 MHz crystal must be used in at least the first access of the device. However, the user can modify the security fuse configuration to allow a different crystal. However, the user must configure it. For example, factory configuration requires a 24 MHz crystal for HS USB ISP operation.

BR

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2366265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMCXN527%20USB%20ISP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Ei%20am%20new%20to%20the%20MCX%20Controllers%2C%20and%20i%20can%20not%20establish%20an%20USB%20connection.%3C%2FP%3E%3CP%3EI%20use%20a%20MCXN527VKLT%20Controller%2C%20and%20I%20have%20connected%3A%3C%2FP%3E%3CP%3E-USB0-DM%20and%20-DP%3C%2FP%3E%3CP%3E-VDD_USB%20(over%20a%203.3V%20regulator)%3C%2FP%3E%3CP%3E-VSS_USB%3C%2FP%3E%3CP%3E-USB0_VBUS_DET%20to%205V%20from%20USB%3C%2FP%3E%3CP%3EMy%20expectations%20are%20that%20when%20I%20pull%20ISPMODE_N%20pin%20to%20GND%20via%20a%20switch%2C%20then%20plug%20in%20USB%20in%20my%20computer%2C%20open%20the%20ISPMODE_N%20switch%2C%20the%20controller%20should%20be%20seen%20as%20an%20HID%3F%3C%2FP%3E%3CP%3EI%20also%20tried%20testing%20the%20connection%20with%20the%20secure%20provisioning%20tool.%3C%2FP%3E%3CP%3EWhat%20am%20I%20missing%3F%3C%2FP%3E%3CP%3EThanks%20in%20advance%20and%20sorry%20for%20this%20beginner%20question.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESteve%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2366265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCXN527%20USB%20ISP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262824%22%20target%3D%22_blank%22%3E%40BuS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20post%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20confirm%20your%20external%20crystal%20oscillator%20value%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FUG10092%2Fpage%2Ftopics%2Fdigital_interfaces.html%23topic_84dff212-a633-4700-8932-f3871a62ec94%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EUG10092%3A%20MCX%20N%20Series%20Hardware%20Design%20Guide%20%7C%20NXP%20Semiconductors%3C%2FA%3E%26nbsp%3Bhas%20a%20note%20that%20is%20relevant%20in%20the%20case%20of%20ISP%20over%20USB%3A%26nbsp%3BIf%20using%20the%20HS%20USB%20in%20In-system%20programming%20(ISP)%20mode%2C%20a%2024%20MHz%20crystal%20must%20be%20used%20in%20at%20least%20the%20first%20access%20of%20the%20device.%20However%2C%20the%20user%20can%20modify%20the%20security%20fuse%20configuration%20to%20allow%20a%20different%20crystal.%20However%2C%20the%20user%20must%20configure%20it.%20For%20example%2C%20factory%20configuration%20requires%20a%2024%20MHz%20crystal%20for%20HS%20USB%20ISP%20operation.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366495%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCXN527%20USB%20ISP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366495%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ethere%20is%20a%2024MHz%20crystal%20attached%20to%20pin%20P1_30%20and%20P1_31.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESteve%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2367125%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCXN527%20USB%20ISP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2367125%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262824%22%20target%3D%22_blank%22%3E%40BuS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethank%20you%20for%20clarifying!%3C%2FP%3E%0A%3CP%3EPlease%20review%20the%20VDD_CORE%20voltage.%3C%2FP%3E%0A%3CP%3EUSB%20HS%20is%20not%20supported%20when%20VDD_CORE%20%26lt%3B%201.1%20V%3C%2FP%3E%0A%3CP%3EAlso%20review%20that%20your%20system%20follows%20the%26nbsp%3B%3CSTRONG%3E2.5%20Required%20Power-On-Reset%20(POR)%20Sequencing%3C%2FSTRONG%3E%20described%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fdata-sheet%2FMCXNP184M150F70.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHighly%20integrated%20low-power%20dual-core%20Arm%20Cortex%20M33%20MCU%20with%20on-chip%20accelerators%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ECould%20you%20confirm%20if%20you%20were%20able%20to%20use%20your%20custom%20board%20before%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E