Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MCP3910 Datasheet(PDF) 51 Page - Microchip Technology

Part # MCP3910
Description  3V Two-Channel Analog Front End
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3910 Datasheet(HTML) 51 Page - Microchip Technology

Back Button MCP3910 Datasheet HTML 47Page - Microchip Technology MCP3910 Datasheet HTML 48Page - Microchip Technology MCP3910 Datasheet HTML 49Page - Microchip Technology MCP3910 Datasheet HTML 50Page - Microchip Technology MCP3910 Datasheet HTML 51Page - Microchip Technology MCP3910 Datasheet HTML 52Page - Microchip Technology MCP3910 Datasheet HTML 53Page - Microchip Technology MCP3910 Datasheet HTML 54Page - Microchip Technology MCP3910 Datasheet HTML 55Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 90 page
background image
 2012-2020 Microchip Technology Inc.
DS20005116D-page 51
MCP3910
6.8
ADC Channels Latching and
Synchronization
The ADC channels’ Data Output registers (addresses:
0x00 to 0x01) have a double-buffer output structure.
The two sets of latches in series are triggered by the
data ready signal and an internal signal indicating the
beginning of a read communication sequence (read
start).
The first set of latches holds each ADC Channel Data
Output register when the data are ready and latches all
active outputs together when DR_LINK = 1. This
behavior is synchronous with the MCLK clock.
The second set of latches ensures that when reading
starts on an ADC output, the corresponding data are
latched, so that no data corruption can occur within a
read. This behavior is synchronous with the SCK clock.
If an ADC read has started, in order to read the follow-
ing ADC output, the current reading needs to be fully
completed (all bits must be read on the SDO pin from
the ADC Output Data registers).
Since the double-output buffer structure is triggered
with two events that depend on two asynchronous
clocks (data ready with MCLK and read start with SCK),
it is recommended to implement one of the three follow-
ing methods on the MCU, or the processor, in order to
synchronize the reading of the channels:
1.
Use the Data Ready Pin Pulses as an Interrupt
:
Once a falling edge occurs on the DR pin, the data
are available for reading on the ADC Output
registers after the tDODR timing. If this timing is not
respected, data corruption can occur.
2.
Use a Timer Clocked with MCLK as a
Synchronization Event:
Since the data ready is
synchronous with MCLK, the user can calculate
the position of the data ready depending on the
PHASE, the OSR[2:0] and the PRE[1:0] bits set-
tings for each channel. Again, the tDODR timing
needs to be added to this calculation to avoid
data corruption.
3.
Poll
the
DRSTATUS[1:0]
Bits
in
the
STATUSCOM Register:
This method consists of
continuously reading the STATUSCOM register
and waiting for the DRSTATUS bits to be equal to
‘0’. When this event happens, the user can start a
new communication to read the desired ADC data.
In this case, no additional timing is required.
The first method is the preferred one, as it can be used
without adding additional MCU code space, but
requires connecting the DR pin to an I/O pin of the
MCU. The last two methods require more MCU code
space and execution time, but they allow synchronizing
the reading of the channels without connecting the DR
pin, which saves one I/O pin on the MCU.
6.9
Securing Read Communications
Through CRC-16 Checksum
Since power/energy metering systems can generate or
receive large EMI/EMC interferences and large transient
spikes, it is helpful to secure SPI communications as
much as possible to maintain data integrity and desired
configurations during the lifetime of the application.
The communication data on the SDO pin can be
secured through the insertion of a Cyclic Redundancy
Check (CRC) checksum at the end of each continuous
reading sequence. The CRC checksum on the commu-
nications can be enabled or disabled through the
EN_CRCCOM bit in the STATUSCOM register. The
CRC message ensures the integrity of the read
sequence bits transmitted on the SDO pin and the CRC
checksum is inserted in between each read sequence
(see Figure 6-9).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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