| Electronic Components Datasheet Search |
|
ADR4525 Datasheet(PDF) 39 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADR4525 Datasheet(HTML) 39 Page - Analog Devices |
|
39 / 70 page ![]() Data Sheet AD74413R Rev. 0 | Page 39 of 70 Digital Input Threshold Setting The digital input thresholds are set by an internal DAC. The reference to this DAC is driven by either the VAVDD or the reference voltage, VREFIN. This reference is configured by writing to the DIN_THRESH_MODE bit within the DIN_THRESH register. The specific threshold levels are programmed using the COMP_THRESH bits in the DIN_THRESH register. There are five bits available to configure the threshold. The following equation shows the relationship between the programmed code in the COMP_THRESH bits and the corresponding threshold voltage when the DAC reference is set to AVDD. () 2 60 60 AVDD AVDD THRESH AVDD V V V Code × = +× where: VTHRESH(AVDD) is the comparator threshold expressed in volts. VAVDD is the AVDD supply value in volts. Code is the decimal code loaded to the COMP_THRESH bits. The maximum programmable code in this mode is Decimal 29. The following equation shows the relationship between the programmed code in the COMP_THRESH bits and the corresponding threshold voltage when the DAC reference is set to VREFIN. VTHRESH(FIXED VOLTAGE) = 0.5 + (Code × 0.5) where: VTHRESH(FIXEDVOLTAGE) is the comparator threshold expressed in volts. Code is the decimal code loaded to the COMP_THRESH bits. The maximum programmable code in this mode is Decimal 31. Digital Input Current Sink The AD74413R includes a programmable current sink. The current sink is programmed via the DIN_RANGE bit and the DIN_SINK bits within the DIN_CONFIGx registers. This current sink programmability enables compatibility with Type I, Type II, and Type III of the IEC 61131-2. Program the current sink and the threshold voltages to enable compatibility with Type I and Type III of the IEC 61131-2. For Type I and Type III, it is recommended to program the bits in the DIN_CONFIGx and DIN_THRESH registers as follows: • DIN_RANGE bit: 0x0 • DIN_SINK bits: 0x14 • DIN_THRESH_MODE bit: 0x1 • COMP_THRESH bits: 0x10 Programming these bits results in a typical current sink of 2.4 mA and a rising voltage trip point of typically 8.5 V. For Type II, it is recommended to program the DIN_CONFIGx and DIN_THRESH registers as follows: • DIN_RANGE bit: 0x1 • DIN_SINK bits: 0x1D • DIN_THRESH_MODE bit: 0x1 • COMP_THRESH bits: 0x10 Programming these bits result in a typical current sink of 6.96 mA and a rising voltage trip point of 8 V. Debounce Function The digital input comparator outputs are sampled at regular intervals and passed to a user-programmable debounce operation. The comparator outputs can be debounced for a user- programmable amount of time via the 5-bit DEBOUNCE_ TIME bits within the DIN_CONFIGx registers. Set these bits to 0x00 to bypass the debouncer. Table 15 shows the available programmable debounce times. Table 15. Digital Input Programmable Debounce Times DEBOUNCE_TIME Code (Hex) Debounce Time (ms) 00 Bypass 01 0.0130 02 0.0187 03 0.0244 04 0.0325 05 0.0423 06 0.0561 07 0.0756 08 0.1008 09 0.1301 0A 0.1805 0B 0.2406 0C 0.3203 0D 0.4203 0E 0.5602 0F 0.7504 10 1.0008 11 1.3008 12 1.8008 13 2.4008 14 3.2008 15 4.2008 16 5.6008 17 7.5007 18 10.0007 19 13.0007 1A 18.0006 1B 24.0006 1C 32.0005 1D 42.0004 1E 56.0003 1F 75.0000 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |