| Electronic Components Datasheet Search |
|
LAN9313 Datasheet(PDF) 118 Page - SMSC Corporation |
|
|
|||||||||||||||||||||||||||||
LAN9313 Datasheet(HTML) 118 Page - SMSC Corporation |
|
118 / 398 page ![]() Three Port 10/100 Managed Ethernet Switch with MII Datasheet Revision 1.2 (04-08-08) 118 SMSC LAN9313/LAN9313i DATASHEET 8.3 SPI/I2C Slave Controller The SPI/I2C slave controller functionality is dependant on the management mode of the LAN9313/LAN9313i. When in MAC/PHY I2C managed modes, the I2C controller is enabled. When in MAC/PHY SPI managed modes, the SPI controller is enabled. The SPI/I2C serial management pins functionality and characteristics differ dependant on the selected modes as summarized in Table 8.9. Details on the various management modes and their configuration settings are provided in Section 2.3, "Modes of Operation," on page 23. 8.4 SPI Slave Operation When in MAC/PHY SPI managed mode, the SPI slave interface is used for CPU management of the LAN9313/LAN9313i. All system CSRs are accessible to the CPU in these modes. SPI mode is selected when the mngt_mode_strap[1:0] inputs are set to 11b. The SPI slave interface supports single register and multiple register read and write commands. Multiple read and multiple write commands support incrementing, decrementing, and static addressing. Input data on the SI pin is sampled on the rising edge of the SCK input clock. Output data is sourced on the SO pin with the falling edge of the clock. The SCK input clock can be either an active high pulse or an active low pulse. When the nSCS chip select input is high, the SI input pin is ignored and the SO output pin is three-stated. A read or write command is started on the first rising edge of the input clock after nSCS goes low. An 8-bit instruction is then driven onto the line followed by an 8-bit register address field. All registers are accessed as DWORDs. Appending two 0 bits to the address field will form the register address. This is followed by one or more 32-bit data fields. All registers are accessed as DWORDs. All instructions, addresses and data are transferred with the most-significant bit (msb) first. Data is transferred with the most-significant byte (MSB) first (little endian). The SPI interface supports up to a 10MHz input clock. A detailed SPI timing diagram is provided in Section 14.5.5, "SPI Slave Timing," on page 393. Table 8.9 SPI / I2C Slave Serial Management Pins Characteristics MODE(S) SI/SDA PIN SO PIN nSCS PIN SCK/SCL PIN MAC/PHY Modes Unmanaged MAC/PHY Modes SMI Managed NOT USED Input disabled Output disabled Pull-up enabled NOT USED Output enabled (driven low) NOT USED Input disabled Pull-up enabled NOT USED Input disabled Pull-up enabled MAC/PHY Modes SPI Managed SI Input to SPI slave Output disabled Pull-up enabled SO Three-state output from SPI slave nSCS Input to SPI slave Pull-up enabled SCK Input to SPI slave Pull-up enabled MAC/PHY Modes I2C Managed SDA Input to I2C slave Open-drain output from I2C slave Pull-up disabled NOT USED Output enabled (driven low) NOT USED Input disabled Pull-up enabled SCL Input to I2C slave Pull-up disabled |
|
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 |
| 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 |