Описание
This powerful (200 nanosecond instruction execution) yet easy-to-program (only 35 single word instructions) CMOS OTP-based 8-bit microcontroller packs Microchip"s powerful PIC® architecture into an 40- or 44-pin package and is upwards compatible with the PIC16C5X and PIC12CXXX devices. The PIC16C774 features 10 channels of 12-bit Analog-to-Digital (A/D) converter giving designers the ability to discriminate smaller signal changes and eliminate the need for external circuitry for high precision measurement of analog signals. With 2 additional timers, 2 enhanced capture/compare/PWM function, the synchronous serial port can be configured as either 3-wire Serial Peripheral Interface (SPI) or the 2-wire Inter-Integrated Circuit (I²C) bus and a Universal Asynchronous Receiver Transmitter (USART). All of these features make it ideal for the most sophisticated applications requiring higher levels of A/D in automotive, industrial, appliances and consumer applications.
- Microcontroller Core Features:
- High-performance RISC CPU
- Only 35 single word instructions to learn
- All single cycle instructions except for program branches which are two cycle
- Operating speed: DC – 20 MHz clock input DC – 200 ns instruction cycle
- 4K x 14 words of Program Memory, 256 x 8 bytes of Data Memory (RAM)
- Interrupt capability (up to 14 internal/external interrupt sources)
- Eight level deep hardware stack
- Direct, indirect, and relative addressing modes
- Power-on Reset (POR)
- Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
- Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation
- Programmable code-protection
- Power saving SLEEP mode
- Selectable oscillator options
- Low-power, high-speed CMOS EPROM technology
- Fully static design
- In-Circuit Serial Programming (ISCP)
- Wide operating voltage range: 2.5V to 5.5V
- High Sink/Source Current 25/25 mA
- Commercial and Industrial temperature ranges
- Low-power consumption:
- < 2 mA @ 5V, 4 MHz
- 22.5 µA typical @ 3V, 32 kHz
- < 1 µA typical standby current
- Peripheral Features:
- Timer0: 8-bit timer/counter with 8-bit prescaler
- Timer1: 16-bit timer/counter with prescaler, can be incremented during sleep via external crystal/clock
- Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
- Two Capture, Compare, PWM modules
- Capture is 16-bit, max. resolution is 12.5 ns, Compare is 16-bit, max. resolution is 200 ns, PWM max. resolution is 10-bit
- 12-bit multi-channel Analog-to-Digital converter
- On-chip absolute bandgap voltage reference generator
- Synchronous Serial Port (SSP) with SPI (Master Mode) and I2C
- Universal Synchronous Asynchronous Receiver Transmitter, supports high/low speeds and 9-bit address mode (USART/SCI)
- Parallel Slave Port (PSP) 8-bits wide, with external RD, WR and CS controls
- Programmable Brown-out detection circuitry for Brown-out Reset (BOR)
- Programmable Low-voltage detection circuitry