<?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>LPC Microcontrollers中的主题 Need help on composite HID+HID</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-on-composite-HID-HID/m-p/740025#M29841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using NGX LPC1837xplorer development board, my computer has windows 7 OS. My goal: create composite HID device in both USB0 &amp;amp;USB1. Using example code for LPC18xx from keil(pack installer). Followed: file:///C:/Keil_v5/ARM/PACK/Keil/MDK-Middleware/7.4.1/Doc/USB/html/_u_s_b__device.html .For setting up a Composite USB HID Device in USB0 (2 HID mouse) I have this files in my project USBD_Config_0.c, USBD_Config_HID_0.h(interface 0),USBD_Config_HID_1.h (interface 1),&amp;nbsp; USBD_User_HID_Mouse_0.c and USBD_User_HID_Mouse_1.c, HID.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after connecting to USB0 , using below code to send report to Host&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;mouse_in_report[1] = (uint8_t)(-4); update = 1;&lt;/P&gt;&lt;P&gt;USBD_HID_GetReportTrigger(0, 0, mouse_in_report, 4);&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;However, I get working only USB0(interfcae 0), USB0 (interfcae 1)does not works.&amp;nbsp; I want to send data to host from both interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new on this. any example code /documentation/tips will be highly apricated.&lt;/P&gt;&lt;P&gt;//Sharmin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 10:19:49 GMT</pubDate>
    <dc:creator>sharminsultanas</dc:creator>
    <dc:date>2017-11-01T10:19:49Z</dc:date>
    <item>
      <title>Need help on composite HID+HID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-on-composite-HID-HID/m-p/740025#M29841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using NGX LPC1837xplorer development board, my computer has windows 7 OS. My goal: create composite HID device in both USB0 &amp;amp;USB1. Using example code for LPC18xx from keil(pack installer). Followed: file:///C:/Keil_v5/ARM/PACK/Keil/MDK-Middleware/7.4.1/Doc/USB/html/_u_s_b__device.html .For setting up a Composite USB HID Device in USB0 (2 HID mouse) I have this files in my project USBD_Config_0.c, USBD_Config_HID_0.h(interface 0),USBD_Config_HID_1.h (interface 1),&amp;nbsp; USBD_User_HID_Mouse_0.c and USBD_User_HID_Mouse_1.c, HID.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after connecting to USB0 , using below code to send report to Host&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;mouse_in_report[1] = (uint8_t)(-4); update = 1;&lt;/P&gt;&lt;P&gt;USBD_HID_GetReportTrigger(0, 0, mouse_in_report, 4);&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;However, I get working only USB0(interfcae 0), USB0 (interfcae 1)does not works.&amp;nbsp; I want to send data to host from both interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new on this. any example code /documentation/tips will be highly apricated.&lt;/P&gt;&lt;P&gt;//Sharmin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 10:19:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-on-composite-HID-HID/m-p/740025#M29841</guid>
      <dc:creator>sharminsultanas</dc:creator>
      <dc:date>2017-11-01T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on composite HID+HID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-on-composite-HID-HID/m-p/740026#M29842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="305888" data-username="sharminsultanasheuly" href="https://community.nxp.com/people/sharminsultanasheuly"&gt;Sharmin Sultana sheuly&lt;/A&gt;,&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: small;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: small;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I'd highly recommend you to refer to USB demos in LPCOpen library of the &lt;SPAN style="color: #252526; font-family: Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;NGX Xplorer LPC1830 board&lt;/SPAN&gt;.&lt;/DIV&gt;&lt;DIV&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/microcontrollers-and-processors/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX" title="https://www.nxp.com/products/microcontrollers-and-processors/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX"&gt;LPCOpen Software for LPC18XX|NXP&lt;/A&gt;&amp;nbsp;&lt;BR style="font-family: Arial,sans-serif; font-size: small;" /&gt;&lt;DIV&gt;Have a great day,&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 08:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-on-composite-HID-HID/m-p/740026#M29842</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-11-03T08:23:12Z</dc:date>
    </item>
  </channel>
</rss>

