datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

CS5376 View Datasheet(PDF) - Cirrus Logic

Part Name
Description
MFG CO.
CS5376 Datasheet PDF : 122 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
CS5376
CS5376 initiates multiple data read transactions to
complete the command.
The CS5376 initiates a command read transaction
by pulling the CS11 / GPIO11 pin low to act as the
EEPROM chip select. It then writes serial clocks to
the SCK1 pin, writes the SPI readopcode and EE-
PROM address to the MOSI pin, and reads the re-
turned command value from the MISO pin. All
MOSI and MISO data are shifted MSB first, with
data valid on the rising edge of SCK1 and transi-
tioning on the falling edge.
Data Read Transactions
A CS5376 to EEPROM data read transaction reads
a 3-byte data word from EEPROM memory. It re-
quires a 6-byte serial transaction to complete: a 1-
byte SPI readopcode (0x03), a 2-byte EEPROM
address, and the returned 3-byte data value. De-
pending on the command type, the CS5376 initiates
multiple data reads to complete it.
The CS5376 initiates a data read transaction by
pulling the CS11 / GPIO11 pin low to act as the
EEPROM chip select. It then writes serial clocks to
the SCK1 pin, writes the SPI readopcode and EE-
PROM address to the MOSI pin, and reads the re-
turned data value from the MISO pin. All MOSI
and MISO data are shifted MSB first, with data val-
id on the rising edge of SCK1 and transitioning on
the falling edge.
5.3 SPI 1 Coprocessor Mode
In coprocessor mode the CS5376 operates as an
SPI slave. A microcontroller or other SPI bus mas-
ter initiates serial transactions to the SPI 1 port to
write configuration information and start the digital
filters. Coprocessor mode is the most flexible
method of configuring the CS5376 since it permits
real time changes to the measurement setup.
The CS5376 digital filters and embedded test func-
tions are configured by writing command and data
values to the decimation engine. The decimation
engine is not directly addressable through the SPI 1
port, but instead the command and data values are
written indirectly through a set of SPI 1 registers.
Available SPI 1 coprocessor mode commands can
read or write the decimation engine registers, write
digital filter coefficients, write test bit stream data,
and enable or disable the digital filters.
5.3.1 SPI 1 Registers
Coprocessor mode commands are invoked by writ-
ing command and data values to a set of SPI 1 reg-
isters. The SPI1CTRL, SPI1CMD, SPI1DAT1, and
SPI1DAT2 registers are 24-bit registers mapped
into an 8-bit register space as high, mid, and low
bytes.
SPI 1 registers are separate from decimation engine
registers, with only SPI 1 registers directly addres-
sable by a microcontroller or other SPI bus master.
Decimation engine registers are read or written
with the Read Registeror Write RegisterSPI 1
commands.
Name
SPI1CTRLH
SPI1CMDH
SPI1DAT1H
SPI1DAT2H
Addr.
00 - 02
03 - 05
06 - 08
09 - 0B
Type
R/W
R/W
R/W
R/W
# Bits
8, 8, 8
8, 8, 8
8, 8, 8
8, 8, 8
Description
SPI 1 Control Register
DE <-> SPI 1 Command
DE <-> SPI 1 Data 1
DE <-> SPI 1 Data 2
Figure 14. SPI 1 Register Space
DS256PP1
27

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]