參數(shù)資料
型號(hào): R5F56218BDLE#U0
廠商: Renesas Electronics America
文件頁數(shù): 131/148頁
文件大?。?/td> 0K
描述: MCU 32BIT FLASH 512KROM 145TFLGA
產(chǎn)品培訓(xùn)模塊: RX Compare Match Timer
RX DMAC
標(biāo)準(zhǔn)包裝: 1
系列: RX600
核心處理器: RX
芯體尺寸: 32-位
速度: 100MHz
連通性: CAN,EBI/EMI,I²C,SCI,SPI,USB
外圍設(shè)備: DMA,LVD,POR,PWM,WDT
輸入/輸出數(shù): 103
程序存儲(chǔ)器容量: 512KB(512K x 8)
程序存儲(chǔ)器類型: 閃存
RAM 容量: 96K x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10/12b,D/A 2x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 145-TFLGA
包裝: 托盤
2004 Microchip Technology Inc.
DS39609B-page 81
PIC18F6520/8520/6620/8620/6720/8720
7.3
Reading the Data EEPROM
Memory
To read a data memory location, the user must write the
address to the EEADRH:EEADR register pair, clear the
EEPGD control bit (EECON1<7>), clear the CFGS
control bit (EECON1<6>) and then set the RD control
bit (EECON1<0>). The data is available for the very
next instruction cycle; therefore, the EEDATA register
can be read by the next instruction. EEDATA will hold
this value until another read operation, or until it is
written to by the user (during a write operation).
EXAMPLE 7-1:
DATA EEPROM READ
7.4
Writing to the Data EEPROM
Memory
To write an EEPROM data location, the address must
first be written to the EEADRH:EEADR register pair
and the data written to the EEDATA register. Then the
sequence in Example 7-2 must be followed to initiate
the write cycle.
The write will not initiate if the above sequence is not
exactly followed (write 55h to EECON2, write AAh to
EECON2, then set WR bit) for each byte. It is strongly
recommended that interrupts be disabled during this
code segment.
Additionally, the WREN bit in EECON1 must be set to
enable writes. This mechanism prevents accidental
writes to data EEPROM due to unexpected code
execution (i.e., runaway programs). The WREN bit
should be kept clear at all times, except when updating
the
EEPROM.
The
WREN
bit
is
not
cleared
by hardware
After a write sequence has been initiated, EECON1,
EEADRH, EEADR and EEDATA cannot be modified.
The WR bit will be inhibited from being set unless the
WREN bit is set. Both WR and WREN cannot be set
with the same instruction.
At the completion of the write cycle, the WR bit is
cleared in hardware and the EEPROM Write Complete
Interrupt Flag bit (EEIF) is set. The user may either
enable this interrupt, or poll this bit. EEIF must be
cleared by software.
EXAMPLE 7-2:
DATA EEPROM WRITE
MOVLW
DATA_EE_ADDRH
;
MOVWF
EEADRH
; Upper bits of Data Memory Address to read
MOVLW
DATA_EE_ADDR
;
MOVWF
EEADR
; Lower bits of Data Memory Address to read
BCF
EECON1, EEPGD
; Point to DATA memory
BCF
EECON1, CFGS
; Access EEPROM
BSF
EECON1, RD
; EEPROM Read
MOVF
EEDATA, W
; W = EEDATA
MOVLW
DATA_EE_ADDRH
;
MOVWF
EEADRH
; Upper bits of Data Memory Address to write
MOVLW
DATA_EE_ADDR
;
MOVWF
EEADR
; Lower bits of Data Memory Address to write
MOVLW
DATA_EE_DATA
;
MOVWF
EEDATA
; Data Memory Value to write
BCF
EECON1, EEPGD
; Point to DATA memory
BCF
EECON1, CFGS
; Access EEPROM
BSF
EECON1, WREN
; Enable writes
BCF
INTCON, GIE
; Disable Interrupts
MOVLW
55h
;
Required
MOVWF
EECON2
; Write 55h
Sequence
MOVLW
AAh
;
MOVWF
EECON2
; Write AAh
BSF
EECON1, WR
; Set WR bit to begin write
BSF
INTCON, GIE
; Enable Interrupts
; User code execution
BCF
EECON1, WREN
; Disable writes on write complete (EEIF set)
相關(guān)PDF資料
PDF描述
R5F56218BDFB#V0 MCU 32BIT FLASH 512K ROM 144LQFP
CONN011-R58 CONN N-FEMALE END CRIMP RG-58
MAX9223ETI+T IC SERIALIZER LP 28-TQFN
CONMMCX011-R178 CONN MMCX FEMALE END CRIMP RG178
D38999/26FJ61SB CONN PLUG 61POS STRAIGHT W/SCKT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
R5F562G7ADFP#V1 制造商:Renesas Electronics Corporation 功能描述:RX62G 128K/8K LQFP100 4.0-5.5V CAN - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 32BIT 128KB FLASH 100LQFP 制造商:Renesas Electronics Corporation 功能描述:RX62G Series 32 Bit 128 kB Flash 8 kB RAM 5 V Microcontroller - LQFP-100
R5F562GAADFH#V1 制造商:Renesas Electronics Corporation 功能描述:RX62G 256K/16K LQFP112 4.0-5.5V CAN - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 32BIT 256KB FLASH
R5F562GAADFP#V1 制造商:Renesas Electronics Corporation 功能描述:RX62G 256KB,16KB QFP100 100MHZ 5V - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 32BIT 256KB FLASH 100LQFP 制造商:Renesas Electronics Corporation 功能描述:RX62G Series 32 Bit 256 kB Flash 16 kB RAM 5 V Microcontroller - LQFP-100
R5F562GADDFH#V1 制造商:Renesas Electronics Corporation 功能描述:RX62G 256K/16K LQFP112 4.0-5.5V - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 32BIT 256KB FLASH
R5F562GADDFP#V1 制造商:Renesas Electronics Corporation 功能描述:RX62G 256K/16K LQFP100 4.0-5.5V - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 32BIT 256KB FLASH