Reply by Michal Krestan February 20, 20102010-02-20
That's what I did, my PCLK is running at 48MHz, but still no success and approximately every 4th connection will crash. It might be a problem in LPC2148 device, because when I remove the clock switching it works well, but I need to reduce power consumtion when USB is disconnected.

Michal
----- Original Message -----
From: Miguel Angel
To: l...
Sent: Saturday, February 20, 2010 3:10 PM
Subject: Re: [lpc2000] LPC214x and USB

LPCUSB should work quite well, remember to put the VPB bus speed over 18Mhz (or 30Mhz, not sure), to avoid problems with the LPC214x USB device hardware.
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo

2010/2/20 Michal Krestan

Hi,

I'm desperate with getting work USB on LPC2148 device. I need any functional driver which gives me virtual serial port. I've tried LPCUSB but I hangs somewhere very often and therefore it can't be used. The problem is in intialization phase, when the usb is conneted. When it's sucessful, then I don't have any problems. I've tried driver from nxp pages, but it's for Keil and I'm using gcc and it requires a lot of effort to rewrite the code.

Michal

An Engineer's Guide to the LPC2100 Series

Reply by Miguel Angel February 20, 20102010-02-20
LPCUSB should work quite well, remember to put the VPB bus speed over 18Mhz
(or 30Mhz, not sure), to avoid problems with the LPC214x USB device
hardware.

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo
2010/2/20 Michal Krestan

>
> Hi,
>
> I'm desperate with getting work USB on LPC2148 device. I need any
> functional driver which gives me virtual serial port. I've tried LPCUSB but
> I hangs somewhere very often and therefore it can't be used. The problem is
> in intialization phase, when the usb is conneted. When it's sucessful, then
> I don't have any problems. I've tried driver from nxp pages, but it's for
> Keil and I'm using gcc and it requires a lot of effort to rewrite the code.
>
> Michal
>
>
Reply by FreeRTOS Info February 20, 20102010-02-20
On 20/02/2010 11:47, Michal Krestan wrote:

>
> I'm desperate with getting work USB on LPC2148 device. I need any functional driver which gives me virtual serial port. I've tried LPCUSB but I hangs somewhere very often and therefore it can't be used. The problem is in intialization phase, when the usb is conneted. When it's sucessful, then I don't have any problems. I've tried driver from nxp pages, but it's for Keil and I'm using gcc and it requires a lot of effort to rewrite the code.

If I may paraphrase your question a little - you want a CDC class USB
device running on the LPC2148 but you don't want to expend any effort to
achieve that. Well luckily you can probably have your improbably wish
http://www.jcwren.com/arm/.

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.

Reply by Michal Krestan February 20, 20102010-02-20
Hi,

I'm desperate with getting work USB on LPC2148 device. I need any functional driver which gives me virtual serial port. I've tried LPCUSB but I hangs somewhere very often and therefore it can't be used. The problem is in intialization phase, when the usb is conneted. When it's sucessful, then I don't have any problems. I've tried driver from nxp pages, but it's for Keil and I'm using gcc and it requires a lot of effort to rewrite the code.

Michal