Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

hybrid control method and device based on software simulation I2C and hardware I2C

A technology of hybrid control and software simulation, applied in instruments, electrical digital data processing, etc., can solve problems such as susceptibility to interference, unstable signal output, and clock rate limitation

Active Publication Date: 2019-04-19
WUHAN JINGLI ELECTRONICS TECH
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of hardware I2C is that the signal output is stable, the clock rate is standard, and it is not interfered by the core preemption signal, etc. The disadvantage is that the timing requirements are standardized, cannot be customized, and is not flexible enough
[0005] At present, there are chips with non-standard I2C protocol on the market. Since the hardware I2C signal cannot modulate non-standard timing signals, the I2C signal can only be simulated by software.
Advantages of software simulation I2C The signal can be customized, and special requirements can be added in the timing sequence, but the disadvantage is that the signal output is unstable, easy to be interfered, and the clock rate is limited, which cannot meet the actual application requirements.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • hybrid control method and device based on software simulation I2C and hardware I2C
  • hybrid control method and device based on software simulation I2C and hardware I2C
  • hybrid control method and device based on software simulation I2C and hardware I2C

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments, but these embodiments should not be construed as limiting the present invention.

[0024] Such as figure 1 As shown, a kind of hybrid control method based on software simulation I2C and hardware I2C proposed by the present invention is realized based on a control device, and the control device includes a hardware I2C driver module 1 arranged in an I2C master controller A on an ARM CPU chip, an analog I2C delay module 2, interface multiplexing control module 3, GPIO interface module 4. The I2C master controller A obtains the attribute information and register address information of the display module through the host computer.

[0025] Hardware I2C driver module 1 is used to store hardware I2C signal and drive software to output standard I2C signal, analog I2C delay module 2 is used to store software I2C signal and drive software to output analo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a hybrid control method for simulating I2C and hardware I2C based on software. The method comprises the following steps: 1) an I2C master controller arranged on an ARM CPU chipobtains attribute information and register address information of a display module through an upper computer; 2) software I2C signal driving software is loaded by the I2C master controller, outputting a simulation I2C signal to I2C slave equipment, and read a time sequence signal by the simulation I2C signal; And 3) the I2C master controller unloads the software I2C signal driving software, loadsthe hardware I2C signal driving software, and outputs a standard I2C signal to the I2C slave device, and the standard I2C signal is a standard I2C write time sequence signal. According to the invention, when the hardware I2C signal is used for reading operation; Compared with software simulation I2C signals, the method has the advantages that only standard repstart waveforms can be output, the output requirements of non-standard time sequence waveforms cannot be met, and meanwhile, compared with software simulation I2C signals, the abnormal conditions that clock signals are unstable and the like due to the fact that i2c signals are interfered by CPU preemption are avoided.

Description

technical field [0001] The invention relates to the technical field of display module driving, in particular to a hybrid control method and device based on software simulation I2C and hardware I2C. Background technique [0002] There are TCON IC chips on new display modules such as liquid crystal modules. TCON is mainly responsible for outputting the signals required by the driver IC on the liquid crystal module, and requires the I2C master controller to configure the Gamma register for it. [0003] At present, mainstream ARM CPU chips have I2C controllers. In the master mode, slave devices are controlled through the I2C bus, and the standard I2C bus protocol is also supported. The standard mode of the I2C bus protocol is 100Kbit / s, and the fast mode is 400Kbit / s, which can support I2C read, write, repstart read, 7-byte device address, 10-byte device address and other functions. [0004] For standard I2C protocol chips, hardware I2C signals are usually used to transmit read...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/10G06F13/42
CPCG06F13/105G06F13/4282G06F2213/0016
Inventor 田方力刘健
Owner WUHAN JINGLI ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products