An engineering document for a portable data acquisition box specifies a polling interval field of 4 for a USB interrupt IN endpoint. The acceptance table for legacy devices lists this as 4 milliseconds, while the release notes for the new device state 1 millisecond. These documents may not be in conflict: for USB 2.0 full-speed and high-speed interrupt endpoints, the definition of the timing interval for this field differs. Without first verifying the actual operating speed and descriptors of the device, there is a risk of copying a correct specification into an incorrect acceptance value. This discussion is limited to saved descriptor records and synthetic timelines, excluding connections to third-party devices, transmission of test messages, and modifications to the system in use.
Three distinct matters must be clarified separately: how the descriptor declares the polling interval, how the host schedules transmissions under actual conditions, and when the application delivers a new data item. The first issue involves textual and numeric decoding; the second depends on the normal operation log; the third relies on sampling, buffering, and application logic. This discussion primarily addresses the first issue, while the latter two are used only to explain why separate acceptance testing is still required after specification conversion is completed.
Decode the interval at the negotiated bus speed
The interval field for full-speed interrupt endpoints is expressed in 1-millisecond frames; setting the field to 4 represents a 4-millisecond interval. For high-speed interrupt endpoints, the field value determines the number of microframes between polling opportunities by calculating 2^(bInterval − 1) and multiplying the resulting microframe count by 125 microseconds per microframe. Setting the field to 4 yields eight microframes, equivalent to 1 millisecond. It is incorrect to interpret high-speed 4 as four microframes or to claim it inherits the full-speed 4-millisecond meaning. This field and its associated formula apply exclusively to the aforementioned USB 2.0 interrupt endpoints and do not extend to bulk, other transfer types, or other USB speed classes.
| Same hypothetical field value | Full-speed interrupt endpoint | High-speed interrupt endpoint |
|---|---|---|
| 1 | 1 millisecond | 1 microframe, i.e., 0.125 milliseconds |
| 4 | 4 milliseconds | 8 microframes, i.e., 1 millisecond. |
| 6 | 6 milliseconds | 32 microframes, i.e., 4 milliseconds. |
| 8 | 8 milliseconds | 128 microframes, i.e., 16 milliseconds |
The last line is a check point that is easily overlooked. To express 8 ms, the ideal conversion means the high-speed field should not directly copy 8; 64 microframes equal 8 ms, corresponding to field 7. The available intervals are discrete, so not every integer number of milliseconds maps exactly at both speeds. If the definition's target is a range rather than an exact number, selection and verification must follow the project-approved method. Do not modify the input value to a seemingly close number via the software interface and then declare compatibility solely based on the dropdown text.
Confirm which connection speed and endpoint the record describes
A low-voltage acquisition terminal compatible with multiple host systems may include descriptors for various speeds. The saved firmware table contains a specific configuration, which does not necessarily reflect the configuration actually in use at the workstation at the time. The comparative material must simultaneously retain the actual connection speed, endpoint transfer type, endpoint number, and original fields; it must also confirm whether the record represents a selectable template or an active configuration. Relying solely on the device packaging label "high-speed" is insufficient, as it indicates a capability rather than specifying the mode in which the acceptance test was executed. Comparing only a single bare field value may lead to misinterpreting consistent timing mathematics as differences in crystal oscillators or wiring.
Analysis tools may also perform a conversion of their own. Some reports preserve the original field values, some display the period, and others show the inferred request frequency. If you see "4" but are unsure whether a unit is present, first review the tool's original field definitions. It is best to retain three columns in the project acceptance documentation: the original field, the request interval decoded at the current speed, and the interval actually observed in the trace records. This step is not used to prove protocol semantics with observed values, but rather to identify where a deviation occurs at which layer. For every time value read, clearly specify the resolution and source, and do not directly move the application callback timestamp into the bus-polling column.
When performing offline regression on firmware, prepare two sets of reference records: one set with identical field values but different speeds, which should yield different periods according to the table; and another set with identical target intervals but different field values, such as "Full Speed 4" and "High Speed 6" both representing 4 milliseconds. These two inputs can respectively detect the errors "defaulting to adding milliseconds to all values" and "defaulting to exponential conversion of all values." When comparing two tools using the same offline dataset, retain the original input files. If a tool outputs only the post-measurement bar chart, first verify whether the original speed and endpoint information can be retrieved before handing over the display discrepancies to the firmware team.
A correct time base does not guarantee new data every millisecond
For example, the low-voltage acquisition board could use SCTF’s SX2M24.000E20F30THN as a candidate reference for its management controller. The 2CV series example has a nominal frequency of 24 MHz and CMOS output, with 1.2 V as the typical supply. This serves only as a reference candidate for the master controller; it does not claim that a USB transceiver directly accepts this frequency or the endpoint is clocked from this part. Clock delivery must be separately verified to determine whether the clock undergoes multiplication or switching, whether it is actually responsible for sampling or management, and the oscillator's supply, logic, load, and temperature range. If the static descriptor has the wrong unit, swapping to a high-precision version will not automatically restore the correct query period.
On the other hand, request opportunities are not commitments to complete a payload. Observed outcomes are influenced by host workloads, topology, whether data is present on devices at the time, and driver scheduling. If a project requires a new independent sample every four milliseconds, it must also validate the data's own timestamp, sequence number, device update cadence, and host processing behavior. The declared interval is only one condition in the end-to-end timing budget. When goods are delivered to another factory, both sets must be accepted separately: whether the materials and time-base specifications conform to the project, and whether the descriptor fields for the actual operating mode and independent sample records conform to the agreement. Such a table's unit error will not be masked by good results from another table.
Keep records for different endpoints separate
For example, if a terminal reports status infrequently while another path transmits larger sampling data, the interval at which the status endpoint is polled should not be used as the figure for throughput or interval of the other path. If the engineering record lists only the interface name without specifying the endpoint direction, ID, and type, the reviewer is likely to copy fields from the adjacent row. Even if that value is valid, the result still corresponds to a different usage. External documentation should state "the interval declared for this interrupt IN endpoint at this actual speed" rather than vaguely stating "the entire system uploads every X time."
For scenarios requiring a single unified spreadsheet for a batch of workstations, request that valid sampling records corresponding to two speeds under the same device version be retained, with a representative conversion example provided for each. If the supplier provides only design schematics without specifying which column applies to the current operating state, mark the item as pending verification and do not initiate early material return. After on-site inspection, if it is discovered that the report used the interval formula for another bus speed, when correcting the report, distinguish between batches where only the stated units or conversion needed correction and batches where the endpoint configuration actually changed, to avoid rewriting all historical figures with a single multiplier. Only if the original configuration evidence remains available can a reliable baseline be established for subsequent firmware updates or re-acceptance.
Frequently asked questions
Does high speed always mean more frequent polling? Not necessarily. With the table field set to 8, high-speed actually corresponds to a longer request interval. To compare actual configurations, do not equate speed names directly with query frequency.
Why do both modes convert to 4 ms, yet the application update intervals remain different? The declared polling intervals are identical. That resolves only the field interpretation. The timing of device sample generation, the host's actual scheduling, and the upper-layer dispatching must be independently verified. First, use the same normal log to check all three layers, then determine which stage the issue resides in.
