PIC16F1934-E/MV Microchip Technology, PIC16F1934-E/MV Datasheet - Page 22

7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE

PIC16F1934-E/MV

Manufacturer Part Number
PIC16F1934-E/MV
Description
7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1934-E/MV

Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC16F
Core
PIC
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
;++++++++++++
;
; MUL_NEWOLD_BY2 - Multiply OldValue and NewSample with 2
;
;
MUL_NEWOLD_BY2 MACRO
ORG 0x0000
; ** interupt routine for data collection
ORG 0x0004
INT
; cold start vector
INIT
DS41375A-page 22
BCF STATUS,C
; divide by 2
RRF NewFilter,F
RRF NewFilter+1,F
RRF NewFilter+2,F
RRF NewFilter+3,F
ENDM
; 10 instructions
; right shift filter value by 1 ( i.e. divide by 2 )
BCF STATUS,C
; multiply old value with 2
RLF OldFilter+3,F
RLF OldFilter+2,F
RLF OldFilter+1,F
RLF OldFilter,F
; multiply new value with 2
BCF STATUS,C
RLF NewSample+3,F
RLF NewSample+2,F
RLF NewSample+1,F
RLF NewSample,F
ENDM
GOTO
; get data from AD
CALL
; for each sample, copy to AD_NewValue
; and call filter once
CALL
RETFIE
; only 'dummy' code here
BCF _AD_DataReady
; Note, this will inilialize the filter to gradually use
; no filtering to 'full' filtering ( increase once for each sample )
;
MOVLW FILTER_WEIGHT
MOVWF FilterCounter
INIT
GET_AD_DATA
TWIST24
; clear carry
; clear carry
; clear carry
; not included !
; clear data ready flag
© 2009 Microchip Technology Inc.

Related parts for PIC16F1934-E/MV