# US 2013/0275071 A1 · Apparatus and methods for calibrating analog circuitry in an integrated circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0275071 A1
- Document ID: US20130275071A1
- Status: Published application
- Kind: A1
- Application number: 13/446,555
- Filed: 2012-04-13
- Published: 2013-10-17
- Earliest claimed: 2012-04-13
- Assignees: Altera Corporation
- Inventors: Neville CARVALHO; Tim Tri HOANG; Sergey SHUMARAYEV
- Web page: https://patentgrep.com/patent/US20130275071A1

## CPC

- H04B 17/22: {for calibration of the receiver components}
- G01R 35/00: Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R 35/005: {Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references (G01R33/0035, G01R35/002 take precedence)}
- G12B 13/00: Calibrating of instruments and apparatus (calibrating of measuring instruments G01)
- H04B 17/11: for calibration
- H04B: TRANSMISSION
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G12B: CONSTRUCTIONAL DETAILS OF INSTRUMENTS, OR COMPARABLE DETAILS OF OTHER APPARATUS, NOT OTHERWISE PROVIDED FOR

## Abstract

The present disclosure provides apparatus and methods for the calibration of analog circuitry on an integrated circuit. One embodiment relates to a method of calibrating analog circuitry within an integrated circuit. A microcontroller that is embedded in the integrated circuit is booted up. A reset control signal is sent to reset an analog circuit in the integrated circuit, and a response signal for the analog circuit is monitored by the microcontroller. Based on the response signal, a calibration parameter for the analog circuit is determined, and the analog circuit is configured using the calibration parameter. Other embodiments, aspects and features are also disclosed.

## Claims

### Claim 1

A method of calibrating analog circuitry within an integrated circuit, the method comprising:
booting up a microcontroller that is embedded in the integrated circuit;
sending a reset control signal to reset an analog circuit in the integrated circuit;
monitoring a response signal of the analog circuit by the microcontroller;
determining a calibration parameter for the analog circuit based on the response signal; and
configuring the analog circuit using the calibration parameter.

### Claim 2 (depends on 1)

The method of claim 1, wherein booting up the microcontroller comprises loading boot code from a programmer object file to memory of the microcontroller and resetting the microcontroller.

### Claim 3 (depends on 1)

The method of claim 1, wherein a common bus couples the microcontroller to a plurality of analog circuits to be calibrated.

### Claim 4 (depends on 1)

The method of claim 1, wherein the response signal for the analog circuit is generated in response to variation of a control parameter of the analog circuit.

### Claim 5 (depends on 1)

The method of claim 1, wherein the response signal of the analog circuit is communicated to the microcontroller using a shift register.

### Claim 6 (depends on 1)

The method claim 1 further comprising:
communicating a signal from the microcontroller to a core of the integrated circuit, the signal indicating that calibration of the analog circuit is complete.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
repeating the sending, monitoring, determining, and configuring for a plurality of analog circuits.

### Claim 8 (depends on 7)

The method of claim 7, wherein the plurality of analog circuits are of a circuit type from a group of circuit types consisting of comparators, phase detectors, sense amplifiers, and voltage regulators.

### Claim 9 (depends on 7)

The method claim 7 further comprising:
communicating a signal from the microcontroller to a core of the integrated circuit, the signal indicating that calibration of the plurality of analog circuits is complete.

### Claim 10 (depends on 1)

The method of claim 1, wherein the reset control signal is sent to a plurality of analog circuits of a same type in the integrated circuit such that calibration-related processes for the plurality of analog circuits proceed in parallel, further comprising waiting to receive response signals for the plurality of analog circuits, wherein a response signal for an individual analog circuit is received after a calibration-related process for the individual analog circuit is done.

### Claim 11 (depends on 10)

The method of claim 10, wherein, after the response signal for the individual analog circuit is received, the method further comprises:
configuring the individual analog circuit;
determining if all analog circuits of the plurality of analog circuits have been configured; and
waiting to receive further response signals if not all of the plurality of analog circuits have been configured.

### Claim 12

An integrated circuit comprising:
a core of the integrated circuit;
a microcontroller that is embedded in the integrated circuit, the microcontroller including a processing unit and memory;
a controller block arranged to receive boot code for the microcontroller from a programmer object file and store the boot code in the memory for the microcontroller;
a plurality of sub-modules which include analog circuitry; and
a common bus arranged to communicatively interconnect the microcontroller with the plurality of sub-modules for calibration of the analog circuitry.

### Claim 13 (depends on 12)

The integrated circuit of claim 12 further comprising:
interface circuitry arranged between the common bus and the plurality of sub-modules, wherein the interface circuitry includes a shift register to communicate test data from the plurality of sub-modules to the common bus, a shift register to communicate calibration control signals from the common bus to the plurality of sub-modules, and a reset control circuit to controllably reset an analog circuit within the sub-modules.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, wherein the interface circuitry further includes a memory-mapped port for addressing the plurality of sub-modules by way of the common bus.

### Claim 15 (depends on 12)

The integrated circuit of claim 12 further comprising:
a debug module arranged for debugging the processing unit using a boundary scan test system.

### Claim 16 (depends on 12)

The integrated circuit of claim 12, wherein the core comprises a programmable logic array, and the analog circuitry within the plurality of sub-modules include circuits from a group of circuits consisting of comparators, phase detectors, sense amplifiers, and voltage regulators.

### Claim 17

A system for calibrating analog circuits within an integrated circuit, the system comprising:
a core of the integrated circuit;
a microcontroller that is embedded in the integrated circuit, the microcontroller including a processing unit and memory;
a plurality of sub-modules that includes the analog circuits therein;
a communication system arranged to communicatively interconnect the microcontroller with the plurality of sub-modules for calibration of the analog circuits therein; and
a tangible non-transitory storage medium for storing boot code for the microcontroller.

### Claim 18 (depends on 17)

The system of claim 17, wherein the boot code comprises:
computer-readable program instructions for sending a reset control signal to a sub-module of the plurality of sub-modules to reset an analog circuit in the sub-module;
computer-readable program instructions for monitoring the communication system for a response signal from the sub-module;
computer-readable program instructions for determining a calibration parameter for the analog circuit in the sub-module based on the response signal; and
computer-readable program instructions for configuring the analog circuit in the sub-module using the calibration parameter.

### Claim 19 (depends on 18)

The system of claim 18, wherein the boot code further comprises:
computer-readable program instructions for repeating the sending, monitoring, determining, and configuring for further sub-modules of the plurality of sub-modules; and
computer-readable program instructions for communicating a signal from the microcontroller to the core of the integrated circuit, the signal indicating that calibration of the analog circuits in the plurality of sub-modules is complete.

### Claim 20 (depends on 18)

The system of claim 18, wherein the boot code further comprises:
computer-readable program instructions for sending a reset control signal to the plurality of sub-modules such that calibration-related processes for the plurality of sub-modules proceed in parallel;
computer-readable program instructions for waiting to receive response signals from the plurality of sub-modules, wherein a response signal for an individual sub-module is received after an analog calibration-related process for the individual sub-module is complete;
computer-readable program instructions for configuring the individual sub-module after the response signal from the individual sub-module is received;
computer-readable program instructions for determining if all of the plurality of sub-modules have been configured; and
computer-readable program instructions for waiting to receive further response signals if not all of the plurality of sub-modules have been configured.
