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 ADC in LPC2148?
Introduction. Analog to Digital Converter(ADC) is used to convert analog signal into digital form. LPC2148 has two inbuilt 10-bit ADC i.e. ADC0 & ADC1. ADC0 has 6 channels &ADC1 has 8 channels. Hence, we can connect 6 distinct types of input analog signals to ADC0 and 8 distinct types of input analog signals to ADC1.
What is I2C in LPC2148?
I2C (Inter Integrated Circuit) is serial bus interface connection protocol first invented by Philips Semiconductor (Now NXP Semiconductors). It is also called as TWI (two wire interface) since it uses only two wires for communication. I2C uses handshaking mechanism for communication.
What is resolution of ADC in LPC2148?
LPC2148 has the 10 bit resolution ADC. With this if the actual input voltage is 0V then the MCU’s ADC will read it as 0 and if it is 3.3V the MCU will read 1024 and if it somewhere in between like 1.65v then the MCU will read 512.
How many bit ADC is present in LPC2148?
10-bit
LPC2148 has an inbuilt 10-bit Successive Approximation ADC which is multiplexed among 6/8 input pins of ADC0/ADC1.
How does I2C protocol work state features of I2C module in LPC2148?
Features of I2C in LPC2148 ARM7 Microcontroller
- LPC2148 supports two fast I2C-buses (I2C0 & I2C1).
- I2C bus interface that may be configured as Master, Slave or Master/Slave.
- Supports programmable clock to allow adjustment of multiple data speed: standard (100 kbps), fast (400 kbps) and high speed (3.4 Mbps).
What is interfacing ADC with 8051?
ADC is the Analog to Digital converter, which converts analog data into digital format; usually it is used to convert analog voltage into digital format.
How does a ADC work?
ADCs follow a sequence when converting analog signals to digital. They first sample the signal, then quantify it to determine the resolution of the signal, and finally set binary values and send it to the system to read the digital signal. Two important aspects of the ADC are its sampling rate and resolution.
How many ADC modules are present in LPC2148?
two inbuilt ADC
LPC2148 has two inbuilt ADC Modules, named as ADC0 & ADC1.
How does LPC2148 converts digital quantity to analog?
LPC2148 has Analog output pin (AOUT) on chip, where we can get digital value in the form of Analog output voltage. The Analog voltage on AOUT pin is calculated as ((VALUE/1024) * VREF). Hence, we can change voltage by changing VALUE(10-bit digital value) field in DACR (DAC Register).
What is the ADC in LPC2148 ARM7 microcontroller?
The ADC in LPC2148 ARM7 Microcontroller is 10-bit successive approximation analog to digital converter. The features are listed as: LPC2148 has two inbuilt ADC Modules, named as ADC0 & ADC1. ADC0 has 6-Channels (AD0.1-AD0.6).
What is the I2C configuration of the LPC2148?
The I2C block in LPC2148 and other LPC2100 series ARM7 MCUs can be configured as either Master, Slave or both Master & Slave. It also features a programmable clock which aids in using different transfer rates as required.
How to configure the LPC1768 ADC?
Below are the steps for configuring the LPC1768 ADC. Configure the GPIO pin for ADC function using PINSEL register. Enable the CLock to ADC module. Deselect all the channels and Power on the internal ADC module by setting ADCR.PDN bit. Select the Particular channel for A/D conversion by setting the corresponding bits in ADCR.SEL
What is the difference between LPC2148 and lpc214x?
The I2C block in LPC2148 and other LPC2100 series ARM7 MCUs can be configured as either Master, Slave or both Master & Slave. It also features a programmable clock which aids in using different transfer rates as required. The I2C block in LPC214x supports speeds up to 400kHz.