usb host and device in a single chip available?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb host and device in a single chip available?

Jump to solution
1,182 Views
oolongtea
Contributor I

Hi, I try to find a microcontroller/coldfire that has 2 usb port.

Does Freescale has such a product?

I try to use the parametric search and couldn't find any.

 

Just want to confirm here.

 

thanks!

Labels (1)
0 Kudos
1 Solution
812 Views
TomE
Specialist II

There's usually a difference between USB Master controllers and USB Slave controllers.

 

The low-end (MCF51) chips usually have the Slave type so you can make devices that can act as a USB Slave to a PC.

 

The higher end ones have the Master controllers so you can plug USB devices into them.


The MCF5329 we're using has two USB controllers on it. It looks like it should be able to do what you want. Check the MCF532x and MCF537x pages. All of those chips have two USB controllers.

 

These ones don't have internal FLASH. You have to attach external FLASH to them, and external RAM as well if you need more than 32k of it. If by "Microcontroller" you mean internal FLASH, then this isn't your chip.

 

It might be cheaper and easier (simpler PCB) to use two single-USB microcontrollers and link them via SPI or some other bus.

 

The i.MX chips are even more "heavyweight". They're very powerful, extremely complicated (over 5000 page Reference Manual, and that doesn't include the CPU which needs multiple manuals), need external DDR3 RAM and NAND FLASH, and if you're not running Linux on them you're unlikely to be able to get them to do anything.

 

Tom

 

View solution in original post

0 Kudos
3 Replies
813 Views
TomE
Specialist II

There's usually a difference between USB Master controllers and USB Slave controllers.

 

The low-end (MCF51) chips usually have the Slave type so you can make devices that can act as a USB Slave to a PC.

 

The higher end ones have the Master controllers so you can plug USB devices into them.


The MCF5329 we're using has two USB controllers on it. It looks like it should be able to do what you want. Check the MCF532x and MCF537x pages. All of those chips have two USB controllers.

 

These ones don't have internal FLASH. You have to attach external FLASH to them, and external RAM as well if you need more than 32k of it. If by "Microcontroller" you mean internal FLASH, then this isn't your chip.

 

It might be cheaper and easier (simpler PCB) to use two single-USB microcontrollers and link them via SPI or some other bus.

 

The i.MX chips are even more "heavyweight". They're very powerful, extremely complicated (over 5000 page Reference Manual, and that doesn't include the CPU which needs multiple manuals), need external DDR3 RAM and NAND FLASH, and if you're not running Linux on them you're unlikely to be able to get them to do anything.

 

Tom

 

0 Kudos
812 Views
JimDon
Senior Contributor III

Actually, the term is "Host" and "Device" are technically the correct term and, of courses the MCF51 USB  can do this with it's OTG module. But it does only have a single USB moudle on it.

Tom is correct, you propably would not want to design the board your self, how ever there are several well supported linux distros that would give a leg up on device support.

What ever soultion you choose, be sure you have supported software drivers for what you need.....it can be quite diffuclut startinng from scratch with USB.

Using two low cost chips probably is the best idea. Even if  the MCF51 had both, at 50Mhz it would not do well with driving both at full speed. You mught even get away with a 9s08JM and a MCF51.

Another idea is to use a FTDI232H using it's 8 bit i/o buss as the device and the built in USB as a host. Again, the 80Mhz cpu clock could be a problem.

 

 

 

812 Views
JimDon
Senior Contributor III

There are ARM chips like MX53 that have that.

 

0 Kudos