Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ADBMS6830BCSWZ Datasheet(PDF) 42 Page - Analog Devices

Part # ADBMS6830BCSWZ
Description  16-Channel Multicell Battery Monitor
PDF  83 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADBMS6830BCSWZ Datasheet(HTML) 42 Page - Analog Devices

Back Button ADBMS6830BCSWZ Datasheet HTML 38Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 39Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 40Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 41Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 42Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 43Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 44Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 45Page - Analog Devices ADBMS6830BCSWZ Datasheet HTML 46Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 83 page
background image
Data Sheet
ADBMS6830B
I2C/SPI MASTER USING GPIOS
analog.com
Rev. 0 | 42 of 83
The I/O ports GPIO3, GPIO4, and GPIO5 on the ADBMS6830B can
be used as an I2C or SPI master port to communicate to an I2C or
SPI slave. In the case of an I2C master, GPIO4 and GPIO5 form the
SDA and SCL ports of the I2C interface, respectively. In the case of
an SPI master, GPIO3, GPIO4, and GPIO5 are the CSBM, SDIOM,
and SCKM ports of the SPI, respectively. The SPI master on the
ADBMS6830B supports SPI Mode 3 (CPHA = 1, CPOL = 1).
The GPIOs are open-drain outputs. Therefore, an external pull-up
resistor is required on these ports to operate as an I2C or SPI mas-
ter. It is also important to write the GPO bits to 1 in Configuration
Register Group A so that these ports are not pulled low internally by
the device.
COMM REGISTER
The ADBMS6830B has a 6-byte COMM register, as shown in
Table 32. This register stores all data and control bits required
for I2C or SPI communication to a slave. The COMM register
contains three bytes of data Dx[7:0] to be transmitted to or received
from the slave device. ICOMx[3:0] specify control actions before
transmitting/receiving each data byte. FCOMx[3:0] specify control
actions after transmitting/receiving each data byte.
If the ICOMx[3] bit in the COMM register is set to 1, the device is an
SPI master, and if the bit is set to 0, the device is an I2C master.
Table 33 describes the valid write codes for ICOMx[3:0] and
FCOMx[3:0] and their behavior when using the device as an I2C
master.
Table 34 describes the valid write codes for ICOMx[3:0] and
FCOMx[3:0] and their behavior when using the device as a SPI
master.
Note that only the codes listed in Table 33 and Table 34 are valid
for ICOMx[3:0] and FCOMx[3:0]. Writing any other code that is not
listed in Table 33 and Table 34 to ICOMx[3:0] and FCOMx[3:0] may
result in unexpected behavior on the I2C or SPI port.
Table 32. COMM Register Memory Map
Register RD/WR Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
COMM0
RD/WR ICOM0[3]
ICOM0[2]
ICOM0[1]
ICOM0[0]
FCOM0[3]
FCOM0[2]
FCOM0[1]
FCOM0[0]
COMM1
RD/WR D0[7]
D0[6]
D0[5]
D0[4]
D0[3]
D0[2]
D0[1]
D0[0]
COMM2
RD/WR ICOM1[3]
ICOM1[2]
ICOM1[1]
ICOM1[0]
FCOM1[3]
FCOM1[2]
FCOM1[1]
FCOM1[0]
COMM3
RD/WR D1[7]
D1[6]
D1[5]
D1[4]
D1[3]
D1[2]
D1[1]
D1[0]
COMM4
RD/WR ICOM2[3]
ICOM2[2]
ICOM2[1]
ICOM2[0]
FCOM2[3]
FCOM2[2]
FCOM2[1]
FCOM2[0]
COMM5
RD/WR D2[7]
D2[6]
D2[5]
D2[4]
D2[3]
D2[2]
D2[1]
D2[0]
Table 33. Write Codes for ICOMx[3:0] and FCOMx[3:0] on I2C Master
Control Bits
Code
Action
Description
ICOMx[3:0]
0110
Start
Generates a start signal on the I2C port followed by data transmission
0001
Stop
Generates a stop signal on the I2C port
0000
Blank
Proceeds directly to data transmission on I2C port
0111
No transmit
Releases SDA and SCL and ignores the rest of the data
FCOMx[3:0]
0000
Master acknowledge
Master generates an acknowledge signal on the ninth clock cycle
1000
Master no acknowledge
Master generates a no acknowledge signal on the ninth clock cycle
1001
Master no acknowledge and stop
Master generates a no acknowledge signal followed by a stop signal
Table 34. Write Codes for ICOMx[3:0] and FCOMx[3:0] on SPI Master
Control Bits
Code
Action
Description
ICOMx[3:0]
1000
CSBM low
Generates a CSBM low signal on SPI port (GPIO3)
1010
CSBM falling edge
Drives CSBM (GPIO3) high, then low
1001
CSBM high
Generates a CSBM high signal on SPI port (GPIO3)
1111
No transmit
Releases the SPI port and ignores the rest of the data
FCOMx[3:0]
X000
CSBM low
Holds CSBM low at the end of the byte transmission
1001
CSBM high
Transitions CSBM high at the end of the byte transmission



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


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