PIC12HV609-E/MS Microchip Technology, PIC12HV609-E/MS Datasheet - Page 34

no-image

PIC12HV609-E/MS

Manufacturer Part Number
PIC12HV609-E/MS
Description
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 MSOP 3x3mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12HV609-E/MS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
5
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Processor Series
PIC12H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
64 B
Interface Type
RS- 232 , USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
5
Number Of Timers
2
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
PIC12F609/615/617/12HV609/615
An example of the complete four-word write sequence
is shown in Example 3-2. The initial address is loaded
into the PMADRH and PMADRL register pair; the eight
words of data are loaded using indirect addressing.
EXAMPLE 3-2:
DS41302D-page 34
LOOP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This write routine assumes the following:
;
;
;
;
BANKSEL
MOVF
MOVWF
MOVF
MOVWF
MOVF
MOVWF
MOVF
MOVWF
INCF
MOVF
MOVWF
INCF
BANKSEL
BSF
BCF
BTFSC
GOTO
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
MOVLW
MOVWF
MOVLW
MOVWF
BSF
NOP
NOP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
BCF
BSF
BANKSEL
MOVF
INCF
ANDLW
SUBLW
BTFSS
GOTO
A valid starting address (the least significant bits = '00')
is loaded in ADDRH:ADDRL
ADDRH, ADDRL and DATADDR are all located in data memory
WRITING TO FLASH PROGRAM MEMORY
PMADRH
ADDRH,W
PMADRH
ADDRL,W
PMADRL
DATAADDR,W
FSR
INDF,W
PMDATL
FSR,F
INDF,W
PMDATH
FSR,F
PMCON1
PMCON1,WREN ; Enable writes
INTCON,GIE
INTCON,GIE
$-2
55h
PMCON2
0AAh
PMCON2
PMCON1,WR
PMCON1,WREN ; Disable writes
INTCON,GIE
PMADRL
PMADRL, W
PMADRL,F
0x03
0x03
STATUS,Z
LOOP
; Load initial address
;
;
;
; Load initial data address
;
; Load first data byte into lower
;
; Next byte
; Load second data byte into upper
;
;
; Disable interrupts (if using)
; See AN576
; Start of required write sequence:
; Write 55h
;
; Write 0AAh
; Set WR bit to begin write
; Required to transfer data to the buffer
; registers
; Enable interrupts (comment out if not using interrupts)
; Increment address
; Indicates when sixteen words have been programmed
;
;
;
;
; Exit on a match,
; Continue if more data needs to be written
Required Sequence
0x0F = 16 words
0x0B = 12 words
0x07 = 8 words
0x03 = 4 words
 2010 Microchip Technology Inc.

Related parts for PIC12HV609-E/MS