Popular articles

How to interface LED with LPC2148?

How to interface LED with LPC2148?

Interfacing LED with LPC2148 It works by turning ON a LED & then turning it OFF & then looping back to START. However, the operating speed of the microcontroller is very high so the flashing frequency will also be very fast to be detected by human eye.

Can interfacing with LPC2148?

The Interfacing SPI-CAN with LPC2148 program is very simple and straight forward, which controls the LPC2148 Advanced Development Board from another LPC2148 Advanced Development Board using CAN via SPI. Some delay is occurring when a single data is sent through SPI. C programs are written in Keil software.

What is pinsel in LPC2148?

The configuration register is called PINSEL and is classified in to three registers: PINSEL0, PINSEL1 and PINSEL2. These configuration registers are of 32-bit wide. Any pin on the LPC2148 can have a maximum of 4 functions. So, a 32-bit PINSEL register can control 16 pins with 2-bits to control each pin.

What is necessity of series resistor in LED interfacing?

The slightest difference in LED or supply voltage may cause the LED to light very dim, very bright, or even destroy. A series resistor will ensure that slight differences in voltage have only a minor effect on the LED’s current, provided that the voltage drop across the resistor is large enough.

Who is the founder of LPC2148 board?

8. Who is the founder of LPC2148 board? Explanation: ARM LPC2148 is ARM7TDMI-S core board microcontroller that uses 16/32-Bit 64 pin(LQFP) microcontroller No. LPC2148 from Philips(NXP).

Which are all the features of NXP LPC2148?

2.1 Key features ∎ 16-bit/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package. ∎ 8 kB to 40 kB of on-chip static RAM and 32 kB to 512 kB of on-chip flash memory. 128-bit wide interface/accelerator enables high-speed 60 MHz operation.

How many ADC modules are present in LPC2148?

two
LPC2148 has two inbuilt ADC Modules, named as ADC0 & ADC1.

What is difference between 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 does ARM stand for assembly?

None. ARM (stylised in lowercase as arm, previously an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of reduced instruction set computing (RISC) architectures for computer processors, configured for various environments.

How does interfacing led with LPC2148 work?

The Interfacing LED with LPC2148 program is very simple and straight forward, that uses a delay procedure loop based software delay. In C programs you cannot be sure of delay, because it depends on compiler how it optimizes the loops as soon as you make changes in the options the delay changes.

How to blink led with ARM7 LPC2148 microcontroller?

Also we have seen how to program ARM7 LPC2148 microchip. Here we’ll explore the use of GPIO. GPIO (General Purpose Input Output) pins are the most basic peripherals in any microcontroller. As a first tutorial in this series we’ll Blink LED with ARM7 LPC2148 Microcontroller. Although it’s simple task but still we feel good to get start with.

What is the ioxpin Register on LPC2148?

Please refer the user manual of LPC2148 microcontroller for more details. This register is used to control the direction (input or output) of a pin, once is it configured as a GPIO pin (General Purpose Input Output) by using PINSELx register. IOxPIN is GPIO port pin value register.

What are the pins in LPC2148 and Keil IDE?

We have 2 PORTS in LPC2148, P0 and P1. Each pin of these ports are named as P0.0, P0.1, P0.2, P1.0, P1.2 etc. Usually most of the pins of an ARM microcontroller is multi-functional, every pin can be made to perform one of the assigned function by setting particular bits of PINSEL register.