<?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: Any 8 Bit Freelance Coders + USB Device Driver in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203862#M16916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Services required would be device programming for development of USB peripherals, for which I would provide the PCB design and proto boards to work with.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;I don't apply to your project, but just advice.&lt;/DIV&gt;&lt;P&gt;I've seen many troubles caused by this development role assignment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USB application requires specific consideration for board design.The points are twofold,&lt;/P&gt;&lt;P&gt;1) Bus- or Self- powered -- VBUS detection&lt;/P&gt;&lt;P&gt;2) Noise -- isolation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Bus- or Self-powered -- VBUS detection&lt;/P&gt;&lt;P&gt;The type of power supply is determined by supposed operation of your device, not by the amount of current which the device draws from USB.&lt;BR /&gt;- Bus-powered&lt;/P&gt;&lt;P&gt;The device works just when it connects to a host&lt;/P&gt;&lt;P&gt;- Self-powered&lt;/P&gt;&lt;P&gt;The device works in stand alone, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Bus-powered device,&lt;/P&gt;&lt;P&gt;The MCU is supplied by USB. USB line provides power supply capacity of 100mA or 500mA, depending on the host side. When power requirement of your device exceeds these capacity, you will have an extra power supply to satisfy the requirement. But in this case also, the MCU is still supplied by USB. The extra power supply for peripherals is switched by the VBUS (5V supply) pin on the USB connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Self-powered device,&lt;/P&gt;&lt;P&gt;The MCU has to know physical connection of USB. As MC908JB16 doesn't have specific pin for VBUS detection, you have to assign a spare port pin for this purpose. This port pin connects to VBUS pin on the USB connector, across a protection resistor, with another weak pull-down resistor, and a small bypass capacitor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this topic, we discussed on self-powered configuration.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="64806" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/64806" jivemacro="thread" title="https://community.freescale.com/thread/64806"&gt;https://community.freescale.com/thread/64806&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2) Noise -- isolation&lt;/P&gt;&lt;P&gt;Noise affects to the oscillation of the on-chip OSC. It causes missing or extra clock. USB-PHY (decoder/encoder) on MCU is more sensitive to clock disorder than MCU core. Even when the MCU core seems to run without trouble, USB communication is disturbed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Motor/solenoid drive often causes heavy noise issue.You may need to isolate signal/control GND from power GND.&lt;/P&gt;&lt;P&gt;- Isolated power supply for the MCU&lt;/P&gt;&lt;P&gt;- Optical coupler for output port&lt;/P&gt;&lt;P&gt;- Ferrite beads for input ports of external sensor connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this post will help you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tsuneo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 May 2010 13:54:07 GMT</pubDate>
    <dc:creator>Tsuneo</dc:creator>
    <dc:date>2010-05-30T13:54:07Z</dc:date>
    <item>
      <title>Any 8 Bit Freelance Coders + USB Device Driver</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203861#M16915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is in the wrong place then please let me know and I will move it/ correct it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to locate a freelance coder for development of 8 bit products (freescale) and I currently use the MC908JB16DWE but that isn't restrictive at all and able to look at other Freescale product options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Services required would be device programming for development of USB peripherals, for which I would provide the PCB design and proto boards to work with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally someone with USB device production/programming experience, and knowledge and experience of device drivers would be a total asset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will mainly be involved in switch monitoring projects - possibly some motor drives and solenoid drives, and optical chopper disk monitoring for trackballs/ spinners etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 May 2010 23:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203861#M16915</guid>
      <dc:creator>Sparks</dc:creator>
      <dc:date>2010-05-29T23:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Any 8 Bit Freelance Coders + USB Device Driver</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203862#M16916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Services required would be device programming for development of USB peripherals, for which I would provide the PCB design and proto boards to work with.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;I don't apply to your project, but just advice.&lt;/DIV&gt;&lt;P&gt;I've seen many troubles caused by this development role assignment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USB application requires specific consideration for board design.The points are twofold,&lt;/P&gt;&lt;P&gt;1) Bus- or Self- powered -- VBUS detection&lt;/P&gt;&lt;P&gt;2) Noise -- isolation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Bus- or Self-powered -- VBUS detection&lt;/P&gt;&lt;P&gt;The type of power supply is determined by supposed operation of your device, not by the amount of current which the device draws from USB.&lt;BR /&gt;- Bus-powered&lt;/P&gt;&lt;P&gt;The device works just when it connects to a host&lt;/P&gt;&lt;P&gt;- Self-powered&lt;/P&gt;&lt;P&gt;The device works in stand alone, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Bus-powered device,&lt;/P&gt;&lt;P&gt;The MCU is supplied by USB. USB line provides power supply capacity of 100mA or 500mA, depending on the host side. When power requirement of your device exceeds these capacity, you will have an extra power supply to satisfy the requirement. But in this case also, the MCU is still supplied by USB. The extra power supply for peripherals is switched by the VBUS (5V supply) pin on the USB connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Self-powered device,&lt;/P&gt;&lt;P&gt;The MCU has to know physical connection of USB. As MC908JB16 doesn't have specific pin for VBUS detection, you have to assign a spare port pin for this purpose. This port pin connects to VBUS pin on the USB connector, across a protection resistor, with another weak pull-down resistor, and a small bypass capacitor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this topic, we discussed on self-powered configuration.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="64806" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/64806" jivemacro="thread" title="https://community.freescale.com/thread/64806"&gt;https://community.freescale.com/thread/64806&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2) Noise -- isolation&lt;/P&gt;&lt;P&gt;Noise affects to the oscillation of the on-chip OSC. It causes missing or extra clock. USB-PHY (decoder/encoder) on MCU is more sensitive to clock disorder than MCU core. Even when the MCU core seems to run without trouble, USB communication is disturbed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Motor/solenoid drive often causes heavy noise issue.You may need to isolate signal/control GND from power GND.&lt;/P&gt;&lt;P&gt;- Isolated power supply for the MCU&lt;/P&gt;&lt;P&gt;- Optical coupler for output port&lt;/P&gt;&lt;P&gt;- Ferrite beads for input ports of external sensor connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this post will help you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tsuneo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 May 2010 13:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203862#M16916</guid>
      <dc:creator>Tsuneo</dc:creator>
      <dc:date>2010-05-30T13:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Any 8 Bit Freelance Coders + USB Device Driver</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203863#M16917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tsuneo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your comments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a few BUS powered products finished already and I have done some research with the self-powered limitations of the USB bus as per your notes - I have kept those considerations in mind when calculating overall power consumption of the circuit in its entirity (down to individual pullup resistor values - lol)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initially the devices in the range will be self-powered and then I will move up to more demanding PCBs in terms of power supply requirements for motors and other driver type devices, where the integration of different supplies on one board will lead to noise suppression requirements being more strictly implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your points on the isolation methods are spot on and they are some of the techniques that will be implemented by the hardware designer, which I will also assist with in terms of PCB design/layout (taking into consideration PCB trace runs also&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 May 2010 16:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203863#M16917</guid>
      <dc:creator>Sparks</dc:creator>
      <dc:date>2010-05-30T16:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Any 8 Bit Freelance Coders + USB Device Driver</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203864#M16918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Initially the devices in the range will be self-powered and then I will move up to more demanding PCBs in terms of power supply requirements for motors and other driver type devices, where the integration of different supplies on one board will lead to noise suppression requirements being more strictly implemented.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You are still trapped in the wrong idea widely spreads over, that requirement of device power supply determines Self- or Bus- powered. Required power supply of the entire device is &lt;STRONG&gt;not&lt;/STRONG&gt;&amp;nbsp;the primary criteria. Supposed operation, works in stand alone or not, is the primary one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Even when the device requires 100A, the USB MCU is configured as &lt;STRONG&gt;bus-powered&lt;/STRONG&gt;, if the device works only with USB connection, not stand-alone. The power-hungry peripherals are supplied with a separate source, which interlocks to VBUS voltage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Even when the device draws just 2.5 mA from USB line, it is a &lt;STRONG&gt;self-powered&lt;/STRONG&gt;&amp;nbsp;device when it works in stand-alone, too. This device requires VBUS detection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tsuneo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 May 2010 20:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-8-Bit-Freelance-Coders-USB-Device-Driver/m-p/203864#M16918</guid>
      <dc:creator>Tsuneo</dc:creator>
      <dc:date>2010-05-30T20:07:49Z</dc:date>
    </item>
  </channel>
</rss>

