DM240002 Microchip Technology, DM240002 Datasheet - Page 31

BOARD DEV EXPLORER 16 44-PIN

DM240002

Manufacturer Part Number
DM240002
Description
BOARD DEV EXPLORER 16 44-PIN
Manufacturer
Microchip Technology
Series
Explorer 16 44-pinr
Type
MCUr
Datasheet

Specifications of DM240002

Contents
Explorer 16 Dev Board, PIC24FJ64GA004 and dsPIC33FJ32GP204 PIM Modules
Processor To Be Evaluated
PIC24FJ128GA010, dsPIC33FJ256GP710
Processor Series
PIC 24, dsPIC33
Data Bus Width
32 bit
Interface Type
RS-232
Silicon Manufacturer
Microchip
Core Architecture
PIC, DsPIC
Core Sub-architecture
PIC24, DsPIC33
Silicon Core Number
PIC24F, DsPIC33F
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30, dsPIC33, PIC32, PIC24FJ, PIC24HJ
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM240002
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM240002
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2007 Microchip Technology Inc.
FIGURE 3-7:
TMR0 is a Special Function Register (SFR) and may be read or modified by the pro-
gram. The prescaler is not a SFR and thus cannot be read or modified by the program.
However, writing to TMR0 clears the prescaler.
The timer may be fed either by the same clock that drives the processor or by an exter-
nal event. Driven by the processor clock, it increments once for every instruction cycle.
This is a convenient method of marking time and is better than delay loops, as it allows
the processor to work on the problem rather than waste cycles in delay loops.
The prescaler is configured through the OPTION_REG, see Figure 3-8.
FIGURE 3-8:
Lesson 9 configures Timer0 with the prescaler for a maximum delay on Timer0. The
prescaler will divide the processor clock by 256 and Timer0 will divide that by 256
again. Thus, the Timer0 Flag will be set every 65536 μs (0.0000001 second * 256 *
256), or about 15 times a second. The main program sits in a loop waiting for the
rollover and when it does, it increments the display and then loops back.
Legend:
bit 7
Clock/4 or
T0CKI pin
X:
T0CS: Timer0 Clock Source 0 for Instruction Clock.
T0SE: Timer0 Source Edge – Don’t care when connected to instruction clock.
PSA:
PS:
X
Don’t cares – not Timer0 related.
Prescaler Assignment 0 assigns to Timer0.
Prescaler rate select ‘111’ – full prescaler, divide by 256.
Prescaler may be configured
to divide by 2, 4, 8, 16, 32, 64,
128 or 256.
X
TIMER0 SIMPLIFIED
PRESCALER CONFIGURATION THROUGH OPTION_REG
T0CS
Prescaler
44-Pin Demo Board Lessons
T0SE
PSA
TMR0
PS2
PS1
Flag set when
TMR0 overflows.
Must be cleared
in software.
DS41296B-page 27
T0IF
PS0
bit 0

Related parts for DM240002