Page 1 of 1

Can I use AVR-USB in At90usbXXX?

Posted: Thu Oct 16, 2008 3:37 am
by apollononnno
Hi christian

I want to install "AVR-USB" with "At90usb162".
Can that case implement the usb function of "the full speed" that used "low speed" and the inside hardware which I used "INT0" for at the same time?
For example, I convert full speed and a signal of the low speed and use it at the same time.

Re: Can I use AVR-USB in At90usbXXX?

Posted: Wed Oct 22, 2008 9:16 am
by henni
I want to install "AVR-USB" with "At90usb162".

Sounds a bit strange why someone need two USB device interfaces in one chip. IMHO the only use for it is connecting two computers.
Can that case implement the usb function of "the full speed" that used "low speed" and the inside hardware which I used "INT0" for at the same time?

This should be possible, if the AT90 core can clock at 12 MHz.
For example, I convert full speed and a signal of the low speed and use it at the same time.

Maybe, you want a low-speed host controller (keyboard or mouse or another AVRUSB device)? Currently, AVRUSB is not designed for host controllers. There are other, host-controller-focused projects.

Posted: Sun Oct 26, 2008 2:17 am
by epsilon_da
I dont know this AT90usb, but if it can be used as a host, then he may want to controll another low end device and comunicate with a PC with avrusb.

Am I a mistake?

Posted: Mon Oct 27, 2008 12:50 pm
by apollononnno
I intended to connect "AT90USB647" in "AVR-USB".
As a result of having tried it sometimes, I was not able to do USB communication.
Cannot I operate "AVR-USB" with the device having a USB circuit inside?
Or would it be wrong for my lack of understanding?

Posted: Mon Oct 27, 2008 4:35 pm
by epsilon_da
All you need for AVR-USB is a supported clock speed (12, 16, 16.5 Mhz), the int0 pin and some other normal pin.
You should be able to use the internal usb module with different pins.

The datasheet of AT90usb162 says "Up to 16 MIPS Throughput at 16 MHz".
So AVR-USB will work fine at 12 or 16 Mhz.

The summary of the test.

Posted: Tue Oct 28, 2008 3:24 pm
by apollononnno
I thought that I was strange.
I could grapple it and was going to operate "ABR-USB" without I remained in at90usb647, and using the inside USB circuit because I was not used.
// 25PD0(OC0B/SCL/INT0)$D+
// 26PD1(OC2B/SDA/INT1)$D-
I connected crystal glass of 16MHz to an errand USB circuit by the port setting mentioned above.
The USB circuit is clamped with a constant voltage element through resistance of 100ohm from a port by 3.5v.
When this circuit worked, I repeated connection of the USB many times and tried it, but the connection was not able to recognize the device without can do it.
A photo is two kinds of device boards.Image[/url]

Posted: Tue Oct 28, 2008 3:49 pm
by epsilon_da
In USB you have a Host controller and an endpoint.

It seems like you are trying to connect 2 devices with no computer.
If so, one of the devices needs to have a host usb module, otherwise it wont work.

If all of this is correct on your devices and still doesnt working, it may be that 16 Mhz could be not supported at Vcc of 3.5 V.