LPC-Link 2: Schematic, LPC4370 info

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

LPC-Link 2: Schematic, LPC4370 info

3,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Mon May 27 01:23:27 MST 2013
Hello,

just received a brand new LPC-Link 2.

Does someone know where to get schematic of LPC-Link 2?

There is a LPC4370 on this board. I have not found much info about it
in the Internet. According to numbering i would say, it is a flash-less
part. Is this correct? What other things are there/not there
compared to other LPC43xx parts?

Best regards,

Martin
0 Kudos
Reply
11 Replies

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Tue Jun 11 07:43:29 MST 2013
Just for completeness: The USART2 is working.
(Problem were the missing bits in SFSP2_11, e.g. to enable input buffer and pull-up/down-control)

This is needed for initialization:

LPC_RGU->RESET_CTRL1 = (1 << 14);

/* Enable clock of UART2 */
LPC_CCU1->CLK_M4_USART2_CFG = (1 << 1) | (1 << 0);
while (!(LPC_CCU1->CLK_M4_USART2_STAT & (1 << 0)));

LPC_SCU->SFSP2_10 = 2; // Function 2
LPC_SCU->SFSP2_11 = 2 | 0x80 | 0x40 | 0x10; // Function 2 + ZIF + EZI + EPUN

// Set baudrate of UART2 to 9600
LPC_USART2->LCR = 0x80;   // set Bit DLAB to access baudrate generator
LPC_USART2->DLL = 0x4E;   // 9600 baud
LPC_USART2->DLM = 0x00;
LPC_USART2->FDR = 0;
LPC_USART2->LCR = 0x03;   // reset Bit DLAB to access FIFO, 8N1
LPC_USART2->IER = 0x00;   // No interrupts
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Thu May 30 04:43:04 MST 2013
Has someone already used USART2 on LPC-Link 2?
I can send data via USART3 (over ISP_CTRL or ISP_CTL_OD with a pull-up),
but can't seem to connect USART2 to P2_10. Also P2_11 seems
to get no input...

  LPC_SCU->SFSP2_10 =  2;
  LPC_SCU->SFSP2_11 =  2;
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 27 06:17:20 MST 2013

Quote: ArneB
Any ideas anyone ?



It's a Schottky, so you are measuring the 'reverse leakage' :)

See: http://en.wikipedia.org/wiki/Schottky_diode


Quote:
However, the high reverse leakage current presents a problem in this  case, as any high-impedance voltage sensing circuit (e.g. monitoring the  battery voltage or detecting whether a mains adaptor is present) will  see the voltage from the other power source through the diode leakage.

0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ArneB on Mon May 27 05:39:33 MST 2013
Now I am a bit puzzled...
I have looked into the schematic and tried to understand, where the 4.7V (which is in fact the +5V USB voltage) on J6-7 (EXT_POW) comes from. I have not found any connection between the USB voltage and EXT_POW, except the diode D2, which has 4.7V on both ends...
Obviously I am blind or the schematic revision doesn't fit to my LPC-Link2... :cool:
Any ideas anyone ?
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 27 05:23:14 MST 2013

Quote: ArneB
@R2D2:
I have just measured the voltage between pins J6-8 (GND) and J6-9 (ISP_CTL_OD): 0V...
But you will find 4.7V on pin J6-7 (EXT_POW) :D



Thanks for verifying this. Unfortunately EXT_POW is no output and will not supply my target.

Anyway, now I know that my standard LPCXpresso11C24 connector (J4) is not compatible with Link2 (J6), and that was the question :)

Thanks...
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ArneB on Mon May 27 05:10:10 MST 2013
@R2D2:
I have just measured the voltage between pins J6-8 (GND) and J6-9 (ISP_CTL_OD): 0V...
But you will find 4.7V on pin J6-7 (EXT_POW) :D
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon May 27 04:46:52 MST 2013
[FONT=Tahoma][SIZE=2]
Quote: R2D2
Mike,
could you do me a favour and measure J6-9? This pin was used as 5V supply (from VBUS) to the target for LPCXpresso11C24.
Now it looks like an open drain output which will probably not supply my LPC11C24 :)


[/SIZE][/FONT] 
I am sorry, but I am a software guy and work mostly from home.
I don't have a scope or multi-meter.

Regards, Mike
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 27 04:39:18 MST 2013
Mike,
could you do me a favour and measure J6-9? This pin was used as 5V supply (from VBUS) to the target for LPCXpresso11C24.
Now it looks like an open drain output which will probably not supply my LPC11C24 :)

Thanks...
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon May 27 04:20:25 MST 2013
[FONT=Tahoma][SIZE=2]
Quote: capiman
Hello,
There is a LPC4370 on this board. I have not found much info about it
in the Internet. According to numbering i would say, it is a flash-less
part. Is this correct? What other things are there/not there
compared to other LPC43xx parts?



Depending on jumpers, it boots via DFU, SPI data flash etc.
Simmilarly to the LPC3154 etc.

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

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon May 27 04:12:02 MST 2013
[FONT=Tahoma][SIZE=2]Hi Guys, I found the schematic here:
http://www.nxp-lpc.com/updated_materials/LPC-Link2/LPC-Link-II_schematic_Rev_C.pdf

However, on the board I purchased direct from Embeded Artists, there is no revision given, just a blank square on the silk screen (presumably for adding the rev number by hand -- which was not done).

See http://www.embeddedartists.com/products/lpcxpresso/lpclink2.php price 15 Euro.

Cheers, Mike

[/SIZE][/FONT]
0 Kudos
Reply

2,663 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 27 01:33:45 MST 2013

Quote: capiman
Does someone know where to get schematic of LPC-Link 2?



It's a EA product, so you get the schematic there. Or they just don't release it :)


Quote:

After purchase the schematic can be downloaded from our support page. Note that schematic is not available for all products.[COLOR=Red]
It is for example currently not available for the LPC-Link 2.[/COLOR]

See: http://www.embeddedartists.com/support/faq.php?id=2
0 Kudos
Reply