PIC16F506T-I/MG Microchip Technology, PIC16F506T-I/MG Datasheet - Page 44
![1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm T/R](/photos/6/90/69062/c04-142_16-qfn_sml.jpg)
PIC16F506T-I/MG
Manufacturer Part Number
PIC16F506T-I/MG
Description
1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm T/R
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC12F510-ISN.pdf
(124 pages)
Specifications of PIC16F506T-I/MG
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
Ram Size
67 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-QFN
Processor Series
PIC16F
Core
PIC
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Details
- Current page: 44 of 124
- Download datasheet (3Mb)
PIC12F510/16F506
6.2.1
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during pro-
gram execution). To avoid an unintended device Reset,
the following instruction sequence (Example 6-1) must
be executed when changing the prescaler assignment
from Timer0 to the WDT.
EXAMPLE 6-1:
FIGURE 6-5:
DS41268D-page 42
CLRWDT
CLRF
MOVLW
OPTION
CLRWDT
MOVLW
OPTION
Comparator
Output
Note 1: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register.
T0CKI
‘00xx1xxx’b
TMR0
‘00xx1111’b ;These 3 lines (5, 6, 7)
Pin
SWITCHING PRESCALER
ASSIGNMENT
2: T0CKI is shared with pin GP2 on the PIC12F510 and shared with RC5 on the PIC16F506.
3: Bit C1T0CS is located in the CM1CON0 register.
(2)
WDT Enable bit
C1T0CS
Watchdog
CHANGING PRESCALER
(TIMER0 → WDT)
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
Timer
T
;Clear WDT
;Clear TMR0 & Prescaler
;are required only if
;desired
;PS<2:0> are 000 or 001
;Set Postscaler to
;desired WDT rate
1
0
CY
(= F
T0SE
(3)
OSC
(1)
/4)
0
1
PSA
M
U
X
(1)
0
1
T0CS
M
U
X
(1)
8-bit Prescaler
0
8-to-1 MUX
Time-Out
To change prescaler from the WDT to the Timer0
module, use the sequence shown in Example 6-2. This
sequence must be used even if the WDT is disabled. A
CLRWDT instruction should be executed before
switching the prescaler.
EXAMPLE 6-2:
8
CLRWDT
MOVLW
OPTION
MUX
WDT
1
0
1
PSA
‘xxxx0xxx’
M
U
X
(1)
PSA
PS<2:0>
(1)
CHANGING PRESCALER
(WDT→TIMER0)
Cycles
;Clear WDT and
;prescaler
;Select TMR0, new
;prescale value and
;clock source
© 2007 Microchip Technology Inc.
Sync
2
(1)
TMR0 Reg
Data Bus
8
Related parts for PIC16F506T-I/MG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F506-I/SL](/photos/6/59/65933/150-14-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 14SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-I/ST](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 14TSSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-I/P](/photos/6/59/65935/150-14-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 14DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-E/ST](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 14TSSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
(PIC12F510 / PIC16F506) 8-Bit Flash Microcontroller
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,14PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-E/SL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,14PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-E/MG](/photos/6/90/69062/c04-142_16-qfn_tmb.jpg)
Part Number:
Description:
1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F506-I/MG](/photos/6/90/69062/c04-142_16-qfn_tmb.jpg)
Part Number:
Description:
1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: