Abstract:
Systems and methods for generating event trace records are described. One example system includes an event subsystem that receives signaling events generated by one or more associated peripheral devices. The system includes a trace module which is coupled to the event subsystem. The trace module receives the signaling events, samples the received signaling events, receives timestamps, and generates event trace records. Each event trace record includes the sampled signaling events and a respective timestamp indicative of the sampling time. The trace module can generate save commands, and deliver the event trace records and the save commands as outputs.
Abstract:
In one embodiment, a device includes one or more processors and one or more memory units. The one or more memory units collectively store logic configured to cause the one or more processors to perform operations including obtaining a first measurement associated with a first voltage, the first voltage output by the mutual-capacitance measurement circuit in response to a first change in capacitance, and obtaining a second measurement associated with a second voltage, the second voltage output by the mutual-capacitance measurement circuit in response to a second change in capacitance. The operations further include calculating a differential measurement using a difference between the first measurement and the second measurement and determining whether a touch or proximity event has occurred based at least in part on the calculated differential measurement.
Abstract:
By powering an electronic component operating in an ultra-low power mode from a pre-charged measuring capacitor and measuring the time to discharge the capacitor to a trip voltage level, measurement data can be obtained. In some implementations, the capacitance of the capacitor can be obtained by adding a known current to the unknown current drawn from the capacitor and calculating the capacitance using a mathematical formula.
Abstract:
In one embodiment, a device includes one or more processors and one or more memory units. The one or more memory units collectively store logic configured to cause the one or more processors to perform operations including obtaining a first measurement associated with a first voltage, the first voltage output by the mutual-capacitance measurement circuit in response to a first change in capacitance, and obtaining a second measurement associated with a second voltage, the second voltage output by the mutual-capacitance measurement circuit in response to a second change in capacitance. The operations further include calculating a differential measurement using a difference between the first measurement and the second measurement and determining whether a touch or proximity event has occurred based at least in part on the calculated differential measurement.
Abstract:
A power trace port included in a system (e.g., a microcontroller system) having multiple power domains includes a power trace port that outputs digital signals indicating the states of the power domains. If each power domain is independent of other power domains in the system, each power domain can have its own set of power trace pins in the power trace port that are at least partially external to the system. If a power domain has multiple states, multiple pins can be used to indicate the multiple states. In some implementations, the power trace port can include performance level pins for providing performance level signals. The power trace port can be coupled to power trace probes of a power analyzer that is external to the system for generating power traces.
Abstract:
An on-chip function call aware software code profiling counter system and method is disclosed. When building software code a compiler/tool-chain can modify prologues and epilogues of functions to add instrumentation code which uniquely identifies the function. Each function included in the instrumented source code tree is assigned a unique identifier (ID) by the compiler/tool-chain. Writing a unique ID for a function to a register starts profiling for the function. The profiling is performed by a counter that counts the number of instruction cycles since the last unique ID was written to the register. When a unique ID for a next function to be profiled is written to the register, the old register value and the counter value are latched to one or more buffers and the counter is cleared to start the next count sequence for the next function to be profiled.
Abstract:
A sense resistor is coupled between a power source and one or more power pins of an integrated circuit (IC) chip including a circuit component (e.g., a microcontroller unit (MCU)). An on-chip amplifier (e.g., a programmable gain amplifier or op-amp) amplifies the voltage drop over the sense resistor to a level that is within the dynamic range of an on-chip analog-to-digital converter (ADC). In some implementations, the measured signals can be time-stamped and stored in a trace buffer and aligned with other trace data using a front-end tool (e.g., a personal computer). In some implementations, circuitry is included for detecting and handling power consumption events associated with the circuit component. In some implementations, a program counter associated with the circuit component is synchronously sampled with the power consumption measurements and/or other data sources.
Abstract:
Systems and methods for generating DMA transaction trace records are described. One example system includes a controller that includes a trace module. The trace module receives transfer requests for direct memory access channels, receives timestamps indicative of a transfer request time, generates trace records, wherein each trace record includes a respective timestamp indicative of a transfer request time, generates save commands, and delivers the trace records and the save commands as outputs. The system includes a storage module for saving trace records.
Abstract:
A sense resistor is coupled between a power source and one or more power pins of an integrated circuit (IC) chip including a circuit component (e.g., a microcontroller unit (MCU)). An on-chip amplifier (e.g., a programmable gain amplifier or op-amp) amplifies the voltage drop over the sense resistor to a level that is within the dynamic range of an on-chip analog-to-digital converter (ADC). In some implementations, the measured signals can be time-stamped and stored in a trace buffer and aligned with other trace data using a front-end tool (e.g., a personal computer). In some implementations, circuitry is included for detecting and handling power consumption events associated with the circuit component. In some implementations, a program counter associated with the circuit component is synchronously sampled with the power consumption measurements and/or other data sources.
Abstract:
In one embodiment, a device comprises one or more memory units collectively storing logic configured to cause one or more processors to perform operations. The operations comprise: obtaining a first measurement associated with a first voltage output by a mutual-capacitance measurement circuit; obtaining a second measurement associated with a second voltage, the second voltage output by the mutual-capacitance measurement circuit in response to a first change in capacitance; obtaining a third measurement associated with a third voltage output by the mutual capacitance measurement circuit, the third voltage being different from the first voltage; and obtaining a fourth measurement associated with a fourth voltage, the fourth voltage output by the mutual-capacitance measurement circuit in response to a second change in capacitance. The operations further comprise calculating a differential measurement using a difference between the first measurement and the second measurement and a difference between the third measurement and the fourth measurement.