1. The usage of hardware IIC is more complicated, and the process of analog IIC is clearer.
2. Hardware IIC is faster than analog and can use DMA
3. Analog IIC can be on any pin, while hardware can only be on fixed pins.
4. Software i2c is a programmer using a program to control the SCL and SDA lines to output high and low levels, simulating the timing of the i2c protocol. Generally, it is more stable than hardware i2c, but the program is more complicated, but not difficult.
5. Hardware i2c programmers only need to call the i2c control function, without directly controlling the high and low level output of SCL and SDA. However, the hardware i2c of some microcontrollers is not very stable and there are many debugging problems.
Previous article:i2c bug
Next article:The difference between master-slave communication between standard IIC and IO port simulated IIC
Recommended ReadingLatest update time:2024-11-15 20:52
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
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
- 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
- Please recommend a single-supply precision dual op amp, millivolt level, preferably in SOP-8 package
- Solution sharing: Type-C fast charging solution for fascia gun
- 3. Signal Filter
- Power failure recovery through power consumption calculation utility
- MSP430 interrupt vector table
- The problem of burning chip in the boost circuit, please help
- Master these steps to fully utilize the performance of eFPGA, SoC architects know the selection skills
- Simulink and STM32 development method based on MBD model
- Sugar Glider Part ⑧: Assembly and Test of the RSL10-based Sugar Glider Exercise Reward System
- Generate random numbers in C