First of all, we need to pay attention to two concepts: the difference between product identification number and product serial number?
1. Product identification number: For the LPC1100 series, there are multiple models, and different models have different identification numbers.
2. Product serial number: Each product has a serial number located in 32 bits (ASCII format).
Read product identification
There are many ways to read product identification. Here are a few methods:
a. In the simulation state, open the peripheral window, select Device ID, and open the window to view, as shown below:
b. Since there is a Device ID register in the LPC1100 system control register, we can directly read this register to read this value.
b. Reading the product identification can also be done through ISP/IAP, which is also a common method for using NXP chips. The following is a method for reading IAP under IAP.
The method of reading the identification is very simple. The code is as follows. Note that the entry parameter is 54. The first output data is the status return value, and the second byte is the real identification ID.
Read product serial number
There are not so many ways to read the product serial number. It can only be read through ISP/IAP. The following is a method to read the UID using IAP commands.
The function code is as follows:
Previous article:Use McBSP of DM6437 to configure SPI to communicate with ARM_S2440
Next article:Implementation of video server for USB camera under Arm-linux
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- The 2022 provincial competition questions are out
- Wireless data transmission network for pipeline monitoring based on ZigBee technology
- Multicast Network Design Based on C6000 DSP NDK
- Help: Cost-saving replacement for two touch switches
- CC2640R2: A brief analysis of BLE pairing mechanism and implementation of custom pairing password
- Solution to the problem that STM32G474 DAC does not output using DMA
- Calling Matlab Data in CCS
- 【XMC4800 Relax EtherCAT Kit Review】02 Collect and prepare XMC development materials
- What is the effective communication rate of STM32 USB CDC HOST DEVICE?
- 11. [Learning LPC1768 library functions] Systick experiment