IP Library Granted Patent US 8,229,056
Granted Patent B2
US 8,229,056 · App. 12/972,392 · Granted Jul 24, 2012

Universal counter/timer circuit

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,229,056
App. No.
12/972,392
Granted
Jul 24, 2012
Kind
B2
Abstract

A counter/timer circuit and method of generating timed output signals using the counter/timer circuit, uses multiple counters that are configurable to operate as one or more counters. The counters are controlled by control signals from a control logic circuitry of the counter/timer circuit, where at least some of the control signals are dependent on event signals generated by an event generation module of the counter/timer circuit. The generated event signals are based on at least one of: an input signal, an output signal, and a counter match, qualified by a state value associated with the counters.

Claims (33)

1. A counter/timer circuit comprising:

a counter unit having multiple counters that are configurable to operate as one or more counters;

a state logic module configured to maintain a state value for each counter, the state value being used to indicate the current state of the application of that counter;

an event generation module configured to generate event signals based on at least one of: an input signal, an output signal, and a counter match, qualified by one of the state values; and

control logic circuitry connected to the counter unit to provide control signals for the counters of the counter unit, the control logic circuitry being also connected to the event generation module to receive the event signals so that at least some of the control signals are dependent on at least some of the event signals.

2. The counter/timer circuit of claim 1 , wherein the counter unit includes first and second counters that are configurable to operate as a unified 32-bit counter or as two separate 16-bit counters.

3. The counter/timer circuit of claim 1 , further comprising a match/capture module connected to the counter unit and the event generation module, the match/capture module comprising a plurality of match/capture units, each being configurable to perform match or capture operations with respect to count values generated by the counters of the counter unit.

4. The counter/timer circuit of claim 3 , wherein a particular match/capture unit can be configured to perform match operations, the match/capture unit in this case including match reload registers, match registers and match circuits, the match load registers being configured to store values to be loaded into the match registers, the match circuits being connected to the match registers and the counters to compare count values from the counters with the match values stored in the match registers to produce match results.

5. The counter/timer circuit of claim 4 , wherein the event generation module is configured to generate the event signals based on the match results of the match/capture module and/or the states or transitions of selected input and/or output signals, each event being further qualified by a mask identifying a set of selected state values in which the event can occur.

6. The counter/timer circuit of claim 3 , wherein a particular match/capture module is configured to perform capture operations, the match/capture unit in this case including capture control registers, select circuits and capture registers, the capture control registers being used to store control information that determines which event(s) cause the capture operations, and the capture registers being connected to the counters to capture count values from the counters in response to any of a set of selected events.

7. The counter/timer circuit of claim 1 , further comprising an output module connected to the event generation module, the output module being configured to generate output signals based on the event signals from the event generation module, the output module being also configured to set and clear each output of the output module based on at least some of the event signals.

8. The counter/timer circuit of claim 1 , further comprising an interrupt module connected to the event generation module, the interrupt module being configured to generate interrupt signals based on at least some of the event signals from the event generation module.

9. The counter/timer circuit of claim 7 , wherein the output module is configured to output direct memory access requests based on at least some of the event signals generated by the event generation modules.

10. The counter/timer circuit of claim 1 , further comprising a clock processing module configured to provide clock signals to different components of the counter/timer circuit, the clock processing module being also connected to provide synchronized input signals to the event generation module.

11. The counter/timer circuit of claim 10 , wherein the clock processing module is configured to generate the clock signals by one of the following methods: bus clocking, direct external clocking, high-performance sampled clocking and low-power sampled external clocking.

12. A method of generating timed output signals using a counter/timer circuit, the method comprising:

receiving input signals at the counter/timer circuit;

maintaining a state value for each counter of the counter/timer circuit, the state value being used to indicate the current state of the application of that counter;

generating event signals based on at least one of: an input signal, an output signal of the counter/timer circuit, and a counter match, qualified by one of the state values associated with the counters;

providing control signals to the counters of the counter/timer circuit, wherein at least some of the control signals are dependent on at least some of the event signals; and

generating count values at the counters using the control signals, the count values representing a unified count value or separate count values depending on the configuration of the counter/timer circuit.

13. The method of claim 12 , wherein generating the count values includes generating two counter values that represent a unified 32-bit count values or two separate 16-bit count values.

14. The method of claim 12 , further comprising:

loading match values from match reload registers to match registers; and

comparing the count values from the counters with the values stored in the match registers to produce match results.

15. The method of claim 14 , wherein generating the event signals includes generating the event signals based on match results and/or the states or transitions of input and/or output signals, event generation being further qualified by state masks that select the value(s) of the state variable in which each event can occur.

16. The method of claim 12 , further comprising:

storing an event mask in capture control registers, the mask being used to determine which events are used for capturing operations;

capturing the count values from the counters based on the mask stored in the capture control registers and the event signals.

17. The method of claim 12 , further comprising generating output signals based on the event signals, including performing set, clear, or toggle operations on each output of the counter/timer circuit.

18. The method of claim 17 , further comprising generating interrupt signals based on at least some of the event signals.

19. The method of claim 12 , further comprising outputting direct memory access requests based on at least some of the event signals, said requests determining when selected values are stored in one or more match reload registers that are in turn connected to the match registers.

20. The method of claim 12 , further comprising providing clock signals to different components of the counter/timer circuit, wherein the clock signals are generated by one of the following methods: bus clocking, direct external clocking, high-performance sampled clocking and low-power sampled external clocking.

Assignments (10)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 17, 2010
From: MACKENNA, CRAIG A.; BIRNS, NEIL E.
To: NXP B.V.
Reel/Frame 025525/0360 →