參數(shù)資料
型號: PIC16LF1509T-I/SO
廠商: Microchip Technology
文件頁數(shù): 56/123頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 14KB FLASH 20-SOIC
標(biāo)準(zhǔn)包裝: 1,600
系列: PIC® XLP™ 16F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,LIN,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 17
程序存儲器容量: 14KB(8K x 14)
程序存儲器類型: 閃存
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 12x10b,D/A 1x5b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 20-SOIC(0.295",7.50mm 寬)
包裝: 帶卷 (TR)
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.
相關(guān)PDF資料
PDF描述
PIC16LF1527-I/MR MCU PIC 28KB FLASH 64QFN
PIC16LF1783-E/SP IC MCU 8BIT 7KB FLASH 28-SPDIP
PIC16LF1823-I/ST IC MCU 8BIT FLASH 14TSSOP
PIC16LF1827-E/MV MCU 8BIT 4K FLASH 28UQFN
PIC16LF1828-E/P IC MCU 8BIT 7KB FLASH 20PDIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16LF1512-E/MV 功能描述:8位微控制器 -MCU 3.5KB Flash 128B RAM 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 安裝風(fēng)格:SMD/SMT
PIC16LF1512-E/SO 功能描述:8位微控制器 -MCU 3.5KB Flash 128B RAM 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 安裝風(fēng)格:SMD/SMT
PIC16LF1512-E/SP 功能描述:8位微控制器 -MCU 3.5KB Flash 128B RAM 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 安裝風(fēng)格:SMD/SMT
PIC16LF1512-E/SS 功能描述:8位微控制器 -MCU 3.5KB Flash 128B RAM 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 安裝風(fēng)格:SMD/SMT
PIC16LF1512-I/MV 功能描述:8位微控制器 -MCU 3.5KB Flash 128B RAM 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 安裝風(fēng)格:SMD/SMT