60 likes | 73 Views
New Peripherals. Enhanced FLASH PIC16F87X and PIC16F62X. 8K x 14 FLASH Program Memory Typ. 1000 E/W Byte/Word Read/Write at V DD 256 x 8 EEPROM Data Memory Min. 100K E/W 368 x 8 Data Memory (RAM) 33 I/O ports 25mA sink/source 3 Timers 1 - 16-bit 2 - 8-bit 10-bit A/D.
E N D
New Peripherals EnhancedFLASH PIC16F87X and PIC16F62X
8K x 14 FLASH Program Memory Typ. 1000 E/W Byte/Word Read/Write at VDD 256 x 8 EEPROM Data Memory Min. 100K E/W 368 x 8 Data Memory (RAM) 33 I/O ports 25mA sink/source 3 Timers 1 - 16-bit 2 - 8-bit 10-bit A/D Two Capture/Compare/PWMs USART 9-bit addressable High Speed Enhanced SPIä All 4 SPI modes supported Microwire Support Master I2Cä Hardware Write to I2C devices In-Circuit-Serial Programmingä In-Circuit-Debugger Parallel Slave Port PIC16F87X Features at a Glance NEW NEW NEW NEW NEW NEW NEW
18-pin package Up to 2K x 14 FLASH Program Memory Typ. 1000 E/W Byte/Word Read/Write at VDD 128 x 8 EEPROM Data Memory Min. 100K E/W 224 x 8 Data Memory (RAM) 16 I/O ports 25mA sink/source 3 Timers 1 - 16-bit 2 - 8-bit Capture/Compare/PWM USART 9-bit addressable High Speed 2 Comparators In-Circuit-Serial Programmingä Internal RC Oscillator PIC16F62X Features at a Glance NEW NEW NEW
10-Bit A/D Module:Features • PIC16F87X devices have a 10-bit A/D (+/- 1 LSB) • Compatible with 8-bit A/D on PIC16C7X device • ADRES now called ADRESH • New register is added: ADRESL • ADCON0 operates just as in PIC16C7X • There are changes in ADCON1 • A/D conversion between VREF+ and VREF- • Min. differential voltage = 2.0V • Conversion in Sleep • Reduces any A/D corruption due to digital “noise”
10-Bit A/D Module: Left/Right Justification of A/D Result 10-Bit Result ADFM = 1 ADFM = 0 0 7 6 5 7 0 2 1 0 7 7 0 00 0000 0000 00 ADRESH ADRESL ADRESH ADRESL 10-Bit Result 10-Bit Result Left Justified Right Justified
10-Bit A/D:Acquisition, Conversion and Sampling Time A/D Sample Time Acquisition Time Conversion Time Go bit set A/D Channel Selected; A/D Turned ON