Hi,
i'm trying to make a system that receive data from usb and send it from another usb with the same atmega. It is possible to do it with V-usb??
I thought I could duplicate the functions that configure the pins of atmega where the usb will connect. But when I was studying the code i notice that the files .INC can't be changed because they are configure for wich frequency. I have little experience so I also thought about using another atmega to receive data, send it for the second atmega that will send by usb to one host. This is my plan b.
Two communication USB with V-usb
Re: Two communication USB with V-usb
Perhaps you use two cheap MCUs (ATmega8) with VUSB in each.
Via tWI (I2C) or SPI you can interconnect them to implement your function.
Best regards
Via tWI (I2C) or SPI you can interconnect them to implement your function.
Best regards
Re: Two communication USB with V-usb
thanks
One more question. I'm looking for a software that i could use to send data from host to microcontroler. I have seen the usb hid terminal but this one is for PIC microcontroler. I'm doing my search right now and so far nothing appears. If someone can give me a name i would be very appreciated
One more question. I'm looking for a software that i could use to send data from host to microcontroler. I have seen the usb hid terminal but this one is for PIC microcontroler. I'm doing my search right now and so far nothing appears. If someone can give me a name i would be very appreciated
Re: Two communication USB with V-usb
Trindade wrote:thanks
One more question. I'm looking for a software that i could use to send data from host to microcontroler. I have seen the usb hid terminal but this one is for PIC microcontroler. I'm doing my search right now and so far nothing appears. If someone can give me a name i would be very appreciated
I'm making confusion... forget this question. I already have my answer
Thanks
Re: Two communication USB with V-usb
Hi again!
TinyUSBboard (http://matrixstorm.com/avr/tinyusbboard/) is an exaple V-USB board.
Its project page has many examples and one of them is a template for interacting with a computer via USB.
This template contains a firmware as also platform independed code for your computers end.
(http://matrixstorm.com/avr/tinyusbboard/#examples : VUSB skeleton/example)
Of course you could also use avrBridge.
(http://matrixstorm.com/avr/tinyusbboard/#firmwares : tinyUSBboard as avrBridge)
Best regards,
TinyUSBboard (http://matrixstorm.com/avr/tinyusbboard/) is an exaple V-USB board.
Its project page has many examples and one of them is a template for interacting with a computer via USB.
This template contains a firmware as also platform independed code for your computers end.
(http://matrixstorm.com/avr/tinyusbboard/#examples : VUSB skeleton/example)
Of course you could also use avrBridge.
(http://matrixstorm.com/avr/tinyusbboard/#firmwares : tinyUSBboard as avrBridge)
Best regards,