Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

MCP3912 Datenblatt(PDF) 48 Page - Microchip Technology

Teilenummer MCP3912
Bauteilbeschribung  3V Four-Channel Analog Front End
PDF  82 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3912 Datenblatt(HTML) 48 Page - Microchip Technology

Back Button MCP3912 Datasheet HTML 44Page - Microchip Technology MCP3912 Datasheet HTML 45Page - Microchip Technology MCP3912 Datasheet HTML 46Page - Microchip Technology MCP3912 Datasheet HTML 47Page - Microchip Technology MCP3912 Datasheet HTML 48Page - Microchip Technology MCP3912 Datasheet HTML 49Page - Microchip Technology MCP3912 Datasheet HTML 50Page - Microchip Technology MCP3912 Datasheet HTML 51Page - Microchip Technology MCP3912 Datasheet HTML 52Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 82 page
background image
MCP3912
DS20005348A-page 48
 2014 Microchip Technology Inc.
6.8
ADC Channels Latching and
Synchronization
The ADC channel’s data output registers (addresses
0x00 to 0x03) 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 is ready, and latches all
active outputs together when DR_LINK = 1. This
behavior is synchronous with the DMCLK clock.
The second set of latches ensures that when reading
starts on an ADC output, the corresponding data is
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 DMCLK and read start with
SCK), implement one of the three following methods on
the MCU or 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
is 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 DMCLK, the user can
calculate the position of the Data Ready
depending on the PHASE, the OSR<2:0> and
the PRE<1:0> settings for each channel. Again,
the tDODR timing needs to be added to this
calculation, to avoid data corruption.
3.
Poll
the
DRSTATUS<3: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 synchronized
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
communications 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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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