The TLSR8258F512 embeds a low power comparator. This comparator takes two inputs:
The low power comparator output is determined by the comparison result of the value of [input voltage * scaling] and reference voltage input. The comparison principle is shown as below:
In normal mode, the internal reference is derived from UVLO(Ultra-low Voltage Lockout) and has higher accuacy, but current bias is larger (10uA); reference voltage input channel is selectable from internal reference : 972mV,921mV,870mV and 819mV, as well as PB<0>, PB<3>, AVDD3 and float.
In low power mode, the internal reference is derived from Bandgap and has lower accuracy, but current bias is decreased to 50nA; reference voltage input channel is selectable from internal reference of 964mV, 913mV,862mV and 810mV,as well as PB<0>, PB<3>, AVDD3 and float.
In order to facilitate users to quickly develop products according to their own needs, TSI provide the following related APIs and examples.
APIs list | Description | Example | Update Date | Status |
---|---|---|---|---|
lpc_power_on() | power on Low power comparator, which is powered down by default | API-USB-CASE1 | 2019-1-10 | Done |
lpc_power_down() | power down Low power comparator | - | 2019-1-10 | Done |
lpc_set_input_chn() | select the input channel | API-USB-CASE1 | 2019-1-10 | Done |
lpc_set_input_ref() | select the input reference | API-USB-CASE1 | 2019-1-10 | Done |
lpc_set_scaling_coeff() | set the scaling coefficient of the input channel | API-USB-CASE1 | 2019-1-10 | Done |
lpc_get_result() | set the scaling coefficient of the input channel | API-USB-CASE1 | 2019-1-10 | Done |
TSI provides the following examples of this module to help users quickly understand and apply related modules.
Examples list | Description | Update Date | Status |
---|---|---|---|
API-USB-CASE1 | low power comparator in normal mode | 2019-1-10 | Done |
API-USB-CASE2 | low power comparator in low power mode | 2019-1-10 | Done |
Date | Description | Author |
---|---|---|
2019-1-10 | initial release | SP/LJW |