Apparatus and method of reading and writing internal register file through I2C interface
A register file and I2C technology, applied in the field of electrical communication, can solve problems affecting power consumption, area performance indicators, and consuming I2C register resources, and achieve the effect of increasing testability and observability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] Such as figure 1 As shown, it is a schematic diagram of the structure of the device for reading and writing the internal register file through the I2C interface proposed in Embodiment 1. The device includes an I2C master, an I2C slave including three I2C registers, a read-write enable control module, and a read-write operation module. , and the specific functions of each part are described below.
[0074] The I2C master is used to send signals to the I2C slave and the read-write enable control module, and read the data in the I2C slave;
[0075] Three I2C registers, specifically:
[0076] The first I2C read-write register is used to store the ID value of the internal register that needs to be rewritten and the rewritten data, referred to as write ID and write data, and its value is the basis for the write operation of the read-write operation unit. The 12C host can Perform read and write control on the first I2C read and write register;
[0077] The second I2C read-w...
Embodiment 2
[0090] Such as Figure 4 As shown, it is a signal relationship diagram of the method for rewriting the internal register file through the I2C interface proposed in this embodiment, and the specific steps of rewriting are described as follows:
[0091] Step 11, the transmission process judging module in the read-write enable control module judges the start flag of the I2C transmission according to the change of the SCL and SDA line status, and the falling edge of the SDA signal when the SCL signal is at a high level indicates that the I2C When the transmission starts, the transmission process judging module will set the transmission process indication signal to 1 when detecting this change;
[0092] Step 12, the slave address and the transmission direction judging module in the read-write enabling control module judge according to the slave address value of the first seven bits and the transmission direction value of the eighth bit after the transmission process indication sign...
Embodiment 3
[0097] Such as Figure 5 As shown, it is a signal relationship diagram of the method for reading the internal register file through the I2C interface proposed in this embodiment, and the specific steps for reading are described as follows:
[0098] Step 21. The transmission process judging module in the read-write enable control module judges the start flag of the I2C transmission according to the change of the SCL and SDA online states. The falling edge of the SDA signal when the SCL signal is at a high level indicates that the I2C When the transmission starts, the transmission process judging module will set the transmission process indication signal to 1 when detecting this change;
[0099] Step 22, the slave address and the transmission direction judging module in the read-write enable control module judge according to the slave address value of the first seven bits and the transmission direction value of the eighth bit after the transmission process indication signal is v...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com