<?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のトピックStill Image Class Host Mode Driver</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Still-Image-Class-Host-Mode-Driver/m-p/524112#M6748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pascal on Tue Apr 03 05:48:09 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to nxpUSBLib. I am trying to develop a embedded capture controller for my Nikon D90.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the library and my project compiling and I get called back in EVENT_USB_Host_DeviceEnumerationComplete after attaching my camera. I then configure the pipes (SI_Host_ConfigurePipes) and set the configuration (USB_Host_SetDeviceConfiguration) which all works without errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a first step, I want to retrieve a device-info using GetDeviceInfo-command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uint32_t params[] = {0x00000000, 0x00000000, 0x00000000}; /* According to PIMA must be all 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;errCode = SI_Host_SendCommand (&amp;amp;mySIInterfaceInfo, 0x1001, 3, params); /* 0x1001 is operation code "GetDeviceInfo" */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a bit stuck here now. I am not sure how to read the data. As I see from PIMA, there is no event to notify about data ready to read. Do I need to poll? Poll for what? After successful polling, use SI_Host_ReadData to retrieve data and then check for response received with SI_Host_ReceiveResponse?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips and suggestions to bring some light into the dark are highly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:49:29 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:49:29Z</dc:date>
    <item>
      <title>Still Image Class Host Mode Driver</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Still-Image-Class-Host-Mode-Driver/m-p/524112#M6748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pascal on Tue Apr 03 05:48:09 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to nxpUSBLib. I am trying to develop a embedded capture controller for my Nikon D90.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the library and my project compiling and I get called back in EVENT_USB_Host_DeviceEnumerationComplete after attaching my camera. I then configure the pipes (SI_Host_ConfigurePipes) and set the configuration (USB_Host_SetDeviceConfiguration) which all works without errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a first step, I want to retrieve a device-info using GetDeviceInfo-command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uint32_t params[] = {0x00000000, 0x00000000, 0x00000000}; /* According to PIMA must be all 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;errCode = SI_Host_SendCommand (&amp;amp;mySIInterfaceInfo, 0x1001, 3, params); /* 0x1001 is operation code "GetDeviceInfo" */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a bit stuck here now. I am not sure how to read the data. As I see from PIMA, there is no event to notify about data ready to read. Do I need to poll? Poll for what? After successful polling, use SI_Host_ReadData to retrieve data and then check for response received with SI_Host_ReceiveResponse?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips and suggestions to bring some light into the dark are highly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Still-Image-Class-Host-Mode-Driver/m-p/524112#M6748</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:29Z</dc:date>
    </item>
  </channel>
</rss>

