LPC1549 periph_gpio example RGB LED pin mapping wrong

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1549 periph_gpio example RGB LED pin mapping wrong

621 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 1234567890 on Sun Oct 19 03:08:41 MST 2014
After that night it's probably too early, but the GPIO example (periph_gpio) in line 42 says:

/* LPCXpresso LPC1549 board has LEDs on P0_0, P0_1, and P0_24. We'll toggle them
   all at once. */
//#define PORT_MASK       ((1 << 0) | (1 << 1) | (1 << 24))

I have just received my 'new' LPCXpresso Board from Watter*, date code 1352. Thanks a lot; so it's an ancient board with the silc screen error...
But actual schematic shows the RGB LED on PIO1_1, PIO0_3 and PIO0_25. Toggling PIO0_3 (green) works, so the example seems to be wrong.
Labels (1)
0 Kudos
1 Reply

362 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Oct 20 08:58:46 MST 2014
Hi 1234567890,
You are right. Looks like this code was initially done for RevA board(Not released to public). Thanks for the feedback. We will correct it. See latest schematic and silk screen at
http://www.lpcware.com/content/nxpfile/lpc1549-lpcxpresso-board-schematic
0 Kudos