PIC16LC433-I/P Microchip Technology, PIC16LC433-I/P Datasheet

IC MCU CMOS 8BIT 10MHZ 2K 18-DIP

PIC16LC433-I/P

Manufacturer Part Number
PIC16LC433-I/P
Description
IC MCU CMOS 8BIT 10MHZ 2K 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16LC433-I/P

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
POR, WDT
Number Of I /o
6
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
PIC16C433
Data Sheet
8-Bit CMOS Microcontroller
with LIN bus Transceiver
Advance Information
2001 Microchip Technology Inc.
DS41139A

Related parts for PIC16LC433-I/P

PIC16LC433-I/P Summary of contents

Page 1

... Microchip Technology Inc. PIC16C433 8-Bit CMOS Microcontroller with LIN bus Transceiver Advance Information Data Sheet DS41139A ...

Page 2

... Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. No licenses are conveyed, implicitly or otherwise, under any intellectual prop- erty rights.” ...

Page 3

... Transceiver • Thermal Shut-down for Transceiver • Ground Loss Protection • Four-channel, 8-bit A/D converter • 8-bit real time clock/counter (TMR0) with 8-bit programmable prescaler 2001 Microchip Technology Inc. PIC16C433 PIN DIAGRAM PDIP, SOIC, Windowed CERDIP LIN bus GP5/OSC1/CLKIN ...

Page 4

... When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter- ature number) you are using. Customer Notification System Register on our web site at www.microchip.com/cn to receive the most current information on all of our products. DS41139A-page 2 Advance Information 2001 Microchip Technology Inc. ...

Page 5

... The SLEEP (power-down) feature provides a power saving mode. The user can wake-up the chip from SLEEP through several external and internal interrupts and RESETS. 2001 Microchip Technology Inc. A highly reliable Watchdog Timer with its own on-chip RC oscillator provides protection against software lock-up. ...

Page 6

... PIC16C433 NOTES: DS41139A-page 4 Advance Information 2001 Microchip Technology Inc. ...

Page 7

... PIC16C433. These devices have EPROM type memory and operate over the standard voltage range PIC16LC433. These devices have EPROM type memory and operate over an extended voltage range. 2.1 UV Erasable Devices The UV erasable version, offered in windowed pack- age, is optimal for prototype development and pilot pro- grams ...

Page 8

... PIC16C433 NOTES: DS41139A-page 6 Advance Information 2001 Microchip Technology Inc. ...

Page 9

... PIC16C433 simple, yet efficient. In addition, the learn- ing curve is reduced significantly. 2001 Microchip Technology Inc. PIC16C433 devices contain an 8-bit ALU and working register. The ALU is a general purpose arithmetic unit. It performs arithmetic and Boolean functions between the data in the working register and any register file ...

Page 10

... Addr MUX Indirect 7 8 Addr FSR reg STATUS reg 3 MUX Power-up Timer Oscillator ALU Watchdog 8 Timer Power-on W reg Reset Timer0 A/D Advance Information GPIO GP0/AN0 GP1/AN1/V REF GP2/T0CKI/AN2/INT GP3/MCLR/V PP GP4/OSC2/AN3/CLKOUT GP5/OSC1/CLKIN LIN bus LIN bus V BAT Transceiver BACT 2001 Microchip Technology Inc. ...

Page 11

... Legend Input Output, I/O = Input/Output Power, — = not used, TTL = TTL input Schmitt Trigger input Open Drain 2001 Microchip Technology Inc. I/O/P Buffer Type Type I/O TTL/ST Bi-directional I/O port/serial programming data/analog input 0. Can be software programmed for internal weak pull-up and interrupt-on-pin change ...

Page 12

... Q2, Q3, and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write PC+1 Fetch INST (PC+1) Execute INST (PC Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch 4 Advance Information Internal Phase Clock PC+2 Fetch INST (PC+2) Execute INST (PC+ Flush Fetch SUB_1 Execute SUB_1 2001 Microchip Technology Inc. ...

Page 13

... Stack Level 8 Reset Vector Peripheral Interrupt Vector On-Chip Program Memory 2001 Microchip Technology Inc. 4.2 Data Memory Organization The data memory is partitioned into two banks, which contain the General Purpose Registers and the Special Function Registers. Bit RP0 is the bank select bit. ...

Page 14

... A0h BFh C0h EFh F0h FFh Advance Information 2001 Microchip Technology Inc. ...

Page 15

... Other (non power-up) RESETS include external RESET through MCLR and Watchdog Timer Reset. 4: The IRP and RP1 bits are reserved on the PIC16C433; always maintain these bits clear. 2001 Microchip Technology Inc. Bit 5 Bit 4 Bit 3 Bit 2 ...

Page 16

... PCFG1 PCFG0 ---- -000 ---- -000 2001 Microchip Technology Inc. ...

Page 17

... Legend Readable bit - n = Value at POR reset 2001 Microchip Technology Inc recommended, therefore, that only BCF, BSF, SWAPF and MOVWF instructions are used to alter the STATUS Register, because these instructions do not affect the bits from the STATUS Register ...

Page 18

... R/W-1 T0CS T0SE PSA TMR0 Rate WDT Rate 128 256 1 : 128 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Advance Information R/W-1 R/W-1 R/W-1 PS2 PS1 PS0 bit0 x = Bit is unknown 2001 Microchip Technology Inc. ...

Page 19

... GP0, GP1 or GP3 pins changed state (must be cleared in software Neither GP0, GP1 nor GP3 pins have changed state Legend Readable bit - n = Value at POR reset 2001 Microchip Technology Inc. Note: Interrupt flag bits get set when an interrupt condition occurs, regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON< ...

Page 20

... Bit PEIE (INTCON<6>) must be set to enable any peripheral interrupt. U-0 U-0 U-0 — — — Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Advance Information U-0 U-0 U-0 — — — bit0 x = Bit is unknown 2001 Microchip Technology Inc. ...

Page 21

... Unimplemented: Read as ’0’ Legend Readable bit - n = Value at POR reset 2001 Microchip Technology Inc. Note: Interrupt flag bits get set when an interrupt condition occurs, regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON<7>). User soft- ...

Page 22

... Value at POR reset DS41139A-page 20 U-0 U-0 U-0 — — — — Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Advance Information U-0 R/W-0 U-0 — POR — bit0 x = Bit is unknown 2001 Microchip Technology Inc. ...

Page 23

... Decrease frequency change bit 1-0 Unimplemented: Read as ’0’ Note: If CALFST = 1 and CALSLW = 1, CALFST has precedence. Legend Readable bit - n = Value at POR reset 2001 Microchip Technology Inc. R/W-1 R/W-1 R/W-0 CAL1 CAL0 CALFST W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’ ...

Page 24

... PCLATH<4:3>, which are used to access program Opcode <10:0> memory when more than one page is available. The use of PCLATH<4:3> as general purpose read/write bits for the PIC16C433 is not recommended, since this may affect upward compatibility with future products. Advance Information ignores both paging bits 2001 Microchip Technology Inc. ...

Page 25

... Bank 0 For register file map detail see Figure 4-2. Note 1: The RP1 and IRP bits are reserved; always maintain these bits clear. 2001 Microchip Technology Inc. A simple program to clear RAM locations 20h-2Fh using indirect addressing is shown in Example 4-1. EXAMPLE 4-1: ...

Page 26

... PIC16C433 NOTES: DS41139A-page 24 Advance Information 2001 Microchip Technology Inc. ...

Page 27

... Writes to TRIS <5:4> will have an effect in EXTRC and INTRC oscillator modes only. When GP4 is configured as CLKOUT, changes to TRIS<4> will have no effect. 2001 Microchip Technology Inc. 5.3 I/O Interfacing The equivalent circuit for an I/O port pin is shown in Figure 5-1 through Figure 5-5. All port pins, except GP3, which is input only, may be used for both input and output operations ...

Page 28

... Q WR TRIS CK Q TRIS Latch RD PORT (1) GP0/INT and GP1/INT To A/D Converter Note 1: Wake-up on pin change interrupts for GP0 and GP1. DS41139A-page 26 REF GPPU Analog Input Mode RD TRIS (1) Advance Information PIN V DD I/O Pin V SS TTL Input Buffer 2001 Microchip Technology Inc. ...

Page 29

... FIGURE 5-2: BLOCK DIAGRAM OF GP2/T0CKI/AN2/INT PIN Data Bus PORT CK Q Data Latch TRIS CK Q TRIS Latch RD PORT TMR0 Clock Input GP2/INT To A/D Converter 2001 Microchip Technology Inc Analog Input Mode RD TRIS Advance Information PIC16C433 V DD I/O Pin V SS Schmitt Trigger Input Buffer ...

Page 30

... FIGURE 5-3: BLOCK DIAGRAM OF GP3/MCLR/V Program Mode HV Detect Data Bus RD PORT RD TRIS (1) GP3/INT Note 1: Wake-up on pin change interrupt for GP3. DS41139A-page 28 PIN GPPU P MCLREN MCLR Schmitt Trigger Input Buffer Advance Information Input Pin V SS TTL Input Buffer 2001 Microchip Technology Inc. ...

Page 31

... BLOCK DIAGRAM OF GP4/OSC2/AN3/CLKOUT PIN CLKOUT (F /4) OSC Data Bus PORT CK Q Data Latch TRIS CK Q TRIS Latch RD PORT To A/D Converter 2001 Microchip Technology Inc. INTRC or EXTRC w/ CLKOUT 1 0 From OSC1 Oscillator Circuit INTRC EXTRC INTRC or EXTRC w/o CLKOUT Analog Input Mode ...

Page 32

... GP3 GP2 GP1 Advance Information V DD I/O Pin V SS INTRC TTL Input Buffer Value on Value on Power-on all other Bit 0 Reset RESETS --11 1111 --11 1111 PS0 1111 1111 1111 1111 C 0001 1xxx 000q quuu GP0 11xx xxxx 11uu uuuu 2001 Microchip Technology Inc. ...

Page 33

... BCF, BSF, etc port, the value of the port pins is read, the desired operation is done to this value, and this value is then written to the port latch. 2001 Microchip Technology Inc. Example 5-1 shows the effect of two sequential read- modify-write instructions on an I/O port. ...

Page 34

... PIC16C433 NOTES: DS41139A-page 32 Advance Information 2001 Microchip Technology Inc. ...

Page 35

... FIGURE 6-1: TYPICAL LIN bus APPLICATION + 2001 Microchip Technology Inc. An external reverse battery blocking diode is used to provide polarity protection. 6.4 Thermal Shut-down In thermal shut-down, the LIN bus output is disabled instantaneously. The output transistor is turned off, regardless of the input level at pin LINTX bit and only a limited current can flow into the receiver connected to the LIN bus pin ...

Page 36

... PIC16C433 NOTES: DS41139A-page 34 Advance Information 2001 Microchip Technology Inc. ...

Page 37

... T0 T0+1 TMR0 Instruction Executed 2001 Microchip Technology Inc. (OPTION<4>). Clearing bit T0SE selects the rising edge. Restrictions on the external clock input are dis- cussed in detail in Section 7.2. The prescaler is mutually exclusively shared between the Timer0 module and the Watchdog Timer. The prescaler assignment is controlled in software by con- trol bit PSA (OPTION< ...

Page 38

... Interrupt Latency Inst (PC+1) Dummy cycle Inst (PC) = instruction cycle time. CY Advance Information PC+4 PC+5 PC+6 NT0+1 Read TMR0 Read TMR0 reads NT0 reads NT0 + 01h 02h 0004h 0005h Inst (0004h) Inst (0005h) Dummy cycle Inst (0004h) 2001 Microchip Technology Inc. ...

Page 39

... External clock if no prescaler selected; prescaler output otherwise. 3: The arrows indicate the points in time where sampling occurs. 2001 Microchip Technology Inc. When a prescaler is used, the external clock input is divided by the asynchronous ripple-counter type pres- caler, so that the prescaler output is symmetrical. For the external clock to meet the sampling requirement, the ripple-counter must be taken into account ...

Page 40

... WDT, a CLRWDT instruction will clear the prescaler along with the Watchdog Timer. The pres- caler is not readable or writable SYNC Cycles T0CS PSA 8-bit Prescaler 1MUX PS<2:0> PSA WDT Time-out Advance Information Data Bus 8 TMR0 reg Set Flag bit T0IF on Overflow 2001 Microchip Technology Inc. ...

Page 41

... OPTION GPPU INTEDG 85h TRIS — — Legend unknown unchanged unimplemented locations read as '0'. Shaded cells are not used by Timer0. 2001 Microchip Technology Inc. To change prescaler from the WDT to the Timer0 mod- ule, use the sequence shown in Example 7-2. EXAMPLE 7-2: CLRWDT BSF STATUS, RP0 ...

Page 42

... PIC16C433 NOTES: DS41139A-page 40 Advance Information 2001 Microchip Technology Inc. ...

Page 43

... A/D converter module is shut-off and consumes no operating current Legend Readable bit - n = Value at POR reset 2001 Microchip Technology Inc. The ADCON0 Register, shown in Figure 8-1, controls the operation of the A/D module. The ADCON1 Regis- ter, shown in Figure 8-2, configures the functions of the port pins ...

Page 44

... GP4 GP2 GP1 REF REF REF Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Advance Information R/W-0 R/W-0 R/W-0 PCFG2 PCFG1 PCFG0 bit0 GP0 V REF GP1 GP1 GP1 Bit is unknown 2001 Microchip Technology Inc. ...

Page 45

... Turn on A/D module (ADCON0) FIGURE 8-1: A/D BLOCK DIAGRAM A/D Converter V REF (Reference Voltage) 2001 Microchip Technology Inc. 2. Configure A/D interrupt (if desired): • Clear ADIF bit • Set ADIE bit • Set GIE bit 3. Wait the required acquisition time. 4. Start conversion: • ...

Page 46

... 5.724 C)(0.05 s/ C)] ACQ 10.724 s + 1.25 s 11.974 Sampling Switch leakage V = 0.6V T ± 500 Advance Information ) has no REF ) is HOLD delay must complete before AD CALCULATING THE MINIMUM REQUIRED SAMPLE TIME ( ln(1/512 HOLD = DAC capacitance = 51 Sampling Switch ( k ) 2001 Microchip Technology Inc. ...

Page 47

... For faster conversion times, the selection of another clock source is recommended. 4: While in RC mode, with device frequency above 1 MHz, conversion accuracy is out of specification. 5: For extended voltage devices (LC), please refer to Electrical Specifications section. 2001 Microchip Technology Inc. 8.3 Configuring Analog Port Pins . The ...

Page 48

... RC Clock, A/D is on, Channel 0 is selected ; ; Clear A/D interrupt flag bit ; Enable peripheral interrupts ; Enable all interrupts ; Start A/D Conversion ; The ADIF bit will be set and the GO/DONE bit ; is cleared upon completion of the A/D Conversion. Advance Information wait AD 2001 Microchip Technology Inc. ...

Page 49

... A/D conversion, the RC clock source selection is required. In this mode, the digital noise from the modules in SLEEP is stopped. This method gives high accuracy. 2001 Microchip Technology Inc. 8.7 Effects of a RESET A device RESET forces all registers to their RESET state ...

Page 50

... Bit 0 Power-on all other Reset RESETS GPIF 0000 000x 0000 000u — — -0-- ---- -0-- ---- — — -0-- ---- -0-- ---- xxxx xxxx uuuu uuuu ADON 0000 0000 0000 0000 PCFG0 ---- -000 ---- -000 GP0 11xx xxxx 11uu uuuu TRIS0 --11 1111 --11 1111 2001 Microchip Technology Inc. ...

Page 51

... LP oscillator Note 1: All of the CP<1:0> pairs have to be given the same value to enable the code protection scheme listed. 2001 Microchip Technology Inc. the Oscillator Start-up Timer (OST), intended to keep the chip in RESET until the crystal oscillator is stable. The other is the Power-up Timer (PWRT), which pro- ...

Page 52

... CAPACITOR SELECTION FOR CRYSTAL OSCILLATOR - PIC16C433 Cap. Range Cap. Range 15-30 pF 30-47 pF 15-30 pF 15-82 pF 15-30 pF 200-300 pF 15-30 pF 100-200 pF 15-30 pF 15-100 pF 15-30 pF 15-30 pF 15-30 pF 15-30 pF 15-47 pF 15-47 pF 15-30 pF 15-30 pF 15-30 pF 15-30 pF 15-30 pF 15-30 pF > 4.5V may S 2001 Microchip Technology Inc. ...

Page 53

... To Other Devices 330 330 74AS04 74AS04 74AS04 0.1 F XTAL 2001 Microchip Technology Inc. 9.2.4 EXTERNAL RC OSCILLATOR For timing insensitive applications, the RC device option offers additional cost savings. The RC oscillator frequency is a function of the supply voltage, the resis- tor (R ) and capacitor (C EXT ing temperature ...

Page 54

... OSC1 pin is OSC2 pin is tri-stated and driven low driven by external circuit OSC1 pin is OSC2 pin is tri-stated and tri-state input driven by external circuit OSC1 pin is OSC2 pin is tri-state input driven low OSC1 pin is OSC2 pin is tri-state input tri-state input 2001 Microchip Technology Inc. ...

Page 55

... Ripple-counter OSC1/ CLKIN pin PWRT (1) On-chip 10-bit Ripple-counter RC OSC Note 1: This is a separate oscillator from the RC oscillator of the CLKIN pin. 2001 Microchip Technology Inc. MCLRE Internal MCLR Enable PWRT See Table 9-4 for time-out situations. Enable OST Advance Information PIC16C433 S Chip_Reset R ...

Page 56

... Reset and is unaffected otherwise. The user sets this bit following a Power-on Reset. On subsequent RESETS, if POR is ‘0’, it will indicate that a Power-on Reset must have occurred. Power-up PWRTE = 0 PWRTE = 1024T 1024T OSC OSC 72 ms — Advance Information Wake-up from SLEEP 1024T OSC — 2001 Microchip Technology Inc. ...

Page 57

... See Table 9-5 for RESET value for specific condition wake-up was due to A/D completing then bit all other interrupts generating a wake-up will cause bit wake-up was due to A/D completing then bit all other interrupts generating a wake-up will cause bit 2001 Microchip Technology Inc. Program Counter ...

Page 58

... INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET FIGURE 9-9: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET DS41139A-page 56 T PWRT T OST T PWRT T T PWRT T OST Advance Information ): CASE CASE 2 DD OST ) DD 2001 Microchip Technology Inc. ...

Page 59

... Technology’s MCP809 microcontroller supervisor. The MCP8XX and MCP1XX families of supervisors provide push-pull and open collector outputs, with both high and low active RESET pins. There are 7 different trip point selections to accommodate 5V and 3V systems. 2001 Microchip Technology Inc. FIGURE 9-12: EXTERNAL BROWN-OUT V DD 33k ...

Page 60

... Individual interrupt flag bits are set, regardless of the status of their corresponding mask bit or the GIE bit. T0IF T0IE INTF INTE GPIF GPIE PEIE GIE Advance Information Wake-up (If in SLEEP mode) Interrupt to CPU 2001 Microchip Technology Inc. ...

Page 61

... T CY Latency is the same whether Inst (PC single cycle 2-cycle instruction. 3: CLKOUT is available only in INTRC and EXTRC oscillator modes. 4: For minimum width of INT pulse, refer to AC specs. 5: INTF is enabled to be set any time during the Q4-Q1 cycles. 2001 Microchip Technology Inc ...

Page 62

... W_TEMP into W ;Return from interrupt ;Copy W to TEMP register (bank independent) ;Move STATUS register into W ;Save contents of STATUS register ;Retrieve copy of STATUS register ;Restore pre-isr STATUS register contents ; ;Restore pre-isr W register contents ;Return from interrupt Advance Information 2001 Microchip Technology Inc. ...

Page 63

... Legend: Shaded cells are not used by the Watchdog Timer. Note 1: See Register 9-1 for operation of these bits. Not all CP0 and CP1 bits are shown. 2001 Microchip Technology Inc. The CLRWDT and SLEEP instructions clear the WDT and the postscaler, if assigned to the WDT, and prevent it from timing out early and generating a premature device RESET condition ...

Page 64

... The PIC16C433 can be woken up upon bus activity on the LIN bus. This is done by connecting the BACT pin with either GP0, GP1 or GP2. The pin which will be connected to the BACT pin has to be configured to wake the microcontroller up from SLEEP. Advance Information 2001 Microchip Technology Inc. ...

Page 65

... (see programming specifica IHH tion). GP1 (clock) becomes the programming clock and GP0 (data) becomes the programming data. Both GP0 and GP1 are Schmitt Trigger inputs in this mode. 2001 Microchip Technology Inc (2) T OST Interrupt Latency (Note 3) Processor in SLEEP ...

Page 66

... PIC16C433 NOTES: DS41139A-page 64 Advance Information 2001 Microchip Technology Inc. ...

Page 67

... Assigned to < > Register bit field In the set of i talics User defined term (font is courier) 2001 Microchip Technology Inc. The instruction set is highly orthogonal and is grouped into three basic categories: • Byte-oriented operations • Bit-oriented operations • Literal and control operations All instructions are executed within one single instruc- tion cycle, unless a conditional test is true or the pro- gram counter is changed as a result of an instruction ...

Page 68

... The user should keep this in mind when operating on special function registers, such as ports. Advance Information PCL dest PCLATH PCH; 8-bit destination value PCL PCL ALU operand PCLATH PCH; 8-bit result PCL 2001 Microchip Technology Inc. ...

Page 69

... If this instruction is executed on the TMR0 register (and, where applicable 1), the prescaler will be cleared if assigned to the Timer0 Module Program Counter (PC) is modified or a conditional test is true, the instruction requires two cycles. The second cycle is executed as a NOP . 2001 Microchip Technology Inc. 14-Bit Opcode Cycles MSb 1 ...

Page 70

... ANDWF f 127 d (W) .AND. (f) (dest 0101 dfff ffff AND the W register with register 'f the result is stored in the W register the result is stored back in register 'f ANDWF FSR, Before Instruction W = 0x17 FSR = 0xC2 After Instruction W = 0x17 FSR = 0x02 2001 Microchip Technology Inc. ...

Page 71

... Description: Bit ’b’ in register ’f’ is set. Words: 1 Cycles: 1 Example BSF FLAG_REG, Before Instruction FLAG_REG = 0x0A After Instruction FLAG_REG = 0x8A 2001 Microchip Technology Inc. BTFSC Syntax: Operands: Operation: Status Affected: Encoding: bfff ffff Description: Words: Cycles: Example bfff ffff ...

Page 72

... The contents of register ’f’ are cleared and the Z bit is set CLRF FLAG_REG Before Instruction FLAG_REG = 0x5A After Instruction FLAG_REG = 0x00 Clear W [ label ] CLRW None 00h ( 0001 0000 0011 W register is cleared. Zero bit (Z) is set CLRW Before Instruction W = 0x5A After Instruction W = 0x00 2001 Microchip Technology Inc. ...

Page 73

... If ’d’ the result is stored ’d’ the result is stored back in register ’f’. Words: 1 Cycles: 1 Example COMF REG1,0 Before Instruction REG1 = After Instruction REG1 = W = 2001 Microchip Technology Inc. DECF Syntax: Operands: Operation: Status Affected: Encoding: Description: 0110 0100 Words: Cycles: Example ? 0x00 ...

Page 74

... CNT address HERE +1 Inclusive OR Literal with W [ label ] IORLW 255 (W) .OR 1000 kkkk kkkk The contents of the W register are OR’ed with the eight bit literal 'k'. The result is placed in the W register IORLW 0x35 Before Instruction W = 0x9A After Instruction W = 0xBF 2001 Microchip Technology Inc. ...

Page 75

... The eight-bit literal ’k’ is loaded into W register. The don’t cares will assemble as 0’s. Words: 1 Cycles: 1 Example MOVLW 0x5A After Instruction W = 0x5A 2001 Microchip Technology Inc. MOVF f,d Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles: Example ...

Page 76

... This is a two-cycle instruction CALL TABLE;W contains table ;offset value • ;W now has table value • • ADDWF offset RETLW k1 ;Begin table RETLW k2 ; • • • RETLW kn ; End of table Before Instruction W = 0x07 After Instruction W = value of k8 2001 Microchip Technology Inc. ...

Page 77

... C Register f Words: 1 Cycles: 1 Example RLF REG1,0 Before Instruction REG1 C After Instruction REG1 W C 2001 Microchip Technology Inc. RRF Syntax: Operands: Operation: Status Affected: 0000 1000 Encoding: Description: Words: Cycles: Example SLEEP Syntax: Operands: Operation: dfff ...

Page 78

... SUBWF Before Instruction After Instruction Example 2: Before Instruction After Instruction Example 3: Before Instruction After Instruction Advance Information f 127 [0,1] dest) 00 0010 dfff ffff REG1,1 REG1 = REG1 = result is positive REG1 = REG1 = result is zero REG1 = REG1 = 0xFF result is negative 2001 Microchip Technology Inc. ...

Page 79

... Words: 1 Cycles: 1 Example To maintain upward compatibility with future PIC16C433 products, do not use this instruction. 2001 Microchip Technology Inc. XORLW Syntax: Operands: Operation: Status Affected: Encoding: Description: dfff ffff Words: ...

Page 80

... PIC16C433 NOTES: DS41139A-page 78 Advance Information 2001 Microchip Technology Inc. ...

Page 81

... A project manager • Customizable toolbar and key mapping • A status bar • On-line help 2001 Microchip Technology Inc. The MPLAB IDE allows you to: • Edit your source files (either assembly or ‘C’) • One touch assemble (or compile) and download to PICmicro emulator and simulator tools (auto- matically updates all project information) • ...

Page 82

... ICEPIC In-Circuit Emulator The ICEPIC low cost, in-circuit emulator is a solution for the Microchip Technology PIC16C5X, PIC16C6X, PIC16C7X and PIC16CXXX families of 8-bit One- Time-Programmable (OTP) microcontrollers. The mod- ular system can support different subsets of PIC16C5X or PIC16CXXX products through the use of inter- changeable personality modules, or daughter boards ...

Page 83

... PIC16C92X PIC17C76X, may be supported with an adapter socket. The PICSTART Plus development programmer is CE compliant. 2001 Microchip Technology Inc. 11.11 PICDEM 1 Low Cost PICmicro Demonstration Board The PICDEM 1 demonstration board is a simple board which demonstrates the capabilities of several of Microchip’s microcontrollers. The microcontrollers sup- ...

Page 84

... EE OQ Microchip’s HCS Secure Data Products. The HCS eval- uation kit includes a LCD display to show changing codes, a decoder to decode transmissions and a pro- gramming interface to program test transmitters. Advance Information Evaluation and 2001 Microchip Technology Inc. ...

Page 85

... PIC16C6X á á á á PIC16C5X á á á PIC14000 á á á á PIC12CXXX Tools Software Emulators 2001 Microchip Technology Inc. á á á á á á á á á á á á á á á á á á ...

Page 86

... PIC16C433 NOTES: DS41139A-page 84 Advance Information 2001 Microchip Technology Inc. ...

Page 87

... This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. 2001 Microchip Technology Inc. (except V , MCLR, LIN and BACT) ............................... –0. (Note 2) ...

Page 88

... Note 1: The shaded region indicates the permissible combinations of voltage and frequency. 2: The maximum rated speed of the part limits the permissible combinations of voltage and frequency. Please reference the Product Identification System section for the maximum rated speed of the parts. DS41139A-page Frequency (MHz Frequency (MHz) Advance Information + +125 + 2001 Microchip Technology Inc. ...

Page 89

... The power-down current in SLEEP mode does not depend on the oscillator type. Power-down current is measured with the part in SLEEP mode, with all I/O pins in hi-impedance state and tied INTRC calibration value is for 4MHz nominal at 5V, 25°C. 2001 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating Temperature – ...

Page 90

... This spec. applies when GP3/MCLR is configured as an input with pull-up disabled. The leakage current of the MCLR circuit is higher than the standard I/O logic. DS41139A-page 88 PIC16C433 (Industrial, Extended) and PIC16LC433 (Industrial) Standard Operating Conditions (unless otherwise specified) Operating temperature –40°C T – ...

Page 91

... This spec. applies to GP3/MCLR configured as external MCLR and GP3/MCLR configured as input with internal pull- up enabled. 6: This spec. applies when GP3/MCLR is configured as an input with pull-up disabled. The leakage current of the MCLR circuit is higher than the standard I/O logic. 2001 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating temperature –40°C ...

Page 92

... LIN _ 0.8V OH LIN BAT _ OL LIN Advance Information Max Units Comments Max Units Comments 200 12V BUS BUS BAT V < 40V BUS 1 mA 0.4V V Dominant State BAT 18 V Recessive State 0. BAT IH LIN IL LIN 200 mA V 0.2V V BAT 2001 Microchip Technology Inc. ...

Page 93

... Bus free specifications only Hold ST DAT DATA input hold STA START condition FIGURE 12-3: LOAD CONDITIONS Load condition 1 Pin R = 464 for all pins except OSC2 for OSC2 output 2001 Microchip Technology Inc specifications only specifications only) T Time osc OSC1 SCK T0CKI t1 T1CKI ...

Page 94

... HS osc mode ns HS osc mode s LP osc mode ns EXTRC osc mode ns XT osc mode ns HS osc mode ns HS osc mode s LP osc mode 4/F CY OSC ns XT oscillator s LP oscillator ns HS oscillator ns XT oscillator ns LP oscillator ns HS oscillator 2001 Microchip Technology Inc. ...

Page 95

... No. Internal Calibrated RC Frequency * These parameters are characterized but not tested. Note 1: Data in the Typical (“Typ”) column unless otherwise stated. These parameters are for design guidance only and are not tested. 2001 Microchip Technology Inc. – +85 C (industrial) A range is described in Section 10.1 ...

Page 96

... Min — — — — — 200 OSC 0 — PIC16C433 100 PIC16LC433 200 0 PIC16C433 — PIC16LC433 — PIC16C433 — PIC16LC433 — Advance Information New Value Typ† Max Units Conditions 75 200 ns (Note 1) 75 200 ns (Note 1) 35 100 ns (Note 1) 35 100 ...

Page 97

... I/O Hi-impedance from MCLR Low or Watchdog Timer Reset * These parameters are characterized but not tested. † Data in "Typ" column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. 2001 Microchip Technology Inc Min Typ† Max 2 — ...

Page 98

... CY With Prescaler 10 — No Prescaler — CY With Prescaler Greater of: — — OSC Advance Information Max Units Conditions — ns Must also meet parameter 42 — ns — ns Must also meet parameter 42 — ns — ns — prescale value (2, 4,..., 256) 7T — OSC 2001 Microchip Technology Inc. ...

Page 99

... These parameters are characterized but not tested. 2001 Microchip Technology Inc. Min Typ GP0/GP1 38K 42K 42K 48K 42K 49K 50K 55K 15K 17K 18K 20K 19K 22K 22K 24K ...

Page 100

... DS41139A-page 98 Min. Typ. Max. Unit Typ. Max. Unit +135 +155 1.5 Advance Information Note = max trans_pd trans_pdr trans_pdf = max rec_pd rec_pdr rec_pdf = rec_sym rec_pdf rec_pdr trans_sym trans_pdf rans_pdr Note °C Information Parameter °C Information Parameter ms Information Parameter 2001 Microchip Technology Inc. ...

Page 101

... FIGURE 12-8: TIMING DIAGRAM TxD (Input of Physical Layer) t trans_pdf Bus Signal Rec. Threshold Rec. Threshold t rec_pdf RxD (Physical Layer Output) 2001 Microchip Technology Inc. Advance Information PIC16C433 t trans_pdr t rec_pdr DS41139A-page 99 ...

Page 102

... AIN analog voltage source A40 I A/D conversion PIC16C433 AD current ( PIC16LC433 A50 I V input current (Note 2) REF REF * These parameters are characterized but not tested. † Data in “Typ” column unless otherwise stated. These parameters are for design guidance only and are not tested ...

Page 103

... OLD_DATA SAMPLING STOPPED is added before the A/D clock starts. This allows the SLEEP instruction to CY Min Typ† Max PIC16C433 1.6 — — PIC16LC433 2.0 — — PIC16C433 2.0 4.0 6.0 PIC16C433 3.0 6.0 9.0 11 — 11 (Note 2) 20 — 5* — ...

Page 104

... PIC16C433 NOTES: DS41139A-page 102 Advance Information 2001 Microchip Technology Inc. ...

Page 105

... CALIBRATED TO 25°C, 5.0V) 4.50 4.40 4.30 4.20 4.10 4.00 3.90 3.80 Min. 3.70 3.60 3.50 - Temperature (Degree °C) 2001 Microchip Technology Inc. FIGURE 13-2: CALIBRATED INTERNAL RC = 5.0V) DD 4.50 4.40 4.30 4.20 Max. 4.10 4.00 3.90 3.80 3.70 3.60 3.50 -40 85 125 Temperature (Degree ° ...

Page 106

... A FIGURE 13- Max +125 C -6 Max + Typ +25 C -10 .5 MIn –40 C 5.5 6.5 Advance Information V = 5.5V DD 900 A* 900 A 900 vs 2. Min +125 C Min +85 C Typ +25 C Max -40 C .75 1.0 1.25 1.5 1.75 2.0 2.25 2.5 V (Volts) OH 2001 Microchip Technology Inc. ...

Page 107

... Min +125 C -10 Min +85 C Typ +25 C -15 Max -40 C -20 -25 1.5 2.0 2.5 V (Volts) OH FIGURE 13- -10 -15 -20 -25 -30 -35 -40 3.5 4.0 4.5 V (Volts) OH 2001 Microchip Technology Inc. FIGURE 13- 3.5 3 FIGURE 13- 5.0 5 Advance Information PIC16C433 vs 2. Max -40 C Typ +25 C Min +85 C Min +125 C 0 ...

Page 108

... Max (-40 to +125 ) IH V Typ (+ Min (-40 to +125 ) IH 3.5 4.5 5.5 V (Volts) DD Advance Information (INPUT THRESHOLD TH VOLTAGE) OF GPIO PINS vs Max -40 to +125 Typ +25 Min -40 to +125 3.5 4.5 5.5 V (Volts) DD Max (-40 to +125 ) Typ (+25 ) Min (-40 to +125 ) 2001 Microchip Technology Inc. ...

Page 109

... Standard marking consists of Microchip part number, year code, week code, and traceability code. For marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price. 2001 Microchip Technology Inc. Example PIC16C433 ...

Page 110

... Advance Information MILLIMETERS MIN NOM MAX 18 2.54 3.56 3.94 4.32 2.92 3.30 3.68 0.38 7.62 7.94 8.26 6.10 6.35 6.60 22.61 22.80 22.99 3.18 3.30 3.43 0.20 0.29 0.38 1.14 1.46 1.78 0.36 0.46 0.56 7.87 9.40 10. 2001 Microchip Technology Inc. ...

Page 111

... Mold Draft Angle Top Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-013 Drawing No. C04-051 2001 Microchip Technology Inc Units INCHES* ...

Page 112

... Microchip Technology Inc. ...

Page 113

... Eliminate any data memory page switching. Redefine data variables to reallocate them. 4. Verify all writes to STATUS, OPTION, and FSR registers since these have changed. 5. Change Reset Vector to 0000h. 2001 Microchip Technology Inc. Advance Information PIC16C433 DS41139A-page 111 ...

Page 114

... PIC16C433 NOTES: DS41139A-page 112 Advance Information 2001 Microchip Technology Inc. ...

Page 115

... Bit Manipulation ................................................................. 66 Block Diagrams Analog Input Model .................................................... 44 On-Chip Reset Circuit ................................................ 53 Timer0 ........................................................................ 35 Timer0/WDT Prescaler .............................................. 38 Watchdog Timer ......................................................... 61 BSF Instruction .................................................................. 69 BTFSC Instruction .............................................................. 69 BTFSS Instruction .............................................................. 70 2001 Microchip Technology Inc bit ................................................................................... 15 CAL0 bit ............................................................................. 21 CAL1 bit ............................................................................. 21 CAL2 bit ............................................................................. 21 CAL3 bit ............................................................................. 21 CALFST bit ........................................................................ 21 CALL Instruction ................................................................ 70 CALSLW bit ....................................................................... 21 Carry bit ............................................................................... 7 Clocking Scheme ...

Page 116

... MPLAB Integrated Development Environment Software ....................................................... 79 N NOP Instruction ................................................................. 74 O Opcode .............................................................................. 65 OPTION Instruction ........................................................... 74 OPTION Register ............................................................... 16 Orthogonal ........................................................................... 7 OSC Selection ................................................................... 49 OSCCAL Register .............................................................. 21 Oscillator EXTRC ...................................................................... 54 HS .............................................................................. 54 INTRC ........................................................................ 54 LP .............................................................................. 54 XT .............................................................................. 54 Oscillator Configurations .................................................... 50 Oscillator Types EXTRC ...................................................................... 50 HS .............................................................................. 50 INTRC ........................................................................ 50 LP .............................................................................. 50 XT .............................................................................. 50 Advance Information 2001 Microchip Technology Inc. ...

Page 117

... RESET ......................................................................... 49, 52 RESET Conditions for Special Registers ........................... 55 RETFIE Instruction ............................................................. 74 RETLW Instruction ............................................................. 74 RETURN Instruction .......................................................... 75 RLF Instruction ................................................................... 75 RP0 bit ......................................................................... 11, 15 RP1 bit ............................................................................... 15 RRF Instruction .................................................................. 75 2001 Microchip Technology Inc. S Services One-Time-Programmable (OTP) ................................. 5 Quick-Turnaround-Production (QTP) .......................... 5 Serialized Quick-Turnaround Production (SQTP) ....... 5 SFR ................................................................................... 66 SFR As Source/Destination ............................................... 66 SLEEP ......................................................................... 49, 52 SLEEP Instruction ............................................................. 75 Software Simulator (MPLAB SIM) ...

Page 118

... PIC16C433 U UV Erasable Devices ........................................................... Register ALU .............................................................................. 7 Wake-up from SLEEP ........................................................ 62 Watchdog Timer (WDT) ................................... 49, 52, 55, 61 WDT ................................................................................... 55 Block Diagram ............................................................ 61 Period ......................................................................... 61 Programming Considerations .................................... 61 Timeout ...................................................................... 55 WWW, On-Line Support ....................................................... 2 X XORLW Instruction ............................................................ 77 XORWF Instruction ............................................................ bit .................................................................................... 15 Zero bit ................................................................................. 7 DS41139A-page 116 Advance Information 2001 Microchip Technology Inc. ...

Page 119

... Microchip Products • Conferences for products, Development Sys- tems, technical information and more • Listing of seminars and events 2001 Microchip Technology Inc. Systems Information and Upgrade Hot Line The Systems Information and Upgrade Line provides system users a listing of the latest versions of all of Microchip’ ...

Page 120

... Is there any incorrect or misleading information (what and where)? 7. How would you improve this document? 8. How would you improve our software, systems, and silicon products? DS41139A-page118 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS41139A Advance Information 2001 Microchip Technology Inc. ...

Page 121

... To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. PART NO. X /XX Device Temperature Package Range Device PIC16C433 PIC16LC433 PIC16C433T (Tape & reel for SOIC only) PIC16LC433T (Tape & reel for SOIC only) Temperature Range +125 C Package P = PDIP JW* = ...

Page 122

... Microchip. No licenses are conveyed, implicitly or otherwise, except as maybe explicitly expressed herein, under any intellec- tual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. ...

Related keywords