130 likes | 234 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
Enhanced CCP Module • Capture and Compare Modes: • The same as existing CCP Module. • New PWM Modes: • Single output • Dual outputs • Quad outputs
Enhanced CCP Module • Single Output Mode: • PA output running in PWM mode. • Similar to existing CCP in PWM mode. • Selectable active high or active low output. • Application examples: • To create a low frequency D/A converter. • To drive a single power switch.
Enhanced CCP Module • Dual Output Mode: • PA output running in PWM Mode. • PB output is complementary of PA. • Dead-band control: • To accommodate turn-off delay of one switch before turning on the other. • Programmable 0-255 times 4xTosc. • Independently selectable active high or active low outputs.
Dead Time PWM TD TP TDC TD = Dead Time [Dual Output Mode Only] TDC = Duty Cycle Time TP = Period Time
Enhanced CCP Module • Application Examples for Dual Output Mode: • Half-bridge • Full-bridge with all four switches modulated at PWM frequency
PWM Dual Output Mode Half Bridge Example PA PIC16C717 PIC16C770 PIC16C771 FET DRIVER LOAD PB
FET DRIVER PWM Dual Output Mode Full Bridge Example VHIGH PA PA PIC16C717 PIC16C770 PIC16C771 PIC16C717 PIC16C770 PIC16C771 MOTOR FET DRIVER FET DRIVER PB PB
Enhanced CCP Module • Quad Output Mode: • PB or PD output modulated. • PC or PA output is active. • Independently selectable active high or active low output pairs. • Application Examples: • Full-bridge where only one switch is modulated at PWM frequency to minimize switching losses.
PWM Quad Output Mode Example VHIGH PA PB PC PD A C PIC16C717 PIC16C770 PIC16C771 MOTOR FET DRIVER FET DRIVER B D