See reply below.
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf Of
Pedro Zuchi
Sent: Wednesday, April 02, 2008 9:54 AM
To: l...@yahoogroups.com
Subject: [lpc2000] UART2 in LPC2368
Hi
Don't I get to use the UART2 of the LPC2368 connected in the ports P2.8
and P2.9, does anybody have idea of the one what can be wrong?
I initialized UART2 in accordance below:
void UART2_init (void) {
PCONP |= ( 1 << 24 ); // Turn on UART2 power
PINSEL4 |= ( 1 << 17 ); // Set P2.8 as TxD2
PINSEL4 &= ~( 1 << 16 );
PINSEL4 |= ( 1 << 19 ); // Set P2.9 as RxD2
PINSEL4 &= ~( 1 << 18 );
.
.
.
In the ports P0.10 and P0.11 UART2 works correctly.
Thank's
======Reply ==============================
[Paul]: Simple (once you know it ;-) Start your function with:
PINSEL10 = 0; // Turn off ETM
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )