PIC Configuration Bit Knowledge Points

Publisher:电子创意达人Latest update time:2016-12-07 Source: eefocusKeywords:PIC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The standard time of WDT TIMEOUT is 18mSec,
but it is very important that
the minimum value of WDT TIMEOUT is 7~9mSec,
and it will be affected by temperature.
This value is not a test value, but a calculated value, so please do not trust it too much.
If you use WDT, it is recommended to clear WDT within 5mSec.

Note that the chip's LVP (low voltage programming enable) must be disabled. If you really need it to be turned on, make sure your hardware has grounded PGM/RB3.

If your power supply voltage is low, do not turn on BOD (low voltage reset)

The DEBUG (debug mode) in the configuration bit must also be disabled


Keywords:PIC Reference address:PIC Configuration Bit Knowledge Points

Previous article:PIC microcontroller enhanced development board generates two PWM
Next article:PIC Matrix Keyboard Learning

Recommended ReadingLatest update time:2024-11-16 13:05

PIC16F883 and TLC5615 (DA) digital-to-analog conversion experiment, breathing light
I did a digital-to-analog conversion experiment in class today. It was fun, so I wrote it down here. Equipment: PIC16F883 control chip, TLC5615, an LED light, a resistor (1K), PICkit2 downloader Experimental description: This experiment uses the I/O simulation method to achieve digital-to-analog conversion, and the
[Microcontroller]
PIC16F883 and TLC5615 (DA) digital-to-analog conversion experiment, breathing light
PIC16F690 Serial Port Program
Recently, I used the PIC16F690 chip to do a project. There was no interface for product debugging, so I used the serial port to view the data. I used the serial port function under asynchronous communication. The program was relatively simple, so I recorded it for reference.   Configuration part program:      TRIS
[Microcontroller]
PIC16F690 Serial Port Program
A FLASH Bootloader for PIC16 and PIC18 Devices
Author:  Ross M. Fosler and              Rodger Richey              Microchip Technology Inc. Translator: Zhuying Linux WRITING CODE The bootloader operates as a separate entity, which means that an application can be developed with very little concern about what the bootloader is  doing . This is as it should be;
[Microcontroller]
A FLASH Bootloader for PIC16 and PIC18 Devices
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs Microchip Expands 8-bit PIC® and AVR® Microcontrollers with Five New Product Families and More Than 60 New Devices Product Lineup In 2022, as smartphones
[Embedded]
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs
PIC16F + PICC9.50 Study Notes (I)
Today I found that the PIC18F + MCC18 defines the configuration bits to be: //#pragma config OSC=HS,WDT=OFF,VLP=OFF,DEBUG=ON PIC16F + PICC9.50 defines the configuration bits are:  __CONFIG(WDTEN & PWRTEN & MCLREN & BOREN & IESODIS & FCMDIS & INTIO); in DIS= disable EN = enable Note again: In Configure
[Microcontroller]
PIC series microcontroller programming basics, applications and principles (Part 2)
  The following example writes data to the 30H and 50H registers of BANK1 and BANK2.   Example 1. (Assume that the current bank is BANK0)       BSF 4, 5; set bit5 = 1, select BANK1       MOVLW DATA       MOVWF 10H; DATA → 30H       BCF 4, 5       BSF 4, 6; bit6 = 1, bit5 = 0 select BANK2       MOVWF 10H; DATA → 50H   
[Microcontroller]
DS18B20 usage program PIC microcontroller
#include pic.h __CONFIG(0x1832);         //Chip configuration word, watchdog off, power-on delay on, power-off detection off, low voltage programming off, encryption, 4M crystal HS oscillation #define uch unsigned char //Give unsigned char an alias name of uch #define DQ RA2 //define 18B20 data port  #define DQ_DI
[Microcontroller]
Design of digital intelligent lead-acid battery charger based on PIC microcontroller
  introduction   Lead-acid batteries are widely used in various fields such as communications, electric vehicles, military, and aerospace due to their low cost, large capacity, safety, and reliability. The performance and service life of batteries directly affect the service life and safety of electronic products;
[Power Management]
Design of digital intelligent lead-acid battery charger based on PIC microcontroller
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号