CN108170617A - A kind of I3C equipment and communication means - Google Patents

A kind of I3C equipment and communication means Download PDF

Info

Publication number
CN108170617A
CN108170617A CN201711250185.1A CN201711250185A CN108170617A CN 108170617 A CN108170617 A CN 108170617A CN 201711250185 A CN201711250185 A CN 201711250185A CN 108170617 A CN108170617 A CN 108170617A
Authority
CN
China
Prior art keywords
main equipments
slave devices
addresses
slave
buses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711250185.1A
Other languages
Chinese (zh)
Other versions
CN108170617B (en
Inventor
王常慧
贾瑞华
赵方亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong High Cloud Semiconductor Technologies Ltd Co
Gowin Semiconductor Corp
Original Assignee
Guangdong High Cloud Semiconductor Technologies Ltd Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong High Cloud Semiconductor Technologies Ltd Co filed Critical Guangdong High Cloud Semiconductor Technologies Ltd Co
Priority to CN201711250185.1A priority Critical patent/CN108170617B/en
Publication of CN108170617A publication Critical patent/CN108170617A/en
Application granted granted Critical
Publication of CN108170617B publication Critical patent/CN108170617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)

Abstract

The present invention relates to integrated circuit IP core design technical fields, provide a kind of I3C equipment and communication means;A kind of I3C equipment includes:User terminal,I3C main equipments and slave device,Slave device includes I2C slave devices and/or I3C slave devices,I3C main equipments are connect by I3C buses with I2C slave devices,I3C slave devices are connect by I3C buses with I3C main equipments,User terminal is used for the feedback signal for sending control command stream to I3C main equipments and receiving I3C main equipments feedback,I3C main equipments are sent to I3C buses for receiving control command stream and control command stream being parsed into bus control signal,I2C slave devices are used to receive the bus control signal for corresponding to I2C specific addresses in I3C buses and receive the data that I3C main equipments are sent,I3C slave devices are used to receive the bus control signal for corresponding to I3C addresses in I3C buses and receive the data that I3C main equipments are sent,I3C device and method provided by the invention,The advantages of I3C main equipments is allow to retain I3C specifications when being compatible with I2C slave devices, is communicated with high data rate with I3C slave devices.

Description

A kind of I3C equipment and communication means
Technical field
The invention belongs to integrated circuit IP core design technical fields, are to be related to a kind of I3C equipment and communication more specifically Method.
Background technology
IP core (Intellectual Property Core, abbreviation IP kernel) refers to the chip that one party provides Design module.Designer can carry out application-specific integrated circuit or field programmable gate array based on IP kernel The logical design of (Field-Programmable Gate Array, abbreviation FPGA), to shorten the design cycle, improve design matter Amount and efficiency.
According to mobile Industry Processor port (Mobile Industry Processor Interface, abbreviation MIPI) The I3C new standard specifications of alliance, I3C is a kind of new interface standard of improvement I2C characteristics, while supports backward compatibility, is permitted Perhaps the new equipment of I3C specification of the I2C slave devices with supporting MIPI alliances coexists, and I3C main equipments can in fast mode (FM) It communicates under quick mode+(FM+) rate with I2C slave devices.But I3C main equipments to realize it is logical with I2C slave devices Letter if run using pure traditional mode as I2C buses, will be unable to any advantage using I3C specification characteristics, while also can I3C interface logics complexity, power consumption is caused to become larger.
In conclusion existing I3C device and method, which can not be realized, retains I3C rule when I3C main equipments are compatible with I2C slave devices The advantages of model, is simultaneously communicated with high data rate with I3C slave devices.
Invention content
The purpose of the present invention is to provide a kind of I3C device and method, with solve I3C equipment in the prior art with During I2C coexistences, the problem of the advantages that I3C equipment can not retain its high data rate.
The invention is realized in this way:
First aspect present invention provides a kind of I3C equipment, and the I3C equipment includes user terminal, I3C main equipments and from setting Standby, the slave device includes I2C slave devices and/or I3C slave devices;The I3C main equipments by I3C buses and the I2C from Equipment connects, and the I3C slave devices are connect by the I3C buses with the I3C main equipments;
Specifically, the user terminal, for sending control command stream to I3C main equipments, and it is anti-to receive the I3C main equipments The feedback signal of feedback;The I3C main equipments for receiving the control command stream, and the control command stream are parsed into always Line control signal is sent in I3C buses;Wherein, comprising slave addresses in the control command stream, the slave addresses are I3C Address and/or I2C specific addresses;The I2C slave devices correspond to the I2C specific addresses for receiving in the I3C buses Bus control signal, and the data sent according to the bus control signal of the I2C specific addresses reception I3C main equipments, Or according to the bus control signals of the I2C specific addresses to the I3C main equipments transmission data;The I3C slave devices are used In the bus control signal that the I3C addresses are corresponded in the reception I3C buses, and according to the bus marco of the I3C addresses Signal receives the data that the I3C main equipments send or according to the bus control signals of the I3C addresses to the I3C master Equipment transmission data.
I3C equipment provided in an embodiment of the present invention realizes I2C slave devices or I3C slave devices and I3C by I3C buses The communication of main equipment, is configured I2C slave devices specific address in I3C buses, and I3C main equipments receive the control life of user terminal transmission It enables and flows and parse the slave addresses in control command stream, I3C main equipments are I3C by judging the object that slave addresses distinguish communication Slave device or I2C slave devices, and clock frequency is adjusted, and then meet different function demand according to the different demands of user, make The advantages of I3C main equipments can retain I3C specifications when being compatible with I2C slave devices, is communicated with high data rate with I3C slave devices.
Second aspect of the present invention provides a kind of communication means of I3C equipment, the described method comprises the following steps:
Step S10:The user terminal sends control command stream to I3C main equipments, and receives the I3C main equipments feedback Feedback signal;
Step S20:The I3C main equipments receive the control command stream, and the control command stream is parsed into bus Control signal is sent in I3C buses;Wherein, comprising slave addresses in the control command stream, the slave addresses are for I3C Location and/or I2C specific addresses;
Step S30:The I3C main equipments judge whether the slave addresses are the I2C slave devices specific address, if It is step S40 to be performed, if it is not, then performing step S50;
Step S40:The I2C slave devices receive the bus marco letter that the I2C specific addresses are corresponded in the I3C buses Number, and the data of the I3C main equipments transmission are received or according to institute according to the bus control signal of the I2C specific addresses The bus control signals of I2C specific addresses is stated to the I3C main equipments transmission data;
Step S50:The I3C slave devices receive the bus control signal that the I3C addresses are corresponded in the I3C buses, And data that the I3C main equipments send or according to the I3C are received according to the bus control signal of the I3C addresses The bus control signal of location is to the I3C main equipments transmission data.
The communication means of I3C equipment provided by the invention sends control command stream, I3C by user terminal to I3C main equipments Main equipment receives the control command stream that user terminal is sent and parses the slave addresses in control command stream, whether judges slave addresses Belong to I2C slave devices specific address, be then I3C main equipments adjustment with the corresponding clock frequency of I2C slave devices, and to I2C from Equipment performs read-write operation according to I2C agreements, the otherwise adjustment of I3C main equipments and the corresponding clock frequency of I3C slave devices, and right I3C slave devices perform read-write operation according to I3C agreements, and the advantages of I3C main equipments is allow to retain I3C specifications is compatible with I2C simultaneously It is communicated during slave device with high data rate with I3C slave devices.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the structure diagram for the I3C equipment that one embodiment of the invention provides;
Fig. 2 is the communication flow diagram of the communication means for the I3C equipment that one embodiment of the invention provides;
Fig. 3 is that the I2C slave devices of the communication means for the I3C equipment that one embodiment of the invention provides receive I3C main equipments hair The flow chart for the data sent;
Fig. 4 is that the I2C slave devices of the communication means for the I3C equipment that one embodiment of the invention provides are sent to I3C main equipments The flow chart of data;
Fig. 5 is that the I3C slave devices of the communication means for the I3C equipment that one embodiment of the invention provides receive I3C main equipments hair The flow chart for the data sent;
Fig. 6 is that the I3C slave devices of the communication means for the I3C equipment that one embodiment of the invention provides are sent to I3C main equipments The flow chart of data.
Wherein, 100- user terminals;200-I3C main equipments;300- slave devices;301-I2C slave devices;302-I3C slave devices.
Specific embodiment
In order to which technical problems, technical solutions and advantages to be solved are more clearly understood, tie below Accompanying drawings and embodiments are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
Fig. 1 shows the structure diagram of I3C equipment that one embodiment of the invention is provided, and for convenience of description, only shows Go out part related to the present embodiment, details are as follows:
I3C equipment includes user terminal 100, I3C main equipments 200 and slave device 300, and slave device 300 includes I2C slave devices 301 and/or I3C slave devices 302.
Wherein, I3C main equipments 200 are connect by I3C buses with I2C slave devices 301, and I3C slave devices 302 are total by I3C Line is connect with I3C main equipments 200.
Specifically, user terminal 100, for sending control command stream to I3C main equipments 200, and receives the I3C main equipments The feedback signal of 200 feedbacks.
Specifically, I3C main equipments 200, for receiving control command stream, and are parsed into bus marco letter by control command stream It number is sent in I3C buses;Wherein, comprising slave addresses in control command stream, slave addresses are that I3C addresses and/or I2C are special Address.
Specifically, I2C slave devices 301, for receiving the bus control signal that I2C specific addresses are corresponded in I3C buses, and The data of 200 transmission of I3C main equipments are received or according to I2C specific addresses according to the bus control signal of I2C specific addresses Bus control signal is to 200 transmission data of I3C main equipments;
Specifically, I3C slave devices 302, for receiving the bus control signal that I3C addresses are corresponded in I3C buses, and according to The bus control signal of I3C addresses receives data or the bus control signal according to I3C addresses that I3C main equipments 200 are sent To 200 transmission data of I3C main equipments.
It should be noted that in the present embodiment, I3C main equipments 200 can include input module, parsing module and I3C Circuit port module;Input module is used to receive control command stream, and control command is streamed to parsing module;Parsing module For parsing the slave addresses in control command stream, and it is transmitted to I3C circuit port modules;I3C circuit ports module is used to connect The slave addresses for having completed parsing are received, and pass through I3C bus transfers to slave device 300, so that slave device 300 is written and read behaviour Make.
As a kind of embodiment, in the present invention, I3C main equipments 200 have I3C interfaces, can realize that I3C buses are assisted View, I3C bus protocols are a kind of completely new consensus standards, can effectively reduce integrating device physical port, support low-power consumption, The advantages of high data rate and other existing Port Profiles, I3C bus protocol specifications have received the key characteristic of I2C and SPI, tool There are low pin count, scalability, low-power consumption, higher capacity and new performance, and compatible I2C, allow I2C slave devices 301 New equipment with I3C bus protocol specifications on identical port coexists.
As a kind of embodiment, in the present invention, slave device 300 is the circuit with hardware description language, total by I3C Line end mouth is connected in I3C buses, and slave device 300 can realize the communication between I3C main equipments 200 by I3C buses, from When equipment 300 and I3C main equipments 200 are into row data communication, I3C main equipments 200 can be received it is sent to the read-writes of I3C buses and refer to Order and read-write operation, and corresponding feedback is made according to read write command and read-write operation, into row data communication.For example, hardware is retouched Predicate speech can be VerilogHDL, VHDL language description circuit, wherein, VerilogHDL, VHDL language are all a kind of hard The language of part description.
As a kind of embodiment, in the present invention, slave device 300 can be I3C slave devices 302, I3C slave devices 302 Using I3C serial communication protocols, the key characteristic of I2C and SPI are received, and is united, reduces pin count, increases Scalability, and batching data is quickly sent, the maximum data rate of many application apparatus of user demand is realized, together When, I3C slave devices 302 can initiate START under standard I/O, actively to 200 transmission data of I3C main equipments, be added at any time In existing application system, the communication with application system master controller is realized.
As a kind of embodiment, in the present invention, slave device 300 can be I2C slave devices 301, retain to realize Led to when the advantages of I3C bus protocol specifications while compatible I2C slave devices 301 with high data rate and I3C slave devices 302 301 specific address of I2C slave devices is configured for I2C slave devices 301 in letter, this specific address is to show to adopt only for I2C slave devices 301 Address.
As a kind of embodiment, in the present invention, slave device 300 can include I2C slave devices 301 and I3C slave devices 302。
It is worth noting that, in the present embodiment, I3C main equipments 200 judge that present communications object is by specific address I3C slave devices 302 or I2C slave devices 301, if present communications object is I2C slave devices 301, I3C main equipments 200 adjust With 301 corresponding clock frequency of I2C slave devices, operation is written and read to I2C slave devices 301 with I2C protocol modes, if it is not, The then adjustment of I3C main equipments 200 and 302 corresponding clock frequency of I3C slave devices, with I3C protocol modes to I3C slave devices 302 It is written and read operation.
As a kind of embodiment, in the present invention, I3C slave devices 302 further include that be newly added to I3C by heat access total I3C slave devices 302 on line, I3C main equipments 200 avoid 301 specific address of I2C slave devices, according to dynamic address allocation mechanism Distribute address for the I3C slave devices 302 that are newly added in I3C buses, heat access refers to after I3C bus configurations are good, I3C from Equipment 302 can be added at any time in the I3C buses, and I3C main equipments 200 distribute dynamic address for I3C slave devices 302.
As a kind of embodiment, in the present invention, in slave device 300 specific unit can be internet sensor, can Sensor in wearable device, Medical Instruments, mobile equipment and automotive system etc..
I3C equipment provided in an embodiment of the present invention realizes coexisting for I3C slave devices and I2C slave devices in I3C buses, I2C slave devices specific address is configured in I3C buses, I3C main equipments receive the control command stream of user terminal transmission and parse control Slave addresses in command stream, I3C main equipments are I3C slave devices or I2C by judging the object that slave addresses distinguish communication Slave device, and clock frequency is adjusted, and then meet different function demand according to the different demands of user, it is compatible with I3C main equipments The advantages of I3C specifications can be retained during I2C slave devices, is communicated with high data rate with I3C slave devices.
Fig. 2 shows the communication flow diagram of the communication means of I3C equipment that one embodiment of the invention is provided, for the ease of Illustrate, part related to the present embodiment is only shown, details are as follows:
The communication means of I3C equipment includes the following steps:
Step S10:User terminal 100 sends control command stream to I3C main equipments 200, and receives I3C main equipments 200 and feed back Feedback signal.
Step S20:I3C main equipments 200 receive control command stream, and control command stream is parsed into bus control signal hair It send to I3C buses;Wherein, in control command stream comprising slave addresses, slave addresses for I3C addresses and/or I2C exclusively Location.
In step S20, I3C main equipments 200 receive the control command stream of the transmission of user terminal 100, and to control command Slave addresses in stream are parsed, and sending slave addresses to slave device 300 by I3C buses instructs, and I3C main equipments 200 are worked as When receiving the feedback signal of confirmation that slave device 300 is sent out according to slave addresses instruction or receive user terminal 100 and send Control command stream when, send read write command to slave device 300, slave device 300 waited for send out the feedback signal of confirmation.
As a kind of embodiment, in the present invention, I3C main equipments 200 include I3C interfaces, control register, interrupt mould Block, state machine, starts module and terminate module at data buffer area;I3C interfaces are used to implement the agreement of I3C buses, I3C buses To support the bus of I3C agreements, address or read write command that I3C main equipments 200 are sent are translated into according to I3C bus protocols I3C bus signals are sent to the slave device 300 under I3C buses;Control register module for control and determine operation mode with And the current characteristic for performing task;Interrupt module is the IBI requests that I3C main equipments 200 are used for handling slave device application;Data are delayed Area is deposited for storing the data that I3C main equipments 200 sent or read slave device 300;State machine is used to show I3C main equipments 200 The operation that state in which and I3C main equipments needs carry out;Start the entry condition that module is used to generate equipment, read later Write operation;Terminate module terminates read-write operation for generating termination condition.
Step S30:I3C main equipments 200 judge whether slave addresses are 301 specific address of I2C slave devices, if so, performing Step S40, if it is not, then performing step S50.
Step S40:I2C slave devices 301 receive and the bus control signals of I2C specific addresses are corresponded in I3C buses, and according to The bus control signal of I2C specific addresses receives data or the bus according to I2C specific addresses that I3C main equipments 200 are sent Signal is controlled to 200 transmission data of I3C main equipments
Further, as a kind of embodiment, in the present invention, as shown in figure 3, I2C slave devices 301 receive I3C master The data that equipment 200 is sent specifically comprise the following steps:
Step S401A:User terminal control I3C main equipments 200 initiate initiation command.
Step S402A:User terminal control I3C main equipments 200 send seven slave addresses and a write operation instruction 0, etc. Treat that I2C slave devices 301 send the feedback signal confirmed.
Step S403A:I2C slave devices 301 receive I2C specific addresses, and automated to respond to I3C main equipments 200.
Step S404A:User terminal control I3C main equipments 200 send the register address of I2C slave devices 301.
Step S405A:User terminal 100 controls 200 transmission data of I3C main equipments, and I2C slave devices 301 is waited for send and are confirmed Feedback signal.
Step S406A:I2C slave devices 302 send the feedback signal confirmed.
Step S407A:It repeats step S405A and S406A more times, and is sequentially written in multiple registers.
Step S408A:I3C main equipments 200 send end signal.
Further, as a kind of embodiment, in the present invention, as shown in figure 4, I2C slave devices 301 are set to I3C master Standby 200 transmission datas specifically comprise the following steps:
Step S401B:User terminal 100 controls I3C main equipments 200 to initiate initiation command.
Step S402B:User terminal 100 controls I3C main equipments 200 to send seven slave addresses and write operation instruction 0, waits for I2C slave devices 301 send the feedback signal confirmed.
Step S403B:I2C slave devices 301 receive I2C specific addresses, and automated to respond to I3C main equipments 200.
Step S404B:User terminal 100 controls the register address of 200 transmission I2C slave devices 301 of I3C main equipments.
Step S405B:I3C main equipments 200 initiate initiation command.
Step S406B:I3C main equipments 200 send seven slave addresses and a read operation instruction 1, wait for I2C slave devices 301 send the feedback signal confirmed.
Step S407B:I2C slave devices 301 send the feedback signal confirmed.
Step S408B:I3C main equipments 200 read the data stored in 301 register of I2C slave devices.
Step S409B:User terminal 100 controls I3C main equipments 200 to send answer signal to I2C slave devices 301.
Step 410B:Multiple data can continuously be read by repeating step 408B and 409B.
Step 411B:I3C main equipments 200 send end signal.
Step S50:I3C slave devices 302 receive the bus control signal that I3C addresses are corresponded in I3C buses, and according to I3C The bus control signal of address receive the data that I3C main equipments 200 send or according to the bus control signals of I3C addresses to I3C main equipment transmission datas.
Further, as a kind of embodiment, in the present invention, as shown in figure 5, I3C slave devices 302 receive I3C master The data that equipment 200 is sent specifically comprise the following steps:
Step S501A:User terminal 100 controls I3C main equipments 200 to initiate initiation command.
Step S502A:User terminal 100 controls I3C main equipments 200 to send seven slave addresses and a write operation instruction 0, I3C slave devices 302 is waited for send the feedback signal confirmed.
Step S503A:I3C slave devices 302 detect I3C addresses, and automated to respond to I3C main equipments 200.
Step S504A:User terminal 100 controls the register address of 200 transmission I3C slave devices 302 of I3C main equipments.
Step S505A:User terminal 100 controls 200 transmission data of I3C main equipments, and I3C slave devices 302 is waited for send and are confirmed Feedback signal.
Step S506A:I3C slave devices 302 send the feedback signal confirmed.
Step S507A:It repeats step S505A and S506A more times, and is sequentially written in multiple registers.
Step S508A:I3C main equipments 200 send end signal.
Further, as a kind of embodiment, in the present invention, as shown in fig. 6, I3C slave devices 302 are set to I3C master Standby 200 transmission datas specifically comprise the following steps:
Step S501B:User terminal 100 controls I3C main equipments 200 to initiate initiation command.
Step S502B:User terminal 100 controls I3C main equipments 200 to send seven slave addresses and a write operation instruction 0, Slave device is waited for send the feedback signal confirmed.
Step S503B:I3C slave devices 302 automated to respond to I3C main equipments 200.
Step S504B:User terminal 100 controls the register address of 200 transmission I3C slave devices 302 of I3C main equipments.
Step S505B:I3C main equipments 200 initiate initiation command.
Step S506B:I3C main equipments 200 send seven slave addresses and a read operation instruction 1, wait for I3C slave devices 302 send the feedback signal confirmed.
Step S507B:I3C slave devices 302 send the feedback signal confirmed.
Step S508B:I3C main equipments 200 start to read data according to the step S504B register address being written.
Step S509B:User terminal 100 control I3C main equipments 200 and I3C slave devices 302 respectively to other side send whether after It resumes studies the number of winning the confidence, if I3C main equipments 200, which stop sending, continues read signal, I3C main equipments 200 initiate to terminate order;If I3C Slave device 302, which stops sending, continues reading data signal, then I3C slave devices 302 terminate read operation.
It should be noted that in the present embodiment, control command stream is parsed into bus control signal and is sent to I3C buses On include:
Control command stream is parsed, to obtain analysis result.
If the slave addresses that analysis result is included in command stream in order to control are I2C specific addresses, by the frequency of I3C buses First frequency is adjusted to, and sends total line traffic control of I2C specific addresses to I2C slave devices 301 according to the I3C buses after adjustment frequency Signal processed.
If the slave addresses that analysis result is included in command stream in order to control are I3C addresses, the frequency of I3C buses is adjusted For second frequency, and the bus control signal of I3C addresses is sent according to the I3C buses after adjustment frequency to I3C slave devices 302.
Wherein, first frequency refer to I3C main equipments 200 adjustment with 301 corresponding clock frequency of I2C slave devices, second Frequency refers to the adjustment of I3C main equipments 200 and 302 corresponding clock frequency of I3C slave devices.
It is worth noting that, in the present embodiment, the read-write operation of I2C slave devices 301 and the read-write of I3C slave devices 302 Operation is different, and by taking the read operation of the two as an example, I2C slave devices 301 are determined by the answer signal of I3C main equipments 200 Whether next data are sent, and I2C slave devices 301 cannot actively terminate transmission data, but for I3C slave devices 302, I3C main equipments 200 decide whether to continue read operation, I3C slave devices according to whether I3C main equipments 200 continue to read information Whether 302 can continue to read information according to I3C slave devices 302 to decide whether to continue read operation.
I3C equipment provided by the invention and communication means, by the way that I2C slave devices specific address is configured in I3C buses, I3C main equipments can judge that present communications object is I3C slave devices or I2C slave devices by I2C slave devices specific address, So as to its working method of the switching of intelligence, a good, unified interaction mechanism has been built between user and I3C main equipments, It is this that I2C slave devices are compatible with aptitude manner, the triviality that user operates slave device in I3C buses is simplified, also meets I3C The new demands such as the function and speed of bus protocol, it is ensured that I3C can realize higher speed between integrated circuit, more flexible, lower The information transmission of power consumption improves the flexibility of user's design, and reaching reduces power consumption, reduce physical interface, high-speed transfer, reduce collection Into the purpose that cost is interconnected between circuit.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of I3C equipment, which is characterized in that the I3C equipment includes user terminal, I3C main equipments and slave device, described from setting It is standby to include I2C slave devices and/or I3C slave devices;The I3C main equipments are connect by I3C buses with the I2C slave devices, institute I3C slave devices are stated to connect with the I3C main equipments by the I3C buses;
The user terminal for sending control command stream to I3C main equipments, and receives the feedback letter of the I3C main equipments feedback Number;
The control command stream for receiving the control command stream, and is parsed into bus control signal by the I3C main equipments It is sent in I3C buses;Wherein, in the control command stream comprising slave addresses, the slave addresses for I3C addresses and/or I2C specific addresses;
The I2C slave devices, for receiving the bus control signal that the I2C specific addresses are corresponded in the I3C buses, and root The data or special according to the I2C sent according to the bus control signal reception I3C main equipments of the I2C specific addresses With the bus control signal of address to the I3C main equipments transmission data;
The I3C slave devices, for receiving the bus control signal that the I3C addresses are corresponded in the I3C buses, and according to institute The bus control signal for stating I3C addresses receives data or the bus according to the I3C addresses that the I3C main equipments are sent Signal is controlled to the I3C main equipments transmission data.
2. I3C equipment as described in claim 1, which is characterized in that the I3C main equipments include input module, parsing module And I3C circuit port modules;
The input module is used to receive the control command stream, and the control command is streamed to the parsing module;
The parsing module is used to parse the slave addresses in the control command stream, and be transmitted to the I3C circuit ends Mouth mold block;
The I3C circuit ports module has completed the slave addresses of parsing for receiving, and passes through I3C bus transfers to institute Slave device is stated, so that I3C main equipments are written and read operation to the slave device.
3. I3C equipment as described in claim 1, which is characterized in that the I3C main equipments judge to work as by the specific address Preceding communication object is the I3C slave devices or the I2C slave devices.
4. I3C equipment as described in claim 1, which is characterized in that the I3C slave devices are further included accesses new add in by heat I3C slave devices on to I3C buses, the I3C main equipments avoid the I2C slave devices specific address, according to dynamic address point With mechanism address is distributed for the new I3C slave devices being added in I3C buses.
A kind of 5. communication means of the I3C equipment based on described in Claims 1-4 any one, which is characterized in that the I3C The communication means of equipment includes the following steps:
Step S10:The user terminal sends control command stream to I3C main equipments, and receives the feedback of the I3C main equipments feedback Signal;
Step S20:The I3C main equipments receive the control command stream, and the control command stream is parsed into bus marco Signal is sent in I3C buses;Wherein, comprising slave addresses in the control command stream, the slave addresses are I3C addresses And/or I2C specific addresses;
Step S30:The I3C main equipments judge whether the slave addresses are the I2C slave devices specific address, if so, holding Row step S40, if it is not, then performing step S50;
Step S40:The I2C slave devices receive the bus control signal that the I2C specific addresses are corresponded in the I3C buses, And the data of the I3C main equipments transmission are received or according to described according to the bus control signal of the I2C specific addresses The bus control signal of I2C specific addresses is to the I3C main equipments transmission data;
Step S50:The I3C slave devices receive the bus control signal that the I3C addresses are corresponded in the I3C buses, and root The data of the I3C main equipments transmission are received according to the bus control signal of the I3C addresses or according to the I3C addresses Bus control signal is to the I3C main equipments transmission data.
6. the communication means of I3C equipment as claimed in claim 5, which is characterized in that described to be parsed into control command stream always Line control signal, which is sent in I3C buses, to be included:
The control command stream is parsed, to obtain analysis result;
If the analysis result is that the slave addresses included in the control command stream are I2C specific addresses, and the I3C is total The frequency of line is adjusted to first frequency, and special to the I2C slave devices transmission I2C according to the I3C buses after adjustment frequency With the bus control signal of address;
If the analysis result is that the slave addresses included in the control command stream are I3C addresses, by the I3C buses Frequency is adjusted to second frequency, and sends the I3C addresses to the I3C slave devices according to the I3C buses after adjustment frequency Bus control signal.
7. the communication means of I3C equipment as claimed in claim 6, which is characterized in that described " the I2C slave devices receive institute The bus control signal that the I2C specific addresses are corresponded in I3C buses is stated, and according to the bus marco of the I2C specific addresses Signal receives the data that the I3C main equipments are sent " specifically comprise the following steps:
Step S401A:The user terminal controls the I3C main equipments to initiate initiation command;
Step S402A:The user terminal controls the I3C main equipments to send seven slave addresses and a write operation instruction 0, etc. Treat that the I2C slave devices send the feedback signal confirmed;
Step S403A:The I2C slave devices receive the I2C specific addresses, and automated to respond to the I3C main equipments;
Step S404A:The user terminal controls the register address of the I3C main equipments transmission I2C slave devices;
Step S405A:User terminal controls the I3C main equipments transmission data, and the I2C slave devices is waited for send the feedback confirmed Signal;
Step S406A:The I2C slave devices send the feedback signal confirmed;
Step S407A:It repeats step S405A and S406A more times, and is sequentially written in multiple registers
Step S408A:The I3C main equipments send end signal.
8. the communication means of I3C equipment as claimed in claim 6, which is characterized in that described " the I2C slave devices receive institute The bus control signal that the I2C specific addresses are corresponded in I3C buses is stated, and according to the bus marco of the I2C specific addresses Signal is to the I3C main equipments transmission data " specifically comprise the following steps:
Step S401B:The user terminal controls the I3C main equipments to initiate initiation command;
Step S402B:The user terminal controls the I3C main equipments to send seven slave addresses and a write operation instruction 0, etc. Treat that the I2C slave devices send the feedback signal confirmed;
Step S403B:The I2C slave devices receive the I2C specific addresses, and automated to respond to the I3C main equipments;
Step S404B:The user terminal controls the register address of the I3C main equipments transmission I2C slave devices;
Step S405B:The I3C main equipments initiate initiation command;
Step S406B:The I3C main equipments send seven slave addresses and a read operation instruction 1, wait for the I2C from setting Preparation send the feedback signal of confirmation;
Step S407B:The I2C slave devices send the feedback signal confirmed;
Step S408B:The I3C main equipments read the data stored in the I2C slave devices register;
Step S409B:The user terminal controls the I3C main equipments to send answer signal to the I2C slave devices;
Step 410B:Multiple data can continuously be read by repeating step 408B and 409B;
Step 411B:The I3C main equipments send end signal.
9. the communication means of I3C equipment as claimed in claim 6, which is characterized in that described " the I3C slave devices receive institute The bus control signal that the I3C addresses are corresponded in I3C buses is stated, and is received according to the bus control signal of the I3C addresses The data that the I3C main equipments are sent " specifically comprise the following steps:
Step S501A:The user terminal controls the I3C main equipments to initiate initiation command;
Step S502A:The user terminal controls the I3C main equipments to send seven slave addresses and a write operation instruction 0, etc. Treat that the I3C slave devices send the feedback signal confirmed;
Step S503A:The I3C slave devices detect the I3C addresses, and automated to respond to the I3C main equipments;
Step S504A:The user terminal controls the register address of the I3C main equipments transmission I3C slave devices;
Step S505A:User terminal controls the I3C main equipments transmission data, and the I3C slave devices is waited for send the feedback confirmed Signal;
Step S506A:The I3C slave devices send the feedback signal confirmed;
Step S507A:It repeats step S505A and S506A more times, and is sequentially written in multiple registers;
Step S508A:The I3C main equipments send end signal.
10. the communication means of I3C equipment as claimed in claim 6, which is characterized in that described " the I3C slave devices receive institute State the bus control signal that the I3C addresses are corresponded in I3C buses, and according to the bus control signals of the I3C addresses to institute State I3C main equipments transmission data " specifically comprise the following steps:
Step S501B:The user terminal controls the I3C main equipments to initiate initiation command;
Step S502B:The user terminal controls the I3C main equipments to send seven slave addresses and a write operation instruction 0, etc. Treat that the slave device sends the feedback signal confirmed;
Step S503B:The I3C slave devices automated to respond to the I3C main equipments;
Step S504B:The user terminal controls the register address of the I3C main equipments transmission I3C slave devices;
Step S505B:The I3C main equipments initiate initiation command;
Step S506B:The I3C main equipments send seven slave addresses and a read operation instruction 1, wait for the I3C from setting Preparation send the feedback signal of confirmation;
Step S507B:The I3C slave devices send the feedback signal confirmed;
Step S508B:The I3C main equipments start to read data according to the register address being written in the step S504B;
Step S509B:The user terminal control the I3C main equipments and the I3C slave devices respectively to other side send whether after It resumes studies the number of winning the confidence, if the I3C main equipments, which stop sending, continues read signal, the I3C main equipments initiate to terminate order;If institute It states I3C slave devices to stop sending continuation reading data signal, then I3C slave devices terminate read operation.
CN201711250185.1A 2017-12-01 2017-12-01 I3C equipment and communication method Active CN108170617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711250185.1A CN108170617B (en) 2017-12-01 2017-12-01 I3C equipment and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711250185.1A CN108170617B (en) 2017-12-01 2017-12-01 I3C equipment and communication method

Publications (2)

Publication Number Publication Date
CN108170617A true CN108170617A (en) 2018-06-15
CN108170617B CN108170617B (en) 2019-12-13

Family

ID=62524961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711250185.1A Active CN108170617B (en) 2017-12-01 2017-12-01 I3C equipment and communication method

Country Status (1)

Country Link
CN (1) CN108170617B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144913A (en) * 2018-09-29 2019-01-04 联想(北京)有限公司 A kind of data processing method, system and electronic equipment
CN110955625A (en) * 2019-11-22 2020-04-03 上海麦腾物联网技术有限公司 Full-duplex real-time communication method and device based on SPI
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode
CN112988637A (en) * 2019-12-12 2021-06-18 达尔科技股份有限公司 Promotion and I2C backward compatible I3C hub
CN113220614A (en) * 2021-04-30 2021-08-06 山东英信计算机技术有限公司 Method, system and medium for adaptively managing I2C and I3C devices
CN114780462A (en) * 2022-04-28 2022-07-22 苏州浪潮智能科技有限公司 Communication link switching control circuit, communication link and server
CN117251403A (en) * 2023-11-08 2023-12-19 北京紫光芯能科技有限公司 Communication mode configuration method and device of SPI protocol master-slave equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160299855A1 (en) * 2015-04-10 2016-10-13 Qualcomm Incorporated N-base numbers to physical wire states symbols translation method
CN106066834A (en) * 2015-04-21 2016-11-02 黑莓有限公司 There is the bus communication of many equipment messages transmission
US20170041127A1 (en) * 2015-07-20 2017-02-09 Lattice Semiconductor Corporation Acoustic gesture recognition systems and methods
US20170097912A1 (en) * 2015-10-01 2017-04-06 Sony Corporation Communication system, communication system control method, and program
US20170104607A1 (en) * 2015-10-13 2017-04-13 Qualcomm Incorporated Methods to avoid i2c void message in i3c
US20170255588A1 (en) * 2016-03-07 2017-09-07 Qualcomm Incorporated Multiprotocol i3c common command codes
US20170286358A1 (en) * 2016-03-31 2017-10-05 Intel Corporation Sensor bus communication system
CN107408094A (en) * 2015-03-06 2017-11-28 高通股份有限公司 For the Link State detection in power rating unaware interface and the technology of revival

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107408094A (en) * 2015-03-06 2017-11-28 高通股份有限公司 For the Link State detection in power rating unaware interface and the technology of revival
US20160299855A1 (en) * 2015-04-10 2016-10-13 Qualcomm Incorporated N-base numbers to physical wire states symbols translation method
CN106066834A (en) * 2015-04-21 2016-11-02 黑莓有限公司 There is the bus communication of many equipment messages transmission
US20170041127A1 (en) * 2015-07-20 2017-02-09 Lattice Semiconductor Corporation Acoustic gesture recognition systems and methods
US20170097912A1 (en) * 2015-10-01 2017-04-06 Sony Corporation Communication system, communication system control method, and program
US20170104607A1 (en) * 2015-10-13 2017-04-13 Qualcomm Incorporated Methods to avoid i2c void message in i3c
US20170255588A1 (en) * 2016-03-07 2017-09-07 Qualcomm Incorporated Multiprotocol i3c common command codes
US20170286358A1 (en) * 2016-03-31 2017-10-05 Intel Corporation Sensor bus communication system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DIANFENGQISHI: ""使用时钟频率来避免I2C设备看到I3C的载荷"http://bbs.eetop.cn/thread-634477-1-1.html", 《EETOP》 *
SRIRAM BALASUBRAMANIA: ""基于MIPI I3C规范从I2C无缝连接I3C的关键优点"http://www.elecfans.com/yuanqijian/sensor/20171116580815_a.html", 《ELECFANS电子发烧友》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144913A (en) * 2018-09-29 2019-01-04 联想(北京)有限公司 A kind of data processing method, system and electronic equipment
CN110955625A (en) * 2019-11-22 2020-04-03 上海麦腾物联网技术有限公司 Full-duplex real-time communication method and device based on SPI
CN112988637A (en) * 2019-12-12 2021-06-18 达尔科技股份有限公司 Promotion and I2C backward compatible I3C hub
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode
CN112463662B (en) * 2020-12-16 2024-04-05 福州创实讯联信息技术有限公司 Method and terminal for user mode control of I2C equipment
CN113220614A (en) * 2021-04-30 2021-08-06 山东英信计算机技术有限公司 Method, system and medium for adaptively managing I2C and I3C devices
CN114780462A (en) * 2022-04-28 2022-07-22 苏州浪潮智能科技有限公司 Communication link switching control circuit, communication link and server
CN114780462B (en) * 2022-04-28 2023-08-04 苏州浪潮智能科技有限公司 Communication link switching control circuit, communication link and server
WO2023208161A1 (en) * 2022-04-28 2023-11-02 苏州元脑智能科技有限公司 Communication link switching control circuit, communication link and server
CN117251403A (en) * 2023-11-08 2023-12-19 北京紫光芯能科技有限公司 Communication mode configuration method and device of SPI protocol master-slave equipment
CN117251403B (en) * 2023-11-08 2024-05-14 北京紫光芯能科技有限公司 Communication mode configuration method and device of SPI protocol master-slave equipment

Also Published As

Publication number Publication date
CN108170617B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN108170617A (en) A kind of I3C equipment and communication means
CN108255754B (en) A kind of I3C main equipment of compatible I2C, I3C master-slave equipment communication system and method
CN108107827B (en) SRIO control method based on ZYNQ platform soft core
WO2018040016A1 (en) Protocol converter and protocol conversion method
CN108255776B (en) I3C master device compatible with APB bus, master-slave system and communication method
CN102253910B (en) Inter-integrated circuit (I2C) transmission method and device
CN110837486B (en) FlexRay-CPCIe communication system based on FPGA
CN111901164B (en) Adaptive control method, device, equipment and system of OCP NIC network card
CN107861893B (en) I3C is verified from equipment, the authentication system and method for master-slave equipment
CN108132897A (en) A kind of SRIO controllers based on the soft core of ZYNQ platforms
CN103136163B (en) Protocol processor chip capable of allocating and achieving FC-AE-ASM and FC-AV protocol
CN111277988B (en) Method for improving Bluetooth transmission speed of WeChat applet
EP2324599A2 (en) Generating, at least in part, and/or receiving, at least in part, at least one request
CN106302071B (en) Adapter, network equipment and port configuration method
CN105117319A (en) Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA
WO2011157138A2 (en) Multi-core router
CN114647602A (en) Cross-chip access control method, device, equipment and medium
WO2014134947A1 (en) Device for transmitting and receiving control information and method thereof
CN214586880U (en) Information processing apparatus
CN103842979B (en) System and method for performing isochronous data buffering
WO2024113704A1 (en) Pcie data transmission method and related apparatus
CN109407574A (en) Output-controlling device and its method may be selected in a kind of multibus
CN206258865U (en) A kind of signal processor ASIC frameworks of restructural
WO2011012558A1 (en) Transaction terminator
US9619005B2 (en) Apparatus and method for saving power of USB device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510000 room 1001, science Avenue, Whampoa District, Guangzhou, Guangdong, 1001

Applicant after: GOWIN SEMICONDUCTOR Corp.,Ltd.

Address before: 528000 Ronggui Street Office, Shunde District, Foshan City, Guangdong Province

Applicant before: GOWIN SEMICONDUCTOR Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180615

Assignee: Science City (Guangzhou) Finance Leasing Co.,Ltd.

Assignor: Gowin Semiconductor Corp.,Ltd.

Contract record no.: X2020980004709

Denomination of invention: An I3C device and communication method

Granted publication date: 20191213

License type: Exclusive License

Record date: 20200805

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An I3C device and communication method

Effective date of registration: 20200806

Granted publication date: 20191213

Pledgee: Science City (Guangzhou) Finance Leasing Co.,Ltd.

Pledgor: Gowin Semiconductor Corp.,Ltd.

Registration number: Y2020980004759

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: Science City (Guangzhou) Finance Leasing Co.,Ltd.

Assignor: GOWIN SEMICONDUCTOR Corp.,Ltd.

Contract record no.: X2020980004709

Date of cancellation: 20220825

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220826

Granted publication date: 20191213

Pledgee: Science City (Guangzhou) Finance Leasing Co.,Ltd.

Pledgor: GOWIN SEMICONDUCTOR Corp.,Ltd.

Registration number: Y2020980004759