поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

MCP3910 датащи(PDF) 45 Page - Microchip Technology

номер детали MCP3910
подробное описание детали  3V Two-Channel Analog Front End
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3910 датащи(HTML) 45 Page - Microchip Technology

Back Button MCP3910 Datasheet HTML 41Page - Microchip Technology MCP3910 Datasheet HTML 42Page - Microchip Technology MCP3910 Datasheet HTML 43Page - Microchip Technology MCP3910 Datasheet HTML 44Page - Microchip Technology MCP3910 Datasheet HTML 45Page - Microchip Technology MCP3910 Datasheet HTML 46Page - Microchip Technology MCP3910 Datasheet HTML 47Page - Microchip Technology MCP3910 Datasheet HTML 48Page - Microchip Technology MCP3910 Datasheet HTML 49Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 90 page
background image
 2012-2020 Microchip Technology Inc.
DS20005116D-page 45
MCP3910
6.0
SPI SERIAL INTERFACE
DESCRIPTION
6.1
Overview
The MCP3910 device includes a four-wire (CS, SCK,
SDI, SDO) digital serial interface that is compatible with
SPI Modes 0,0 and 1,1. Data are clocked out of the
MCP3910 on the falling edge of SCK and data are
clocked into the MCP3910 on the rising edge of SCK. In
these modes, the SCK clock can Idle either high (1,1) or
low (0,0). The digital interface is asynchronous with the
MCLK clock that controls the ADC sampling and digital
filtering. All the digital input pins are Schmitt triggered to
avoid system noise perturbations on the communications.
Each SPI communication starts with a CS falling edge
and stops with the CS rising edge. Each SPI communi-
cation is independent. When CS is logic high, SDO is
in high-impedance; transitions on SCK and SDI have
no effect. Changing from an SPI Mode 1,1 to an SPI
Mode 0,0, and vice-versa, is possible and can be done
while the CS pin is logic high. Any CS rising edge clears
the communication and resets the SPI digital interface.
Additional control pins (RESET, DR) are also provided
on separate pins for advanced communication
features. The Data Ready pin (DR) outputs pulses
when new ADC channel data are available for reading,
which can be used as an interrupt for an MCU. The
Master Reset pin (RESET) acts like a Hard Reset and
can reset the part to its default power-up configuration
(equivalent to a POR state).
The MCP3910 interface has a simple command
structure. Every command is either a READ command
from a register or a WRITE command to a register. The
MCP3910 device includes 13 registers, defined in the
register map in Table 9-1. The register map is fully
compatible with the MCP391X family to allow easy
porting of MCU code from one design to another inside
the MCP391X family. The first byte (8-bit wide) trans-
mitted is always the control byte that defines the
address of the register and the type of command (READ
or WRITE). It is followed by the register itself, which can
be in a 16, 24 or 32-bit format, depending on the multiple
format settings defined in the STATUSCOM register. The
MCP3910 is compatible with multiple formats that help
reduce overhead in the data handling for most MCUs and
processors available on the market (8, 16 or 32-bit MCUs)
and improve MCU code compaction and efficiency.
The MCP3910 digital interface is capable of handling
various Continuous Read and Write modes, which
allow the device to perform ADC data streaming or full
register map writing within only one communication
(and therefore, with only one unique control byte). The
internal registers can be grouped together with various
configurations through the READ[1:0] and WRITE bits.
The internal address counter of the serial interface can
be automatically incremented with no additional control
byte needed in order to loop through the various groups
of registers within the register map. The groups are
defined in Table 9-2.
The MCP3910 device also includes advanced security
features to secure each communication, to avoid pro-
cessing unwanted WRITE commands, in order to
change the desired configuration and to alert the user
in case of a change in the desired configuration.
Each SPI read communication can be secured through
a selectable CRC-16 checksum provided on the SDO
pin at the end of every communication sequence. This
CRC-16 computation is compatible with the DMA and
CRC hardware of the PIC24 and PIC32 MCUs,
resulting in no additional overhead for added security.
In order to secure the entire configuration of the device,
the MCP3910 includes an 8-bit lock code (LOCK[7:0]),
which blocks all WRITE commands to the full register
map if the value of the LOCK[7:0] bits are not equal to
a defined password (0xA5). The user can protect its
configuration by changing the LOCK[7:0] value to 0x00
after the full programming, so that no unwanted WRITE
command will result in a change in the configuration
(because the LOCK[7:0] bits are different from the
0xA5 password).
An additional CRC-16 calculation is also running
continuously in the background to ensure the integrity
of the full register map. All writable registers of the
register map (except the MOD register) are processed
through a CRC-16 calculation engine and give a
CRC-16 checksum that depends on the configuration.
This checksum is readable on the LOCK/CRC register
and updated at all times. If a change in this checksum
happens, a selectable interrupt can give a flag on the
DR pin (the DR pin becomes logic low) to warn the user
that the configuration is corrupted.
6.2
Control Byte
The control byte of the MCP3910 contains two device
Address bits (A[6:5]), five register Address bits (A[4:0])
and a Read/Write bit (R/W). The first byte transmitted
to the MCP3910 in any communication is always the
control byte. During the control byte transfer, the SDO
pin is always in a high-impedance state. The MCP3910
interface is device addressable (through A[6:5]), so that
multiple chips can be present on the same SPI bus with
no data bus contention, even if they use the same CS
pin. They use a provided half-duplex SPI interface with
a different address identifier. This functionality enables,
for example, to have a serial EEPROM, such as
24AAXXX/24LCXXX or 24FCXXX, and the MCP3910
to share all the SPI pins and consume less I/O pins in
the application processor, since all of these serial
EEPROM circuits use A[6:5] = 00.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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