Hint : The datasheets and schematics they give you, they give for a
They will answer pretty much all the questions you just asked....
You'd probably want to start reading the LPC2148/2468 users guide that
describes what all the stuff in your LPC214x.h does.
Also when you register your boards on the EA site they usually have
more sample code for download that use most of the peripherals on
Vito De Tullio wrote:
> Sorry for this stupid "Hello group"...
> I've just buyed a couple of LPC 2XXX boards from Embedded Artists:
> The first is an LPC 2468 (+ a QVGA lcd) and the second one is an
> LPC 2148
> I'm just at the beginning, but I've already found how to connect throught
> minicom to the boards (and via ftp, http and telnet on the first one).
> I begin to play with the Educational board :P but I found a couple of
> problems: the first is that all the "development environment" I found on
> embeddedartits.com is a couple of IDEs, a "minicom"-like program and a
> software to send .hex files to the boards... (all of them for windows
> and a lot of datasheets :)
> But I didn't find a library, or a "simple" way to program the cpu...
> at my
> best I found the sources of a "hello world" example that blinks a
> couple of
> leds, and studying this sources all I found is a "LPC214x.h", which
> defines "a lot of things" but doesn't contain a comment, or a way to
> use this
> for example the LPC2148 board contain a "8x8 LED matrix, controlled
> via shift
> registers in the SPI bus"...
> erh... I know I sound stupid, but I don't know what it means, in
> practice! I
> mean: how the heck can I say to the board "blink on this(x,y) led?"
> Or, talking about the LPC214x.h... the "hello world" I found assign some
> values to the macros "FIO0DIR", "FIO0SET", "FIO0CLR". In the LPC214x.h I
> found "FIO" means "Fast I/O setup" (whatever it means) and the
> existence of
> FIO + [0,1] * [DIR, MASK, PIN, SET, CLR].
> What't the meaning of 0 and 1?
> And of DIR, MASK... etc?
> And, in general, how 'FIO0SET = 0x00000400;' can be '// red led off' ?
> from this hello world).
> Can you point me a "arm for dummies" or something like that to begin?
> I'm sorry to talk to you this way, but I'm a bit struggled... :|
>  http://embeddedartists.com/products/uclinux/oem_lpc2468.php
>  http://embeddedartists.com/products/education/edu_2148.php
> By ZeD