| Electronic Components Datasheet Search |
|
MCP3565R Datasheet(PDF) 54 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP3565R Datasheet(HTML) 54 Page - Microchip Technology |
|
54 / 108 page ![]() MCP3565R DS20006401C-page 54 2020-2021 Microchip Technology Inc. 5.12.3 INTERNAL MASTER CLOCK MODES (CLK_SEL[1:0] = 1x) When CLK_SEL[1] = 1, the internal oscillator is selected and the master clock is generated internally. The master clock generation is independent of the ADC as the clock can still be generated, even if the ADC is in ADC Shutdown mode. The internal oscillator is only disabled when CLK_SEL[1:0] = 0x. The clock can be distributed to the SCK pin depending on the CLK_SEL[0] bit. When the clock output is selected (CLK_SEL[0] = 1), the AMCLK clock derived from the MCLK (AMCLK = MCLK/PRESCALE) is available on the SCK pin. The AMCLK output can serve as the clock pin to synchronize other MCP3565R devices that are configured with CLK_SEL[1:0] = 00 or 01. The AMCLK output is available on the SCK pin as soon as the Write command (CLK_SEL[1:0] = 11) is finished. Section 6.9 “Master Clock Input/Output Modes” describes in detail the transitions from one clock mode to another. 5.13 Digital System Offset and Gain Calibrations The MCP3565R device includes a digital calibration feature for offset and gain errors. The calibration scheme for offset error consists of the addition of a fixed offset value to the ADC output code (ADCDATA at address: 0x0). The offset value added (OFFSETCAL) is deter- mined in the OFFSETCAL register (address: 0x9). The calibration scheme for gain error consists of the multipli- cation of a fixed gain value to the ADCDATA code. The gain value (GAINCAL) multiplied is determined in the GAINCAL register (address: 0xA). The digital offset and gain calibration schemes are enabled or disabled via the EN_OFFCAL and EN_GAINCAL control bits of the CONFIG3 register. When both calibration control bits are enabled (EN_OFFCAL = EN_GAINCAL = 1), the ADCDATA register is modified with the digital offset and gain calibration schemes, as described in Equation 5-6. When a calibration enable bit is off, its corresponding register becomes a Don’t Care register and the corresponding calibration is not performed. EQUATION 5-6: ADCDATA OUTPUT AFTER DIGITAL GAIN AND OFFSET ERROR CALIBRATION The calculations are performed internally with proper management of overloading, so that the overload detection is done on the output result only and not on the intermediate results. A sufficient number of additional overload bits is maintained and propagated internally to overcome all possible overload and/or overload recovery situations. For example, if ADCDATA (pre-calibration) + OFFSETCAL is out of bounds, but (ADCDATA (pre-calibration) + OFFSETCAL) x GAINCAL is still in the right range (possible with 0 < GAINCAL < 1), the result is not saturated. 5.13.1 DIGITAL OFFSET ERROR CALIBRATION The Offset Calibration register (OFFSETCAL, address: 0x9) is a signed MSb first, two’s complement coding, 24-bit register that holds the digital offset calibration value, OFFSETCAL. The OFFSETCAL equivalent input voltage value is calculated with Equation 5-7. EQUATION 5-7: OFFSETCAL CALIBRATION VALUE (EQUIVALENT INPUT VOLTAGE) For the MCP3565R device, the offset calibration is done by adding the OFFSETCAL[23:0] calibration value to the ADCDATA code bit-by-bit. The offset calibration value range in equivalent voltage is [-VREF/GAIN; (+VREF – 1 LSb)/GAIN], which can cancel any possible offset in the ADC but also in the system. The offset calibration is realized with a simple 24-bit signed adder and is instantaneous (no pipeline delay). Enabling the offset calibration will affect the next conversion result; the conversion result already held in the ADCDATA register (0x0) is not modified when the EN_OFFCAL is set to ‘1’, but the next one will take the offset calibration into account. Changing the OFFSETCAL register to a new value will not affect the current ADCDATA value, but the next one (after a data ready interrupt) will take the new OFFSETCAL value into account. Figure 5-12 presents the different cases and their impact on the ADCDATA register and the Data Ready Event. ADCDATA (post-calibration) = [ADCDATA (pre-calibration) + OFFSETCAL] x GAINCAL OFFSETCAL (V) = VREF x (OFFSETCAL[23:0] signed decimal code)/(8388608 x GAIN) |
|
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 |