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.

USB Interfacing to controllers

Status
Not open for further replies.

Bjtpower

Full Member level 5
Joined
Dec 24, 2015
Messages
297
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
3,893
I want to connect usb port to the microcontrollers.

as i study a tutorial where they mention we have to add common mode inductor to the DP+ and DM+

But i dont know the Values of inductors..?
How we can calculate..??

Any weblink or articles

Marx
 

Hi,
First you need to select what USB type: device, host, OTG .
Then you need to choose USB speed.
Then you need to select a USB IC
Then read it's datasheet.
And you should know what signals you want to suppress.

The (single ended) inductance often is not that critical. You need low stray inductance to prevent data transmit problems.
The common mode inductance often is given as common mode impedance at given frequencies. Often you find it in a chart.

Klaus
 
they mention we have to add common mode inductor to the DP+ and DM+
Don't believe you'll find an USB controller datasheet requiring common mode chokes as a general design means.

They may be useful in some cases to reduce RF noise emissions. If you have a validated reference design suggesting common mode chokes, it will surely give a component specification.
 
There are a number of USB to TTL converters available that will connect USB to the receive and transmit pins of a microcontroller's UART. There are converter cables that have the USB chip built into the cable. Arduino uses an ATmega 16U2 as a on board USB to TTL converter. See the Arduino Uno schematic for the design. The USB software for the 16U2 is included with the Arduino software package if one wants to build their own. There are converter boards using chips such as FTDI. All of these are recognized by Linux and Windows (drivers are available), so they are plug and play on a PC. They can communicate using a terminal program like, hyperterminal, Putty or Minicom. They can be used with programs that upload software using an on-chip bootloader, such as Atmel Flip and Pic Tiny bootloader.
 
Last edited:

@FenTrac do not mess with arduino and uarts (U(S)ARTS a far to slow for USB, and do not think that OP wants to build another VCOM device). Most modern uC (AVR micros are not counted as modern) have USB hardware built in. Te best example is the STM32 family of microcontrollers. The only problem is that you need to implement the USB stack.

@ Bjtpower take $3.4 micro - for example STM32F303CB - and you will only need 4 resistors. I you want to reenumerate your device - another two resistors + one transistor. Schematics - see the ST-Link part of the STM Nucleo boards (files are avaiable from the STM site)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top