EmbeddedRelated.com
Forums

Newbie:development on LPC2387

Started by vihang sapale May 11, 2008
Hi All,
I would like to introduce myself. I am Vihang from India. I
have been working in field of embedded system since last three years.
I have worked on 8/16bit microcontrollers from ATMEL/PIC. Now first
time I am trying my hand on ARM(LPC2387) and I am very excited about
it.
I am going to develop (H/W + S/W) system with following things.
Hardware Requirements:

1. LCD display with 4-6 rows by 16-20 characters.
2. USB host
3. serial port
4. alpha numeric compact keypad (PS2)
5. External memory chip SPI interface- Initial 4MB expandable.
6. Ethernet.

Before I start development I need to know the current resouces
available for LPC2387.
1. Please guide me towards sample codes available for 2387.
2. Are there any ref. hardware design available or hardware design
guideline available.
3. I am bit confused would development be simpler if I go for "free
RTOS". I guess free RTOS doesn't support LPC2387? can any one tell me
how it can be possible to use free RTOS with 2387.
For s/w tools I am thinking of IAR.

Regards,
Vihang

An Engineer's Guide to the LPC2100 Series

Hello, Vihang.

The first step you need to do is to get a development board. Optionally you can build it yourself or develop in target system provided you considering some issues (programming). You might want to discuss the schematics with someone with experience before building it.
When you have the development board and programming environment start with simple programs, e.g. first only serial port, then add LCD. USB and Ethernet are not so simple.

Hi,

LPC2387 doesn't support USB host. It only supports USB device functionality.
Look for 2468. This has almost all interfaces.

Regards,
Ravi

On Sun, May 11, 2008 at 7:12 PM, vihang sapale wrote:

> Hi All,
> I would like to introduce myself. I am Vihang from India. I
> have been working in field of embedded system since last three years.
> I have worked on 8/16bit microcontrollers from ATMEL/PIC. Now first
> time I am trying my hand on ARM(LPC2387) and I am very excited about
> it.
> I am going to develop (H/W + S/W) system with following things.
> Hardware Requirements:
>
> 1. LCD display with 4-6 rows by 16-20 characters.
> 2. USB host
> 3. serial port
> 4. alpha numeric compact keypad (PS2)
> 5. External memory chip SPI interface- Initial 4MB expandable.
> 6. Ethernet.
>
> Before I start development I need to know the current resouces
> available for LPC2387.
> 1. Please guide me towards sample codes available for 2387.
> 2. Are there any ref. hardware design available or hardware design
> guideline available.
> 3. I am bit confused would development be simpler if I go for "free
> RTOS". I guess free RTOS doesn't support LPC2387? can any one tell me
> how it can be possible to use free RTOS with 2387.
> For s/w tools I am thinking of IAR.
>
> Regards,
> Vihang
>
>

--
regards
ravi

LPC2388 also supports USB host.
It has the same type of package as LPC2387 but 144 pins instead of 100.

--- In l..., ravi wrote:
>
> Hi,
>
> LPC2387 doesn't support USB host. It only supports USB device
functionality.
> Look for 2468. This has almost all interfaces.
>
> Regards,
> Ravi
>
> On Sun, May 11, 2008 at 7:12 PM, vihang sapale wrote:
>
> > Hi All,
> > I would like to introduce myself. I am Vihang from India. I
> > have been working in field of embedded system since last three years.
> > I have worked on 8/16bit microcontrollers from ATMEL/PIC. Now first
> > time I am trying my hand on ARM(LPC2387) and I am very excited about
> > it.
> > I am going to develop (H/W + S/W) system with following things.
> > Hardware Requirements:
> >
> > 1. LCD display with 4-6 rows by 16-20 characters.
> > 2. USB host
> > 3. serial port
> > 4. alpha numeric compact keypad (PS2)
> > 5. External memory chip SPI interface- Initial 4MB expandable.
> > 6. Ethernet.
> >
> > Before I start development I need to know the current resouces
> > available for LPC2387.
> > 1. Please guide me towards sample codes available for 2387.
> > 2. Are there any ref. hardware design available or hardware design
> > guideline available.
> > 3. I am bit confused would development be simpler if I go for "free
> > RTOS". I guess free RTOS doesn't support LPC2387? can any one tell me
> > how it can be possible to use free RTOS with 2387.
> > For s/w tools I am thinking of IAR.
> >
> > Regards,
> > Vihang
> >
> > --
> regards
> ravi
>
>
i have not worked so far in this field i have in this field for last
1 month. I join thiscommunity for solving my problem that i face
during nowa days.
do u pls mail me the logic for the frequency measure ment oof the ARM
using timer/counter...
HI ,
Those are great suggestions friends. well thanks for telling me
about LPC2387 doesn't have USB host. I was told by LPC support that it has
USB host. Anyways I will go for LPC2388.
Yes definitly I will review my schematic from expert before building
up the board. Also I will start s/w by small and simple modules.
Would you suggest me to go for "Free RTOS" which will make PS2/USB
keyboard and Ethernet stack implementation more simple? But I heard "Free
RTOS" does not support LPC23xx architecture?

Regards,
Vihang

On 5/12/08, Bostjan Glazar wrote:
>
> LPC2388 also supports USB host.
> It has the same type of package as LPC2387 but 144 pins instead of 100.
>
>
>

I think there is port for LPC2468 on FreeRTOS. However check on the same.

Regards,
Ravi

On Tue, May 13, 2008 at 9:35 AM, vihang sapale wrote:

> HI ,
> Those are great suggestions friends. well thanks for telling me
> about LPC2387 doesn't have USB host. I was told by LPC support that it has
> USB host. Anyways I will go for LPC2388.
> Yes definitly I will review my schematic from expert before building
> up the board. Also I will start s/w by small and simple modules.
> Would you suggest me to go for "Free RTOS" which will make PS2/USB
> keyboard and Ethernet stack implementation more simple? But I heard "Free
> RTOS" does not support LPC23xx architecture?
>
> Regards,
> Vihang
> On 5/12/08, Bostjan Glazar >
> wrote:
> >
> > LPC2388 also supports USB host.
> > It has the same type of package as LPC2387 but 144 pins instead of 100.
> >
> >
> >
> >
> >
>
>
>

--
regards
ravi

Hi, for anyone interested in a good evaluation board for the LPC2387
we just received our first batch of Keil MCB2387 boards.
http://www.lpctools.com/index.asp?PageAction=VIEWPROD&ProdID8&HS=1
They are available as board only, with ULINK-ME, or with ULINK2.
MCB2388 will soon follow.
Regards,
LPC Tools
http://www.lpctools.com

--- In l..., ravi wrote:
>
> I think there is port for LPC2468 on FreeRTOS. However check on the
same.
>
> Regards,
> Ravi
>
> On Tue, May 13, 2008 at 9:35 AM, vihang sapale
wrote:
>
> > HI ,
> > Those are great suggestions friends. well thanks for telling me
> > about LPC2387 doesn't have USB host. I was told by LPC support
that it has
> > USB host. Anyways I will go for LPC2388.
> > Yes definitly I will review my schematic from expert before
building
> > up the board. Also I will start s/w by small and simple modules.
> > Would you suggest me to go for "Free RTOS" which will make PS2/USB
> > keyboard and Ethernet stack implementation more simple? But I
heard "Free
> > RTOS" does not support LPC23xx architecture?
> >
> > Regards,
> > Vihang
> >
> >
> > On 5/12/08, Bostjan Glazar
40fe.uni-lj.si>>
> > wrote:
> > >
> > > LPC2388 also supports USB host.
> > > It has the same type of package as LPC2387 but 144 pins instead
of 100.
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> regards
> ravi
>
>

> But I heard "Free RTOS" does not support LPC23xx architecture?
Why not?
Free RTOS supports ARM7 architecture (including Philips/NXP LPC series). It's just a matter of different peripherals and memory. Then you need to configure this i.e. port to your hardware.