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.
Replies: 1
Views: 104
Part Number: TPL1401
How do I setup the TPL1401 as a programmable comparator?
Best,
Katlynne Jones
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:
End equipment
Url
Exit and emergency lighting
www.ti.com/.../exit-emergency-lighting
Barcode scanners
www.ti.com/.../barcode-scanner
Barcode readers
www.ti.com/.../barcode-reader
Smart speakers
www.ti.com/.../smart-speaker
Video doorbells
www.ti.com/.../video-doorbell
Cordless vacuum cleaners
www.ti.com/.../cordless-vacuum-cleaner
Robotic lawn mowers
www.ti.com/.../robotic-lawn-mower
Laser distance meter
www.ti.com/.../laser-distance-meter
You can find some additional information about the TPL1401 here:
TPL1401
TPL1401EVM
You can find more information about precision DACs here:
Precision DAC Learning Center
www.ti.com/.../learning-center.html
TI Precision Labs - DACs
training.ti.com/ti-precision-labs-dacs
Data Converter Circuit Cookbook
www.ti.com/.../data-converter-circuits.html