dsPICPRO User
’
s Manual
M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D
38
page
MikroElektronika
Development
tools
dsPICPRO
2.0
USB
R
E
A
L
TT
IM
E
CC
L
O
C
K
((
R
T
C
)
In many hardware projects there are needs for
real time clock or delay source. Such devices
as clocks, timers, etc. are impossible to prod-
uct without knowledge of exact time. Real
Time Clock on dsPICPRO development board
is PCF8583P, and it use I2C serial communica-
tion to exchange informations with microcon-
troller. Also, it has one interrupt output. In
order to work properly, both interupt and I2C
communication lines must be connected to
microcontroller by placing switch 6 on
SW2
,
and switches 7 and 8 on
SW3
in ON position.
REAL TIME CLOCK (RTC)
OSCI
OSCO
A0
GND
VDD
INT
SCL
SDA
PCF8583P
10K
10K
10K
32,768 KHz
5-25 pF
BA
T43
BAT43
56
100 nF
3V/230mA
RG15
RC1
RC2
RC3
RC4
RG6
RG7
RG8
MCLR
RG9
Vss
Vdd
RA12
RA13
RB5
RB4
RB3
RB2
RB1
RB0
RC14
RC13
RD0
RD11
RD10
RD9
RD8
RA15
Vss
OSC2
OSC1/CLKI
Vdd
RG2
RG3
RF6
RF7
RF8
RF2
RF3
RB6
RB7
RA9
RA10
AV
d
d
AV
s
s
RB8
RB9
RB1
1
Vss
Vdd
RB12
RB13
RB14
RB15
RD14
RD15
RF4
RF5
RG13
RG12
RG14
RA7
RA6
RG0
RG1
RF1
Vdd
Vss
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
dsPIC30FXXXX
RF0
RB10
RA14
VCC
1
ON
8
7
6
5
4
3
2
1
ON
8
7
6
5
4
3
2
VCC
VCC
SW3
SW2
RD7
RG3
RG2
Figure 45.
Real Time Clock
Figure 46.
Real Time Clock schematic