<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC11U37 very first USB connection by a HW guy in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1181035#M42837</link>
    <description>&lt;P&gt;Hi Jean, I hope you're doing well!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For learning USB peripheral and Stack configuration, could you please take a look at the USB examples available in the LPC11U37's LPCOpen package, which can be downloaded from &lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the functionality that you wish to implement, there're examples that show HID, CDC, or composite functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sebastián&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 22:11:10 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-11-10T22:11:10Z</dc:date>
    <item>
      <title>LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1178912#M42792</link>
      <description>&lt;P&gt;Ladies and gentlemen,&lt;/P&gt;&lt;P&gt;I'd like to create my very fist USB connection between my Linux laptop and LPC11U37H Xpresso V2 board. My development environment is MCUXpresso 11.2.0&lt;/P&gt;&lt;P&gt;I've read a ton of literature and the result is just confusion. I know, that there's a ROM code for USB communication (CDC class were just good), but I haven't found a simple C code example which explains how to do it, what shall I include i my code and so on.&lt;/P&gt;&lt;P&gt;At the moment, 3 ADC channels are working, I see their results in the MCUXpresso's console,&amp;nbsp; LEDs are turning On and Off.&lt;/P&gt;&lt;P&gt;I know, I have to enable power to the USB module, I have to set the USB PLL up for 48MHz USB clock, have to configure the D+ and D- pins for USB, and, how towards? (OK, the cable between laptop and J4, it's obvious &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt; )&lt;/P&gt;&lt;P&gt;Any kind of help is appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1178912#M42792</guid>
      <dc:creator>jeanvaljean</dc:creator>
      <dc:date>2020-11-05T18:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1178920#M42793</link>
      <description>&lt;P&gt;By the way, this link here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCware-Archive-Content/USB-with-NXP-Microcontrollers/ta-p/1129055" target="_self"&gt;https://community.nxp.com/t5/LPCware-Archive-Content/USB-with-NXP-Microcontrollers/ta-p/1129055&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is just full with broken links.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1178920#M42793</guid>
      <dc:creator>jeanvaljean</dc:creator>
      <dc:date>2020-11-05T18:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1181035#M42837</link>
      <description>&lt;P&gt;Hi Jean, I hope you're doing well!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For learning USB peripheral and Stack configuration, could you please take a look at the USB examples available in the LPC11U37's LPCOpen package, which can be downloaded from &lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the functionality that you wish to implement, there're examples that show HID, CDC, or composite functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sebastián&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 22:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1181035#M42837</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-11-10T22:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1182318#M42858</link>
      <description>&lt;P&gt;Hallo Sebastian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank You for Your answer.&lt;/P&gt;&lt;P&gt;I have found the LPCOpen structure. There are also example projects. I tried to open one, but unfortunately it doesn't compile.&lt;/P&gt;&lt;P&gt;I've got the OM13074 board. My own code runs well on this, I can control all the LEDs and ADCs.&lt;/P&gt;&lt;P&gt;When I try the examples, I do it in a new project, in a separate sub-folder.&lt;/P&gt;&lt;P&gt;Here are the error messages:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;13:04:41 **** Incremental Build of configuration Debug for project nxp_lpcxpresso_11u37_usbd_rom_cdc ****&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make -r -j4 all &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building file: ../example/src/cdc_desc.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building file: ../example/src/cdc_main.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building file: ../example/src/cdc_vcom.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building file: ../example/src/cr_startup_lpc11xx.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Invoking: MCU C Compiler&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Invoking: MCU C Compiler&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Invoking: MCU C Compiler&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Invoking: MCU C Compiler&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_LPCOPEN -DCORE_M0 -I"/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../example/src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"example/src/cdc_desc.d" -MT"example/src/cdc_desc.o" -MT"example/src/cdc_desc.d" -o "example/src/cdc_desc.o" "../example/src/cdc_desc.c"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_LPCOPEN -DCORE_M0 -I"/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../example/src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"example/src/cdc_main.d" -MT"example/src/cdc_main.o" -MT"example/src/cdc_main.d" -o "example/src/cdc_main.o" "../example/src/cdc_main.c"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_LPCOPEN -DCORE_M0 -I"/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../example/src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"example/src/cdc_vcom.d" -MT"example/src/cdc_vcom.o" -MT"example/src/cdc_vcom.d" -o "example/src/cdc_vcom.o" "../example/src/cdc_vcom.c"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_LPCOPEN -DCORE_M0 -I"/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc" -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../example/src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"example/src/cr_startup_lpc11xx.d" -MT"example/src/cr_startup_lpc11xx.d" -o "example/src/cr_startup_lpc11xx.o" "../example/src/cr_startup_lpc11xx.c"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;In file included from ../example/src/cdc_main.c:32:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc/board.h:35:10: fatal error: chip.h: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;35 | #include "chip.h"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ^~~~~~~~&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;../example/src/cr_startup_lpc11xx.c:48:10: fatal error: sys_config.h: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;48 | #include "sys_config.h"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ^~~~~~~~~~~~~~&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;In file included from ../example/src/cdc_desc.c:32:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc/app_usbd_cfg.h:31:10: fatal error: lpc_types.h: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;31 | #include "lpc_types.h"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ^~~~~~~~~~~~~&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make: *** [example/src/subdir.mk:30: example/src/cdc_desc.o] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make: *** Waiting for unfinished jobs....&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make: *** [example/src/subdir.mk:30: example/src/cdc_main.o] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;In file included from ../example/src/cdc_vcom.c:32:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_cdc/example/inc/app_usbd_cfg.h:31:10: fatal error: lpc_types.h: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;31 | #include "lpc_types.h"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ^~~~~~~~~~~~~&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make: *** [example/src/subdir.mk:39: example/src/cr_startup_lpc11xx.o] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;make: *** [example/src/subdir.mk:30: example/src/cdc_vcom.o] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"make -r -j4 all" terminated with exit code 2. Build might be incomplete.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;13:04:42 Build Failed. 9 errors, 0 warnings. (took 837ms)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Since I'm not an experienced SW engineer (HW instead), I can only interpret these some header files are missing.&lt;/P&gt;&lt;P&gt;I couldn't find for example a board.h file for my OM13074 board. What I have found for LPC11U37, it has inside a joystick, some buttons ... they're not present on my board. Of course, it also doesn't compile, when I try to use the board.h I found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do now?&lt;/P&gt;&lt;P&gt;I also started to write my own code to use the USB module on the chip, but it seems to be a larges challange.&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;&lt;P&gt;ps: just another question. Does it worth the effort with this chip ? NXP doesn't promote the LPC11xx series, are they too old? I've got another board too, OM13098 with LPC54628. What is Your opinion, would it be more efficient to change to this more complex chip? Does this board better examples and better support than the LPC11U37?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 12:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1182318#M42858</guid>
      <dc:creator>jeanvaljean</dc:creator>
      <dc:date>2020-11-12T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1189298#M43050</link>
      <description>&lt;P&gt;Hi Jean,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When importing LPCOpen SDK examples, it's necessary to change some settings, and import the corresponding libraries for your chip, could you please take a look at the following &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E68-build-error/m-p/636412" target="_self"&gt;community post&lt;/A&gt; for more information?&lt;/P&gt;
&lt;P&gt;About the LPC11xx series of MCUs, we currently recommend taking a look at the newer alternatives like the new &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/high-performance-power-efficient-and-cost-sensitive-arm-cortex-m0-plus-mcus:LPC51U68" target="_blank"&gt;LPC51xx&lt;/A&gt; and &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33:LPC5500_SERIES" target="_blank"&gt;LPC55xx&lt;/A&gt; series of MCUs. These were recently released, and include support for the latest MCUXpresso SDK and IDE versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sebastián&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 23:26:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1189298#M43050</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-11-25T23:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 very first USB connection by a HW guy</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1193240#M43136</link>
      <description>&lt;P&gt;Dear Sebastian,&lt;/P&gt;&lt;P&gt;thank You for Your effort. Your advice guided me to here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-and-Linking-to-Library-Projects/m-p/469212" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-and-Linking-to-Library-Projects/m-p/469212&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed the advices there. I've set many times the path, where the missing library files are.&lt;/P&gt;&lt;P&gt;Since I still couldn't compile the example project, I also copied the missing files to the subdirectory, where they're looked for: ..../Proba10USB/nxp_lpcxpresso_11u37_usbd_rom_libusb/example/inc/&lt;/P&gt;&lt;P&gt;This last action have reduced the error messages from 9 to 3, these new messages are somewhat different, but the project still doesn't compile.&lt;/P&gt;&lt;P&gt;Here are the new messages:&lt;/P&gt;&lt;P&gt;13:56:43 **** Incremental Build of configuration Debug for project nxp_lpcxpresso_11u37_usbd_rom_libusb ****&lt;BR /&gt;make -r -j4 all&lt;BR /&gt;Building target: nxp_lpcxpresso_11u37_usbd_rom_libusb.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -L/home/bela/mcuxpresso/Proba10USB/nxp_lpcxpresso_11u37h_board_lib/inc -L/home/bela/mcuxpresso/Proba10USB/lpc_chip_11uxx_lib/inc -Xlinker -Map="nxp_lpcxpresso_11u37_usbd_rom_libusb.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "nxp_lpcxpresso_11u37_usbd_rom_libusb_Debug.ld" -o "nxp_lpcxpresso_11u37_usbd_rom_libusb.axf" ./example/src/cr_startup_lpc11xx.o ./example/src/libusbdev.o ./example/src/libusbdev_desc.o ./example/src/libusbdev_main.o ./example/src/sysinit.o -lnxp_lpcxpresso_11u37h_board_lib -llpc_chip_11uxx_lib&lt;BR /&gt;/usr/local/mcuxpressoide-11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.2.0.202001021529/tools/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: cannot find -lnxp_lpcxpresso_11u37h_board_lib&lt;BR /&gt;/usr/local/mcuxpressoide-11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.2.0.202001021529/tools/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: cannot find -llpc_chip_11uxx_lib&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:32: nxp_lpcxpresso_11u37_usbd_rom_libusb.axf] Error 1&lt;BR /&gt;"make -r -j4 all" terminated with exit code 2. Build might be incomplete.&lt;/P&gt;&lt;P&gt;13:56:44 Build Failed. 3 errors, 0 warnings. (took 540ms)&lt;/P&gt;&lt;P&gt;Also, here are a few screenshots about what I tried.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Regards: Jean&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 13:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-very-first-USB-connection-by-a-HW-guy/m-p/1193240#M43136</guid>
      <dc:creator>jeanvaljean</dc:creator>
      <dc:date>2020-12-03T13:17:13Z</dc:date>
    </item>
  </channel>
</rss>

