Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] send data From AT90USB162 to PC

Status
Not open for further replies.

decapitary

Banned
Member level 3
Joined
Jul 16, 2014
Messages
62
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
0
Hi all
I have a ATEMGA8 (ADC&USART activated) and I want to send this data to PC(real time).Can I use AT90USB162 instead of FT-232RL?
 

UART from MCU using USB to RS232 converters are good enough to send data at real time to PC as MCU's are very slow in data sending compared to PC. I used it myself in some applications.
But it is also fine to use AR90USB162 as the USB controller is built in. But u have to develop USB driver for both microcontroller and PC. USB has one constant data rate mode called isochronous mode, for real time data sending/receiving, but u have to create a custom USB driver for that bcoz HID USB driver supports only bulk/interrupt transfer mode. And HID driver is free too. I remember using microsoft jungo driver development tool for USB isochronous mode. At the same time, u have to make a schedular for ur microcontroller with USB data transfer given a higher priority than any other task in microcontroller. This is kind of an overkill for 8-bit MCU but with few trial and error it will surely work along side ur application.
(https://msdn.microsoft.com/en-us/library/ms894725.aspx) gives some info on USB modes.

Hope that helps.
 
that helped a lot.I appreciate that thank you so much
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top