What is GPIO in LPC2148?
General-purpose input/output (GPIO) is a pin on an IC (Integrated Circuit). It can be either input pin or output pin, whose behaviour can be controlled at the run time. A group of these pins is called a port (Example, Port 0 of LPC2148 has 32 pins). LPC2148 has two 32-bit General Purpose I/O ports.
How many GPIO pins are there in LPC2148?
GPIO pins can be used for driving loads, reading digital and analog signal, controlling external components, generating triggers for external devices etc. LPC2148 has two IO ports namely PORT0 (P0) and PORT1 (P1). These two IO ports are of 32-bit wide and are provided by the 64 pins of the microcontroller.
Which port pins of PORT1 is not accessible in LPC2148?
PORT 1 is a 32-bit bi-directional I/O port with individual direction controls for each bit. The operation of port 1 pins depends upon the pin function selected via the pin connect block. Pins 0 through 15 of port 1 are not available.
What are features of LPC2148?
LPC2148 Key Features: 16/32-bit ARM7TDMI Microcontroller in a tiny LQFP64 package. 40 kB of on-chip static RAM and 512 kB of on-chip flash memory. 128-bit wide interface/accelerator enables high-speed 60 MHz operation. In-System Programming/In-Application Programming (ISP/IAP) via on-chip boot loader software.
What is fast GPIO and legacy GPIO?
Legacy GPIO registers are known as “slow” GPIOs and the GPIO ports with enhanced features are known as “fast” GPIOs in ARM7 terminology. A different set of registers have to be programmed if you need to use fast GPIOs. For backward compatibility, some ports can still be accessed as slow GPIOs.
What is LPC2148?
The NXP (founded by Philips) LPC2148 is an ARM7TDMI-S based high-performance 32-bit RISC Microcontroller with Thumb extensions 512KB on-chip Flash ROM with In-System Programming (ISP) and In-Application Programming (IAP), 32KB RAM, Vectored Interrupt Controller, Two 10bit ADCs with 14 channels, USB 2.0 Full Speed …
What is difference between fast GPIO and legacy GPIO?
What are the applications of the LPC2148 microcontroller?
But LPC2148 microcontroller is the most famous microcontroller which has been currently using in different applications such as in automatic braking systems and mobile phones etc. Here we will discuss the pin configuration with the features of LPC2148 microcontroller.
What is fast GPIO?
Signal Input/Output. Faster general-purpose I/O. C++ library for the Arduino IDE that allows you to manipulate general-purpose I/O (GPIO) pins on your Arduino or Arduino-compatible board with minimal overhead.
What size is LPC2148?
The LPC2148 is a 16 bit or 32 bit ARM7 family based microcontroller and available in a small LQFP64 package. ISP (in system programming) or IAP (in application programming) using on-chip boot loader software.
How do I program my LPC2148?
Below are the steps for flashing the the ARM LPC2148:
- Select the LPC2148.
- Give the COM port number according to Device Manager (Mine was COM7)
- Give baud rate as 38400.
- Oscillator as 12 Mhz.
- Tick “Erase blocks used by firmware”
- Now select the hex file path.
- Tick verify after programming checkbox.
- And click START.
What is LPC2148 microcontroller?
Does writing to ioclr affect LPC2148 GPIO?
Writing 0 has no effect. If any pin is configured as an input or a secondary function, writing to IOCLR has no effect. So this is the theory of LPC2148 GPIO.
What is the difference between lpc214x and LPC2148?
Most of the function oriented pins on lpc214x Microcontrollers are grouped into ports. lpc2148 has 2 ports viz. Port 0 and Port 1.
What are the pins in lpc214x MCUs?
For example : P0.2 refers to Pin number 2 of Port 0 , P1.13 refers to Pin number 13 in Port 1. In lpc214x MCUs most of the PINS are Multiplexed i.e. these pins can be configured to provide different functions. I’ll explain this in upcoming tutorial.
What is Pinsel Register in LPC2148 controller?
It means that the pin can either act as an Input or Output with no specific functions. There is totally three PINSEL register in LPC2148 Controller in order to control the functions of the Pins in the respective ports.