Where would I find an On the go USB project example ?

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

Where would I find an On the go USB project example ?

797 Views
randyseedle
Contributor III

Where would I find an On the go USB project example ?

I have a FRDM-k64f board.

Labels (1)
0 Kudos
Reply
8 Replies

719 Views
randyseedle
Contributor III

The page mentioned goes to the default: https://www.nxp.com/

For instance: K40_100 Product Summary Page

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K40_100&fpsp=1&tab=Documentation_Tab

Where would an appropriate nxp.com be ?

 

Randy Seedle

0 Kudos
Reply

697 Views
Celeste_Liu
NXP Employee
NXP Employee

I think it points to the document " KQRUG". The correct link is: https://www.nxp.com/webapp/Download?colCode=KQRUG

 

0 Kudos
Reply

784 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @randyseedle ,

Thanks for your post. Please download our SDK from Select Board | MCUXpresso SDK Builder.

We have lots of USB demos here:

Celeste_Liu_0-1752115358975.png

After downloading the SDK, you can refer to Getting Started with MCUXpresso SDK   for the next steps.

Hope it can help you.

BRs,

Celeste

 

--------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
--------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

773 Views
randyseedle
Contributor III

I looked at my SDK downloads again and what I failed to specify is

"USB: On the go". This is the communications between microcontrollers not involving a host like Windows.

Randy

 

0 Kudos
Reply

714 Views
randyseedle
Contributor III

I finally found the OTG project, downloaded, and build it. It was missing a file:

system_MK64F12.h

I rebuilt with what was already on my system. Any ideas on testing this criter ? I saw mention

about a special pin ? Both my FRDM-F64F boards have USB type 2 micro B connectors. The

boards have 2016 on the back. As if that is when they were built. Is there a way to make that

work ? Do I need a special cable ?

Randy

 

0 Kudos
Reply

678 Views
randyseedle
Contributor III

Thanks bunches !!!

Randy

 

0 Kudos
Reply

692 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @randyseedle ,

According to the section 46.2.2 of RM, DM and DP I/O pads must connect through series resistors (approximately 33 Ω each) to the USB connector on the application printed circuit board (PCB). Additionally, signal quality optimizes when these 33 Ω resistors are mounted closer to the processor than to the USB board-level connector.

Celeste_Liu_0-1752568850451.png

 

I have checked the schematic of FRDM-K64F-SCH-E4, it already soldered them:

Celeste_Liu_1-1752568939416.png

So there is no need to solder with 33ohm resisters and no need a special cable

Hope it can help you.

BRs,

Celeste

0 Kudos
Reply

732 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @randyseedle ,

Sorry, The FRDM-K64F SDK don't have the On the go(OTG) demo, only have the OTG stack:

Celeste_Liu_0-1752478656149.png

Please download the SDK_2_7_0_TWR-K64F120M, it has otg demos: 

Celeste_Liu_1-1752479617752.png

And you can also refer to Solved: Kinetis K40 USB OTG - NXP Community and take a look at AN3324 for OTG implementation. 

Hope it can help you.

BRs,

Celeste

 

----------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
----------------------------------------------------------------------------------------------------------------

0 Kudos
Reply