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

X  

MCP3901A0-I/ML Datenblatt(PDF) 33 Page - Microchip Technology

Teilenummer MCP3901A0-I/ML
Bauteilbeschribung  Two Channel Analog Front End
PDF  60 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3901A0-I/ML Datenblatt(HTML) 33 Page - Microchip Technology

Back Button MCP3901A0-I/ML Datasheet HTML 29Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 30Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 31Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 32Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 33Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 34Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 35Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 36Page - Microchip Technology MCP3901A0-I/ML Datasheet HTML 37Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 60 page
background image
© 2009 Microchip Technology Inc.
DS22192A-page 33
MCP3901
6.0
SERIAL INTERFACE
DESCRIPTION
6.1
Overview
The MCP3901 device is compatible with SPI modes 0,0
and 1,1. Data is clocked out of the MCP3901 on the fall-
ing edge of SCK, and data is clocked into the MCP3901
on the rising edge of SCK. In these modes SCK can
idle either high, or low.
Each SPI communication starts with a CS falling edge
and stops with the CS rising edge. Each SPI
communication is independent. When CS is high, SDO
is in high impedance, transitions on SCK and SDI have
no effect. Additional controls: RESET, DR, MDAT0/1
are also provided on separate pins for advanced
communication.
The MCP3901 interface has a simple command
structure. The first byte transmitted is always the
CONTROL byte and is followed by data bytes that are
8-bit wide. Both ADCs are continuously converting data
by default and can be reset or shutdown through a
CONFIG2 register setting.
Since each ADC data is either 16 or 24 bits (depending
on the WIDTH bits), the internal registers can be
grouped together with various configurations (through
the READ bits) in order to allow easy data retrieval
within only one communication. For device reads, the
internal
address
counter
can
be
automatically
incremented in order to loop through groups of data
within the register map. The SDO will then output the
data located at the ADDRESS (A<4:0>) defined in the
control byte and then ADDRESS+1 depending on the
READ<1:0> bits which select the groups of registers.
These groups are defined in the Section 7.1 “ADC
Channel Data Output Registers” (Register Map).
The data ready pin (DR) can be used as an interrupt for
a MCU and outputs pulses when new ADC channel
data is available. The RESET pin acts like a hard reset
and can reset the part to its default power-up
configuration. The MDAT0/1 pins give the modulator
outputs (see Section 5.4 “Modulator Output Block”).
6.2
Control Byte
The control byte of the MCP3901 contains two device
address bits A<6:5>, 5 register address bits A<4:0>,
and a read/write bit (R/W). The first byte transmitted to
the MCP3901 is always the control byte.
The
MCP3901
interface
is
device
addressable
(through A<6:5>) so that multiple MCP3901 chips can
be present on the same SPI bus with no data bus
contention. This functionality enables three-phase
power metering systems containing three MCP3901
chips controlled by a single SPI bus (single CS, SCK,
SDI and SDO pins).
FIGURE 6-1:
Control Byte.
The default device address bits are 00. Contact the
Microchip factory for additional device address bits. For
more information, please see the Section “Product
Identification System”.
A read on undefined addresses will give an all zeros
output on the first and all subsequent transmitted bytes.
A write on undefined address will have no effect and
will not increment the address counter either.
The register map is defined in Section 7.1 “ADC
Channel Data Output Registers”.
6.3
Reading from the Device
The first data byte read is the one defined by the
address given in the CONTROL byte. After this first
byte is transmitted, if CS pin is maintained low, the
communication continues and the address of the next
transmitted byte is determined by the status of the
READ bits in the STATUS/COM register. Multiple
looping configurations can be defined through the
READ<1:0> bits for the address increment (see
Section 6.6 “SPI MODE 0,0 - Clock Idle Low, Read/
Write Examples”).
6.4
Writing to the Device
The first data byte written is the one defined by the
address
given
in
the
control
byte.
The
write
communication automatically increments the address
for subsequent bytes.
The address of the next transmitted byte within the
same communication (CS stays low) is the next
address defined on the register map. At the end of the
register map, the address loops to the beginning of the
register map. Writing a non-writable register has no
effect.
SDO pin stays high impedance during a write
communication.
6.5
SPI MODE 1,1 - Clock Idle High,
Read/Write Examples
In this SPI mode, the clock idles high. For the
MCP3901 this means that there will be a falling edge
before there is a rising edge.
Note:
Changing from a SPI Mode 1,1 to a SPI
Mode 0,0 is possible but needs a RESET
pulse in between to ensure correct
communication.
A6
A5
A4
A3
A2
A1
A0
R/W
Read
Write Bit
Register
Device
Address Bits
Address
Bits



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


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