Analog/digital conversion circuit, semiconductor device, and electric power steering controlling unit
AssigneeRenesas Electronics Corporation
InventorNaoya Ota
Life of this patent
Estimating the term…
Abstract
The present invention provides a method in which a counting source is provided in data after analog/digital conversion to lessen a load placed when new and old data after the conversion are compared to each other. A log function is prepared in an A/D conversion controlling circuit. The log function latches the output of a counter in a 12-bit digital/analog converter at the timing of outputting a pulse from a comparator to determine data written into a data register group. In the case where a setting item related to log output in an ADCR is set at 1, not only the output of the 12-bit digital/analog converter, but also the output of a timer counter of an MTU is latched as a log.
Claims5
An analog/digital conversion circuit comprising:
- a coupling terminal to which an analog signal as a target of analog/digital conversion is input;
- a counter;
- a digital/analog converter which converts an output value of the counter into an analog value;
- a comparator which outputs a first pulse when an output of the digital/analog converter is larger than the analog signal that is input into the comparator;
- an output register;
- an analog/digital conversion controlling circuit;
- and
- a timer input terminal for inputting an input value,
- wherein when the output of the digital/analog converter is larger than the analog signal as a target of the analog/digital conversion, a second pulse is output, and
- wherein the analog/digital conversion controlling circuit receives the output of the digital/analog converter and the input value via the timer input terminal, and sets the output of the digital/analog converter and the input value to the output register.
An analog/digital conversion circuit comprising:
- a coupling terminal to which an analog signal as a target of analog/digital conversion is input;
- a counter;
- a digital/analog converter which converts an output value of the counter into an analog value;
- a comparator which outputs a pulse when an output of the digital/analog converter is larger than the analog signal that is input into the comparator;
- an output register;
- an analog/digital conversion controlling circuit;
- a timer input terminal;
- and
- a setting register,
- wherein when the output of the digital/analog converter is larger than the analog signal as a target of the analog/digital conversion, a pulse is output, and
- wherein when the analog/digital converter receives the pulse, the analog/digital conversion controlling circuit sets one of the output value of the counter, and the input value of the timer input terminal to the output register in accordance with a value stored in the setting register.
Dependencies are inferred from the claim text.