參數(shù)資料
型號: PIC16F1508-E/SO
廠商: Microchip Technology
文件頁數(shù): 56/123頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 7KB FLASH 20-SOIC
標準包裝: 38
系列: PIC® XLP™ 16F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,LIN,SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 17
程序存儲器容量: 7KB(4K x 14)
程序存儲器類型: 閃存
RAM 容量: 256 x 8
電壓 - 電源 (Vcc/Vdd): 2.3 V ~ 5.5 V
數(shù)據(jù)轉換器: A/D 12x10b,D/A 1x5b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 125°C
封裝/外殼: 20-SOIC(0.295",7.50mm 寬)
包裝: 管件
Micrel, Inc.
KSZ8873MLLJ
September 2011
38
M9999-091911-1.8
SPI Slave Serial Bus Configuration
In managed mode, the KSZ8873MLLJ can be configured as a SPI slave device. In this mode, a SPI master device
(external controller/CPU) has complete programming access to the KSZ8873MLLJ’s 198 registers. Programming access
includes the Global Registers, Port Registers, Advanced Control Registers and indirect access to the “Static MAC Table”,
“VLAN Table”, “Dynamic MAC Table” and “MIB Counters”. The tables and counters are indirectly accessed via registers
121 to 131.
The KSZ8873MLLJ supports two standard SPI commands: ‘0000_0011’ for data read and ‘0000_0010’ for data write. SPI
multiple read and multiple write are also supported by the KSZ8873MLLJ to expedite register read back and register
configuration, respectively.
SPI multiple read is initiated when the master device continues to drive the KSZ8873MLLJ SPISN input pin (SPI Slave
Select signal) low after a byte (a register) is read. The KSZ8873MLLJ internal address counter increments automatically
to the next byte (next register) after the read. The next byte at the next register address is shifted out onto the
KSZ8873MLLJ SPIQ output pin. SPI multiple read continues until the SPI master device terminates it by de-asserting the
SPISN signal to the KSZ8873MLLJ.
Similarly, SPI multiple write is initiated when the master device continues to drive the KSZ8873MLLJ SPISN input pin low
after a byte (a register) is written. The KSZ8873MLLJ internal address counter increments automatically to the next byte
(next register) after the write. The next byte that is sent from the master device to the KSZ8873MLLJ SDA input pin is
written to the next register address. SPI multiple write continues until the SPI master device terminates it by de-asserting
the SPISN signal to the KSZ8873MLLJ.
For both SPI multiple read and multiple write, the KSZ8873MLLJ internal address counter wraps back to register address
zero once the highest register address is reached. This feature allows all 198 KSZ8873MLLJ registers to be read, or
written with a single SPI command from any initial register address.
The KSZ8873MLLJ is capable of supporting a SPI bus.
The following is a sample procedure for programming the KSZ8873MLLJ using the SPI bus:
1. At the board level, connect the KSZ8873MLLJ pins as follows:
KSZ8873MLLJ Pin #
KSZ8873MLLJ Signal Name
External Processor Signal Description
40
SPISN
SPI Slave Select
42
SCL
(SPIC)
SPI Clock
43
SDA
(SPID)
SPI Data
(Master output; Slave input)
39
SPIQ
SPI Data
(Master input; Slave output)
Table 9. SPI Connections
2. Enable SPI slave mode by setting the KSZ8873MLLJ strap-in pins P2LED[1:0] to “10”.
3. Power up the board and assert reset to the KSZ8873MLLJ.
4. Configure the desired register settings in the KSZ8873MLLJ, using the SPI write or multiple write command.
5. Read back and verify the register settings in the KSZ8873MLLJ, using the SPI read or multiple read command.
Some of the configuration settings, such as “Aging enable”, “Auto Negotiation Enable”, “Force Speed” and “Power down” can
be programmed after the switch has been started.
The following four figures illustrate the SPI data cycles for “Write”, “Read”, “Multiple Write” and “Multiple Read”. The read data is
registered out of SPIQ on the falling edge of SPIC, and the data input on SPID is registered on the rising edge of SPIC.
相關PDF資料
PDF描述
MS27473T14B37SA CONN PLUG 37POS STRAIGHT W/SCKT
PIC16LF1508-E/SO IC MCU 8BIT 7KB FLASH 20-SOIC
VE-J4M-IW-F4 CONVERTER MOD DC/DC 10V 100W
PIC16LF1509-E/ML IC MCU 8BIT 14KB FLASH 20-QFN
MS27508E18A53P CONN RCPT 53POS BOX MNT W/PINS
相關代理商/技術參數(shù)
參數(shù)描述
PIC16F1508-I/ML 功能描述:8位微控制器 -MCU 7KB FLASH 256B RAM 18 I/O 10-BIT ADC RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16F1508-I/P 功能描述:8位微控制器 -MCU 7KB FLASH 256B RAM 18 I/O 10-BIT ADC 3V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16F1508-I/SO 功能描述:8位微控制器 -MCU 7KB FLASH 256B RAM 18 I/O 10-BIT ADC 3V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16F1508-I/SS 功能描述:8位微控制器 -MCU 7KB FLASH 256B RAM 18 I/O 10-BIT ADC 3V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16F1508T-E/SS 制造商:Microchip Technology Inc 功能描述:PIC16 Series 256 B RAM 7 KB Flash 8-Bit CMOS Microcontroller - SSOP-20