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.

usb to serial converter

Status
Not open for further replies.

dawuzi

Newbie level 6
Joined
Apr 5, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,359
Hi everyone. I wanted to ask if anyone is familiar with interfacing computer to 89S52 micro controller using USB via a USB to serial converter?
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,086
it would be fine if you put the question open to everyone instead of asking if anyone is expert and then asking.. someone who is not expert but have faced and solved the problem is also too handy in these situation...

expecting you to put the question.......
 

joseMiguel

Member level 5
Joined
Jan 10, 2011
Messages
86
Helped
10
Reputation
20
Reaction score
10
Trophy points
1,288
Location
Montpellier FRANCE
Activity points
1,952
Hi,

Sometimes it is better to change microcontroller and have in built usb functions.
But if you have already wrote lot of code and you have a short time for developing this function it is better to use a FTDI chip or some hard like this (Microchip has also an equivalent product).
After you will be constrain to use the CDC driver on the PC side. (i do not know all the restrictions)
Hope it will help you a little.
regards
JoseMiguel
 

andre_luis

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,308
Helped
1,166
Reputation
2,351
Reaction score
1,152
Trophy points
1,403
Location
Brazil
Activity points
54,236
...But if you have already wrote lot of code and you have a short time for developing this function it is better to use a FTDI chip or some hard like this...

I agree.
Had done it in several projects, and at PC side, communication is treated like an usual Serial port.
However, must perform Port access with System API functions, due this 'not-legacy' serial COM port is not accessible directly throught UART chipset registers.

+++
 

dawuzi

Newbie level 6
Joined
Apr 5, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,359
Thanks all. I have solved the problem. I changed the USB to serial converter i was using. Seems like the previous one was faulty. The new issue now is that if power goes off from the mcu circuit temporarily, the system brings out a blue screen and then restarts.
 

nandhu015

Advanced Member level 5
Joined
Feb 11, 2006
Messages
1,965
Helped
300
Reputation
600
Reaction score
224
Trophy points
1,353
Location
India
Activity points
9,857
Thanks all. I have solved the problem. I changed the USB to serial converter i was using. Seems like the previous one was faulty. The new issue now is that if power goes off from the mcu circuit temporarily, the system brings out a blue screen and then restarts.

Most of the time it is caused by substandard products and improper usb drivers.

Check out both converter and driver.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top