LPC2148 in ludhiana

lpc2148

lpc tutorial

 

LPC training center

LPC2148

 

P0.0/TXD0/PWM1-19th pin
I/O P0.0 — General purpose input/output digital pin (GPIO).
O TXD0 — Transmitter output for UART0.
O PWM1 — Pulse Width Modulator output 1.
P0.1/RXD0/PWM3/EINT0-21st pin
I/O P0.1 — General purpose input/output digital pin (GPIO)
I RXD0 — Receiver input for UART0.
O PWM3 — Pulse Width Modulator output 3.
I EINT0 — External interrupt 0 input.
P0.2/SCL0/CAP0.0-22nd pi
I/O P0.2 — General purpose input/output digital pin (GPIO).
I/O SCL0 — I2C0 clock input/output. Open-drain output (for I2C-bus compliance).
I CAP0.0 — Capture input for Timer 0, channel 0.
P0.3/SDA0/MAT0.0/EINT1-26th pin
I/O P0.3 — General purpose input/output digital pin (GPIO).
I/O SDA0 — I2C0 data input/output. Open-drain output (for I2C-bus compliance).
O MAT0.0 — Match output for Timer 0, channel 0.
I EINT1 — External interrupt 1 input.
P0.4/SCK0/CAP0.1/AD0.6-27th pin

I/O P0.4 — General purpose input/output digital pin (GPIO).
I/O SCK0 — Serial clock for SPI0. SPI clock output from master or input to slave.
I CAP0.1 — Capture input for Timer 0, channel 1.
I AD0.6 — ADC 0, input 6.
P0.5/MISO0/MAT0.1/AD0.7-29th pin
I/O P0.5 — General purpose input/output digital pin (GPIO).
I/O MISO0 — Master In Slave Out for SPI0. Data input to SPI master or data output from SPI slave.
O MAT0.1 — Match output for Timer 0, channel 1.
I AD0.7 — ADC 0, input 7.
P0.6/MOSI0/CAP0.2/AD1.0-30th pin
I/O P0.6 — General purpose input/output digital pin (GPIO).
I/O MOSI0 — Master Out Slave In for SPI0. Data output from SPI master or data input to SPI slave.
I CAP0.2 — Capture input for Timer 0, channel 2.
I AD1.0 — ADC 1, input 0. Available in LPC2144/46/48 only.
P0.7/SSEL0/PWM2/EINT2-31st pin

I/O P0.7 — General purpose input/output digital pin (GPIO).

I SSEL0 — Slave Select for SPI0. Selects the SPI interface as a slave.

O PWM2 — Pulse Width Modulator output 2.

I EINT2 — External interrupt 2 input.

P0.8/TXD1/PWM4/AD1.1-33rd pin

I/O P0.8 — General purpose input/output digital pin (GPIO).

O TXD1 — Transmitter output for UART1.

O PWM4 — Pulse Width Modulator output 4.

I AD1.1 — ADC 1, input 1. Available in LPC2144/46/48 only.

P0.9/RXD1/PWM6/EINT3-34th pin

I/O P0.9 — General purpose input/output digital pin (GPIO).

I RXD1 — Receiver input for UART1.

O PWM6 — Pulse Width Modulator output 6.

I EINT3 — External interrupt 3 input.

P0.10/RTS1/CAP1.0/AD1.2- 35th pin

I/O P0.10 — General purpose input/output digital pin (GPIO).

O RTS1 — Request to Send output for UART1. LPC2144/46/48 only.

I CAP1.0 — Capture input for Timer 1, channel 0.

I AD1.2 — ADC 1, input 2. Available in LPC2144/46/48 only.

P0.11/CTS1/CAP1.1/SCL1-37th pin

I/O P0.11 — General purpose input/output digital pin (GPIO).

I CTS1 — Clear to Send input for UART1. Available in LPC2144/46/48 only.

I CAP1.1 — Capture input for Timer 1, channel 1.

I/O SCL1 — I2C1 clock input/output. Open-drain output (for I2C-bus compliance)

P0.12/DSR1/MAT1.0/AD1.3-38th pin

I/O P0.12 — General purpose input/output digital pin (GPIO).

I DSR1 — Data Set Ready input for UART1. Available in LPC2144/46/48 only.

O MAT1.0 — Match output for Timer 1, channel 0.

I AD1.3 — ADC 1 input 3. Available in LPC2144/46/48 only.

P0.13/DTR1/MAT1.1/AD1.4-39th pin

I/O P0.13 — General purpose input/output digital pin (GPIO).

O DTR1 — Data Terminal Ready output for UART1. LPC2144/46/48 only.

O MAT1.1 — Match output for Timer 1, channel 1.

I AD1.4 — ADC 1 input 4. Available in LPC2144/46/48 only.

P0.14/DCD1/EINT1/SDA1-41st pin

I/O P0.14 — General purpose input/output digital pin (GPIO).

I DCD1 — Data Carrier Detect input for UART1. LPC2144/46/48 only

I EINT1 — External interrupt 1 input.

I/O SDA1 — I2C1 data input/output. Open-drain output (for I2C-bus compliance).

Note: LOW on this pin while RESET is LOW forces on-chip boot loader to take over control of the part after reset

P0.15/RI1/EINT2/AD1.5-45th pin

I/O P0.15 — General purpose input/output digital pin (GPIO).

I RI1 — Ring Indicator input for UART1. Available in LPC2144/46/48 only.

I EINT2 — External interrupt 2 input.

I AD1.5 — ADC 1, input 5. Available in LPC2144/46/48 only.

P0.16/EINT0/MAT0.2/CAP0.2- 46th pin

I/O P0.16 — General purpose input/output digital pin (GPIO).

I EINT0 — External interrupt 0 input.

O MAT0.2 — Match output for Timer 0, channel 2.

I CAP0.2 — Capture input for Timer 0, channel 2.

P0.17/CAP1.2/SCK1/MAT1.2-47th pin

I/O P0.17 — General purpose input/output digital pin (GPIO).

I CAP1.2 — Capture input for Timer 1, channel 2.

I/O SCK1 — Serial Clock for SSP. Clock output from master or input to slave.

O MAT1.2 — Match output for Timer 1, channel 2.

P0.18/CAP1.3/MISO1/MAT1.3-53rd pin

I/O P0.18 — General purpose input/output digital pin (GPIO).

I CAP1.3 — Capture input for Timer 1, channel 3.

I/O MISO1 — Master In Slave Out for SSP. Data input to SPI master or data output from SSP slave.

O MAT1.3 — Match output for Timer 1, channel 3.

P0.19/MAT1.2/MOSI1/CAP1.2-54th pin

I/O P0.19 — General purpose input/output digital pin (GPIO).

O MAT1.2 — Match output for Timer 1, channel 2.

I/O MOSI1 — Master Out Slave In for SSP. Data output from SSP master or data input to SSP slave.

I CAP1.2 — Capture input for Timer 1, channel 2.

P0.20/MAT1.3/SSEL1/EINT3-55th pin

I/O P0.20 — General purpose input/output digital pin (GPIO).

O MAT1.3 — Match output for Timer 1, channel 3.

I SSEL1 — Slave Select for SSP. Selects the SSP interface as a slave.

I EINT3 — External interrupt 3 input.

P0.21/PWM5/AD1.6/CAP1.3-1st pin

I/O P0.21 — General purpose input/output digital pin (GPIO).

O PWM5 — Pulse Width Modulator output 5.

I AD1.6 — ADC 1, input 6. Available in LPC2144/46/48 only.

I CAP1.3 — Capture input for Timer 1, channel 3.

P0.22/AD1.7/CAP0.0/MAT0.0-2nd pin

I/O P0.22 — General purpose input/output digital pin (GPIO).

I AD1.7 — ADC 1, input 7. Available in LPC2144/46/48 only.

I CAP0.0 — Capture input for Timer 0, channel 0.

O MAT0.0 — Match output for Timer 0, channel 0.

P0.23/VBUS -58th pin

I/O P0.23 — General purpose input/output digital pin (GPIO).

I VBUS — Indicates the presence of USB bus power.

Note: This signal must be HIGH for USB reset to occur.

P0.25/AD0.4/AOUT-9th pin

I/O P0.25 — General purpose input/output digital pin (GPIO).

I AD0.4 — ADC 0, input 4.

O AOUT — DAC output. Available in LPC2142/44/46/48 only.

P0.28/AD0.1/CAP0.2/MAT0.2-13th pin

I/O P0.28 — General purpose input/output digital pin (GPIO).

I AD0.1 — ADC 0, input 1.

I CAP0.2 — Capture input for Timer 0, channel 2.

O MAT0.2 — Match output for Timer 0, channel 2.

P0.29/AD0.2/CAP0.3/MAT0.3-14th pin

I/O P0.29 — General purpose input/output digital pin (GPIO).

I AD0.2 — ADC 0, input 2.

I CAP0.3 — Capture input for Timer 0, channel 3.

O MAT0.3 — Match output for Timer 0, channel 3.

P0.30/AD0.3/EINT3/CAP0.0-15th pin

I/O P0.30 — General purpose input/output digital pin (GPIO).

I AD0.3 — ADC 0, input 3.

I EINT3 — External interrupt 3 input.

I CAP0.0 — Capture input for Timer 0, channel 0.

P0.31/UP_LED/CONNECT-17th pin

O P0.31 — General purpose output only digital pin (GPO).

O UP_LED — USB Good Link LED indicator. It is LOW when device is configured (non-control endpoints enabled). It is HIGH when the device is not configured or during global suspend.

O CONNECT — Signal used to switch an external 1.5 kW resistor under the software control. Used with the Soft Connect USB feature.

Important: This is an digital output only pin. This pin MUST NOT be externally pulled LOW when RESET pin is LOW or the JTAG port will be disabled.

 

Leave a Reply

Your email address will not be published. Required fields are marked *