<?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 5222x/5225x USB host mode pulldown confusion... in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/5222x-5225x-USB-host-mode-pulldown-confusion/m-p/196610#M8765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying with no luck to convince myself of the USB&amp;nbsp;OTG pullup and pulldown functionality in the 5222x/5225x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the same SIE in other MCUs where the pullup and pulldown resistors controlled by:&lt;/P&gt;&lt;PRE&gt;
&amp;nbsp; // enable usb pull downs&amp;nbsp; MCF_USB_OTG_OTG_CTRL =&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_USB_OTG_OTG_CTRL_DM_LOW|MCF_USB_OTG_OTG_CTRL_DP_LOW|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_USB_OTG_OTG_CTRL_OTG_EN;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are actually internal to the MCU...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I see on the M52259DEMOKIT and M52223EVB, external resistors tied to different pins, as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; M52259DEMOKIT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pulldowns tied to qspi_cs2 (USB_DM_PDOWN)&amp;nbsp;and qspi_cs3 (USB_DP_PDOWN)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pullup tied to irq1*&amp;nbsp;(USB_ALTCLK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; M52223EVB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pulldowns tied to qspi_cs2 (USB_DM_PDOWN)&amp;nbsp;and qspi_cs3 (USB_DP_PDOWN)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pullup tied to qspi_cs1 (USB_PULLUP)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the M52259DEMOKIT, the pullup circuitry is installed despite a "do not install" listing on the schematic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, on the M52221DEMO board, on the other hand, none of this kind of circuitry&amp;nbsp;exists.&amp;nbsp; And in fact, on the 64 pin parts, the qspi_cs1, qspi_cs2, and qspi_cs3 pins don't even exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I guess I'm looking for confirmation that no internal pull resistors exist on these parts, or correction that they do...&amp;nbsp; Is that even true for the device mode pullup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then I'm wondering if you simply can't use the USB OTG with pullup/pulldown switching on a 64 pin part?&amp;nbsp; And if using irq1* instead of qspi_cs1 is legitimate on the 52259 (on which&amp;nbsp;qspi_cs1 doesn't exist)?&amp;nbsp; And if I can just use any other GPIO's as well (and in particular, if the pullup in the GPIO when configured as input to act "turned off"&amp;nbsp;will bite me)?&amp;nbsp; Is there a way to get more "open drain"'ish than simply configuring a GPIO as input?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any insight or confirmation!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jul 2009 13:15:51 GMT</pubDate>
    <dc:creator>RichTestardi</dc:creator>
    <dc:date>2009-07-04T13:15:51Z</dc:date>
    <item>
      <title>5222x/5225x USB host mode pulldown confusion...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/5222x-5225x-USB-host-mode-pulldown-confusion/m-p/196610#M8765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying with no luck to convince myself of the USB&amp;nbsp;OTG pullup and pulldown functionality in the 5222x/5225x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the same SIE in other MCUs where the pullup and pulldown resistors controlled by:&lt;/P&gt;&lt;PRE&gt;
&amp;nbsp; // enable usb pull downs&amp;nbsp; MCF_USB_OTG_OTG_CTRL =&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_USB_OTG_OTG_CTRL_DM_LOW|MCF_USB_OTG_OTG_CTRL_DP_LOW|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_USB_OTG_OTG_CTRL_OTG_EN;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are actually internal to the MCU...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I see on the M52259DEMOKIT and M52223EVB, external resistors tied to different pins, as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; M52259DEMOKIT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pulldowns tied to qspi_cs2 (USB_DM_PDOWN)&amp;nbsp;and qspi_cs3 (USB_DP_PDOWN)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pullup tied to irq1*&amp;nbsp;(USB_ALTCLK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; M52223EVB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pulldowns tied to qspi_cs2 (USB_DM_PDOWN)&amp;nbsp;and qspi_cs3 (USB_DP_PDOWN)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pullup tied to qspi_cs1 (USB_PULLUP)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the M52259DEMOKIT, the pullup circuitry is installed despite a "do not install" listing on the schematic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, on the M52221DEMO board, on the other hand, none of this kind of circuitry&amp;nbsp;exists.&amp;nbsp; And in fact, on the 64 pin parts, the qspi_cs1, qspi_cs2, and qspi_cs3 pins don't even exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I guess I'm looking for confirmation that no internal pull resistors exist on these parts, or correction that they do...&amp;nbsp; Is that even true for the device mode pullup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then I'm wondering if you simply can't use the USB OTG with pullup/pulldown switching on a 64 pin part?&amp;nbsp; And if using irq1* instead of qspi_cs1 is legitimate on the 52259 (on which&amp;nbsp;qspi_cs1 doesn't exist)?&amp;nbsp; And if I can just use any other GPIO's as well (and in particular, if the pullup in the GPIO when configured as input to act "turned off"&amp;nbsp;will bite me)?&amp;nbsp; Is there a way to get more "open drain"'ish than simply configuring a GPIO as input?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any insight or confirmation!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2009 13:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/5222x-5225x-USB-host-mode-pulldown-confusion/m-p/196610#M8765</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-07-04T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: 5222x/5225x USB host mode pulldown confusion...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/5222x-5225x-USB-host-mode-pulldown-confusion/m-p/196611#M8766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this was such a good picture I got from Freescale support, and somehow I'd never seen it before, that I thought I'd post it for the record -- it answers everything!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 11:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/5222x-5225x-USB-host-mode-pulldown-confusion/m-p/196611#M8766</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-07-06T11:20:35Z</dc:date>
    </item>
  </channel>
</rss>

