LSISASX12 LSI, LSISASX12 Datasheet - Page 255

no-image

LSISASX12

Manufacturer Part Number
LSISASX12
Description
Manufacturer
LSI
Datasheet

Specifications of LSISASX12

Lead Free Status / Rohs Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LSISASX12A
Manufacturer:
LSILOGIC
Quantity:
5 510
Part Number:
LSISASX12A
Manufacturer:
LT
Quantity:
5 510
Appendix B
Example Code for
API2C Interface and
Serial EEPROM
The following code examples demonstrate how to initialize the API2C
interface, read from the serial EEPROM, and write to the serial
EEPROM. The read and write examples perform a 32-byte page read
and 32-byte page write. This code assumes the use of a serial EEPROM
that supports 16-bit addressing and is able to write a 32-byte page.
B.1 Initialize API2C Interface
This section provides example code for initializing the API2C interface.
// reset
write(SOFT_RESET, 0x1);
do {
temp = read(SOFT_RESET);
} while (temp & 0x1);
// Flush TX FIFO
write(MASTER_COMMAND, 0x7);
write(MASTER_COMMAND, 0xF);
// Enable Master
write(GLOBAL_CONTROL, 0x1);
// Enable Master Interrupt
write(INTERRUPT_ENABLE, 0x1);
// Enable individual interrupt sources
write(MASTER_INTERRUPT_ENABLE, 0xFFF0);
// Set the clock timings
write(SCL_HIGH_PERIOD, 0x0176);
write(SCL_LOW_PERIOD, 0x0176);
write(SDA_SETUP_TIME, 0x002D);
write(SDA_HOLD_TIME, 0x0026);
write(SPIKE_FILTER_CONTROL, 0x0005);
LSISASx12/LSISASx12A 3.0 Gbit/s SAS/SATA Expander Technical Manual B-1
Copyright © 2004, 2005 by LSI Logic Corporation. All rights reserved.

Related parts for LSISASX12