<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1768" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-10-09T16:40:58+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1768</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-10-09T16:40:58+02:00</updated>

		<published>2008-10-09T16:40:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6387#p6387</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6387#p6387"/>
		<title type="html"><![CDATA[Questions about USB_CFG_MAX_BUS_POWER]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6387#p6387"><![CDATA[
The value you define is in mA, so define it to 500. The USB Spec demands half that value and AVR-USB divides it automatically.<br /><br />Note that you must wait until your device is configured before you draw the full power. Until then you are limited to 100 mA.<br /><br />If you exceed the value, it depends on the host/hub what happens. Some hosts are willing to deliver much more. Others disconnect you even before you reach 500 mA (if the polyfuse is worn out).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Oct 09, 2008 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-10-02T18:17:19+02:00</updated>

		<published>2008-10-02T18:17:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6341#p6341</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6341#p6341"/>
		<title type="html"><![CDATA[Questions about USB_CFG_MAX_BUS_POWER]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1768&amp;p=6341#p6341"><![CDATA[
Hi,<br /><br />I'm currently working on a USB-self-powered device. Now I'm worried about the &quot;USB_CFG_MAX_BUS_POWER&quot; define in the usbconfig.h.<br /><br />According to the USB Specs the maximum current should be 500mA. To demand this, I did the following:<br /><br /><blockquote class="uncited"><div><strong class="text-strong">#define USB_CFG_MAX_BUS_POWER           250</strong><br />Set this variable to the maximum USB bus power consumption of your device.<br /> * The value is in milliamperes. [It will be divided by two since USB<br /> * communicates power requirements in units of 2 mA.]<br /></div></blockquote><br /><br />Should be alright, as 500 divided by two = 250. Am I right?<br /><br />But what if I exced the 500mA? Will the device be disconnected by the host?<br /><br />thx phil<p>Statistics: Posted by Guest — Thu Oct 02, 2008 6:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
