PIC16F506T-I/SL Microchip Technology, PIC16F506T-I/SL Datasheet

no-image

PIC16F506T-I/SL

Manufacturer Part Number
PIC16F506T-I/SL
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F506T-I/SL

Rohs Compliant
YES
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
14-SOIC (3.9mm Width), 14-SOL
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
67 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 3 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F506T-I/SL
Manufacturer:
ROHM
Quantity:
400 000
Part Number:
PIC16F506T-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
This document includes the
programming specifications for the
following devices:
• PIC16F506
1.0
The PIC16F506 is programmed using a serial method.
The Serial mode will allow the PIC16F506 to be
programmed while in the user’s system. This allows for
increased
specification applies to PIC16F506 devices in all
packages.
FIGURE 1-1:
 2010 Microchip Technology Inc.
PDIP, SOIC, TSSOP
16-Pin QFN Diagram
PROGRAMMING THE
PIC16F506
design
flexibility.
RB4/OSC2/CLKOUT
PIN DIAGRAMS
Memory Programming Specification
RB4/OSC2/CLKOUT
RB5/OSC1/CLKIN
RB5/OSC1/CLKIN
RB3/MCLR/V
MCLR/V
RC5/T0CKI
RC4/C2OUT
RC5/T0CKI
This
PP
/RB3
RC3
V
PP
DD
programming
1
4
2
3
16
5
1
2
3
4
5
6
7
15
6
14
7
13
14
13
12
11
10
12
10
8
11
9
8
9
1.1
The PIC16F506 requires one power supply for V
one for V
1.2
The Program/Verify mode for the PIC16F506 allows
programming of user program memory, user ID
locations,
Configuration Word.
PIC16F506
RB0/C1IN+/AN0/ICSPDAT
RC0/C2IN+
Hardware Requirements
Program/Verify Mode
V
RB0/ICSPDAT/C1IN+/AN0
RB1/ICSPCLK/C1IN-/AN1
RB2/C1OUT/AN2
RC0/C2IN+
RC1/C2IN-
RC2/CV
RB1/C1IN-/AN1/ICSPCLK
RB2/C1OUT/AN2
PP
SS
.
backup
REF
OSCCAL
location
DS41258C-page 1
and
DD
and
the

Related parts for PIC16F506T-I/SL

PIC16F506T-I/SL Summary of contents

Page 1

... RB5/OSC1/CLKIN RB4/OSC2/CLKOUT MCLR/V PP RC5/T0CKI RC4/C2OUT 16-Pin QFN Diagram RB5/OSC1/CLKIN RB4/OSC2/CLKOUT RB3/MCLR/V RC5/T0CKI  2010 Microchip Technology Inc. PIC16F506 1.1 Hardware Requirements The PIC16F506 requires one power supply for V one for 1.2 Program/Verify Mode The Program/Verify mode for the PIC16F506 allows programming of user program memory, user ID locations, Configuration Word ...

Page 2

... Table 6-1) needs to be applied to the MCLR input. PP DS41258C-page 2 During Programming Pin Type Pin Description I Clock input – Schmitt Trigger input I/O Data input/output – Schmitt Trigger input (1) P Program Mode Select P Power Supply P Ground  2010 Microchip Technology Inc. ...

Page 3

... Configuration Word from the logical address within the hex file and translate the address to the proper physical location for the part in use.  2010 Microchip Technology Inc. 2.4 Oscillator Calibration Bits The oscillator Calibration bits are stored at the Reset vector as the operand of a MOVLW instruction ...

Page 4

... Figure 3-3. The commands that are available are described in Table 3-1. Mapping (MSb … LSb SET 1) times with respect to the falling edge 2 measured DLY DLY must be delayed. DIS Data 0, data (14 data (14 Externally Timed Internally Timed 0 1  2010 Microchip Technology Inc. 2 ...

Page 5

... MSbs of the 14-bit word will be read as ‘0’s. If the program memory is code-protected (CP = 0), portions of the program memory will be read as zeros. See Section 5.0 “Code Protection” for details. FIGURE 3-3: READ DATA FROM PROGRAM MEMORY COMMAND ICSPCLK ICSPDAT T 1 SET  2010 Microchip Technology Inc DLY LSb strt_bit ...

Page 6

... End PROG Programming command. This command programs the current location, no erase is performed. FIGURE 3-5: BEGIN PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK 0 ICSPDAT DS41258C-page SET T 1 HLD SET HLD 2 DLY Next Command 1 2 PROG End Programming Command  2010 Microchip Technology Inc. ...

Page 7

... OSCCAL bits into computer/ programmer temporary memory. 2. Enter Program/Verify mode set to Configuration Word address. 3. Perform a Bulk Erase Program Memory command. 4. Wait T to complete Bulk Erase. ERA 5. Restore OSCCAL bits. 6. Restore backup OCCAL bits.  2010 Microchip Technology Inc ...

Page 8

... Program Memory Space First User ID Location E Legend Erased Unaffected FIGURE 3-7: BULK ERASE PROGRAM MEMORY COMMAND 1 2 ICSPCLK 1 ICSPDAT T 1 SET T HLD DS41258C-page 8 Configuration Memory Space Configuration Reset Vector Word Backup User ID OSCCAL ERA Next Command 1 2  2010 Microchip Technology Inc. ...

Page 9

... FIGURE 3-8: READING AND TEMPORARY SAVING OF THE OSCCAL CALIBRATION BITS  2010 Microchip Technology Inc. Start Enter Programming Mode No Increment PC = 0x3FF? Address Yes Read Calibration Bits and Save in Computer/Programmer Temp. Memory No Increment PC = 0x404? Address Yes Read Backup OSCCAL Calibration Bits and Save in Computer/Programmer Temp ...

Page 10

... Bits from Computer/Programmer Temp. Memory Write Calibration Bits back as the operand of a MOVLW instruction to 0x3FF 0x404? Yes Read Backup OSCCAL Calibration Bits from Computer/Programmer Temp. Memory Write Backup OSCCAL Bits back to 0x404 Exit Programming Mode Done  2010 Microchip Technology Inc. ...

Page 11

... All Programming Address Locations Command Done? Yes Exit Programming Mode Restore OSCCAL bits ( Figure 3-9 Program Configuration Memory Figure 3-11 ( Done  2010 Microchip Technology Inc. ) Report No Programming Failure ) ) PIC16F506 PROGRAM CYCLE Load Data for Program Memory Begin Programming Command (Externally timed) ...

Page 12

... Command One-Word Programming Cycle (see Figure 3-10) DS41258C-page 12 Programs Configuration Word Report Programming Failure Programs User IDs Read Data Command Report Data No Programming Correct? Failure Yes Increment Address Command No Address = 0x404? Yes Exit Programming Mode Done  2010 Microchip Technology Inc. ...

Page 13

... PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD Start Read and save OSCCAL bits Figure 3 Enter Program/Verify mode PC = 0x7FF (Config Word)  2010 Microchip Technology Inc. PIC16F506 Bulk Erase Device Wait T ERA Restore OSCCAL Bits ( Figure 3-9 ) Exit Programming Mode Done ...

Page 14

... PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD AND USER ID Start Increment PC DS41258C-page 14 Read and save OSCCAL bits Figure 3 Enter Program/Verify mode PC = 0x7FF (Config Word 0x400? (First User ID) Yes Bulk Erase Device OSCCAL bits Wait T ERA Exit Programming Restore Figure 3 Mode Done  2010 Microchip Technology Inc. ...

Page 15

... EC oscillator with RB4 function on RB4/OSC2/CLKOUT 100 = INTOSC with RB4 function on RB4/OSC2/CLKOUT 101 = INTOSC with CLKOUT function on RB4/OSC2/CLKOUT 110 = EXTRC with RB4 function on RB4/OSC2/CLKOUT 111 = EXTRC with CLKOUT function on RB4/OSC2/CLKOUT  2010 Microchip Technology Inc. — IOSCFS MCLRE CP WDTE U = Unimplemented bit, read as ‘0’ ...

Page 16

... The following table describes how to calculate the checksum for each device. Note: The depending on the code-protect setting. Memory The Configuration Word and ID locations can always be read regardless of the code-protect settings. code, the be issued. a hex file, user ID checksum calculation differs  2010 Microchip Technology Inc. ...

Page 17

... For example, ID0 = 0x1, ID1 = 0x2, ID2 = 0x3, ID3 = 0x4, then SUM_ID = 0x1234. *Checksum = [Sum of all the individual expressions] MODULO [0xFFFF] Addition & = Bitwise AND Note 1: Checksum shown assumes that SUM_ID contains the unprotected checksum.  2010 Microchip Technology Inc. PIC16F506 (1) Blank Checksum* 0xEC80 ...

Page 18

... DD 40°C A 4.5V  V 5.5V DD Conditions/ Max. Units Comments 5.5 V 5.5 V 0.5 mA 0.5 mA 13.5 V 0.45 mA s 1.0 s — — — ns s — — ns — ns s — s — ( ( s — — ms  2010 Microchip Technology Inc. ...

Page 19

... REVISION HISTORY Revision C (02/2010) Revised Section 1.1; Added QFN pin diagram; Revised Note 1, Table 1-1; Revised Section 3.1, 1st para; Added Revision History.  2010 Microchip Technology Inc. PIC16F506 DS41258C-page 19 ...

Page 20

... PIC16F506 NOTES: DS41258C-page 20  2010 Microchip Technology Inc. ...

Page 21

... PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 22

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350  2010 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords