Device and method for reading and writing internal register file through i2c interface
A register file, I2C technology, applied in the field of electrical communication, can solve problems affecting power consumption, area performance indicators, consumption of I2C register resources, etc., to 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, the structure diagram of the device for reading and writing the internal register file through the I2C interface proposed in Embodiment 1. This device includes an I2C master, an I2C slave including three I2C registers, a read and write enable control module, and a read and write operation module , The following describes the specific functions of each part.
[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, including:
[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. Its value is the basis of the read-write operation unit during the write operation. The I2C host can Perform read and write control on the first I2C read and write register;
[0077] The second I2C read-write register is used to st...
Embodiment 2
[0090] Such as Figure 4 As shown, the signal relationship diagram of the method for rewriting the internal register file through the I2C interface proposed in this embodiment, the specific steps of the rewriting are described as follows:
[0091] Step 11. The transmission process judgment module in the read and write enable control module judges the start mark of I2C transmission according to the changes in the state of the SCL and SDA lines. The falling edge of the SDA signal when the SCL signal is high indicates I2C When the transmission starts, the transmission process judgment module sets the transmission process indication signal to 1 when it detects this change;
[0092] Step 12. The slave address and transmission direction judging module in the read and write enable control module will 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 valid, and When d...
Embodiment 3
[0097] Such as Figure 5 As shown, the signal relationship diagram of the method for reading the internal register file through the I2C interface proposed in this embodiment, the specific steps of the reading are described as follows:
[0098] Step 21. The transmission process judgment module in the read and write enable control module judges the start flag of I2C transmission according to the changes in the state of the SCL and SDA lines. The falling edge of the SDA signal when the SCL signal is high indicates I2C When the transmission starts, the transmission process judgment module sets the transmission process indicator signal to 1 when it detects this change;
[0099] Step 22. The slave address and transmission direction judging module in the read and write enable control module make judgments based on the first seven bits of the slave address value and the eighth bit of the transmission direction value after the transmission process indication signal is valid, and When detec...
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