We take LQFP48 package as an example.
From the description of the pins in the figure, we can see that almost every pin has multiple functions. For example, pin 9: PIO1_8/CT16B1_CAP0, which means that pin 9 can be used as a general input and output pin P1.8, and can also be used as a capture pin of 16-bit timer 1. (For what is a capture pin, please see Ration's "RATION LPC1114 Basic Manual").
The function of the pin needs to be configured through the IOCON module.
Now, let's go through all the pin descriptions! After reading the pin descriptions, you will have a basic understanding of it.
GPIO module pins:
PIO0_0~PIO0~11
PIO1_0~PIO1~11
PIO2_0~PIO2_11
PIO3_0~PIO3_5
P0, P1, P2 each have 12 pins, P3 has 6 pins, a total of 42 GPIO ports.
Power supply pin: (3.3V power supply)
PIN5: VSS
PIN8: VDD
PIN41: VSS
PIN44: VDD
Clock oscillator pin:
PIN6: XTALIN
PIN7: XTALOUT
connect to external crystal oscillator.
Clock output pin:
PIN4: CLKOUT
Reset pin:
PIN3: RESET
I2C module pin:
PIN15: SCL
PIN16: SDA
UART serial port pin:
PIN46: RXD serial data input pin
PIN47: TXD serial data output pin
In addition to the RXD and TXD pins, there are other handshake signal pins in the 9-pin full-function serial port.
PIN45: RTS
PIN2, PIN36: DTR
PIN23: CTS
PIN13PIN37: DSR
PIN26PIN43: DCD
PIN38PIN48: RI
Among them, the DTR, DSR, DCD, and RI pins are multiplexed on two pins. You can choose a pin as the corresponding function according to actual needs.
SPI module pins: (LPC1114 has 2 SPI modules inside, represented by SPI0 and SPI1 respectively)
PIN10: SSEL0
PIN27: MISO0
PIN28: MOSI0
PIN22PIN29: SCK0
PIN2: SSEL1
PIN26: MISO1
PIN38: MOSI1
PIN13: SCK1
SCK0 is multiplexed on two pins and can be configured to one of the pins through the IOCON_LOC register.
ADC module pins:
PIN32: AD0
PIN33: AD1
PIN34: AD2
PIN35: AD3
PIN39: AD4
PIN40: AD5
PIN30: AD6
PIN42: AD7
LPC1114 has an ADC module inside, which can collect analog signals through 8 pins.
General timer module pins: (a total of 4 timers, 2 16-bit timers, 2 32-bit timers)
PIN10: CT16B0CAP0
PIN27: CT16B0MAT0
PIN28: CT16B0MAT1
PIN29: CT16B0MAT2
"16-bit timer 0" has a capture pin and 3 match output pins.
PIN9: CT16B1CAP0
PIN17: CT16B1MAT0
PIN30: CT16B1MAT1
"16-bit timer 1" has a capture pin and 2 match output pins.
PIN45: CT32B0CAP0
PIN46: CT32B0MAT0
PIN47: CT32B0MAT1
PIN4: CT32B0MAT2
PIN32: CT32B0MAT3
"32-bit timer 0" has one capture pin and four match output pins.
PIN33: CT32B1CAP0
PIN34: CT32B1MAT0
PIN35: CT32B1MAT1
PIN39: CT32B1MAT2
PIN40: CT32B1MAT3
"32-bit timer 1" has one capture pin and four match output pins .
The capture pin can count and measure frequency, similar to a normal interrupt pin.
The match output pin can output a PWM pulse width modulation signal.
SWD debug module pin:
PIN29: SWCLK
PIN39: SWDIO
Above, all the pin names are classified. The functional modules mentioned above all have pins displayed externally. Inside LPC1114, there are also modules that do not have pins displayed externally, such as power management module, watchdog module, etc.
Previous article:Boot Loader Application Notes—HelloM3 Application Notes
Next article:Design of detection device based on ARM tilt angle and acceleration
Recommended ReadingLatest update time:2024-11-16 13:05
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Watch the video and share 3000 yuan: Dr. Chen Qiaoliang talks about MOSFET selection principles and typical application cases
- 3m semi-anechoic chamber, 10m semi-anechoic chamber
- [2022 Digi-Key Innovation Design Competition] Part 3: Understanding the setting of Chinese characters and TouchGFX with development board installed
- 【TouchGFX Design】+ Several problems encountered and attempts at button functions
- N32G430C8L7 development board ADC temperature test
- [Xianji HPM6750EVKMINI Review] 6# HPM6750 for SD Operation
- EEWORLD University ---- Computer Vision and Deep Learning
- [Erha Image Recognition Artificial Intelligence Vision Sensor] 2. Firmware upgrade & power-on experience face recognition and object recognition
- Multimeter and infrared thermometer are waiting for you to disassemble! —— EEWorld disassembles for you to play (Part 2)
- Google Chrome homepage is changed automatically for no apparent reason?