The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 19, 2024, 05:17:52 05:17


Login with username, password and session length


Pages: [1]
Print
Author Topic: Microcontrollers with embedded USB controller  (Read 9915 times)
0 Members and 1 Guest are viewing this topic.
Rey Mafia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 4
-Receive: 21


« on: November 05, 2010, 12:37:52 00:37 »

I need to develop a custom HID keyboard, and would like to get some recommendations on what microcontroller/controller could I use. My current alternatives are ATMEGA8 + Objective USB firmware and PIC18F2550 + CCS firmware, do you know of other cheap alternatives? Thanks in advance for your comments.
Logged
LabVIEWguru
Senior Member
****
Offline Offline

Posts: 300

Thank You
-Given: 269
-Receive: 593



« Reply #1 on: November 05, 2010, 05:21:51 05:21 »

Freescale makes some 68hc908 micros with a keyboard interface on board, but you'd have to add something for the USB connectivity. It's been a while since I've looked, but I think they even offer free code + an app note on how to implement a (I assume you mean a PC keyboard) keyboard Interface.
Logged
Rey Mafia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 4
-Receive: 21


« Reply #2 on: November 05, 2010, 07:58:05 19:58 »

Yes, I mean PC keyboard. Thanks for the info about Freescale, I'll take a look at these micros.
Logged
ktek
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 10
-Receive: 5


« Reply #3 on: November 06, 2010, 10:48:43 10:48 »

the best choice for me is LPC1342 or LPC1751
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 127

Thank You
-Given: 24
-Receive: 18


« Reply #4 on: November 06, 2010, 12:14:13 12:14 »

hello,
u can use cypress semiconductors,they have got some psoc in built with usb devices,u can customize the hardware graphically.they provide good appnote also,as u said for keyboard  they have got some app notes also.for ex:- cy8c24894,cy8c24xxx,old versions dedicated to usb are cy7cxxxx,they have some wireless usb ics also.u can have vast number of choices in cypress
Logged
bobcat1
Senior Member
****
Offline Offline

Posts: 295

Thank You
-Given: 4131
-Receive: 89


« Reply #5 on: November 06, 2010, 05:44:22 17:44 »

Hi

I recommend STM32 very good documented and easy to use if you know "c" language (from some one who done USB for the first time)

P.S don't forget to remove "if def's" since the code designed for several controllers

All the best

Bobi   
Logged
Rey Mafia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 4
-Receive: 21


« Reply #6 on: November 06, 2010, 07:41:18 19:41 »

Thanks for all of your comments, there are several options I wasn't aware of, and they seem really good, I'll try to check them all, thanks Smiley.
Logged
technovm
Active Member
***
Offline Offline

Posts: 101

Thank You
-Given: 70
-Receive: 110



« Reply #7 on: November 07, 2010, 07:14:16 07:14 »

I you want to use 8051 core you can try Silicon Labs USB controllers.
Logged
samir
Active Member
***
 Muted
Offline Offline

Posts: 181

Thank You
-Given: 27
-Receive: 21


« Reply #8 on: November 10, 2010, 04:57:07 04:57 »

Texas 8051 with usb
http://focus.ti.com/mcu/docs/mcugeneralcontent.tsp?sectionId=98&tabId=1515
http://focus.ti.com/docs/prod/folders/print/tusb3410.html
Logged
tAhm1D
Senior Member
****
Offline Offline

Posts: 326

Thank You
-Given: 103
-Receive: 180



« Reply #9 on: November 10, 2010, 11:28:17 11:28 »

Hi,
Back after so long.
Anyway, for USB, I'd recommend the 18F2550 over the ATMEGA8 as it has a USB module in it. If you use PIC, go for it. If you use AVR, check the AT90USBxx or ATMEGA16U4. There are a few 8051 with USB. Check that as well.
Logged
Rey Mafia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 4
-Receive: 21


« Reply #10 on: November 10, 2010, 04:01:59 16:01 »

Thanks again, I'm currently working with a PIC18F2550, they were the easier to get in my region.
What I'm trying now is to gather information of what is needed in order to release an USB product, I've read about some vendors giving you right to use their ID for free but limiting to small quantities, do I really need specific vendor and product IDs, or just product ID? If I'm not selling this product alone but using it in a bigger one, do I need to have get custom IDs? What happens if I don't exceed certain amount of products?

Does anybody know where could I find information about these topics?
Logged
engamor
Junior Member
**
Offline Offline

Posts: 41

Thank You
-Given: 21
-Receive: 13


« Reply #11 on: November 11, 2010, 10:08:03 10:08 »

About PID and VID. Yes you shall have yours and yes you may get your own PID from the silicon vendor.
If you go without, you risk driver problems with the PC, and I can tell you that they do happen.
Not all the companies follow the same policy. Texas and Silabs do give you a possibility in that sense.
NXP does not!
I do not know the policy of Microchip.
It is not quantity limited, from what  I understand you can make as many products you want. The problem is they will not give you so many different PIDs to use with their VID, so you cannot differentiate among your products.
Logged
Suky
Guest
« Reply #12 on: November 12, 2010, 02:04:32 02:04 »

Can be cheaper the 18F13K50 of 20 pin.


Logged
Rey Mafia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 4
-Receive: 21


« Reply #13 on: November 13, 2010, 12:54:09 00:54 »

Thanks for the suggestion, but it doesn't match current I/O requirements for the design.

I've just been contacted by a Renesas sales representative, I explained the requirements for this project and he will send me information about some of their microcontrollers that would fit.
But in the meantime, does anybody know of a Renesas microcontroller that would have similar features to a Microchip PIC18F2550? I know they have lots of bigger chips, but I haven't used Renesas devices before and so I'm not really aware of their product lines.
Logged
LabVIEWguru
Senior Member
****
Offline Offline

Posts: 300

Thank You
-Given: 269
-Receive: 593



« Reply #14 on: February 16, 2011, 08:19:07 08:19 »

Cypress CY7C68013A EZ-USB FX2LP USB2.0 Develope Board
Ebay Item number: 280535311982

$26 US Dollars (I don't know how they make them that cheap!)

I bought two of these and they are beautiful. He sends a link to software, PDF files and such.
I don't know how far along you are on your project, but I thought this may help. They are about
1/2 the price of other boards I've seen. It took me about 2 weeks to get them. The controller is
an expanded 8051 core, and you just download code to it through USB. Pretty neat. Now it's on my
list of things to do (sometime.)
« Last Edit: February 16, 2011, 08:24:47 08:24 by LabVIEWguru » Logged
gan_canny
Junior Member
**
Offline Offline

Posts: 89

Thank You
-Given: 101
-Receive: 26


« Reply #15 on: February 16, 2011, 10:48:51 10:48 »

I did this several years ago using a PIC There is sample code in the CCS forum library. Now I needed more flexibility at the PC end.
Microchip has a free USB driver you can download. It will interface with C## vb delphi and my favorite lazarus .
Lazarus is free. Lazarus  is like delphi pascal and runs windows linux and MAC os also cross compiles to win mobile  WinCE and Iphone os.
Write it once with lazarus and it will run across platforms.
For USB and the PIC. You install the Microchip Windows driver ( use libusb for linux) use the free  PID and VID that Microchip gives you in your PIC code. A few lines of PC code and you are in total control of the USB interfaces end points and  data transfer modes. The PC is the master and the PIC usb enabled device is the slave. Newer PIC devices have OTG ( On the Go) so the PIC can act in a limited manner as a master. The key with usb is a stable 32mhz clock PIC devices allow  dual clocks a PIC system clock and a stable usb clock derived from one external xtal source. Your PIC internals timers ADC 1 wire X10 I2C Rs232 etc aren't held hostage to the 32mhz usb heart beat
« Last Edit: February 16, 2011, 11:04:46 11:04 by gan_canny » Logged
engamor
Junior Member
**
Offline Offline

Posts: 41

Thank You
-Given: 21
-Receive: 13


« Reply #16 on: February 21, 2011, 07:12:25 07:12 »

I understand that most people on this site are PIC-oriented and quite a few are AVR oriented, but I would suggest to everybody to seriously consider cortex ARM architectures. They are cheap, very rich in peripherals and very powerful. The usb interface examples are very complete. I am using at the moment the stm32 series and really I wonder how I ever did without, NXP has very good devices and Texas-luminary are quite good expecially in their firmware examples. If anybody is in the process of starting a new design I really suggest to consider a switch to some of these devices. It is true that you can do USB with smaller devices, but why do it? If you need usb that -quite often- means that you also generally need high performance in terms of speed and memory intensive tasks, which you cannot achieve with "small" devices.
Logged
Dillon
Newbie
*
Offline Offline

Posts: 31

Thank You
-Given: 207
-Receive: 25


« Reply #17 on: March 26, 2011, 07:17:56 19:17 »

I think the thing that makes PIC and Arduino(ATMEL) processors so attractive is that there is:
A. a large number of forums and large number of perople that follow them
B. most of the popular PIC and Arduino processors have projects that are open/GPL'd and there fore shared
   freely amoung many users. A good example of this is all the files on the SPARKFUN site to name just one.
C. finally, there are many many libraries for EAGLE CAD which I for one love that support these two families of processors.

Interestingly enough there are several families of processors and logic out there that are not supoorted by the expirimenter community for some reason (maybe cost) that are extremely versitile and I for one would love to see some projects developed for these processors that are put out under the GPL license for all to enjoy.

 
Logged
koseyel
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 500
-Receive: 224


« Reply #18 on: April 03, 2011, 09:41:05 21:41 »

I have no experience with it but I'd consider the MSP430F5529. It has USB controller embedded and they claim it's low power.
See more here:
http://focus.ti.com/docs/prod/folders/print/msp430f5529.html
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC