Where would I find an On the go USB project example ?
I have a FRDM-k64f board.
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
I think it points to the document " KQRUG". The correct link is: https://www.nxp.com/webapp/Download?colCode=KQRUG
Hello @randyseedle ,
Thanks for your post. Please download our SDK from Select Board | MCUXpresso SDK Builder.
We have lots of USB demos here:
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!
--------------------------------------------------------------------------------------------------------------
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
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
Thanks bunches !!!
Randy
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.
I have checked the schematic of FRDM-K64F-SCH-E4, it already soldered them:
So there is no need to solder with 33ohm resisters and no need a special cable.
Hope it can help you.
BRs,
Celeste
Hello @randyseedle ,
Sorry, The FRDM-K64F SDK don't have the On the go(OTG) demo, only have the OTG stack:
Please download the SDK_2_7_0_TWR-K64F120M, it has otg demos:
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!
----------------------------------------------------------------------------------------------------------------