<?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 question about set_adress in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/question-about-set-adress/m-p/524712#M7348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by joyhope on Mon Sep 23 19:14:45 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the lpcUSBlib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The set address is called SIE_WriteCommandData two times. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;static inline void USB_Device_SetDeviceAddress(const uint8_t Address)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SIE_WriteCommandData(CMD_SET_ADDR, DAT_WR_BYTE(DEV_EN | Address)); /* Don't wait for next */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SIE_WriteCommandData(CMD_SET_ADDR, DAT_WR_BYTE(DEV_EN | Address)); /*&amp;nbsp; Setup Status Phase */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;why the SIE_WriteCommandData should be called two times?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:51:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:51:07Z</dc:date>
    <item>
      <title>question about set_adress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/question-about-set-adress/m-p/524712#M7348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by joyhope on Mon Sep 23 19:14:45 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the lpcUSBlib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The set address is called SIE_WriteCommandData two times. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;static inline void USB_Device_SetDeviceAddress(const uint8_t Address)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SIE_WriteCommandData(CMD_SET_ADDR, DAT_WR_BYTE(DEV_EN | Address)); /* Don't wait for next */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SIE_WriteCommandData(CMD_SET_ADDR, DAT_WR_BYTE(DEV_EN | Address)); /*&amp;nbsp; Setup Status Phase */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;why the SIE_WriteCommandData should be called two times?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/question-about-set-adress/m-p/524712#M7348</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: question about set_adress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/question-about-set-adress/m-p/524713#M7349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Wed Sep 25 08:34:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In UM10139 - LPC214x User Manual, this description is found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;14.9.1 Set Address (Command: 0xD0, Data: write 1 byte)&lt;BR /&gt;The Set Address command is used to set the USB assigned address and enable the (embedded) function. The address set in the device will take effect after the status phase of the setup token. (Alternately, &lt;STRONG&gt;issuing the Set Address command twice will set the address in the device&lt;/STRONG&gt;).&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll see the same description for LPC23xx/24xx, LPC17xx and LPC1343&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/question-about-set-adress/m-p/524713#M7349</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:51:08Z</dc:date>
    </item>
  </channel>
</rss>

