| Zakładka z wyszukiwarką danych komponentów |
|
33993 Arkusz danych(PDF) 21 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
33993 Arkusz danych(HTML) 21 Page - Freescale Semiconductor, Inc |
|
21 / 28 page ![]() Analog Integrated Circuit Device Data Freescale Semiconductor 21 33993 TYPICAL APPLICATIONS INTRODUCTION Figure 13. Analog Ratiometric Conversion To read a potentiometer sensor, the wiper should be grounded and brought back to the module ground, as illustrated in Figure 13. With the wiper changing the impedance of the sensor, the analog voltage on the input will represent the position of the sensor. Using the Analog feature to provide 2.0 mA of pull-up current to an analog sensor may induce error due to the accuracy of the current source. For this reason, a ratiometric conversion must be considered. Using two current sources (one for the sensor and one to set the reference voltage to the A/D converter) will yield a maximum error (owing to the 33993) of 4%. Higher accuracy may be achieved through module level calibration. In this example, we use the resistor values from Figure 13 and assume the current sources are 4% from each other. The user may use the module end-of-line tester to calculate the error in the A /D conversion. By placing a 2.0 k Ω, 0.1% resistor in the end-of-line test equipment and assuming a perfect 2.0 mA current source from the 33993, a calculated A/D conversion may be obtained. Using the equation yields the following: The ADC value of 213 counts is the value with 0% error (neglecting the resistor tolerance and AMUX input offset voltage). Now we can calculate the count value induced by the mismatch in current sources. From a sample device the maximum current source was measured at 2.05 mA and minimum current source was measured at 1.99 mA. This yields 3% error in A/D conversion. The A/D measurement will be as follows: This A/D conversion is 3% low in value. The error correction factor of 1.03 may be used to correct the value: An error correction factor may then be stored in E2 memory and used in the A/D calculation for the specific input. Each input used as analog measurement will have a dedicated calibrated error correction factor. POWER MOSFET/LED DRIVER AND MONITOR Because of the flexible programming of the 33993 device, it may be used to drive small loads like LEDs or MOSFET gates. It was specifically designed to power up in the Normal mode with the inputs tri-state. This was done to ensure the LEDs or MOSFETs connected to the 33993 power up in the off-state. The Switch Programmable (SP0–SP7) inputs have a source-and-sink capability, providing effective MOSFET gate control. To complete the circuit, a pull-down resistor should be used to keep the gate from floating during the Sleep modes. Figure 14, page 22, shows an application where the SG0 input is used to monitor the drain-to-source voltage of the external MOSFET. The 1.5 k Ω resistor is used to set the drain-to-source trip voltage. With the 2.0 mA current source enabled, an interrupt will be generated when the drain-to-source voltage is approximately 1.0 V. VDD VPWR VDD SI SO SCLK INT CS AMUX MOSI MISO AN0 VBAT SP0 SP1 SP7 SG1 SG0 SG12 SG13 WAKE VBAT SCLK CS INT 16 2.0 VPWR 2.0 mA 2.0 mA 2.39 k Ω 0.1% 4.54 V to 5.02 V Analog Ports VREF(H) VREF(L) Analog Sensor or Analog Switch R2 I2 I1 R1 VPWR mA 2.0 VPWR VPWR mA 16 mA mA 33993 MCU ADC = I1 x R1 I2 x R2 x225 ADC = 2.0 mA x 2.0 k Ω x 225 2.0 mA x 2.39 k Ω ADC = 213 counts ADC = 1.99 mA x 2.0 k Ω x225 2.05 mA x 2.39 k Ω ADC = 207 counts ADC = 207 counts x 1.03 ADC = 213 counts |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |