Diagnostic tools for on-board I²C can log the first field in two ways. One shows the device's 7-bit address on its own. The other combines the address and the read/write direction in one byte. A document that lists hexadecimal 0x48 and an older log that lists 0x90 can refer to the same logical device. Confirm field definitions and bit counts before attributing an interface error to the clock. Even with a healthy controller reference oscillator, software that treats the entire first byte as the 7-bit address can mislabel the device in the records.
This article uses static documents for an in-house temperature controller board and constructed offline byte records. The scope excludes device access, sending commands, changing real controls, and network operations. The synthetic identifiers do not represent the configuration of any particular product.
Why One Address and Its Direction Look Like Different Hexadecimal Numbers
In ordinary 7-bit addressing, the address and the following read/write bit together occupy the first 8 bits. A decoder can show the first 7 bits as a number and display the direction separately, or it can keep the raw 8-bit value intact. In the second display the address can appear to have doubled. The direction bit also allows adjacent 8-bit values to refer to the same 7-bit address. Do not count them automatically as two devices.
To identify the log format, look for the documented bit width beside the field, verifiable raw offline data, and agreement with the device's controlled documentation. A number below the maximum 7-bit value is insufficient evidence that the field is a 7-bit address. Some complete 8-bit first bytes fall in that range. Conversely, shifting a value that exceeds the 7-bit range does not guarantee the correct address. The captured number may come from a different field.
This article does not cover other address lengths, internal register addresses, or subsequent data. A log may call the register number an address as well, but it belongs to a separate layer. It indexes data inside a device after the device has been identified. If both addresses appear in the log, distinguish them by field name and use the corresponding interpretation. Controller error codes also belong in a separate field from the raw first byte.
Synthetic Example: 0x48 Appears as 0x90 or 0x91 Depending on Direction
Take a fictitious device at hexadecimal 0x48, decimal 72. To append the direction bit to the 7-bit address, multiply 72 by 2 to get 144. With a direction bit of 0, the full 8-bit label is hexadecimal 0x90. With a direction bit of 1, it is 0x91. Both labels use address 72. An application log listing only 0x48 and an instrument file that retains the direction can both be correct.
In the reverse calculation, divide each of 0x90 and 0x91 by 2 and take the integer part. Both give 72. The least significant bit retains the direction. If the file has already converted the field to 0x48, applying the same operation again incorrectly gives 0x24. If a general-purpose tool exports a hexadecimal string, do not parse it as decimal. The string “90” means different numbers in the two bases. Record the radix and field definition in the offline table.
These examples explain the field relationship. Agreement between 0x90 and 0x48 does not establish that a physical module acknowledged or subsequently returned valid data. A missing acknowledgment can come from power, connections, readiness, rate, or other causes. Retain separate status for these items. A corrected field conversion does not validate communication on its own.
Three Columns for Reviewing Diagnostic Records
In the first column, record the design relationship between the sensor and the local controller. Identify which field describes the bus device and whether a firmware swap still uses the same module and variant. If a board has several devices, confirm that the identifier belongs to the correct set of components. The name of a host bridge is not necessarily that of the actual target on the bus. Also distinguish status reported by the bridge from an application-generated summary, since they may use different conventions.
In the second column, keep the raw records. Compare the first 8 bits, direction, and separately decoded 7-bit address in synthetic data, offline captures, or reports. If the file shows numbers in different text formats, mark each as raw or decoded. Check whether the old and new parsers produce consistent results from the same static sample. If the position of the read/write bit is uncertain, obtain a field definition from the person who produced the record. An extra least significant bit alone does not identify the data type.
In the third column, record the clock and electrical conditions. If the 24 MHz board reference feeds the controller's clock tree, divisors and controller configuration determine the final bus timing. A passing reference frequency supports timing verification. The logging format is independent. If actual captures show incorrect edges, a rate that is too low, or unexpected interruptions, record separate evidence for signal integrity, power, and the controller reference. Electrical issues and mislabeled addresses can coexist, so keep each item open until resolved.
Tie the Purchased Module to the Right Fields in the Record
An inquiry for a temperature controller component can ask the supplier to state the full module part number, bus address format, allowable device addresses, whether logged values include the read/write bit, and internal index definitions. For a substitute module from another source, matching one hexadecimal number in two files is insufficient. Verify interface levels, supply, timing, and when data is valid. Where the requirement consists of a single value, a label such as “7-bit value, direction separate” makes the deliverable easier to review than including direction in the address name.
For a hypothetical in-house controller, mainland China's SCTF 2CV SX2M24.000E20F30THN 24 MHz CMOS reference can be evaluated independently by order code, supply, receiver domain, temperature range, and output load. It does not identify the internal component of any module in the example. Ask for a clock report and separate communication evidence. Both must pass before accepting the combination. A higher clock accuracy cannot substitute for checking field definitions and compatibility.
For two acceptance files, a comparison table might show that file A stores the 7-bit address and direction in separate columns, while file B preserves the raw 8-bit field and records decode status separately. Keep that distinction through any renaming in postprocessing. When comparing across board revisions, retain the capture tool, the origin of the first field, and whether protocol decoding has already occurred. Without the raw field, a comparison can establish possible compatibility on paper. It cannot confirm that the actual connection worked. A consistent pattern of doubling and adding a direction bit provides a testable explanation without buying another oscillator.
Frequently Asked Questions
0x90 looks twice as large as 0x48. Did the device setting really change? It may be unchanged. First check whether 0x90 combines the 7-bit address and direction in a byte. In the synthetic example, they are two ways of representing the same address.
Can an address table prove that a peripheral responded? Matching fields are one check. Acknowledgment and valid subsequent data require a separate record.
Do two neighboring values in the tool prove there are two sensors on the bus? They can be the two directions for the same address. Check the field type before counting separate devices.
