PIC16F1507-I/SS Microchip Technology, PIC16F1507-I/SS Datasheet

3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE

PIC16F1507-I/SS

Manufacturer Part Number
PIC16F1507-I/SS
Description
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F1507-I/SS

Processor Series
PIC16
Core
PIC16F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
3.5 KB
Data Ram Size
128 B
Interface Type
ICSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SSOP-20
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 85 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
-
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
-
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1507-I/SS
Manufacturer:
MICROCHIP
Quantity:
5 000
Part Number:
PIC16F1507-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F1507-I/SS
0
Configurable Logic Cell (CLC)
Configuration Tool
User’s Guide
 2011 Microchip Technology Inc.
DS41597A

Related parts for PIC16F1507-I/SS

PIC16F1507-I/SS Summary of contents

Page 1

... Configurable Logic Cell (CLC)  2011 Microchip Technology Inc. Configuration Tool User’s Guide DS41597A ...

Page 2

... 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. © 2011, Microchip Technology Incorporated, Printed in the U ...

Page 3

... Conventions Used in this Guide ......................................................................... 6 The Microchip Web Site...................................................................................... 7 Customer Support............................................................................................... 7 Document Revision History ................................................................................ 7 Chapter 1: CLC Configuration Tool Overview ................................................................ 9 Chapter 2: Manchester Line Code Example................................................................. 19 Appendix A: Manchester Encoding Program (ASSY)............................................... 23  2011 Microchip Technology Inc. CLC CONFIGURATION TOOL Table of Contents USER’S GUIDE DS41597A-page 3 ...

Page 4

... NOTES: DS41597A-page 4  2011 Microchip Technology Inc. ...

Page 5

... Tool as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: • Chapter 1. CLC Configuration Tool Overview • Chapter 2. Manchester Line Code Example • Appendix A. Manchester Encoding Program (ASSY)  2011 Microchip Technology Inc. CLC CONFIGURATION TOOL Preface NOTICE TO CUSTOMERS USER’S GUIDE ® ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... }  2011 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com. DOCUMENT REVISION HISTORY Revision A (August 2011) • Initial Release of this Document.  2011 Microchip Technology Inc. DS41597A-page 7 ...

Page 8

... NOTES: DS41597A-page 8  2011 Microchip Technology Inc. ...

Page 9

... C or assembly, which can be dropped into an existing project to be included in a program. The created file is custom generated, depending on the user inputs and preferences, such as programming language.  2011 Microchip Technology Inc. CLC CONFIGURATION TOOL USER’S GUIDE DS41597A-page 9 ...

Page 10

... CLCDesigner.ini file. To run the program, double-click on the execut- able and the screen in Figure 1-1 should be presented. FIGURE 1-1: Figure 1-2 shows the error when the INI file is not placed in the same directory as the executable. FIGURE 1-2: DS41597A-page 10 CLC GUI ON INITIAL START-UP ERROR MESSAGE  2011 Microchip Technology Inc. ...

Page 11

... Digital logic blocks 7. CLC output control The following sections explains each block’s functionality and purpose labeled in Figure 1-3.  2011 Microchip Technology Inc. CLC INPUT/OUTPUT OPTIONS CORRELATION BETWEEN GUI REPRESENTATION AND THEIR EFFECTS ON DATA SHEET CLC REGISTERS CLC GUI Representation ...

Page 12

... As seen in Table 1-2, each drop-down item correlates to a logic cell data input group (lcxdx). Each data input is selectable at least two different times in two or more different groups. For example, F drop-down menus in the CLC tool for a PIC16F1507 as shown in Figure 1-4. TABLE 1-2: Data Input ...

Page 13

... Figure 1-5 shows the setup of having F to Gate 2 with its output inverted. FIGURE 1-5:  2011 Microchip Technology Inc. SELECTION FOSC AS AN INPUT FOR TWO DIFFERENT GATES and an inverted Timer0 OVF as inputs ...

Page 14

... S lcxq D Q lcxg2 R 1-Input Transparent Latch with S and R lcxq XOR lcxq LCxMODE<2:0>= 001 S-R Latch lcxq LCxMODE<2:0>= 011 2-Input D Flip-Flop with lcxq lcxg1 R lcxg3 LCxMODE<2:0>= 101 lcxg4 S lcxg2 D Q lcxq lcxg1 LE R lcxg3 LCxMODE<2:0>= 111  2011 Microchip Technology Inc. ...

Page 15

... The resultant file will have an .inc extension. Figure 1-7 shows example output code for the setup as seen in Figure 1-6, with the inclusion of the AND-OR logic block and the rest having default settings. The device used in the example is a PIC16F1507 with module CLC1.  2011 Microchip Technology Inc. CLC OUTPUT OPTIONS ...

Page 16

... Figure 1-10 and when the project is ready to be saved, the comments will also be included in the output file. DS41597A-page 16 EXAMPLE C AND ASSEMBLY GENERATED CODE ERROR MESSAGE IF DEVICE ID IS MISSING IN THE COMMENTS OF LOADED CODE  2011 Microchip Technology Inc. ...

Page 17

... Show in the current module and then Paste in another CLC module. This will copy all of the content from one CLC to another. The clipboard contents cannot be pasted to any window outside of the CLC tool. The Clear button will reset all fields to their default state.  2011 Microchip Technology Inc. COMMENT TEXT AREA DS41597A-page 17 ...

Page 18

... NOTES: DS41597A-page 18  2011 Microchip Technology Inc. ...

Page 19

... This also saves the designer additional costs by not having to include more exter- nal hardware to perform the same task. The encoding process simply requires an XOR gate with the data and clock inputs. For this design, a PIC16F1507 is used with its CLC2 module.  2011 Microchip Technology Inc. CLC CONFIGURATION TOOL NRZ LINE CODE ENCODED TO A MANCHESTER CODE ® ...

Page 20

... Figure 2-3 shows a screenshot of the output of the CLC, assuming an input of 0xE4 from the device. FIGURE 2-3: (3) (2) (1) Note: Green = CLC output (1), Red = data (2), White = clock (3). DS41597A-page 20 CLC DESIGN FOR THE ENCODE HANDLING MANCHESTER LINE ENCODING FROM AN NRZ SOURCE USING THE CLC  2011 Microchip Technology Inc. ...

Page 21

... SPI SCK and SPI SDO. FIGURE 2-4: Note: See Appendix A. “Manchester Encoding Program (ASSY)” for assembly code solution.  2011 Microchip Technology Inc. CLC DESIGN FOR THE ENCODE HANDLING USING THE MSSP AS INPUTS DS41597A-page 21 ...

Page 22

... NOTES: DS41597A-page 22  2011 Microchip Technology Inc. ...

Page 23

... Appendix A. Manchester Encoding Program (ASSY) The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Company’s customer, for use solely and exclusively with products manufactured by the Company. The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved. ...

Page 24

... DS41597A-page 24 CLC2GLS0 OSCCON b'01110010';8MHz clock - Does not matter for this demo OSCCON TRISC b'10011000'; RC3 & RC4 as input to CLC2IN :: RC0 as TRISC ANSELC ;All digital outputs 0x00 ANSELC ;return to main program  2011 Microchip Technology Inc. ...

Page 25

... NOTES:  2011 Microchip Technology Inc. DS41597A-page 25 ...

Page 26

... Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-5778-366 Fax: 886-3-5770-955 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-330-9305 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350  2011 Microchip Technology Inc. 08/02/11 ...

Related keywords