Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics:

Size: px
Start display at page:

Download "Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics:"

Transcription

1 Section 8. HIGHLIGHTS This section of the manual contains the following topics: 8.1 Introduction Clock Source Selection at POR: Power-on External (EXTR) Software Instruction (SWR) Watchdog Time-out (WDTR) Brown-out (BOR) Using the RCON Status Bits Device Times Device Start-up Time Lines Special Function Register States Design Tips Related Application Notes Revision History Microchip Technology Inc. DS70055C-page 8-1

2 dspic30f Family Reference Manual 8.1 Introduction The module combines all sources and controls the device Master Signal, SYSRST. The following is a list of device sources: POR: Power-on EXTR: Pin (MCLR) SWR: RESET Instruction WDTR: Watchdog Timer BOR: Brown-out TRAPR: Trap Conflict IOPR: Illegal Opcode UWR: Uninitialized W Register A simplified block diagram of the module is shown in Figure 8-1. Any active source of will make the SYSRST signal active. Many registers associated with the CPU and peripherals are forced to a known state. Most registers are unaffected by a ; their status is unknown on POR and unchanged by all other s. Note: Refer to the specific peripheral or CPU section of this manual for register states. All types of device will set a corresponding status bit in the RCON register to indicate the type of (see Register 8-1). A POR will clear all bits except for the POR and BOR bits (RCON<2:1>), which are set. The user may set or clear any bit at any time during code execution. The RCON bits only serve as status bits. Setting a particular status bit in software will not cause a device to occur. The RCON register also has other bits associated with the Low Voltage Detect module, Watchdog Timer, and device power saving states. The function of these bits is discussed in other sections of this manual. Figure 8-1: System Block Diagram RESET Instruction Glitch Filter MCLR Sleep or Idle WDT Module Rise Detect POR SYSRST Brown-out BOREN BOR Trap Conflict Illegal Opcode Uninitialized W Register DS70055C-page Microchip Technology Inc.

3 Section 8. Register 8-1: RCON: Control Register Upper Byte: R/W-0 R/W-0 R-0 R/W-0 R/W-0 R/W-1 R/W-0 R/W-1 TRAPR IOPUWR BGST LVDEN LVDL<3:0> bit 15 bit 8 Lower Byte: R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-1 R/W-1 EXTR SWR SWDTEN WDTO SLEEP IDLE BOR POR bit 7 bit 0 bit 15 bit 14 TRAPR: Trap Flag bit 1 = A Trap Conflict has occurred 0 = A Trap Conflict has not occurred IOPUWR: Illegal Opcode or Uninitialized W Access Flag bit 1 = An illegal opcode detection, an illegal Address mode, or uninitialized W register used as an address pointer caused a 0 = An illegal opcode or uninitialized W has not occurred bit 13 BGST: Bandgap Stable bit 1 = The bandgap has stabilized 0 = Bandgap is not stable and LVD interrupts should be disabled bit 12 LVDEN: Low Voltage Detect Power Enable bit 1 = Enables LVD, powers up LVD circuit 0 = Disables LVD, powers down LVD circuit bit 11-8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 LVDL<3:0>: Low Voltage Detection Limit bits Refer to Section 9. Low Voltage Detect (LVD) for further details. EXTR: External (MCLR) Pin bit 1 = A Master Clear (pin) has occurred 0 = A Master Clear (pin) has not occurred SWR: Software RESET (Instruction) Flag bit 1 = A RESET instruction has been executed 0 = A RESET instruction has not been executed SWDTEN: Software Enable/Disable of WDT bit 1 = WDT is turned on 0 = WDT is turned off Note: If FWDTEN fuse bit is 1 (unprogrammed), the WDT is ALWAYS ENABLED, regardless of the SWDTEN bit setting. WDTO: Watchdog Timer Time-out Flag bit 1 = WDT Time-out has occurred 0 = WDT Time-out has not occurred SLEEP: Wake From Sleep Flag bit 1 = Device has been in Sleep mode 0 = Device has not been in Sleep mode IDLE: Wake-up From Idle Flag bit 1 = Device was in Idle mode 0 = Device was not in Idle mode Microchip Technology Inc. DS70055C-page 8-3

4 dspic30f Family Reference Manual Register 8-1: RCON: Control Register (Continued) bit 1 bit 0 BOR: Brown-out Flag bit 1 = A Brown-out has occurred. Note that BOR is also set after Power-on. 0 = A Brown-out has not occurred POR: Power-on Flag bit 1 = A Power-up has occurred 0 = A Power-up has not occurred Note: All of the status bits may be set or cleared in software. Setting one of these bits in software does not cause a device. Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as 0 -n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown DS70055C-page Microchip Technology Inc.

5 Section Clock Source Selection at If clock switching is enabled, the system clock source at device is chosen as shown in Table 8-1. If clock switching is disabled, the system clock source is always selected according to the oscillator configuration fuses. Refer to Section 7. Oscillator for further details. Table 8-1: Oscillator Selection vs. Type of (Clock Switching Enabled) Type Clock Source Selected Based On POR Oscillator Configuration Fuses BOR Oscillator Configuration Fuses EXTR COSC Control bits (OSCCON<13:12>) WDTR COSC Control bits (OSCCON<13:12>) SWR COSC Control bits (OSCCON<13:12>) 8.3 POR: Power-on There are two threshold voltages associated with a Power-on (POR). The first voltage is the device threshold voltage, VPOR. The device threshold voltage is the voltage at which the device logic circuits become operable. The second voltage associated with a POR event is the POR circuit threshold voltage which is nominally 1.85V. A power-on event will generate an internal Power-on pulse when a rise is detected. The pulse will be generated at VPOR. The device supply voltage characteristics must meet specified starting voltage and rise rate requirements to generate the POR pulse. In particular, must fall below VPOR before a new POR is initiated. For more information on the VPOR and the rise rate specifications, please refer to the Electrical Specifications section of the device data sheet. The POR pulse will reset a POR timer and place the device in the state. The POR also selects the device clock source identified by the oscillator configuration bits. After the Power-on pulse is generated, the POR circuit inserts a small delay, TPOR, which is nominally 10 µs and ensures that internal device bias circuits are stable. Furthermore, a user selected Power-up Time-out (TPWRT) may be applied. The TPWRT parameter is based on device configuration bits and can be 0 ms (no delay), 4 ms, 16 ms or 64 ms. The total delay time at device power-up is TPOR + TPWRT. When these delays have expired, SYSRST will be released on the next leading edge of the instruction cycle clock, and the PC will jump to the vector. The timing for the SYSRST signal is shown in Figure 8-2. A Power-on is initialized when falls below a threshold voltage, VT. The POR delay time is inserted when crosses the POR circuit threshold voltage. Finally, the PWRT delay time, TPWRT, is inserted before SYSRST is released. The power-on event will set the POR and BOR status bits (RCON<1:0>) Microchip Technology Inc. DS70055C-page 8-5

6 dspic30f Family Reference Manual Figure 8-2: POR Module Timing Diagram for Rising POR Circuit Threshold Voltage VPOR Time Internal Power-on pulse occurs at VPOR and begins POR delay time, TPOR. TPOR POR Circuit POR circuit is initialized at VPOR. SYSRST Time TPWRT (0 ms, 4 ms, 16 ms or 64 ms) System is released after Power-up Timer expires. Time Note: When the device exits the condition (begins normal operation), the device operating parameters (voltage, frequency, temperature, etc.) must be within their operating ranges, otherwise the device will not function correctly. The user must ensure that the delay between the time power is first applied and the time SYSRST becomes inactive is long enough to get all operating parameters within specification. DS70055C-page Microchip Technology Inc.

7 Section Using the POR Circuit To take advantage of the POR circuit, just tie the MCLR pin directly to. This will eliminate external RC components usually needed to create a Power-on delay. A minimum rise time for is required. Refer to the Electrical Specifications section in the specific device data sheet for further details. Depending on the application, a resistor may be required between the MCLR pin and. This resistor can be used to decouple the MCLR pin from a noisy power supply rail. The resistor will also be necessary if the device programming voltage, VPP, needs to be placed on the MCLR pin while the device is installed in the application circuit. VPP is 13 volts for most devices. Figure 8-3 shows a possible POR circuit for a slow power supply ramp up. The external Power-on circuit is only required if the device would exit before the device is in the valid operating range. The diode, D, helps discharge the capacitor quickly when powers down. Figure 8-3: External Power-on Circuit (For Slow Rise Time) Power-up Timer (PWRT) D R C R1 MCLR dspic30f Note 1: The value of R should be low enough so that the voltage drop across it does not violate the VIH specification of the MCLR pin. 2: R1 will limit any current flowing into MCLR from external capacitor C in the event of MCLR/VPP pin breakdown, due to Electrostatic Discharge (ESD) or Electrical Overstress (EOS) External (EXTR) The PWRT provides an optional time delay (TPWRT) before SYSRST is released at a device POR or BOR (Brown-out ). The PWRT time delay is provided in addition to the POR delay time (TPOR). The PWRT time delay may be 0 ms, 4 ms, 16 ms or 64 ms nominal (see Figure 8-2). The PWRT delay time is selected using the FPWRT<1:0> configuration fuses in the FBORPOR Device Configuration register. Refer to Section 24. Device Configuration for further details. Whenever the MCLR pin is driven low, the device will asynchronously assert SYSRST, provided the input pulse on MCLR is longer than a certain minimum width. (Refer to the Electrical Specifications in the specific device data sheet for further details.) When the MCLR pin is released, SYSRST will be released on the next instruction clock cycle, and the vector fetch will commence. The processor will maintain the existing clock source that was in use before the EXTR occurred. The EXTR status bit (RCON<7>) will be set to indicate the MCLR. 8.5 Software RESET Instruction (SWR) Whenever the RESET instruction is executed, the device will assert SYSRST, placing the device in a special state. This state will not re-initialize the clock. The clock source in effect prior to the RESET instruction will remain. SYSRST will be released at the next instruction cycle, and the vector fetch will commence. 8.6 Watchdog Time-out (WDTR) Whenever a Watchdog time-out occurs, the device will asynchronously assert SYSRST. The clock source will remain unchanged. Note that a WDT time-out during Sleep or Idle mode will wake-up the processor, but NOT reset the processor. For more information, refer to Section 10. Watchdog Timer and Power Saving Modes Microchip Technology Inc. DS70055C-page 8-7

8 dspic30f Family Reference Manual 8.7 Brown-out (BOR) The BOR (Brown-out ) module is based on an internal voltage reference circuit. The main purpose of the BOR module is to generate a device when a brown-out condition occurs. Brown-out conditions are generally caused by glitches on the AC mains (i.e., missing waveform portions of the AC cycles due to bad power transmission lines), or voltage sags due to excessive current draw when a large load is energized. The BOR module allows selection of one of the following voltage trip points: VBOR = 2.0V VBOR = 2.7V VBOR = 4.2V VBOR = 4.5V Note: The BOR voltage trip points indicated here are nominal values provided for design guidance only. Refer to the Electrical Specifications in the specific device data sheet for BOR voltage limit specifications. On a BOR, the device will select the system clock source based on the device configuration bit values (FPR<3:0>, FOS<1:0>). The PWRT time-out (TPWRT), if enabled, will be applied before SYSRST is released. If a crystal oscillator source is selected, the Brown-out will invoke the Oscillator Start-up Timer (OST). The system clock is held until OST expires. If a system clock source is derived from the PLL, then the clock will be held until the LOCK bit (OSCCON<5>) is set. The BOR status bit (RCON<1>) will be set to indicate that a BOR has occurred. The BOR circuit, if enabled, will continue to operate while in Sleep or Idle modes and will reset the device should fall below the BOR threshold voltage. Refer to the Electrical Specifications section of the appropriate device data sheet for the BOR electrical specifications. Typical brown-out scenarios are shown in Figure 8-4. As shown, a PWRT delay (if enabled) will be initiated each time rises above the VBOR trip point. Figure 8-4: Brown-out Situations SYSRST TPWRT VBOR SYSRST TPWRT VBOR dips before PWRT expires SYSRST TPWRT VBOR DS70055C-page Microchip Technology Inc.

9 Section BOR Configuration The BOR module is enabled/disabled and configured via device configuration fuses. The BOR module is enabled by default and may be disabled (to reduce power consumption) by programming the BOREN device configuration fuse to a 0 (FBORPOR<7>). The BOREN configuration fuse is located in the FBORPOR Device Configuration register. The BOR voltage trip point (VBOR) is selected using the BORV<1:0> configuration fuses (FBOR<5:4>). Refer to Section 24. Device Configuration for further details Current Consumption for BOR Operation Illegal Opcode The BOR circuit relies on an internal voltage reference circuit that is shared with other peripheral devices, such as the Low Voltage Detect module. The internal voltage reference will be active whenever one of its associated peripherals is enabled. For this reason, the user may not observe the expected change in current consumption when the BOR is disabled. A device will be generated if the device attempts to execute an illegal opcode value that was fetched from program memory. The Illegal Opcode function can prevent the device from executing program memory sections that are used to store constant data. To take advantage of the Illegal Opcode, use only the lower 16 bits of each program memory section to store the data values. The upper 8 bits should be programmed with 0x3F, which is an illegal opcode value. If a device occurs as a result of an illegal opcode value, the IOPUWR status bit (RCON<14>) will be set Uninitialized W Register Trap Conflict The W register array (with the exception of W15) is cleared during all s and is considered uninitialized until written to. An attempt to use an uninitialized register as an address pointer will reset the device. Furthermore, the IOPUWR status bit (RCON<14>) will be set. A device will occur whenever multiple hard trap sources become pending at the same time. The TRAPR status bit (RCON<15>) will be set. Refer to Section 6. Interrupts for more information on Trap Conflict s Microchip Technology Inc. DS70055C-page 8-9

10 dspic30f Family Reference Manual 8.8 Using the RCON Status Bits The user can read the RCON register after any device to determine the cause of the. Note: Table 8-2 provides a summary of the flag bit operation. Table 8-2: The status bits in the RCON register should be cleared after they are read so that the next RCON register value after a device will be meaningful. Flag Bit Operation Flag Bit Set by: Cleared by: TRAPR (RCON<15>) Trap conflict event POR IOPWR (RCON<14>) Illegal opcode or uninitialized POR W register access EXTR (RCON<7>) MCLR POR SWR (RCON<6>) RESET instruction POR WDTO (RCON<4>) WDT time-out PWRSAV instruction, POR SLEEP (RCON<3>) PWRSAV #SLEEP instruction POR IDLE (RCON<2>) PWRSAV #IDLE instruction POR BOR (RCON<1>) POR, BOR POR (RCON<0>) POR Note: All RESET flag bits may be set or cleared by the user software. DS70055C-page Microchip Technology Inc.

11 Section Device Times The times for various types of device are summarized in Table 8-3. Note that the system signal, SYSRST, is released after the POR delay time and PWRT delay times expire. The time that the device actually begins to execute code will also depend on the system oscillator delays, which include the Oscillator Start-up Timer (OST) and the PLL lock time. The OST and PLL lock times occur in parallel with the applicable SYSRST delay times. The FSCM delay determines the time at which the FSCM begins to monitor the system clock source after the SYSRST signal is released. Table 8-3: Delay Times for Various Device s Type Clock Source SYSRST Delay System Clock Delay FSCM Delay Notes POR EC, EXTRC, TPOR + TPWRT 1, 2 FRC, LPRC EC + PLL TPOR + TPWRT TLOCK TFSCM 1, 2, 4, 5 XT, HS, XTL, LP TPOR + TPWRT TOST TFSCM 1, 2, 3, 5 XT + PLL TPOR + TPWRT TOST + TLOCK TFSCM 1, 2, 3, 4, 5 BOR EC, EXTRC, TPWRT 2 FRC, LPRC EC + PLL TPWRT TLOCK TFSCM 1, 2, 4, 5 XT, HS, XTL, LP TPWRT TOST TFSCM 1, 2, 3, 5 XT + PLL TPWRT TOST + TLOCK TFSCM 1, 2, 3, 4, 5 MCLR Any Clock WDT Any Clock Software Any clock Illegal Opcode Any Clock Uninitialized W Any Clock Trap Conflict Any Clock Note 1: TPOR = Power-on delay (10 µs nominal). 2: TPWRT = Additional power-up delay as determined by the FPWRT<1:0> configuration bits. This delay is 0 ms, 4 ms, 16 ms or 64 ms nominal. 3: TOST = Oscillator Start-up Timer. A 10-bit counter counts 1024 oscillator periods before releasing the oscillator clock to the system. 4: TLOCK = PLL lock time (20 µs nominal). 5: TFSCM = Fail-Safe Clock Monitor delay (100 µs nominal) Microchip Technology Inc. DS70055C-page 8-11

12 dspic30f Family Reference Manual POR and Long Oscillator Start-up Times The oscillator start-up circuitry and its associated delay timers is not linked to the device delays that occur at power-up. Some crystal circuits (especially low frequency crystals) will have a relatively long start-up time. Therefore, one or more of the following conditions is possible after SYSRST is released: The oscillator circuit has not begun to oscillate. The oscillator start-up timer has NOT expired (if a crystal oscillator is used). The PLL has not achieved a LOCK (if PLL is used). The device will not begin to execute code until a valid clock source has been released to the system. Therefore, the oscillator and PLL start-up delays must be considered when the delay time must be known Fail-Safe Clock Monitor (FSCM) and Device s If the FSCM is enabled, it will begin to monitor the system clock source when SYSRST is released. If a valid clock source is not available at this time, the device will automatically switch to the FRC oscillator and the user can switch to the desired crystal oscillator in the Trap Service Routine FSCM Delay for Crystal and PLL Clock Sources When the system clock source is provided by a crystal oscillator and/or the PLL, a small delay, TFSCM, will automatically be inserted after the POR and PWRT delay times. The FSCM will not begin to monitor the system clock source until this delay expires. The FSCM delay time is nominally 100 µs and provides additional time for the oscillator and/or PLL to stabilize. In most cases, the FSCM delay will prevent an oscillator failure trap at a device when the PWRT is disabled. DS70055C-page Microchip Technology Inc.

13 Section Device Start-up Time Lines Figure 8-5 through Figure 8-8 show graphical time lines of the delays associated with device for several operating scenarios. Figure 8-5 shows the delay time line when a crystal oscillator and PLL are used as the system clock and the PWRT is disabled. The internal Power-on pulse occurs at the VPOR threshold. A small POR delay occurs after the internal pulse. (The POR delay is always inserted before device operation begins.) The FSCM, if enabled, begins to monitor the system clock for activity when the FSCM delay expires. Figure 8-5 shows that the oscillator and PLL delays expire before the Fail-Safe Clock Monitor (FSCM) is enabled. However, it is possible that these delays may not expire until after FSCM is enabled. In this case, the FSCM would detect a clock failure and a clock failure trap will be generated. If the FSCM delay does not provide adequate time for the oscillator and PLL to stabilize, the PWRT could be enabled to allow more delay time before device operation begins and the FSCM starts to monitor the system clock. Figure 8-5: Device Delay, Crystal + PLL Clock Source, PWRT Disabled POR Circuit Threshold Voltage POR Internal Power-on Pulse System released. 8 SYSRST Oscillator TPOR OSC Delay TOST TLOCK Oscillator released to system, device operation begins. System OSC FSCM TFSCM FSCM enabled. Note 1: Delay times shown are not drawn to scale. 2: FSCM, if enabled, monitors system clock at expiration of TPOR + TFSCM. 3: TLOCK not inserted when PLL is disabled Microchip Technology Inc. DS70055C-page 8-13

14 dspic30f Family Reference Manual The time line shown in Figure 8-6 is similar to that shown in Figure 8-5, except that the PWRT has been enabled to increase the amount of delay time before SYSRST is released. The FSCM, if enabled, will begin to monitor the system clock after TFSCM expires. Note that the additional PWRT delay time added to TFSCM provides ample time for the system clock source to stabilize in most cases. Figure 8-6: Device Delay, Crystal + PLL Clock Source, PWRT Enabled POR Circuit Threshold Voltage POR Internal Power-on Pulse Device operation begins. SYSRST TPOR TPWRT OSC Delay TOST TLOCK Oscillator released to system. TFSCM FSCM TFSCM short compared to TPWRT. Note 1: Delay times shown are not drawn to scale. 2: FSCM, if enabled, monitors system clock at expiration of TPOR + TPWRT + TFSCM. 3: TLOCK not inserted when PLL is is disabled. DS70055C-page Microchip Technology Inc.

15 Section 8. The time line in Figure 8-7 shows an example when an EC + PLL clock source is used as the system clock and the PWRT is enabled. This example is similar to the one shown in Figure 8-6, except that the oscillator start-up timer delay, TOST, does not occur. Figure 8-7: Device Delay, EC + PLL Clock, PWRT Enabled POR Circuit Threshold Voltage POR Internal Power-on Pulse Device operation begins. SYSRST TPOR TPWRT OSC Delay TLOCK Oscillator released to system. FSCM TFSCM TFSCM short compared to TPWRT. 8 Note 1: Delay times shown are not drawn to scale. 2: FSCM, if enabled, monitors system clock at expiration of TPOR + TPWRT + TFSCM. 3: TLOCK not inserted when PLL is is disabled Microchip Technology Inc. DS70055C-page 8-15

16 dspic30f Family Reference Manual The time line shown in Figure 8-8 shows an example where an EC without PLL, or RC system clock source is selected and the PWRT is disabled. Note that this configuration provides minimal delays. The POR delay is the only delay time that occurs before device operation begins. No FSCM delay will occur if the FSCM is enabled, because the system clock source is not derived from a crystal oscillator or the PLL. Figure 8-8: Device Delay, EC or RC Clock, PWRT Disabled POR Circuit Threshold Voltage Internal Power-on Pulse POR TPOR System released. SYSRST Oscillator released to system. OSC Delay FSCM Note 1: Delay times shown are not drawn to scale. 2: If enabled, FSCM will begin to monitor system clock at expiration of TPOR Special Function Register States Most of the special function registers (SFRs) associated with the dspic30f CPU and peripherals are reset to a particular value at a device. The SFRs are grouped by their peripheral or CPU function and their values are specified in each section of this manual. The value for each SFR does not depend on the type of, with the exception of two registers. The value for the Control register, RCON, will depend on the type of device. The value for the Oscillator Control register, OSCCON, will depend on the type of and the programmed values of the oscillator configuration bits in the FOSC Device Configuration register (see Table 8-1). DS70055C-page Microchip Technology Inc.

17 Section Design Tips Question 1: How do I use the RCON register? Answer: The initialization code after a should examine RCON and confirm the source of the. In certain applications, this information can be used to take appropriate action to correct the problem that caused the to occur. All status bits in the RCON register should be cleared after reading them to ensure the RCON value will provide meaningful results after the next device. Question 2: How should I use BOR in a battery operated application? Answer: The BOR feature is not designed to operate as a low battery detect, and should be disabled in battery operated systems (to save current). The Low Voltage Detect peripheral can be used to detect when the battery has reached its end of life voltage. Question 3: The BOR module does not have the programmable trip points that my application needs. How can I work around this? Answer: There are some applications where the device s programmable BOR trip point levels may still not be at the desired level for the application. Figure 8-9 shows a possible circuit for external brown-out protection, using the MCP100 system supervisor. Figure 8-9: External Brown-out Protection Using the MCP100 8 MCP100 VSS RST MCLR dspic30f Question 4: I initialized a W register with a 16-bit address, but the device appears to reset when I attempt to use the register as an address. Answer: Because all data addresses are 16 bit values, the uninitialized W register logic only recognizes that a register has been initialized correctly if it was subjected to a word load. Two byte moves to a W register, even if successive, will not work, resulting in a device if the W register is used as an address pointer in an operation Microchip Technology Inc. DS70055C-page 8-17

18 dspic30f Family Reference Manual 8.13 Related Application Notes This section lists application notes that are related to this section of the manual. These application notes may not be written specifically for the dspic30f Product Family, but the concepts are pertinent and could be used with modification and possible limitations. The current application notes related to the module are: Title Application Note # Power-up Trouble Shooting AN607 Power-up Considerations AN522 Note: Please visit the Microchip web site ( for additional Application Notes and code examples for the dspic30f Family of devices. DS70055C-page Microchip Technology Inc.

19 Section Revision History Revision A This is the initial released revision of this document. Revision B There were no technical content or editorial revisions to this section of the manual, however, this section was updated to reflect Revision B throughout the manual. Revision C There were no technical content revisions to this section of the manual, however, this section was updated to reflect Revision C throughout the manual Microchip Technology Inc. DS70055C-page 8-19

20 dspic30f Family Reference Manual NOTES: DS70055C-page Microchip Technology Inc.

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics:

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics: Section 8. HIGHLIGHTS This section of the manual contains the following major topics: 8.1 Introduction... 8-2 8.2 Control Registers...8-3 8.3 System...8-6 8.4 Using the RCON Status Bits... 8-11 8.5 Device

More information

Section 10. Watchdog Timer and Power Saving Modes

Section 10. Watchdog Timer and Power Saving Modes Section 10. Watchdog Timer and Power Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 10.1 Introduction... 10-2 10.2 Power Saving Modes... 10-2 10.3 Sleep Mode...10-2 10.4

More information

Section 10. Power-Saving Features

Section 10. Power-Saving Features Section 10. Power-Saving Features HIGHLIGHTS This section of the manual contains the following major topics: 10.1 Introduction... 10-2 10.2 Microcontroller Clock Manipulation... 10-2 10.3 Instruction-Based

More information

Section 28. WDT and SLEEP Mode

Section 28. WDT and SLEEP Mode Section 28. WDT and SLEEP Mode HIGHLIGHTS This section of the manual contains the following major topics: 28 28.1 Introduction... 28-2 28.2 Control Register... 28-3 28.3 Watchdog Timer (WDT) Operation...

More information

Section 9. Watchdog Timer (WDT) and Power-Saving Modes

Section 9. Watchdog Timer (WDT) and Power-Saving Modes Section 9. Watchdog Timer (WDT) and Power-Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 9.1 Introduction... 9-2 9.2 Power-Saving Modes... 9-2 9.3 Watchdog Timer (WDT)...

More information

Section 9. Watchdog Timer (WDT)

Section 9. Watchdog Timer (WDT) Section 9. Watchdog Timer (WDT) HIGHLIGHTS This section of the manual contains the following major topics: 9.1 Introduction... 9-2 9.2 WDT Operation... 9-2 9.3 Register Maps...9-5 9.4 Design Tips... 9-6

More information

Section 7. Reset HIGHLIGHTS. Reset

Section 7. Reset HIGHLIGHTS. Reset Section 7. Reset HIGHLIGHTS This section of the manual contains the following topics: 7.1 Introduction... 7-2 7.2 Clock Source Selection at Reset... 7-6 7.3 Power-on Reset (POR)... 7-6 7.4 MCLR Reset...

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-3 7.3 Configuration Registers... 7-4 7.4 Special Function Registers... 7-7

More information

Section 9. Watchdog Timer and Power-up Timer

Section 9. Watchdog Timer and Power-up Timer Section 9. Watchdog Timer and Power-up Timer HIGHLIGHTS This section of the manual contains the following topics: 9.1 Introduction... 9-2 9.2 Watchdog Timer and Power-up Timer Control Registers... 9-3

More information

Section 33. Device Configuration (Part II)

Section 33. Device Configuration (Part II) Section 33. Device Configuration (Part II) HIGHLIGHTS This section of the manual contains the following major topics: 33.1 Introduction... 33-2 33.2 Device Configuration Registers... 33-2 33.3 Configuration

More information

Section 7. Oscillator

Section 7. Oscillator Section 7. HIGHLIGHTS This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

More information

Section 42. Oscillators with Enhanced PLL

Section 42. Oscillators with Enhanced PLL Section 42. Oscillators with Enhanced PLL HIGHLIGHTS This section of the manual contains the following major topics: 42.1 Introduction... 42-2 42.2 Control Registers... 42-4 42.3 Operation: Clock Generation

More information

Section 32. High-Level Device Integration

Section 32. High-Level Device Integration HIGHLIGHTS Section 32. High-Level Device Integration This section of the manual contains the following topics: 32 32.1 Introduction... 32-2 32.2 Device Configuration... 32-2 32.3 Device Identification...

More information

dspic30f dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE 2.0 PROGRAMMING OVERVIEW OF THE dspic30f 2.1 Hardware Requirements

dspic30f dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE 2.0 PROGRAMMING OVERVIEW OF THE dspic30f 2.1 Hardware Requirements dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE This document defines the programming specification for the dspic30f family of Digital Signal Controllers (DSCs). The programming specification

More information

Section 14. Timer1 HIGHLIGHTS. Timer1. This section of the manual contains the following major topics:

Section 14. Timer1 HIGHLIGHTS. Timer1. This section of the manual contains the following major topics: Section 14. Timer1 HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction... 14-2 14.2 Control Register... 14-4 14.3 Timer1 Operation in Timer Mode... 14-5 14.4 Timer1

More information

Microcomputers. C and Embedded Systems

Microcomputers. C and Embedded Systems Microcomputers PIC24 Startup Lecture 5-1 C and Embedded Systems A P-based system used in a device (i.e, a car engine) performing control and monitoring functions is referred to as an embedded system. The

More information

Section 29. Device Configuration Bits

Section 29. Device Configuration Bits Section 29. Device Configuration Bits HIGHLIGHTS This section of the manual contains the following major topics: 29.1 Introduction... 29-2 29.2 Configuration Word Bits... 29-3 29.3 Program Verification/Code

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

n/a PIC12F629-I/P (RC) n/a PIC12F629-I/SN (RC) n/a PIC12F675-I/P (RC) n/a PIC12F675-I/SN MICROCONTROLLER (RC)

n/a PIC12F629-I/P (RC) n/a PIC12F629-I/SN (RC) n/a PIC12F675-I/P (RC) n/a PIC12F675-I/SN MICROCONTROLLER (RC) DATA SHEET PIC Microcontrollers Order code Manufacturer code Description 73-36 n/a PICF69-I/P (RC) 73-364 n/a PICF69-I/SN (RC) 73-34 n/a PICF675-I/P (RC) 73-36 n/a PICF675-I/SN MICROCONTROLLER (RC) PIC

More information

8051 Microcontroller Interrupts

8051 Microcontroller Interrupts 8051 Microcontroller Interrupts There are five interrupt sources for the 8051, which means that they can recognize 5 different events that can interrupt regular program execution. Each interrupt can be

More information

Section 11. Timer0. Timer0 HIGHLIGHTS. This section of the manual contains the following major topics:

Section 11. Timer0. Timer0 HIGHLIGHTS. This section of the manual contains the following major topics: M 11 Section 11. HIGHLIGHTS This section of the manual contains the following major topics: 11.1 Introduction...11-2 11.2 Control Register...11-3 11.3 Operation...11-4 11.4 TMR0 Interrupt...11-5 11.5 Using

More information

Section 16. Basic Sychronous Serial Port (BSSP)

Section 16. Basic Sychronous Serial Port (BSSP) M 16 Section 16. Basic Sychronous Serial Port (BSSP) BSSP HIGHLIGHTS This section of the manual contains the following major topics: 16.1 Introduction...16-2 16.2 Control Registers...16-3 16.3 SPI Mode...16-6

More information

Section 37. Real-Time Clock and Calendar (RTCC)

Section 37. Real-Time Clock and Calendar (RTCC) Section 37. Real-Time Clock and Calendar (RTCC) HIGHLIGHTS This section of the manual contains the following major topics: 37 37.1 Introduction... 37-2 37.2 RTCC Module Registers... 37-3 37.3 RTCC Operation...

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

Module Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events.

Module Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. Module Introduction PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. OBJECTIVES: - Describe the difference between resets and interrupts. - Identify

More information

Lecture (03) PIC16F84 (2)

Lecture (03) PIC16F84 (2) Lecture (03) PIC16F84 (2) By: Dr. Ahmed ElShafee ١ PIC16F84 has a RISC architecture, or Harvard architecture in another word ٢ PIC16F84 belongs to a class of 8 bit microcontrollers of RISC architecture.

More information

PIC18F to PIC24F Migration: An Overview

PIC18F to PIC24F Migration: An Overview PIC18F to PIC24F Migration: An Overview INTRODUCTION The PIC24F architecture specification was created as a powerful extension of Microchip s existing RISC microcontroller portfolio. By giving users an

More information

Section 13. Timer0 HIGHLIGHTS. Timer0. This section of the manual contains the following major topics:

Section 13. Timer0 HIGHLIGHTS. Timer0. This section of the manual contains the following major topics: Section 13. Timer0 HIGHLIGHTS This section of the manual contains the following major topics: 13.1 Introduction... 13-2 13.2 Control Register... 13-3 13.3 Operation... 13-4 13.4 Timer0 Interrupt... 13-5

More information

#pragma config Usage. #pragma config Settings. #pragma config <setting>=<named value>

#pragma config Usage. #pragma config Settings. #pragma config <setting>=<named value> 1 z 6 27.3.2015 17:21 #pragma config Usage #pragma config = // Oscillator Selection bits: 11XX External RC oscillator, CLKO function on RA6 // Fail-Safe Clock Monitor Enable bit:

More information

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features: PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions

More information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1 M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The

More information

Section 21. Inter-Integrated Circuit (I 2 C )

Section 21. Inter-Integrated Circuit (I 2 C ) 21 Section 21. Inter-Integrated Circuit (I 2 C ) HIGHLIGHTS Inter-Integrated Circuit (I 2 C ) This section of the manual contains the following major topics: 21.1 Overview... 21-2 21.2 I 2 C Bus Characteristics...

More information

DS1238A MicroManager PIN ASSIGNMENT PIN DESCRIPTION V BAT V CCO V CC

DS1238A MicroManager PIN ASSIGNMENT PIN DESCRIPTION V BAT V CCO V CC MicroManager www.dalsemi.com FEATURES Holds microprocessor in check during power transients Halts and restarts an out-of-control microprocessor Warns microprocessor of an impending power failure Converts

More information

Lecture (02) PIC16F84 (I)

Lecture (02) PIC16F84 (I) Lecture (02) PIC16F84 (I) By: Dr. Ahmed ElShafee ١ Review of Memory Technologies The PIC 16 Series PIC 16F84A The PIC 16F84A Memory The Oscillator Instruction Cycle Power up and Reset Parallel ports Technical

More information

Real Time Embedded Systems. Lecture 1 January 17, 2012

Real Time Embedded Systems.  Lecture 1 January 17, 2012 Low-Power & Reset Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO

More information

Section 62. Dual Watchdog Timer

Section 62. Dual Watchdog Timer HIGHLIGHTS Section 62. Dual Watchdog Timer This section of the manual contains the following major topics: 62 62.1 Introduction... 62-2 62.2 Watchdog Timer Control Registers... 62-3 62.3 Watchdog Timer

More information

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,

More information

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment Maxim > Design Support > Technical Documents > Application Notes > Automotive > APP 655 Maxim > Design Support > Technical Documents > Application Notes > Microprocessor Supervisor Circuits > APP 655 Keywords:

More information

System Reset / C167. Figure 17-1 External Reset Circuitry. Semiconductor Group 17-1

System Reset / C167. Figure 17-1 External Reset Circuitry. Semiconductor Group 17-1 17 System Reset The internal system reset function provides initialization of the C167 into a defined default state and is invoked either by asserting a hardware reset signal on pin RSTIN (Hardware Reset

More information

Section 5. Flash Programming

Section 5. Flash Programming Section 5. Flash Programming HIGHLIGHTS This section of the manual contains the following topics: 5.1 Introduction... 5-2 5.2 Table Instruction Operation... 5-3 5.3 Control Registers...5-6 5.4 Run-Time

More information

Section 30. In-Circuit Serial Programming (ICSP )

Section 30. In-Circuit Serial Programming (ICSP ) Section 30. In-Circuit Serial Programming (ICSP ) HIGHLIGHTS This section of the manual contains the following major topics: 30. Introduction... 30-2 30.2 Entering In-Circuit Serial Programming Mode...

More information

Powering Up and Programming the ProcessorPM isppac-powr605

Powering Up and Programming the ProcessorPM isppac-powr605 the ProcessorPM isppac-powr605 April 2011 Application Note AN6082 Introduction This application note discusses the states of the ProcessorPM isppac -POWR605 device s open drain logic outputs (IN_OUT1 to

More information

Section 24. Comparator

Section 24. Comparator Section 24. HIGHLIGHTS This section of the manual contains the following major topics: 24.1 Introduction... 24-2 24.2 Control Register... 24-3 24.3 Configuration... 24-4 24.4 Operation... 24-6 24.5 Reference...

More information

Section 20. Serial Peripheral Interface (SPI)

Section 20. Serial Peripheral Interface (SPI) Section 20. Serial Peripheral Interface (SPI) HIGHLIGHTS This section of the manual contains the following major topics: 20.1 Introduction... 20-2 20.2 Status and Control Registers... 20-4 20.3 Modes of

More information

Dual Watchdog Timer HIGHLIGHTS. This section of the manual contains the following major topics:

Dual Watchdog Timer HIGHLIGHTS. This section of the manual contains the following major topics: Dual Watchdog Timer HIGHLIGHTS This section of the manual contains the following major topics: 1.0 Introduction... 2 2.0 Watchdog Timer Control Registers... 3 3.0 Watchdog Timer Operation... 9 4.0 Interrupts

More information

DS 1682 Total Elapsed Time Recorder with Alarm

DS 1682 Total Elapsed Time Recorder with Alarm DS 1682 Total Elapsed Time Recorder with Alarm www.dalsemi.com FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed Time Counter

More information

80C51GB, 83C51GB, 87C51GB SPECIFICATION UPDATE

80C51GB, 83C51GB, 87C51GB SPECIFICATION UPDATE 80C51GB, 83C51GB, 87C51GB SPECIFICATION UPDATE Release Date: December, 1996 Order Number: 272880-003 The 80C51GB, 83C51GB, 87C51GB may contain design defects or errors known as errata. Characterized errata

More information

Section 16. Analog-to-Digital Converter (ADC)

Section 16. Analog-to-Digital Converter (ADC) 16 HIGHLIGHTS Section 16. Analog-to-Digital er (ADC) This section of the manual contains the following major topics: Analog-to-Digital er (ADC) 16.1 Introduction... 16-2 16.2 Control Registers... 16-6

More information

Section 46. Scalable Comparator Module

Section 46. Scalable Comparator Module 46 Section 46. Scalable Module Scalable Module HIGHLIGHTS This section of the manual contains the following major topics: 46.1 Introduction... 46-2 46.2 Control Register... 46-4 46.3 Operation... 46-7

More information

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED www.analog.com www.hittite.com THIS PAGE INTENTIONALLY LEFT BLANK RF PLL+VCO Power-Up & Brown-Out Design

More information

Section 33. Programming and Diagnostics

Section 33. Programming and Diagnostics Section 33. Programming and Diagnostics HIGHLIGHTS This section of the manual contains the following topics: 33.1 Introduction... 33-2 33.2 Control Registers... 33-3 33.3 Operation... 33-7 33.4 Interrupts...

More information

8-bit Microcontroller with 1K Byte Flash. ATtiny11. ATtiny12

8-bit Microcontroller with 1K Byte Flash. ATtiny11. ATtiny12 Features Utilizes the AVR RISC Architecture High-performance and Low-power 8-bit RISC Architecture 90 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Up

More information

PIC18F010/020 Data Sheet

PIC18F010/020 Data Sheet Data Sheet High Performance Microcontrollers 2001 Microchip Technology Inc. Preliminary DS41142A All rights reserved. Copyright 2001, Microchip Technology Incorporated, USA. Information contained in this

More information

DS1676 Total Elapsed Time Recorder, Erasable

DS1676 Total Elapsed Time Recorder, Erasable www.dalsemi.com Preliminary DS1676 Total Elapsed Time Recorder, Erasable FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed

More information

8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration

8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration Features Utilizes the AVR RISC Architecture High-performance and Low-power 8-bit RISC Architecture 90 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers

More information

Tutorial Introduction

Tutorial Introduction Tutorial Introduction PURPOSE: - To explain MCU processing of reset and and interrupt events OBJECTIVES: - Describe the differences between resets and interrupts. - Identify different sources of resets

More information

PIC18LF46K50. Flash Memory Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW. 2.2 Dedicated ICSP/ICD Port (44-Pin TQFP Only)

PIC18LF46K50. Flash Memory Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW. 2.2 Dedicated ICSP/ICD Port (44-Pin TQFP Only) Flash Memory Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F24K50 PIC18F25K50 PIC18F26K50 PIC18F45K50 PIC18F46K50 PIC18LF24K50

More information

Section 6. Interrupts

Section 6. Interrupts Section. Interrupts Interrupts HIGHLIGHTS This section of the manual contains the following topics:.1 Introduction... -2.2 Non-Maskable Traps... -7.3 Interrupt Processing Timing...-13.4 Interrupt Control

More information

MC68HC908GR8A MC68HC908GR4A Data Sheet

MC68HC908GR8A MC68HC908GR4A Data Sheet MC68HC908GR8A MC68HC908GRA Data Sheet M68HC08 Microcontrollers MC68HC908GR8A Rev. 5 0/2007 freescale.com MC68HC908GR8A MC68HC908GRA Data Sheet To provide the most up-to-date information, the revision

More information

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. 1 The RCC controller integrated inside STM32 products manages system and peripheral clocks. STM32F7 devices embed two internal

More information

Application Note. Introduction. AN2461/D Rev. 0, 2/2003. Low Power Management using HCS12 and SBC devices

Application Note. Introduction. AN2461/D Rev. 0, 2/2003. Low Power Management using HCS12 and SBC devices Application Note Rev. 0, 2/2003 Low Power Management using HCS12 and SBC devices By Manuel Alves Field Application Engineer Transportation and Standard Products Group Toulouse, France Introduction Low

More information

12 Push-Pull Outputs and 4 Inputs

12 Push-Pull Outputs and 4 Inputs EVALUATION KIT AVAILABLE MAX7326 General Description The MAX7326 2-wire serial-interfaced peripheral features 16 I/O ports. The ports are divided into 12 push-pull outputs and four input ports with selectable

More information

I 2 C Port Expander with Eight Inputs. Features

I 2 C Port Expander with Eight Inputs. Features EVALUATION KIT AVAILABLE MAX7319 General Description The MAX7319 2-wire serial-interfaced peripheral fea-tures eight input ports with selectable internal pullups, overvoltage protection to +6V, and transition

More information

Section 3. Data Memory

Section 3. Data Memory Section 3. Data Memory HIGHLIGHTS This section of the manual contains the following topics: 3.1 Introduction... 3-2 3.2 Data Space Address Generator Units (AGUs)... 3-5 3.3 Modulo Addressing... 3-7 3.4

More information

Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer

Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer 6/5/2008 1 Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration

More information

Programming for PIC18FXX2/FXX8 FLASH MCUs PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming. Pin Name Pin Type Pin Description

Programming for PIC18FXX2/FXX8 FLASH MCUs PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming. Pin Name Pin Type Pin Description M Programming for PIC18FXX2/FXX8 FLASH MCUs 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F242 PIC18F248 PIC18F252 PIC18F258 PIC18F442 PIC18F448

More information

Section 9. Watchdog Timer and Power-up Timer

Section 9. Watchdog Timer and Power-up Timer Section 9. Watchdog Timer and Power-up Timer HIGHLIGHTS This section of the manual contains the following major topics: 9.1 Introduction...9-2 9.2 Watchdog Timer and Power-up Timer Control Registers...9-3

More information

1. Features and Benefits

1. Features and Benefits 1. Features and Benefits Single die, low cost 16x4 pixels IR array Factory calibrated absolute PTAT temperature sensor for measuring die temperature Separate channel for connecting additional IR sensor

More information

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)

More information

Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 MCU Part: V Mask Set: 00F98R Division Report Generated: Aug 27, 96 17:37

Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 MCU Part: V Mask Set: 00F98R Division Report Generated: Aug 27, 96 17:37 Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 ========================================= 68332.V 00F98R Modules ========================================= Current Module Revision =========================================

More information

+Denotes a lead(pb)-free/rohs-compliant package.

+Denotes a lead(pb)-free/rohs-compliant package. EVALUATION KIT AVAILABLE MAX7320 General Description The MAX7320 2-wire serial-interfaced peripheral features eight push-pull outputs with selectable power-up logic states. The +5.5V tolerant RST input

More information

Section 20. Comparator Voltage Reference Module

Section 20. Comparator Voltage Reference Module Section 20. Comparator Voltage eference Module HIGHLIGHTS This section of the manual contains the following major topics: 20.1 Introduction... 20-2 20.2 Configuring the Comparator Voltage eference... 20-3

More information

and 8 Open-Drain I/Os

and 8 Open-Drain I/Os EVALUATION KIT AVAILABLE MAX7325 General Description The MAX7325 2-wire serial-interfaced peripheral features 16 I/O ports. Ports are divided into eight push-pull outputs and eight I/Os with selectable

More information

NH-67, TRICHY MAIN ROAD, PULIYUR, C.F , KARUR DT. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING COURSE MATERIAL

NH-67, TRICHY MAIN ROAD, PULIYUR, C.F , KARUR DT. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING COURSE MATERIAL NH-67, TRICHY MAIN ROAD, PULIYUR, C.F. 639 114, KARUR DT. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING COURSE MATERIAL Subject Name : Embedded System Class/Sem : BE (ECE) / VII Subject Code

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes _ V9.12. 225 Technical Notes Intel 8085 Family In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes knowledge

More information

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management Application Note Family System Power Management 1. Introduction In addition to fundamentally low power RTC operation, the Ambiq includes the capability to effectively manage the power of other devices

More information

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2323 AT90LS2323 AT90S2343 AT90S/LS2323. Features.

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2323 AT90LS2323 AT90S2343 AT90S/LS2323. Features. Features Utilizes the AVR RISC Architecture AVR - High-performance and Low-power RISC Architecture 118 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers

More information

TP6836. USB 2.4G RF Dongle. Data Sheet

TP6836. USB 2.4G RF Dongle. Data Sheet TP6836 Data Sheet tenx reserves the right to change or discontinue the manual and online documentation to this product herein to improve reliability, function or design without further notice. tenx does

More information

Section 5. Flash Programming

Section 5. Flash Programming Section 5. Flash Programming HIGHLIGHTS This section of the manual contains the following topics: 5.1 Introduction... 5-2 5.2 Table Instruction Operation... 5-2 5.3 Control Registers...5-5 5.4 Run-Time

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F872X FAMILY. During Programming

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F872X FAMILY. During Programming Flash Microcontroller Programming Specification 10 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6527 PIC18F6622 PIC18F6627 PIC18F6628 PIC18F6722

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the

More information

Section 18. Serial Peripheral Interface (SPI)

Section 18. Serial Peripheral Interface (SPI) Section 18. Serial Peripheral Interface (SPI) HIGHLIGHTS This section of the manual contains the following major topics: 18.1 Introduction... 18-2 18.2 SPI Registers...18-3 18.3 Modes of Operation... 18-7

More information

FlashFlex MCU SST89C58RC

FlashFlex MCU SST89C58RC Introduction This document provides the instructions to help programming vendors qualify SST FlashFlex microcontrollers. Functional Blocks 051 CPU Core ALU, ACC, B-Register, Instruction Register, Program

More information

TouchCore351-ML16IP. Capacitive Touch Sensor Controller

TouchCore351-ML16IP. Capacitive Touch Sensor Controller Total Solution of MCU TouchCore351-ML16IP Capacitive Touch Sensor Controller CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and other changes

More information

MIC1832. General Description. Features. Applications. Typical Application

MIC1832. General Description. Features. Applications. Typical Application 3.3V Voltage Supervisor with Manual Reset, Watchdog Timer and Dual Reset Outputs General Description The is a low-current microprocessor supervisor for monitoring 3.3V and 3V systems. The device features

More information

PCI-SIG ENGINEERING CHANGE NOTICE

PCI-SIG ENGINEERING CHANGE NOTICE TITLE: PCI-SIG ENGINEERING CHANGE NOTICE Optimized Buffer Flush/Fill DATE: Updated 30 April 2009, original request: 8 February 2008 AFFECTED DOCUMENTS: SPONSORS: Part I PCI Express Base Specification,

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX20. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX20. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6520 PIC18F6620 PIC18F6720 PIC18F8520 PIC18F8620

More information

Section 32. Interrupts (Part III)

Section 32. Interrupts (Part III) HIGHLIGHTS Section 32. Interrupts (Part III) This section of the manual contains the following topics: 32 32.1 Introduction... 32-2 32.2 Non-Maskable Traps... 32-7 32.3 Interrupt Processing Timing... 32-13

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F242 PIC18F248 PIC18F252 PIC18F258 PIC18F442 PIC18F448

More information

Section 28. Interrupts (Part 2)

Section 28. Interrupts (Part 2) Section 28. Interrupts (Part 2) HIGHLIGHTS This section of the manual contains the following topics: 28.1 Introduction... 28-2 28.2 Non-Maskable Traps... 28-6 28.3 Interrupt Processing Timing... 28-11

More information

GUIDE OF POWER ON RESET

GUIDE OF POWER ON RESET Application Note GUIDE OF POWER ON RESET AN0026 Ver 1.0 Document information Info Keywords Abstract Content ABOV M8051/CM8051 Device This application note describes the Power on reset behavior to prevent

More information

Section 30. I/O Ports with Peripheral Pin Select

Section 30. I/O Ports with Peripheral Pin Select Section I/O Ports with Peripheral Pin Select HIGHLIGHTS This section contains the following major topics: 1 Introduction -2 2 I/O Port Control Registers -3 3 Peripheral Multiplexing -5 4 Peripheral Pin

More information

Features. Ordering Information. Selector Guide. Applications. Pin Configurations. I 2 C Port Expander with 8 Open-Drain I/Os

Features. Ordering Information. Selector Guide. Applications. Pin Configurations. I 2 C Port Expander with 8 Open-Drain I/Os General Description The MAX7321 2-wire serial-interfaced peripheral features eight open-drain I/O ports with selectable internal pullups and transition detection. Any port may be used as a logic input

More information

Section 1. Introduction

Section 1. Introduction 1 Section 1. Introduction Introduction HIGHLIGHTS This section of the manual contains the following topics: 1.1 Introduction... 1-2 1.2 Device Structure...1-3 1.3 Development Support... 1-4 1.4 Style and

More information

DS1814/DS1819 5V and 3.3V MicroMonitor

DS1814/DS1819 5V and 3.3V MicroMonitor 5V and 3.3V MicroMonitor www.maxim-ic.com FEATURES Halts and restarts an out-of-control microprocessor Holds microprocessor in check during power transients Automatically restarts microprocessor after

More information

FXL6408 Fully Configurable 8-Bit I 2 C-Controlled GPIO Expander

FXL6408 Fully Configurable 8-Bit I 2 C-Controlled GPIO Expander October 2012 FXL6408 Fully Configurable 8-Bit I 2 C-Controlled GPIO Expander Features 4X Expansion of Connected Processor I/O Ports Fully Integrated I 2 C Slave 8 Independently Configurable I/O Ports Low-Power

More information

SECTION 5 RESETS AND INTERRUPTS

SECTION 5 RESETS AND INTERRUPTS SECTION RESETS AND INTERRUPTS Resets and interrupt operations load the program counter with a vector that points to a new location from which instructions are to be fetched. A reset immediately stops execution

More information