1. PIC16C712 microcontroller functions, features, and application areas
1. Functions and features:
PIC16C712 microcontroller is an enhanced product based on the functions of 711 chip launched by Microchip. It is pin-to-pin compatible with 16C711. Its functions and prices are better than 16C711. The following table is a functional comparison table of 16C712 and 16C711:
model | Oscillation(Hz) | RAM | A/D8 bit | Timer | CCP Module | Serial port | Interrupt Sources | Voltage | I/O Pins | Encapsulation | Reset Lock | |
16C710 | DC~20M | 0.5K×14 | 36×8 | 4 | 1 | - | - | 4 | 3.0V- 6.0V | 13 | 18 feet | have |
16C711 | DC~20M | 1K×14 | 68×8 | 4 | 1 | - | - | 4 | 3.0V- 6.0V | 13 | 18 feet | have |
16C712 | DC~20M | 1K×14 | 128×8 | 4 | 3 | 1 | - | 7 | 2.5V - 5.5V | 13 | 18 feet | have |
16C716 | DC~20M | 2K×14 | 128×8 | 4 | 3 | 1 | - | 7 | 2.5V - 5.5V | 13 | 18 feet | have |
The added functions are as follows:
a. CCP module
b. Two timers are added c.
RAM is enlarged, 711 has 68 bytes, 712 has 128 bytes.
If more program space is needed, the PIC16C716 microcontroller can also be selected.
2. Application fields:
In addition to the original application fields of 16C711 single-chip microcomputer, the addition of CCP module with PWM function has expanded the application scope, such as use in mobile phone smart chargers.
The product models of alternative competitors are as follows:
model | Program Space | RAM | I/O Pins | Timer | A/D8 bit | PWM | Other peripheral interfaces |
16C712 | 1K×14 | 128×8 | 13 | 2*8 bits, 1*16 bits | 4*8 bits | 10 bits (Max)*1ch | Capture/Comparator |
16C712 | 1K×14 | 128×8 | 13 | 2*8 bits, 1*16 bits | 4*8 bits | 10 bits (Max)*1ch | Capture/Comparator |
P87LPC768 | 4K | 128 | 15/18 | 2*16 bits | 4*8 bits | 10 digits*4 channels | USARTI2C Comparator |
P87LPC764 | 4K | 128 | 15/18 | 2*16 bits | - | 10 digits*4 channels | USARTI2C Comparator |
KS86P4104 | 4K | 208 | 16 | 2*8 bits | 5*10 bits | 10 digits*1ch | |
KS86P4304 | 2/4K | 112 | 11/13 | 2*8 bits | 5*10 bits | 12bits*1ch | SIO |
2. Development tools:
Writer: PICSTART-PLUS (Fireware v2.01, Mplab v5.10)
Emulator: Please consult the relevant emulator manufacturer.
3. Methods and precautions for replacing 16C711 MCU When
the original 711 program is transplanted to 712, the following matters should be noted:
1. Modify the following register addresses. (As shown in the table below)
PIC16C711 PIC16C712
ADCON0 08H 1FH
ADRES 09H and 89H 1EH
ADCON1 88H 9FH
PCON 87H 8EH
Register Name | PIC16C711 | PIC16C712 |
ADCON0 | 08H | 1FH |
ADRES | 09H and 89H | 1EH |
ADCON1 | 88H | 9F |
PCON | 87H | 8E |
This can be solved by changing the INCLUDE header file.
2. Redefine the following flags: (as shown in the following table)
PIC16C711 | PIC16C712 | |
ADIE | INTCON,6 | PIE1,6 |
ADIF | ADCON0,1 | PIR1,6 |
3. To enable any external interrupt (including A/D), PEIE (INTCON<6>) must be set to 1. That is, when enabling each interrupt, the instruction BSF PEIE must be added.
4. Different selections of A/D conversion pins
a. The definition of A/D control register ADCON1 in 711 MCU is as follows:
b. The definition of A/D control register ADCON1 in 712/716 microcontroller is as follows:
PCFG2:PCFG0 defines the A/D port as follows:
PCFG2 | PCFG | RA0 | RA1 | RA2 | VREF |
0x0 | A | A | A | A | VDD |
0x1 | A | A | A | VREF | RA3 |
100 | A | A | D | A | VDD |
101 | A | A | D | VREF | RA3 |
11x | D | D | D | D | VDD |
Note: A = analog input port D = digital I/O port VREF = reference voltage
5. Modify the address of the common register.
The address range of the common register of the 711 chip is 0C~4F, while the address range of the common register of the 712/716 chip is 20~7F. Therefore, the common register address used in the original 711 program must be within the address range of the common register of the 712/716 microcontroller.
Previous article:Using PIC16C54 to Make a Simple AM Frequency Counter
Next article:Using PIC12C508A to control the model source program
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Sandia Labs develops battery failure early warning technology to detect battery failures faster
- Ranking of installed capacity of smart driving suppliers from January to September 2024: Rise of independent manufacturers and strong growth of LiDAR market
- Industry first! Xiaopeng announces P7 car chip crowdfunding is completed: upgraded to Snapdragon 8295, fluency doubled
- P22-009_Butterfly E3106 Cord Board Solution
- How is the microcontroller PWM to 4-20mA circuit usually implemented?
- How to configure ST-LINK/V2 in the STM32CUBEIDE environment?
- Recruiting hardware development engineers Annual salary: 120,000-300,000 | Experience: 3-8 years | Work location: Beijing, Chengdu, Wuhan
- TMS570LS1224_GY30 light sensor driver
- Good information on clock division
- A question about the STM32L073 port A driver
- 【Gravity:AS7341 Review】Color Temperature Perception Measurement: Analysis of Three Chip Performance
- Problems with devices that measure temperature
- Huawei Science Comic: How do Bluetooth, Wi-Fi, and GNSS work together? Connectivity Chip
- InstaSPIN Brushless DC (BLDC) Lab