參數(shù)資料
型號(hào): PIC12C509AT-04I/MF
廠(chǎng)商: Microchip Technology
文件頁(yè)數(shù): 36/113頁(yè)
文件大小: 0K
描述: IC MCU OTP 1KX12 8-DFN
標(biāo)準(zhǔn)包裝: 3,300
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設(shè)備: POR,WDT
輸入/輸出數(shù): 5
程序存儲(chǔ)器容量: 1.5KB(1K x 12)
程序存儲(chǔ)器類(lèi)型: OTP
RAM 容量: 41 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 8-VDFN 裸露焊盤(pán)
包裝: 帶卷 (TR)
配用: AC164324-ND - MODULE SKT FOR MPLAB 8DFN/16QFN
XLT08DFN2-ND - SOCKET TRANSITION ICE 14DIP/8DFN
XLT08DFN-ND - SOCKET TRANSITION ICE 8DFN
AC164032-ND - ADAPTER PICSTART PLUS 8DFN/DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
其它名稱(chēng): PIC12C509AT04I/MF
1999 Microchip Technology Inc.
DS40139E-page 29
PIC12C5XX
7.0
EEPROM PERIPHERAL
OPERATION
This
section
applies
to
PIC12CE518
and
PIC12CE519 only.
The PIC12CE518 and PIC12CE519 each have 16
bytes of EEPROM data memory. The EEPROM mem-
ory has an endurance of 1,000,000 erase/write cycles
and a data retention of greater than 40 years. The
EEPROM data memory supports a bi-directional 2-wire
bus and data transmission protocol. These two-wires
are serial data (SDA) and serial clock (SCL), that are
mapped to bit6 and bit7, respectively, of the GPIO reg-
ister (SFR 06h). Unlike the GP0-GP5 that are con-
nected to the I/O pins, SDA and SCL are only
connected to the internal EEPROM peripheral.
For
most applications, all that is required is calls to the fol-
lowing functions:
; Byte_Write: Byte write routine
;
Inputs: EEPROM Address
EEADDR
;
EEPROM Data
EEDATA
;
Outputs:
Return 01 in W if OK, else
return 00 in W
;
; Read_Current: Read EEPROM at address
currently held by EE device.
;
Inputs: NONE
;
Outputs:
EEPROM Data
EEDATA
;
Return 01 in W if OK, else
return 00 in W
;
; Read_Random: Read EEPROM byte at supplied
address
;
Inputs: EEPROM Address
EEADDR
;
Outputs:
EEPROM Data
EEDATA
;
Return 01 in W if OK,
else return 00 in W
The code for these functions is available on our website
www.microchip.com. The code will be accessed by
either including the source code FL51XINC.ASM or by
linking FLASH5IX.ASM.
It is very important to check the return codes when
using these calls, and retry the operation if unsuccess-
ful. Unsuccessful return codes occur when the EE data
memory is busy with the previous write, which can take
up to 4 mS.
7.0.1
SERIAL DATA
SDA is a bi-directional pin used to transfer addresses
and data into and data out of the device.
For normal data transfer SDA is allowed to change only
during SCL low. Changes during SCL high are
reserved for indicating the START and STOP condi-
tions.
The EEPROM interface is a 2-wire bus protocol con-
sisting of data (SDA) and a clock (SCL).
Although
these lines are mapped into the GPIO register, they are
not accessible as external pins; only to the internal
EEPROM peripheral. SDA and SCL operation is also
slightly different than GPO-GP5 as listed below.
Namely, to avoid code overhead in modifying the TRIS
register, both SDA and SCL are always outputs. To
read data from the EEPROM peripheral requires out-
putting a ‘1’ on SDA placing it in high-Z state, where
only the internal 100K pull-up is active on the SDA line.
SDA:
Built-in 100K (typical) pull-up to VDD
Open-drain (pull-down only)
Always an output
Outputs a ‘1’ on reset
SCL:
Full CMOS output
Always an output
Outputs a ‘1’ on reset
The following example requires:
Code Space: 77 words
RAM Space: 5 bytes (4 are overlayable)
Stack Levels:1 (The call to the function itself. The
functions do not call any lower level functions.)
Timing:
- WRITE_BYTE takes 328 cycles
- READ_CURRENT takes 212 cycles
- READ_RANDOM takes 416 cycles.
IO Pins: 0 (No external IO pins are used)
This code must reside in the lower half of a page. The
code achieves it’s small size without additional calls
through the use of a sequencing table. The table is a
list of procedures that must be called in order. The
table uses an ADDWF PCL,F instruction, effectively a
computed goto, to sequence to the next procedure.
However the ADDWF PCL,F instruction yields an 8 bit
address, forcing the code to reside in the first 256
addresses of a page.
相關(guān)PDF資料
PDF描述
PIC24F08KL301-I/SS IC MCU 16BIT 8KB FLASH 20-SSOP
PIC18LF1220T-I/ML IC MCU FLASH 2KX16 EEPROM 28QFN
PIC18LF1220T-I/SO IC MCU FLASH 2KX16 EEPROM 18SOIC
PIC16F716-I/SS IC PIC MCU FLASH 2KX14 20SSOP
PIC18F1320T-E/ML IC MCU FLASH 4KX16 EEPROM 28QFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12C509T 制造商:MICROCHIP 制造商全稱(chēng):Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller
PIC12C509T-04/EJW 制造商:MICROCHIP 制造商全稱(chēng):Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C509T-04/EP 制造商:MICROCHIP 制造商全稱(chēng):Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C509T-04/ESM 制造商:MICROCHIP 制造商全稱(chēng):Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C509T-04/ESN 制造商:MICROCHIP 制造商全稱(chēng):Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers