This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TPL1401
How do I setup the TPL1401 as a programmable comparator?
It is possible to use the TPL1401 as an 8bit programmable comparator. To do this, write the desired comparator threshold value to the DPOT_POS bits in the DPOT_POSITION register. Find the correct code using the transfer function below:
(Register table taken from TPL1401 datasheet version * Sept 2020)
Apply the input signal to the FB pin of the TPL1401 and the internal buffer will act as a comparator. If VIN > VTHRESH the output will be low, and if VIN < VTHRESH the output will be high.
With the nonvolatile memory on the TPL1401, the comparator threshold value can be saved. To save the value in the NVM view: [FAQ] How to generate a DC setpoint or bias using the TPL1401? This allows the comparator to be used without a processor after the device is initially programmed, even when power cycled.
The TPL1401 can be found in many common applications:
Exit and emergency lighting
Cordless vacuum cleaners
Robotic lawn mowers
Laser distance meter
You can find some additional information about the TPL1401 here:
You can find more information about precision DACs here:
Precision DAC Learning Center
TI Precision Labs - DACs
Data Converter Circuit Cookbook
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.