• Reference for supply and temperature-independent
tone output
• Filtering for low output distortion (CEPT compatible)
• Melody output for ringer application
• Power-on-reset
• Stop and Idle modes
• Supply voltage: 1.8 to 6 V (DTMF tone output and
EEPROM erase/write from 2.5 V)
• Clock frequency: 1 to 16 MHz (3.58 MHz for DTMF
suggested)
• Operating ambient temperature: −25 to +70 °C or
0to50°C
• Manufactured in silicon gate CMOS process.
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
2GENERAL DESCRIPTION
This data sheet details the specific properties of the
devices referred to. The shared properties of the
PCD33xxA family of microcontrollers are described in the
“PCD33xxA family”
conjunction with this publication.
• ‘PCA3351C; 52C; 53C’ denotes the types PCA3351C,
PCA3352C and PCA3353C. Unless specified, these
types will hereafter be referred to collectively as
‘PCA335xC’.
• ‘PCD3351A; 52A; 53A’ denotes the types PCD3351A,
PCD3352A, PCD3353A. Unless specified, these types
will hereafter be referred to collectively as ‘PCD335xA’.
The PCA335xC and PCD335xA are microcontrollers
designed primarily for telephony applications. They
include an on-chip generator for dual tone multifrequency
(DTMF), modem and musical tones. In addition to dialling,
generated frequencies can be made available as square
waves for melody generation, providing ringer operation.
The PCA335xC and PCD335xA also incorporate
128 bytes of EEPROM, permitting data storage without
battery backup. The EEPROM can be used for storing
telephone numbers, particularly for implementing redial
functions.
The PCA335xC and PCD335xA can be emulated with the
OTP microcontrollers PCD3755A and PCD3755E.
See Chapter 14, Table 25.
The instruction set is similar to that of the MAB8048 and is
a sub-set of that listed in the
sheet.
The differences between PCA335xC and PCD335xA are
shown in Table 1.
Table 1 Differences: PCA335xC and PCD335xA
TYPEV
PCA335xCfixed at 2.0 V ±0.3 V0 to 50 °C
PCD335xA(1.2 to 3.6 V) ±0.5 V
Note
1. See Chapter 14, Table 26.
data sheet, which should be read in
“PCD33xxA family”
POR
(1)
data
AMBIENT
TEMP. RANGE
−25 to +70 °C
1999 Oct 283
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
1. The types:
a) PCA335xC denotes: PCA3351C, PCA3352C or PCA3353C.
b) PCD335xA denotes: PCD3351A, PCD3352A or PCD3353A.
(1)
NAMEDESCRIPTIONVERSION
PACKAGE
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
1999 Oct 284
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
4BLOCK DIAGRAM
8
PORT 0
P0.0 to P0.7
2 kbytes
RESIDENT ROM
P1.7/MDY P1.0 to P1.6
BUFFER
6 kbytes
4 kbytes
(PCD3353C; 53A)
(PCD3352C; 52A)
(PCD3351C; 51A)
PORT 1
BUFFER
PORT 0
FLIP-FLOP
PORT 1
FLIP-FLOP
DECODE
INTERNAL
BANK
MEMORY
FLIP-FLOPS
FREQ.
CLOCK
30
WORD
STATUS
PROGRAM
LOWER
COUNTER
PROGRAM
5888 8
HIGHER
COUNTER
PROGRAM
PCD3351A
PCD3352A
PCD3353A
PCA3351C
PCA3352C
PCA3353C
8
8
EVENT
TIMER/
COUNTER
32
T1
8
8
88
88
8
REGISTER 0
REGISTER 1
REGISTER 2
MULTIPLEXER
RAM
ADDRESS
REGISTER 1
TEMPORARY
ACCUMULATOR
REGISTER 3
REGISTER 4
REGISTER 5
REGISTER
REGISTER
INSTRUCTION
ARITHMETIC
timer interrupt
REGISTER 6
REGISTER 7
8 LEVEL STACK
DECOD
AND
DECODER
REGISTER 2
TEMPORARY
external interrupt
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
MLA537
64 bytes
DATA STORE
REGISTER BANK
OPTIONAL SECOND
(VARIABLE LENGTH)
E
FLAG
T1
CE/T0
TIMER
CONDITIONAL
ADJUST
DECIMAL
LOGIC UNIT
BRANCH
128 bytes
(PCD3351C; 51A)
RESIDENT RAM ARRAY
TEST
ACC BIT
ACC
CARRY
LOGIC
XTAL2XTAL1RESET
CONTROL AND TIMING
CE/T0
IDLE
STOP
(PCD3352C; 52A; 53C; 53A)
OSCILLATOR
INTERRUPT INITIALIZE
handbook, full pagewidth
Fig.1 Block diagram.
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
1999 Oct 285
TONE
47
P2.0 to P2.3
FILTER
PORT 2
BUFFER
PORT 2
FLIP-FLOP
SINE WAVE
GENERATOR
MELODY
CONTROL
REGISTER
LGF
REGISTER
HGF
REGISTER
8
8
8
8
8
8
LOGIC
INTERRUPT
DATA
EEPROM
TRANSFER
EEPROM
ADDRESS
REGISTER
EEPROM
CONTROL
REGISTER
TIMER 2
REGISTER
TIMER 2
RELOAD
REGISTER
interrupt
derivative
EEPROM
POR
V
POWER-ON-RESET
RESET
8
8
8
4
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
5PINNING INFORMATION
5.1Pinning
handbook, halfpage
(1) PCA335xC denotes:
PCA3351C, PCA3352C or
PCA3353C.
PCD335xA denotes:
PCD3351A, PCD3352A or
PCD3353A.
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
T1
XTAL1
XTAL2
RESET
CE/T0
P1.0
P1.1
1
2
3
4
5
6
PCA335xC
7
PCD335xA
8
9
10
11
12
13
(1)
MLA538
28
27
26
25
24
23
22
21
20
19
18
17
16
1514
P0.0
P2.3
P2.2
P2.1
V
DD
TONE
V
SS
P2.0
P1.7/MDY
P1.6
P1.5
P1.4
P1.3
P1.2
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
handbook, full pagewidth
(1) PCA335xCH denotes:
PCA3351CH, PCA3352CH or
PCA3353CH.
PCD335xAH denotes:
PCD3351AH, PCD3352AH or
PCD3353AH.
Fig.2 Pin configuration for DIP28 (SOT117-1) and SO28 (SOT136-1).
P2.2
P2.3
P0.0
n.c.
P0.1
P0.2
P0.3
P0.4
31
n.c.
P0.5
P0.6
P0.7
T1
XTAL1
XTAL2
RESET
32
1
2
3
4
5
6
7
8
9
CE/T0
30
PCA335xCH
PCD335xAH
11
10
P1.0
P1.1
29
(1)
12
P1.2
28
13
n.c.
27
14
P1.3
26
15
P1.4
25
16
P1.5
24
23
22
21
20
19
18
17
MGB795
P2.1
V
DD
TONE
V
SS
P2.0
P1.7/MDY
P1.6
n.c.
Fig.3 Pin configuration for LQFP32 (SOT358-1).
1999 Oct 286
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
5.2Pin description
Table 2 SOT117-1 and SOT136-1 packages (for information on parallel I/O ports, see Chapter 14)
SYMBOLPINTYPEDESCRIPTION
P0.1 to P0.71 to 7I/O7 bits of Port 0: 8-bit quasi-bidirectional I/O port
T18ITest 1 or count input of 8-bit Timer/event counter 1
XTAL19Icrystal oscillator or external clock input
XTAL210Ocrystal oscillator output
RESET11Ireset input
CE/
T012IChip Enable or Test 0
P1.0 to P1.613 to 19I/O7 bits of Port 1: 8-bit quasi-bidirectional I/O port
P1.7/MDY20I/O1 bit of Port 1: 8-bit quasi-bidirectional I/O port; or melody output
P2.021I/O1 bit of Port 2: 4-bit quasi-bidirectional I/O port
V
SS
TONE23ODTMF output
V
DD
P2.1 to P2.325 to 27I/O3 bits of Port 2: 4-bit quasi-bidirectional I/O port
P0.028I/O1 bit of Port 0: 8-bit quasi-bidirectional I/O port
22Pground
24Ppositive supply voltage
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
Table 3 SOT358-1 package (for information on parallel I/O ports, see Chapter 14)
SYMBOLPINTYPEDESCRIPTION
n.c.1−not connected
P0.5 to P0.72 to 4I/O3 bits of Port 0: 8-bit quasi-bidirectional I/O port
T15ITest 1 or count input of 8-bit Timer/event counter 1
XTAL16Icrystal oscillator or external clock input
XTAL27Ocrystal oscillator output
RESET8Ireset input
CE/
T09IChip Enable or Test 0
P1.0 to P1.210 to 12I/O3 bits of Port 1: 8-bit quasi-bidirectional I/O port
n.c.13−not connected
P1.3 to P1.514 to 16I/O3 bits of Port 1: 8-bit quasi-bidirectional I/O port
n.c.17−not connected
P1.618I/O1 bit of Port 1: 8-bit quasi-bidirectional I/O port
P1.7/MDY19I/O1 bit of Port 1: 8-bit quasi-bidirectional I/O port; or melody output
P2.020I/O1 bit of Port 2: 4-bit quasi-bidirectional I/O port
V
SS
TONE22ODTMF output
V
DD
P2.1 to P2.324 to 26I/O3 bits of Port 2: 4-bit quasi-bidirectional I/O port
P0.027I/O1 bit of Port 0: 8-bit quasi-bidirectional I/O port
n.c.28−not connected
P0.1 to P0.429 to 32I/O4 bits of Port 0: 8-bit quasi-bidirectional I/O port
21Pground
23Ppositive supply voltage
1999 Oct 287
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
6FREQUENCY GENERATOR
A versatile frequency generator section is provided (see
Fig.4). For normal operation, use a 3.58 MHz quartz
crystal or PXE resonator. The frequency generator
includes precision circuitry for dual tone multifrequency
(DTMF) signals, which is typically used for tone dialling
telephone sets.
Theirfrequenciesareprovidedinpurely sinusoidal form on
the TONE output or as square waves on the port line
P1.7/MDY.
6.1Frequency generator derivative registers
6.1.1HIGH AND LOW GROUP FREQUENCY REGISTERS
Table 4 gives the addresses, symbols and access types of the High Group Frequency (HGF) and Low Group Frequency
(LGF) registers.
Table 4 Hexadecimal addresses, symbols, access types and bit symbols of the frequency registers
REGISTER
ADDRESS
11HHGFWH7H6H5H4H3H2H1H0
12HLGFWL7L6L5L4L3L2L1L0
REGISTER
SYMBOL
ACCESS
TYPE
7 6 5 4 3 2 1 0
The TONE output can alternatively issue twelve modem
frequencies for data rates between 300 and 1200 bits/s.
In addition to DTMF and modem frequencies, two octaves
of musical scale in steps of semitones are available.
When no tones are generated the TONE output is in
3-state mode.
BIT SYMBOLS
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
6.1.2MELODY CONTROL REGISTER (MDYCON)
Table 5 Melody Control Register, MDYCON (address 13H; access type R/W)
7 6 5 4 3 2 1 0
0000000EMO
Table 6 Description of MDYCON bits
BITSYMBOLDESCRIPTION
7to1−These bits are set to a logic 0.
0EMOEnable Melody Output. If bit EMO = 0, then P1.7/MDY is a standard port line.
If bit EMO = 1, then P1.7/MDY is the melody output. EMO = 1 does not inhibit the port
instructions for P1.7/MDY. Therefore the state of both port line and flip-flop may be read
in and the port flip-flop may be written by port instructions. However, the port flip-flop of
P1.7/MDY must remain set to avoid conflicts between melody and port outputs.
When the HGF contents are zero while EMO = 1, P1.7/MDY is in the HIGH state.
1999 Oct 288
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
handbook, full pagewidth
8
8
8
INTERNAL BUS
8
MELODY CONTROL
REGISTER
HGF REGISTER
LGF REGISTER
DIGITAL
SINE WAVE
SYNTHESIZER
SWITCHED
CAPACITOR
BANDGAP
VOLTAGE
REFERENCE
DIGITAL
SINE WAVE
SYNTHESIZER
square wave
DAC
DAC
SWITCHED
CAPACITOR
LOW-PASS
FILTER
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
PORT/MELODY
OUTPUT LOGIC
RC LOW-PASS
FILTER
MLC416
P1.7/
MDY
TONE
Fig.4 Block diagram of the frequency generator and melody output (P1.7/MDY) section.
1999 Oct 289
Philips SemiconductorsProduct specification
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
6.2Melody output (P1.7/MDY)
The melody output (P1.7/MDY) is very useful for
generating musical notes when a purely sinusoidal signal
is not required, such as for ringer applications.
The square wave (duty cycle =12⁄23 or 52%) will include
the attenuated harmonics of the base frequency, which is
defined by the contents of the HGF register (Table 4).
However, even higher frequency notes may be produced
since the low-pass filtering on the TONE output is not
applied to the P1.7/MDY output. This results in the
minimum decimal value x in the HGF register (see
equation in Section 6.3) being 2 for the P1.7/MDY output,
rather than 60 for the TONE output. A sinusoidal TONE
output is produced at the same time as the melody square
wave, but due to the filtering, the higher frequency sine
waves with x < 60 will not appear at the TONE output.
Since the melody output is shared with P1.7, the port
flip-flop of P1.7 has to be set HIGH before using the
melodyoutput.Thistoavoidconflictsbetween melody and
port outputs. The melody output drive depends on the
configuration of port P1.7/MDY, see Chapter 14, Table 26.
6.3Frequency registers
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
6.4DTMF frequencies
Assuming an oscillator frequency f
DTMF standard frequencies can be implemented as
shown in Table 7.
The relationships between telephone keyboard symbols,
DTMFfrequencypairsandthefrequencyregistercontents
are given in Table 8.
The two frequency registers HGF and LGF define two
frequencies. From these, the digital sine synthesizers
together with the Digital-to-Analog Converters (DACs)
construct two sine waves. Their amplitudes are precisely
scaled according to the bandgap voltage reference. This
ensures tone output levels independent of supply voltage
and temperature.
The amplitude of the Low Group Frequency sine wave is
attenuated by 2 dB compared to the amplitude of the High
Group Frequency sine wave.
The two sine waves are summed and then filtered by an
on-chip switched capacitor and RC low-pass filters. These
guarantee that all DTMF tones generated fulfil the CEPT
recommendations with respect to amplitude, frequency
deviation, total harmonic distortion and suppression of
unwanted frequency components.
The value 00H in a frequency register stops the
corresponding digital sine synthesizer. If both frequency
registers contain 00H, the whole frequency generator is
shut off, resulting in lower power consumption.
Thefrequencyofthesine wave generated from eitherHGF
or LGF is a function of the decimal value ‘x’ held in the
register. The variables are related by the equation:
8-bit microcontrollers with DTMF generator
and 128 bytes EEPROM
6.5Modem frequencies
Again assuming an oscillator frequency f
the standard modem frequencies can be implemented as
in Table 9. It is suggested to define the frequency by the
HGF register while the LGF register contains 00H,
disabling Low Group Frequency generation.
Table 9 Standard modem frequencies and their
implementation
HGF
FREQUENCY (Hz) DEVIATION
VALUE
(HEX)
9D980
821180
8F1070
791270
801200
452200
761300
482100
5C1650
521850
4B2025
442225
MODEMGENERATED(%)(Hz)
(1)
(1)
(2)
(2)
(3)
(3)
(4)
(4)
(1)
(1)
(2)
(2)
978.82−0.12 −1.18
1179.03−0.08 −0.97
1073.330.313.33
1265.30−0.37 −4.70
1197.17−0.24 −2.83
2192.01−0.36 −7.99
1296.94−0.24 −3.06
2103.140.153.14
1655.660.345.66
1852.770.152.77
2021.20−0.19 −3.80
2223.32−0.08 −1.68
Notes
1. Standard is V.21.
2. Standard is Bell 103.
3. Standard is Bell 202.
4. Standard is V.23.
6.6Musical scale frequencies
= 3.58 MHz,
xtal
PCA3351C; 52C; 53C;
PCD3351A; 52A; 53A
Table 10 Musical scale frequencies and their
implementation
HGF
NOTE
VALUE
(HEX)
D#5F8622.3622.5
E5EA659.3659.5
F5DD698.5697.9
F#5D0740.0741.1
G5C5784.0782.1
G#5B9830.6832.3
A5AF880.0879.3
A#5A5923.3931.9
B59C987.8985.0
C6931046.51044.5
C#68A1108.71111.7
D6821174.71179.0
D#67B1244.51245.1
E6741318.51318.9
F66D1396.91402.1
F#6671480.01482.2
G6611568.01572.0
G#65C1661.21655.7
A6561760.01768.5
A#6511864.71875.1
B64D1975.51970.0
C7482093.02103.3
C#7442217.52223.3
D7402349.32358.1
D#73D2489.02470.4
FREQUENCY (Hz)
STANDARD
(1)
GENERATED
Finally, two octaves of musical scale in steps of semitones
can be realized, again assuming an oscillator frequency
f
= 3.58 MHz (Table 10). It is suggested to define the
xtal
frequency by the HGF register while the LGF contains
00H, disabling Low Group Frequency generation
1999 Oct 2811
Note
1. Standard scale based on A4 @ 440 Hz.
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.