PIC16F1937-E/ML Microchip Technology, PIC16F1937-E/ML Datasheet - Page 15
![IC PIC MCU FLASH 512KX14 44-QFN](/photos/6/81/68122/150-44-qfn_sml.jpg)
PIC16F1937-E/ML
Manufacturer Part Number
PIC16F1937-E/ML
Description
IC PIC MCU FLASH 512KX14 44-QFN
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets
1.PIC16F722-ISS.pdf
(8 pages)
2.PIC16LF1933-ISS.pdf
(508 pages)
3.PIC16LF1933-ISS.pdf
(46 pages)
4.PIC16F1936-ISS.pdf
(2 pages)
5.PIC16F1936-ISS.pdf
(10 pages)
6.PIC16F1936-ISS.pdf
(40 pages)
7.PIC16F1936-ISS.pdf
(30 pages)
8.PIC16F1936-ISS.pdf
(12 pages)
9.PIC16LF1934-IML.pdf
(418 pages)
Specifications of PIC16F1937-E/ML
Program Memory Type
FLASH
Program Memory Size
14KB (8K x 14)
Package / Case
44-QFN
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
Eeprom Size
256 x 8
Ram Size
512 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
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART/MI2C/SPI
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
36
Number Of Timers
5
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
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Fast
Using the BRW instruction combined with RETLW will
assure that all instruction fetches take 4 cycles plus the
initial call. The traditional methods can also run this fast
if the data table is located to prevent problems with the
program memory page size.
If CALL
separated by a page boundary, the PAGESEL is not
required to assure the CALL can reach. This method
never requires the data_table be aligned to any
memory
requirement makes BRW very easy to use. This method
of table access requires 6 or 7 cycles, depending on the
presence of PAGESEL.
Fast
The CALLW instruction can be used to access data
tables anywhere in memory for a fixed 6-cycle time.
CALLW is a new instruction intended to make function
pointers more efficient. In addition to its intended func-
tion, CALLW can also be used to prepare tables of data.
CALLW works by concatenating the value in W with the
value in PCLATH and “calling” the resulting address.
Locating the block of RETLW instructions on a 256-word
boundary (low address byte as zero) allows a CALLW to
retrieve the data. This can be a very fast table lookup.
© 2009 Microchip Technology Inc.
code
data_table
RETLW
RETLW
BRW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
MOVLW
PAGESEL
CALL
data_table and data_table are not
address.
Tables with
Tables with
‘m’
‘y’
‘ ‘
‘d’
‘a’
‘t’
‘a’
data_index
data_table
data_table
Eliminating
BRW
CALLW
the
alignment
This method takes 6 cycles to retrieve any data.
Example
A complete code example is shown in Appendix B:
“IIR Filter Conversion Example”. In this example, an
IIR function downloaded from the internet is converted
to use the enhanced PIC12/16 features. The resulting
code runs nearly twice as fast.
code
data_table
MOVLP
MOVLW
CALLW
ORG
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
HIGH data_table
data_index
0x??00
‘m’
‘y’
‘ ‘
‘d’
‘a’
‘t’
‘a’
0
DS41375A-page 15