Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Data lines as general I/O

Data lines as general I/O

2004-12-29 by jamesasteres

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

Re: [lpc2000] Data lines as general I/O

2005-01-02 by Anton Erasmus

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

Re: [lpc2000] Data lines as general I/O

2005-01-07 by jamesasteres

>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

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.