A tag chip equipped with IIC interface and a design method thereof
By introducing a digital baseband module and a non-volatile memory module into the tag chip, flexible configuration and working mode switching of the IIC interface are realized, solving the problem of high hardware dependence of existing tag chips, improving versatility and scalability, and reducing system integration difficulty and cost.
Patent Information
- Application Number
- CN202511054632.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-07-30
AI Technical Summary
Existing tag chips based on Bluetooth and NFC protocols require external microprocessors/microcontrollers for data processing and control, resulting in high hardware dependence, fixed parameters for the IIC interface, and poor versatility and scalability.
A tag chip equipped with an IIC interface was designed, which includes a digital baseband module and a non-volatile memory module. The non-volatile memory module stores the IIC interface configuration information. After power-on, the digital baseband module reads the configuration information and initializes the IIC interface, or skips the initialization step and enters the normal chip mode, realizing flexible switching of working modes.
It improves the versatility and scalability of tag chips, reduces dependence on external components, and simplifies system integration difficulty and cost.
Smart Images

Figure CN120560732B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of label communication, in particular to a label chip equipped with an IIC interface and a design method thereof. BACKGROUND
[0002] Currently, there are two kinds of label chips with configurable IIC interface, one is a label chip based on Bluetooth protocol specification, and the other is an NFC label chip. The IIC interface of the Bluetooth label needs to realize communication based on the internal microcontroller, and the IIC interface of the NFC label needs to be used in cooperation with the microprocessor.
[0003] Both of the above two kinds of labels need to rely on external microprocessors / microcontrollers for data processing and control, and the hardware dependency is high. Moreover, the parameters of the IIC interface are fixed, and only communication with fixed external devices can be performed, so the versatility and scalability of the label are poor. SUMMARY
[0004] The present application aims to provide a label chip equipped with an IIC interface and a design method thereof to at least partially overcome the defects of the prior art.
[0005] To achieve the above-mentioned purpose, the present application provides the following technical solutions:
[0006] In a first aspect, a label chip equipped with an IIC interface is provided, comprising: a digital baseband module, a non-volatile storage module, and an IIC interface.
[0007] The digital baseband module is configured to read the non-volatile storage module after power-on.
[0008] If the non-volatile storage module stores IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and performs IIC protocol-based communication with an external device connected to the IIC interface through the IIC interface.
[0009] If the non-volatile storage module does not store the IIC interface configuration information, the digital baseband module skips the IIC interface initialization step, and at this time, the label chip enters a normal chip mode.
[0010] As an optional implementation of the label chip of the first aspect, the digital baseband module is specifically configured to control the level change on the data line and the clock line of the IIC interface according to the logic function and timing requirements of the IIC protocol, so as to realize communication with the external device.
[0011] As an optional implementation of the tag chip of the first aspect, the IIC interface configuration information stored in the non-volatile storage module is written by an external device.
[0012] As an optional implementation of the tag chip of the first aspect, the digital baseband module is further configured to:
[0013] According to an external operation instruction, at least one of the following operations is performed on the non-volatile storage module: IIC interface configuration information writing, IIC interface configuration information deletion, and IIC interface configuration information modification.
[0014] As an optional implementation of the tag chip of the first aspect, the digital baseband module and the non-volatile storage module exchange data through an internal bus.
[0015] The second aspect provides a design method of a tag chip equipped with an IIC interface, the tag chip including a digital baseband module, a non-volatile storage module, and an IIC interface; the method includes:
[0016] According to business requirements, the storage data in the non-volatile storage module is set;
[0017] The digital baseband module is configured to:
[0018] After power-on, the non-volatile storage module is read;
[0019] If the non-volatile storage module stores IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and communicates with an external device connected to the IIC interface based on an IIC protocol through the IIC interface;
[0020] If the non-volatile storage module does not store the IIC interface configuration information, the digital baseband module skips the IIC interface initialization step, and at this time, the tag chip enters a normal chip mode.
[0021] As an optional implementation of the method of the second aspect, according to business requirements, the storage data in the non-volatile storage module is set, specifically including:
[0022] If the business requirements require the tag chip to be applied to a communication scenario based on an IIC protocol, the IIC interface configuration information is determined according to an external device to be communicated by the tag chip, and the IIC interface configuration information is written into the non-volatile storage module.
[0023] As an optional implementation of the method of the second aspect, the digital baseband module is specifically configured to control the level change on the data line and the clock line of the IIC interface according to the logical function and timing requirement of the IIC protocol, so as to realize the communication with the external device.
[0024] As an optional implementation of the method of the second aspect, the method further comprises:
[0025] The digital baseband module is configured to perform at least one operation of IIC interface configuration information writing, IIC interface configuration information deleting and IIC interface configuration information modifying on the non-volatile storage module according to the external operation instruction.
[0026] As an optional implementation of the method of the second aspect, the digital baseband module and the non-volatile storage module interact data through an internal bus.
[0027] Advantages: Compared with the prior art, the tag chip provided with the IIC interface and the design method thereof have the following advantages:
[0028] 1、In the present application, the working mode of the chip is controlled by the data stored in the non-volatile storage module, and the digital baseband module reads the non-volatile storage module after power-on, initializes the IIC interface when IIC interface configuration information is read, and performs the corresponding logical function of the IIC protocol, at this time, the tag chip works in the IIC protocol mode; if no IIC interface configuration information is read, the digital baseband module skips the IIC interface initialization step, at this time, the tag chip can be used as a general chip. Through this design, the tag chip can flexibly adapt to different application scenarios.
[0029] 2、In the present application, the IIC interface configuration information in the non-volatile storage module is written by the outside, and the parameters of the IIC interface can be dynamically adjusted according to the IIC interface configuration information, so that the IIC interface of the tag chip can be flexibly adapted to different external devices and application requirements, and the versatility and scalability of the tag chip are improved.
[0030] 3、The tag chip disclosed by the present application can realize the configuration function of the IIC interface through the digital baseband module and the non-volatile storage module, without relying on external devices such as microprocessors / microcontrollers, the difficulty of system integration is small, and the implementation cost is low. BRIEF DESCRIPTION OF DRAWINGS
[0031] Figure 1 The structure diagram of the tag chip provided with the IIC interface involved in the embodiment.
[0032] Figure 2A flowchart of a design method of a tag chip with IIC interface according to an embodiment. DETAILED DESCRIPTION
[0033] The application will be further described below in connection with the drawings and specific embodiments. It should be understood that the application can be implemented in various forms and that the following some exemplary and non-limiting embodiments shown in the drawings and described below are not intended to limit the application to the specific embodiments described.
[0034] It should be understood that the technical features listed above for different embodiments can be combined with each other to form further embodiments within the scope of the application, if technically feasible. In addition, the specific examples and embodiments described in the application are non-limiting, and corresponding modifications can be made to the structures, steps, sequences described above without departing from the scope of the application.
[0035] Reference is made to Figure 1 The present embodiment provides a tag chip with IIC interface, Figure 1 The structure of the tag chip is schematically shown. As Figure 1 shown, the tag chip includes a digital baseband module, a non-volatile storage module and an IIC interface.
[0036] The IIC interface configuration information can or can not be written in the non-volatile storage module according to requirements.
[0037] The digital baseband module is configured to read the storage data in the non-volatile storage module after power-on. If the IIC interface configuration information is stored in the non-volatile storage module, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and performs IIC protocol-based communication with the external device connected to the IIC interface through the IIC interface. If the IIC interface configuration information is not stored in the non-volatile storage module, the digital baseband module skips the IIC interface initialization step, and at this time, the tag chip enters the normal chip mode, i.e., the tag chip can be used as a normal chip.
[0038] The above is a tag chip with IIC interface provided by the present embodiment. The tag chip has two working modes, i.e., IIC protocol mode and normal chip mode. In the IIC protocol mode, the tag chip functions as a chip with IIC interface, and can perform IIC protocol-based communication with the external device through the IIC interface. In the normal chip mode, the IIC interface of the tag chip does not work, and at this time, the tag chip can be applied to other scenarios.
[0039] Correspondingly, the digital baseband module also has two working modes, namely IIC protocol mode and normal chip mode. When the digital baseband module reads no IIC interface configuration information stored in the nonvolatile storage module after power-on, the digital baseband module does not initialize the IIC interface, that is, skips the IIC interface initialization step, at this time, the IIC interface does not work, and the digital baseband module is in the normal chip mode, which is used to realize the digital signal processing and transmission function of the normal tag chip. When the digital baseband module reads the IIC interface configuration information stored in the nonvolatile storage module after power-on, the digital baseband module initializes the IIC interface according to the IIC interface configuration information. At this time, the tag chip works in the IIC protocol mode, in which mode, the tag chip can be used as a master device or a slave device, and the digital baseband module is responsible for realizing various functions of the master / slave device in the IIC protocol. For example, when the tag chip is used as a master device, the digital baseband module needs to be responsible for realizing the functions of starting signal and stop signal generation, response signal detection, and data transmission and reception. Specifically, the digital baseband module can control the level change on the clock line SCL and the data line SDA of the IIC interface according to the logic function and timing requirement of the IIC protocol, so that the tag chip can communicate with the external device according to the IIC protocol.
[0040] Specifically, the above-mentioned IIC interface configuration information mainly includes device address, register address, address bit number, sampling time and other information required to be configured required by the IIC interface, and the digital baseband module initializes the parameters of the IIC interface according to the IIC interface configuration information, so that the IIC interface can work normally.
[0041] In some embodiments, the nonvolatile storage module is provided with an IIC interface configuration information storage area, which is used to store the IIC interface configuration information.
[0042] The digital baseband module is configured to read the IIC interface configuration information storage area after power-on. If the IIC interface configuration information storage area is empty, that is, the IIC interface configuration information storage area does not store the IIC interface configuration information, the digital baseband module does not initialize the IIC interface, and skips the IIC interface initialization step. If the IIC interface configuration information storage area is not empty, that is, the IIC interface configuration information storage area stores the IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and executes the corresponding logic of the IIC protocol, so that the tag chip can communicate with the external device connected to the IIC interface based on the IIC protocol through the IIC interface.
[0043] In some embodiments, the IIC interface configuration information is written into the non-volatile storage module by the tag chip externally, and the IIC interface configuration information in the non-volatile storage module can be written, modified and deleted according to the communication requirements of the application scenario.
[0044] Specifically, the digital baseband module and the non-volatile storage module can interact data through an internal bus. Then the digital baseband module can perform at least one of the following operations on the non-volatile storage module according to external operation instructions through the internal bus: reading, writing, modifying or deleting IIC interface configuration information.
[0045] Corresponding to the above-mentioned tag chip, the embodiment also provides a design method of a tag chip equipped with an IIC interface, which is used to realize the function of the tag chip, and the structure of the tag chip is as shown in Figure 1 The design method of the tag chip equipped with the IIC interface is as shown in Figure 2 , Figure 2 The flowchart of the method is schematically shown. As shown in Figure 2 The method includes steps S200 to S202.
[0046] S200: According to the business requirements, the storage data in the non-volatile storage module is set.
[0047] In actual operation, if the business requirements require the tag chip to be applied to a communication scenario based on the IIC protocol, the IIC interface configuration information can be determined according to the external device to be communicated by the tag chip, and the IIC interface configuration information is written into the non-volatile storage module.
[0048] If the business requirements require the tag chip to work as a normal chip, the IIC interface configuration information does not need to be written into the non-volatile storage module.
[0049] Specifically, the IIC interface configuration information mainly includes the device address, register address, address bit number, sampling time and other information required to be configured for the IIC interface.
[0050] S202: The digital baseband module is configured to read the non-volatile storage module after power-on. If the IIC interface configuration information is stored in the non-volatile storage module, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and communicates with the external device connected to the IIC interface based on the IIC protocol through the IIC interface. If the IIC interface configuration information is not stored in the non-volatile storage module, the digital baseband module skips the IIC interface initialization step, at this time, the tag chip enters the normal chip mode.
[0051] The tag chip designed based on the design method has two working modes, i.e., an IIC protocol mode and a normal chip mode. In the IIC protocol mode, the tag chip serves as a chip with an IIC interface and can communicate with external devices based on the IIC protocol through the IIC interface. In the normal chip mode, the IIC interface of the tag chip does not work, and the tag chip can be applied to other scenarios.
[0052] Correspondingly, the digital baseband module also has two working modes, i.e., an IIC protocol mode and a normal chip mode. When the digital baseband module reads no IIC interface configuration information stored in the nonvolatile storage module after being powered on, the digital baseband module does not initialize the IIC interface, i.e., skips the IIC interface initialization step, and the IIC interface does not work, and the digital baseband module is in the normal chip mode and is used to implement the digital signal processing and transmission functions of a normal tag chip. When the digital baseband module reads IIC interface configuration information stored in the nonvolatile storage module after being powered on, the digital baseband module initializes the IIC interface according to the IIC interface configuration information. At this time, the tag chip works in the IIC protocol mode, and in this mode, the tag chip can be used as a master device or a slave device, and the digital baseband module is responsible for implementing various functions of the master / slave device in the IIC protocol. For example, when the tag chip serves as a master device, the digital baseband module needs to be responsible for implementing functions such as generation of a start signal and a stop signal, detection of a response signal, and transmission and reception of data. Specifically, the digital baseband module can be configured to control the level changes on the clock line SCL and the data line SDA of the IIC interface according to the logical functions and timing requirements of the IIC protocol, so that the tag chip can communicate with external devices according to the IIC protocol.
[0053] In some embodiments, the nonvolatile storage module is provided with an IIC interface configuration information storage area for storing IIC interface configuration information. Correspondingly, the digital baseband module is configured to read the IIC interface configuration information storage area after being powered on. If the IIC interface configuration information storage area is empty, i.e., the IIC interface configuration information storage area does not store IIC interface configuration information, the digital baseband module does not initialize the IIC interface and skips the IIC interface initialization step. If the IIC interface configuration information storage area is not empty, i.e., the IIC interface configuration information storage area stores IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information and executes the corresponding logic of the IIC protocol, so that the tag chip can communicate with external devices connected to the IIC interface based on the IIC protocol.
[0054] In some embodiments, the IIC interface configuration information described above is written into the non-volatile storage module by the tag chip externally, and the IIC interface configuration information in the non-volatile storage module can be written, modified and deleted according to the communication requirements of the application scenario.
[0055] Specifically, the digital baseband module and the non-volatile storage module can interact data through an internal bus, and the digital baseband module can be configured to perform at least one of the following operations on the non-volatile storage module according to external operation instructions through the internal bus: reading, writing, modifying or deleting IIC interface configuration information.
[0056] The technical features of the above-described embodiments can be combined in any manner. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described, but as long as the combinations of the technical features do not contradict, they should be considered within the scope of the present disclosure.
[0057] The above-described embodiments only express several embodiments of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent application. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of protection of the present application. Therefore, the scope of protection of the present patent application should be subject to the appended claims.
Claims
1. A tag chip equipped with an I2C interface, characterized by, Comprise: A digital baseband module, a non-volatile storage module and an IIC interface; The digital baseband module is configured to read the non-volatile storage module after power-on; If the non-volatile storage module stores IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and controls the level change on the data line and the clock line of the IIC interface according to the logical function and timing requirement of the IIC protocol, so as to realize IIC protocol-based communication with external devices connected to the IIC interface through the IIC interface. If the non-volatile storage module does not store the IIC interface configuration information, the digital baseband module skips the IIC interface initialization step, at which time the tag chip enters the normal chip mode. The IIC interface configuration information stored in the non-volatile storage module is written by the outside, and the parameters of the IIC interface are dynamically adjusted according to the IIC interface configuration information.
2. The tag chip according to claim 1, wherein The digital baseband module is further configured to: According to the external operation instruction, at least one of the following operations is performed on the non-volatile storage module: IIC interface configuration information writing, IIC interface configuration information deleting and IIC interface configuration information modifying.
3. The tag chip according to claim 1, wherein The digital baseband module and the non-volatile storage module exchange data through an internal bus.
4. A design method of a tag chip equipped with an IIC interface, characterized by, The tag chip comprises a digital baseband module, a non-volatile storage module and an IIC interface; the method comprises: According to the business requirement, the storage data in the non-volatile storage module is set; The digital baseband module is configured to: Read the non-volatile storage module after power-on; If the non-volatile storage module stores IIC interface configuration information, the digital baseband module initializes the IIC interface according to the IIC interface configuration information, and controls the level change on the data line and the clock line of the IIC interface according to the logical function and timing requirement of the IIC protocol, so as to realize IIC protocol-based communication with external devices connected to the IIC interface through the IIC interface. If the non-volatile storage module does not store the IIC interface configuration information, the digital baseband module skips the IIC interface initialization step, at which time the tag chip enters the normal chip mode; the IIC interface configuration information stored in the non-volatile storage module is written by the outside, and the parameters of the IIC interface are dynamically adjusted according to the IIC interface configuration information.
5. The method of claim 4, wherein, According to the business requirement, the storage data in the non-volatile storage module is set, specifically including: If the business requirement requires the tag chip to be applied to an IIC protocol-based communication scenario, the IIC interface configuration information is determined according to the external devices to be communicated by the tag chip, and the IIC interface configuration information is written into the non-volatile storage module.
6. The method of claim 4, wherein, The method further comprises: The digital baseband module is configured to perform at least one operation of IIC interface configuration information writing, IIC interface configuration information deleting and IIC interface configuration information modifying on the nonvolatile storage module according to external operation instructions.
7. The method of claim 4, wherein, The digital baseband module and the nonvolatile storage module exchange data through an internal bus.
Citation Information
Patent Citations
Label information processing method
CN105117761A