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: Data lines as general I/O

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Data lines as general I/O - jamesasteres - Dec 29 18:57:00 2004


Hi,
I'm using the LPC2292 (144 pin). If I only have 8 bit external
devices, can I use P2.8 thru P2.31 as general purpose I/O? (These
pins would be d8-d31 in 32 bit data width applications),
James





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


Re: Data lines as general I/O - Anton Erasmus - Jan 2 4:33:00 2005

On 29 Dec 2004 at 23:57, jamesasteres wrote: >
> Hi,
> I'm using the LPC2292 (144 pin). If I only have 8 bit external
> devices, can I use P2.8 thru P2.31 as general purpose I/O? (These pins
> would be d8-d31 in 32 bit data width applications), James

Hi,

The Table below lists the 4 options you have for mapping the external
databus on the LPC2292: (Map to monospaced font for reading) | PINSEL2 5: | 00 | 01 | 10 | 11 |
+------------+---------------+---------------+--------+---------------+
| P1.0 | CS0 | CS0 | CS0 | GPIO |
| P1.1 | OE | OE | OE | GPIO |
| P2.0 | D0 | D0 | D0 | GPIO |
| P2.1 | D1 | D1 | D1 | GPIO |
| P2.2 | D2 | D2 | D2 | GPIO |
| P2.3 | D3 | D3 | D3 | GPIO |
| P2.4 | D4 | D4 | D4 | GPIO |
| P2.5 | D5 | D5 | D5 | GPIO |
| P2.6 | D6 | D6 | D6 | GPIO |
| P2.7 | D7 | D7 | D7 | GPIO |
| P2.8 | GPIO | D8 | D8 | GPIO |
| P2.9 | GPIO | D9 | D9 | GPIO |
| P2.10 | GPIO | D10 | D10 | GPIO |
| P2.11 | GPIO | D11 | D11 | GPIO |
| P2.12 | GPIO | D12 | D12 | GPIO |
| P2.13 | GPIO | D13 | D13 | GPIO |
| P2.14 | GPIO | D14 | D14 | GPIO |
| P2.15 | GPIO | D15 | D15 | GPIO |
| P2.16 | GPIO | GPIO | D16 | GPIO |
| P2.17 | GPIO | GPIO | D17 | GPIO |
| P2.18 | GPIO | GPIO | D18 | GPIO |
| P2.19 | GPIO | GPIO | D19 | GPIO |
| P2.20 | GPIO | GPIO | D20 | GPIO |
| P2.21 | GPIO | GPIO | D21 | GPIO |
| P2.22 | GPIO | GPIO | D22 | GPIO |
| P2.23 | GPIO | GPIO | D23 | GPIO |
| P2.24 | GPIO | GPIO | D24 | GPIO |
| P2.25 | GPIO | GPIO | D25 | GPIO |
| P2.26 | GPIO | GPIO | D26 | GPIO |
| P2.27 | GPIO | GPIO | D27 | GPIO |
| P2.28 | GPIO/Reserved | GPIO/Reserved | D28 | GPIO/Reserved |
| P2.29 | GPIO/Reserved | GPIO/Reserved | D29 | GPIO/Reserved |
| P2.30 | GPIO/AIN4 | GPIO/AIN4 | D30 | GPIO/AIN4 |
| P2.31 | GPIO/AIN5 | GPIO/AIN5 | D31 | GPIO/AIN5 |
| P3.30 | GPIO | BLS1 | BLS1 | GPIO |
| P3.31 | BLS0 | BLS0 | BLS0 | GPIO |
| P3.28 | GPIO/AIN7 | GPIO/AIN7 | BLS3 | GPIO/AIN7 |
| P3.29 | GPIO/AIN6 | GPIO/AIN6 | BLS2 | GPIO/AIN6 |

Regards
Anton Erasmus

--
A J Erasmus




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

Re: Data lines as general I/O - jamesasteres - Jan 7 13:47:00 2005


>From: "Anton Erasmus" <antone@s...>
>Date: Sun Jan 2, 2005 1:33 am
>Subject: Re: [lpc2000] Data lines as general I/O
>
>Hi,
>
>The Table below lists the 4 options you have for mapping the
>external

Thanks for the table. That is much clearer than the datasheet!
James




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