EA baseboard example guide

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

EA baseboard example guide

2,150 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Tue Apr 10 09:20:00 MST 2012
Hi,

I downloaded the EA baseboard examples.zip, and tested the "demo" project which was great. But i could not find the description of what other examples do. For example the sdcard example, what cable i should connect to which port. Where can i find more information about the examples or are these actually common sense :( ?
0 Kudos
Reply
6 Replies

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by caprock on Thu Apr 12 17:37:11 MST 2012
jaybee,

I created this attached file to maintain sanity. This may help you as well.

:)
0 Kudos
Reply

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Thu Apr 12 08:13:49 MST 2012
Which schematics are you looking at?

Baseboard rev A or rev B ?

you should follow the signals on the baseboard from the connectors all the way to the LPCXpresso module pinout and then check the real signal on the LPCXpresso module.

Yes - this is a bit of a hassle but unfortunately the different peripherals are not connected to the same PIO signals in the lpc13xx and lpc17xx. Hence the lpc17xx module has different PIO lines on the LPCXpresso connector than the lpc13xx.

Rob
0 Kudos
Reply

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Wed Apr 11 20:13:56 MST 2012
The EA baseboard schematics is driving me nuts, where should i look for what pin connects to what device? should it be the board pin number or the generic pin? :confused:

I check the schematic and believed uart3, p0.0 & p0.1 is the tx and rd for the rs485 and p2.0 to be the enable pin, i verified that there is signal coming out from TX but nothing on the rs485???


I found the problem to be from U25 74HC4052, pins 1,2,4,5 is suppose to duplicate the input pin3, but only pin1 has the same signal....
0 Kudos
Reply

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Wed Apr 11 01:38:59 MST 2012
Thanks rob for clearing up:)

Now I am able to run the examples.

Yup, I did followed all the steps for the USB-to-UART bridge.

But whenever my teraterm is connected to the baseboard, I cannot debug, it returns with a [SIZE=2][FONT=Arial]"[/FONT][B][FONT=Arial]Failed to connect - Cannot find selected MEM-AP (check target power)". I connect an addition max 1A power supply to 'X1(p5)' and with vector catch on it still has this problem.

If i run debug then connect with teraterm, i get "Target error from status-poll"/"target error from register access" before and while running the program.

[/FONT][/B][/SIZE]
0 Kudos
Reply

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Tue Apr 10 22:13:56 MST 2012

Quote: jaybee
But on the schematic, SCK is actually connected to p2.11 [IMG]http://knowledgebase.nxp.com/images/icons/icon5.gif[/IMG]
...

Are the examples provided supposed to work out of the box :confused:


Yes, and they do.

You looked at the rev. A baseboard schematics, that one still only contains the 'old' names for the lpc1114/1343 modules. In the rev. B schematics these names have been replaced by a generic name (GPIO_3 instead of PIO2_11).
If you would have checked the schematics of your lpc1769 module also, you would have discovered that the pin that has PIO2_11 on the LPCXpresso1343 actually connected to P0.7 on the LPCXpresso1769 module. This is due to the fact that the lpc176x has a different IOCONF than the 1343 and the pins on the LPCXpresso modules are layed out such that (pin) functions are available at the same pin location of the module.

I agree that the could have been a small explanation of which cable to connect but most examples just use the USB-UART bridge at 115200,8,n,1 for communications (except for those that explicitly demonstrate semi hosting functionality) - I thought this was explained in the baseboard manual but I'm not sure (It's been too long ago since I actually read that manual).

I created a small cross reference ([U][B]link[/B][/U]) some time ago to translate the pin names between the different modules, both in the layout of the LPCXpresso modules and the base board - I got confused when I wanted to measure on some LPCXpresso pins with my logic analyzer ...

Regards,[INDENT]Rob
[/INDENT]
0 Kudos
Reply

2,109 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Tue Apr 10 20:58:49 MST 2012
I checked the codes and schematics and found that in the code they set

    /*
     * Initialize SPI pin connect
     * P0.7 - SCK;
     * P0.8 - MISO
     * P0.9 - MOSI
     * P2.2 - SSEL - used as GPIO
     */

But on the schematic, SCK is actually connected to p2.11 [IMG]http://knowledgebase.nxp.com/images/icons/icon5.gif[/IMG]

And a check with the lpc1769 user manual

P2.11[1] GPIO Port 2.11 EINT1 Reserved I2STX_CLK

There is no SCK function on this pin:eek:

Are the examples provided supposed to work out of the box :confused:
0 Kudos
Reply