EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Re: LPC23XX usb == LPC2148usb ?

Started by tape...@hotmail.com December 29, 2008
Hi,

I've some doubts about usb in lpc2368. I'm facing the same problem of migrating a program which uses usb from lpc2148 to lpc2368. In my lpc2148 program I used the Vusb pin as an input and I checked if the USB was connected or not. Depending on that case, my program executed different codes.

Now, with the lpc2368, although i use that pin as an input, and the usb cable is not connected, vbus is not 0V. It's 3 volts, so i can't do the previous check I did with the lpc2148. I forgot to mention that the hardware configuration is the same for both microcontrollers.

It makes me think that there are more differences between usb devices appart from the clock ones.

Thanks.
Hi,
>
>I'm planning to develop a new design using the lpc2368.
>Actually I'm using some lpc2148 + lpcusb for the usb stack (virtual
>com port). But for my design , it lacks ethernet port :(
>I took a look at the USB part of the datasheet , and it seems the usb
>part are the same (except the register addresses) .
>Someone could confirm that the controlers are the same ? And so lpcusb
>stack could be easily adapted ?
>
>Thnaks in advance
>
>Yann.

An Engineer's Guide to the LPC2100 Series

I'm sorry for the previous post. I've been testing and I've already got the problem. It was a hardware problem.

Thanks for nothing.
To: l...
From: t...@hotmail.com
Date: Mon, 29 Dec 2008 06:55:21 -0500
Subject: [lpc2000] Re: LPC23XX usb == LPC2148usb ?

Hi,

I've some doubts about usb in lpc2368. I'm facing the same problem of migrating a program which uses usb from lpc2148 to lpc2368. In my lpc2148 program I used the Vusb pin as an input and I checked if the USB was connected or not. Depending on that case, my program executed different codes.

Now, with the lpc2368, although i use that pin as an input, and the usb cable is not connected, vbus is not 0V. It's 3 volts, so i can't do the previous check I did with the lpc2148. I forgot to mention that the hardware configuration is the same for both microcontrollers.

It makes me think that there are more differences between usb devices appart from the clock ones.

Thanks.

Hi,

>

>I'm planning to develop a new design using the lpc2368.

>Actually I'm using some lpc2148 + lpcusb for the usb stack (virtual

>com port). But for my design , it lacks ethernet port :(

>I took a look at the USB part of the datasheet , and it seems the usb

>part are the same (except the register addresses) .

>Someone could confirm that the controlers are the same ? And so lpcusb

>stack could be easily adapted ?

>

>Thnaks in advance

>

>Yann.

>

>

_________________________________________________________________
Comparte hasta 500 fotos en un solo email con Windows Live
http://download.live.com/



Memfault Beyond the Launch