views:

1023

answers:

2

How do i interface an usb to microcntroller 89s52 ? can i get the circuit diagram itself ? And also the logic behind the transmission and reception of bits ?

Thnxx

A: 

talk to your usb supplier - they should know the generic way to get to a uController.
Or, find the generic USB interface devices in the back of 'nuts and volts', buy their device and then you can interface to any usb component

KevinDTimm
A: 

You will need to add a USB interface device peripheral to the 89s52. These usually implement a CDC type device and connect to the serial port usart within the microcontroller. Two manufacturers that spring to mind are Texas Instruments TUSB series devices or chips from FTDI who specialise in this area. The device side USB stack is either held in the device or downloaded as part of the vendor supplied device driver on the host controller.

Ian
I found this microcontroller AT83C5134/35/36 which has an inbuilt USB function, if i program this controller can i directly connect it to the modem for data transmission, or else i need something else ??
Dharavk
That looks like it implements a device (as opposed to a host) interface within the microcontroller. You will have to implement the device software stack within your code. This may be included in the ATMEL device libraries. The TUSB and FTDI parts hace the USB device protocol built in.
Ian