Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | RE: UART2 in LPC2368

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

RE: UART2 in LPC2368 - Paul Claessen - Apr 2 12:06:54 2008

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 )