STMICROELECTRONICS TDA7503

TDA7503

DUAL DSP PLUS MICRO FOR AUDIO APPLICATIONS
PRODUCT PREVIEW
Dual 24-bit 40 MIPS DSP Cores
8 bit Microcontroller
4 receive and 5 transmit stereo channels of
Serial Audio Interface
Synchronous Serial Interface for communication with external processor
FIFO based mailboxes for inter-processor
communications
External Memory Interface to 128Kb SRAM or
1Mb DRAM
CORDIC co-processor
Programmable PLL to suite wide range of external crystal oscillation frequencies
SPI control interface
Powerful debug interfaces
1280 words Program Memory for DSP1, 768
words Program Memory for DSP0
256 words X and Y Data RAM and Data ROM
for each DSP
256 byte Data RAM for Microcontroller
768 byte Auxiliary RAM for Microcontroller
TQFP100
DESCRIPTION
The device is a high-performance Digital Signal
Processing IC particularly suited to Audio applications. The device contains two 24-bit 40 MIPS
DSP cores delivering a total of 80 MIPS of DSP
processing power. There is also an embedded 8bit Microcontroller to handle all control functions.
All data and program memories for both DSP
cores are on-chip. A variety of highly programmable and flexible peripheral blocks for both the Microcontroller and the DSPs have been integrated
to form a powerful audio processing system on a
single chip.
BLOCK DIAGRAM
Serial
Audio
Interface
Synchronous
Audio
Interface
Host
Interface 0
XDB0
XAB0
Host
Interface 1
XDB1
XAB1
SRAM/
D RAM
Interface
XCHG
Interface
C ordic
Ari thmetic
U nit
M8051
CORE
Control
Interface
X-RAM0
X-ROM0
X-RAM1
X-ROM1
Y-RAM0
Y-ROM0
Y-RAM1
Y-ROM1
AUX-RAM
768 Bytes
PDB1
PAB1
XDB1
XAB1
YDB1
YAB1
PDB0
PAB0
YDB0
YAB0
XDB0
XAB0
Serial
Peripheral
Interface
AUX-RAM
256 Bytes
P-RAM0
P-ROM0
P-RAM1
P-ROM1
Mi cro
Memory
Interface
MCLK
DSP0
CORE
Watchdog
Timer
PLL
Clock
Oscillator
DCLK
DSP1
CORE
DEBUG
Interface
July 1999
This is preliminary information on a new product now in development. Details are subject to change without notice.
1/26
TDA7503
ABSOLUTE MAXIMUM RATINGS
Symbol
Parameter
Value
Unit
VDDC
Core DC Supply voltage
-0.5 to 5
V
V DDP
Pads DC Supply voltage
-0.5 to 6.5
V
VI, VIN
Digital or analog input voltage
-0.5 to (VDDP +0.5)
V
Top
Operative temperature range
-40 to 85
°C
Tstg
Storage temperature range (plastic)
-55 to 150
°C
GPIO5(P1.5)
GPIO4(P1.4)
GPIO3(P1.3)
VDDE5_MI2
VSSE5_MI2
GPIO2(P1.2)
GPIO1(P1.1)
GPIO0(P1.0)
RD(P3.7)
WR(P3.6)
xALE
RAD0(P0.0)
RAD1(P0.1)
RAD2(P0.2)
RAD3(P0.3)
RAD4(P0.4)
RAD5(P0.5)
RAD6(P0.6)
RAD7(P0.7)
96 95
94
93 92
91
90 89
88
87 86
85
84 83
82
81 80
79
78 77
76
RXD(P3.0)
TXD(P3.1)
98 97
GPIO6(P1.6)
100 99
INT1(P3.3)
INT0(P3.2)
T0(P3.4)
PIN CONNECTION
69
RA11(P2.3)
SS/GPIOS
8
68
RA9(P2.1)
VSSE5_CI1
9
67
RA8(P2.0)
VDDE5_CI1
10
66
RA13(P2.5)
LRCKR
11
65
RA14(P2.6)
SCLKR
12
64
RA15(P2.7)
SDI3
13
63
RA12(P2.4)
SDI2
14
62
SRA10/DRA6
SDI1
15
61
DRD
SDI0
16
60
SRA11/DRA7
SDO4
17
59
SRA9/DRA5
SDO3
18
58
VDDE5_DR2
SDO2
19
57
VSSE5_DR2
SDO1
20
56
SRA8/DRA4
SDO0
21
55
SRA13/RAS
VSSI3_CORE2
22
54
VSSI3_CORE1
VDDI3_CORE2
23
53
VDDI3_CORE1
SCLKT
24
52
DWR
LRCKT
25
51
ALE/CAS
35
36 37
38
39 40
41
42 43
44
45 46
47
48 49
50
SRA_D0/DRD0
33 34
SRA_D3/DRD3
31 32
SRA_D4/DRA0
30
TESTEN
28 29
PVCC
27
XTI
26
SRA12/DRA8
7
SRA_D1/DRD1
XPSEN
SCLK
SRA_D2/DRD2
70
VSSE5_DR1
6
VDDE5_DR1
VDDE5_MI1
MOSI
SRA_D5/DRA1
71
SRA_D6/DRA2
5
SRA_D7/DRA3
VSSE5_MI1
MISO
DBSEL
72
DBRQN
4
DBIN/OS0
VDDI3_CORE4
RESET
DBCK/OS1
73
DBOUT
3
SCANEN
VSSI3_CORE4
VSSI3_CORE3
PGND
74
FILT
RA10(P2.2)
2
XTO
75
VDDI3_CORE3
VSSE5_SA1
1
VDDE5_SA1
T1(P3.5)
D97AU693
THERMAL DATA
Symbol
Rth j-amb
2/26
Parameter
Thermal resistance Junction to Ambient
Value
Unit
85
°C/W
TDA7503
PIN DESCRIPTION
N.
Name
Type
Reset
Status (1)
11
LRCKR
I
–
12
SCLKR
I
–
16
SDI0
I
–
15
SDI1
I
–
14
SDI2
I
–
Stereo Digital Audio Data. SDI2 is a stereo digital audio data input pin
channel 2.
13
SDI3
I
–
25
LRCKT
I
–
Stereo Digital Audio Data / Serial Receive Data. SDI3 is a stereo digital
audio data input pin and is multiplexed with the SSI’s Serial Receive
Data Input channel 3.
Audio Serial Port Transmit Left/Right Frame Sync /Frame Sync. The
Left/Right select signal for transmitted serial audio data. This signal has a
frequency equal to the audio sample rate. This signal is multiplexed with
the SSI’s Frame Sync Input.
24
SCLKT
I
–
21
SDO0
O
High
20
SDO1
O
High
19
SDO2
O
High
18
SDO3
O
High
Stereo Digital Audio Data. SDO3 is a stereo digital audio data output pin
channel 3.
17
SDO4
O
High
34
SCANEN
I
–
33
TESTEN
I
–
Stereo Digital Audio Data /Serial Transmit Data. SDO4 is a stereo digital
audio data output pin and is multiplexed with the SSI’s Serial Transmit
Data Output channel 4.
SCAN Enable. Enable SCAN Path and MUXing of SCANIN and SCANOUT
Pins.
Test Enable. Enable Scan Mode Clocks. An active low signal will enable
the same clock to all scan chains. This pin also makes all latches
transparent.
49
SRA_D0/DRD0
I/O
I
48
SRA_D1/DRD1
I/O
I
47
SRA_D2/DRD2
I/O
I
46
SRA_D3/DRD3
I/O
I
43
SRA_D4/DRA0
I/O
O, High
Function
Audio Serial Port Receive Left/Right Frame Sync. The Left/Right select
signal for received serial audio data. This signal has a frequency equal to
the audio sample rate.
Audio Serial Port Receive Bit Clock. SCLK clocks received digital audio
data into pins SDI0, SDI1, SDI2, and SDI3
Stereo Digital Audio Data. SDI0 is a stereo digital audio data input pin
channel 0.
Stereo Digital Audio Data. SDI1 is a stereo digital audio data input pin
channel 1.
Audio Serial Port Transmit Bit Clock/SSI Serial Bit Clock. SCLK clocks
digital audio data out of pins SDO0, SDO1, SD02, SD03, and SD04. This
pin is multiplexed with the SSI’s serial bit clock.
Stereo Digital Audio Data. SDO0 is a stereo digital audio data output pin
channel 0.
Stereo Digital Audio Data. SDO1 is a stereo digital audio data output pin
channel 1.
Stereo Digital Audio Data. SDO2 is a stereo digital audio data output pin
channel 2.
DSP SRAM Multiplexed Address/Data Line 0/DSP DRAM Data Line
0.When in SRAM Mode these pins act as the EMI multiplexed address
and data line 0. When in DRAM Mode they act as the EMI data line 0.
DSP SRAM Multiplexed Address/Data Line 1/DSP DRAM Data Line
1.When in SRAM Mode these pins act as the EMI multiplexed address
and data line 1. When in DRAM Mode they act as the EMI data line 1.
DSP SRAM Multiplexed Address/Data Line 2/DSP DRAM Data Line
2.When in SRAM Mode these pins act as the EMI multiplexed address
and data line 2. When in DRAM Mode they act as the EMI data line 2.
DSP SRAM Multiplexed Address/Data Line 3/DSP DRAM Data Line
3.When in SRAM Mode these pins act as the EMI multiplexed address
and data line 3. When in DRAM Mode they act as the EMI data line 3.
DSP SRAM Multiplexed Address/Data Line 4/DSP DRAM Address Line
0. When in SRAM Mode these pins act as the EMI multiplexed address
and data line 4. When in DRAM Mode they act as the EMI address line 0.
3/26
TDA7503
PIN DESCRIPTION (continued)
Reset
Function
Status (1)
O, High DSP SRAM Multiplexed Address/Data Line 5/DSP DRAM Address Line
1. When in SRAM Mode these pins act as the EMI multiplexed address
and data line 5. When in DRAM Mode they act as the EMI address line 1.
O, High DSP SRAM Multiplexed Address/Data Line 6/DSP DRAM Address Line
2. When in SRAM Mode these pins act as the EMI multiplexed address
and data line 6. When in DRAM Mode they act as the EMI address line 2.
N.
Name
Type
42
SRA_D5/DRA1
I/O
41
SRA_D6/DRA2
I/O
40
SRA_D7/DRA3
I/O
O, High
DSP SRAM Multiplexed Address/Data Line 7/DSP DRAM Address Line
3. When in SRAM Mode these pins act as the EMI multiplexed address
and data line 7. When in DRAM Mode they act as the EMI address line 3.
56
SRA8/DRA4
O
High
DSP SRAM Address Line 8/DSP DRAM Address Line 4. When in SRAM
Mode these pins act as the EMI address line 8. When in DRAM Mode
they act as the EMI address line 4.
59
SRA9/DRA5
O
High
62
SRA10/DRA6
O
High
DSP SRAM Address Line 9/DSP DRAM Address Line 5. When in SRAM
Mode these pins act as the EMI address line 9. When in DRAM Mode
they act as the EMI address line 5.
DSP SRAM Address Line 10/DSP DRAM Address Line 6. When in
SRAM Mode these pins act as the EMI address line 10.When in DRAM
Mode they act as the EMI address line 6.
60
SRA11/DRA7
O
High
DSP SRAM Address Line 11/DSP DRAM Address Line 7. When in
SRAM Mode these pins act as the EMI address line 11. When in DRAM
Mode they act as the EMI address line 7.
50
SRA12/DRA8
O
High
DSP SRAM Address Line 12/DSP DRAM Address Line 8. When in
SRAM Mode these pins act as the EMI address line 12. When in DRAM
Mode they act as the EMI address line 8.
55
SRA13/RAS
O
High
DSP SRAM Address Line 13/DRAM Row Address Strobe. When in
SRAM Mode this pin acts as the EMI address lines 13. When in DRAM
Mode this pin acts as the row address strobe.
51
ALE/CAS
O
High
52
DWR
O
High
DSP SRAM Address latch enable/colomn Address. When in SRAM
Mode this pin acts as the EMI Address Latch Enable. When in DRAM
Mode this pin acts as the column address strobe.
DSP SRAM Write Enable/DRAM Write Enable. This pin serves as the
write enable for the EMI when in DRAM and SRAM Modes.
61
DRD
O
High
36
DBCK/OS1
I/O
I
37
DBIN/OS0
I/O
I
35
DBOUT
I/O
I
Debug Port Serial Output. The serial data output for the Debug Port. Can
also be used as a GPIO for the 8051.
38
DBRQN
I
–
39
DBSEL
I
–
67
RA8(P2.0)
I/O
I
68
RA9(P2.1)
I/O
I
Debug Port Request Input. Means of entering the Debug mode of
operation.
Debug Port MUX Selection. Selects either DSP0 or DSP1 to be
connected to the Debug Port pins.
Microcontroller High Byte Address Lines. This pin is the address line 8 of
a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
Microcontroller High Byte Address Lines. This pin is the address line 9 of
a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
4/26
DSP SRAM Read Enable/DRAM Read Enable. This pin serves as the
read enable for the EMI when in DRAM and SRAM Modes.
Debug Port Bit Clock/Chip Status 1. The serial clock for the Debug Port
is provided when an input. When an output, together with OS0 provides
information about the chip status. Can also be used as GPIO for the
8051.
Debug Port Serial Input/Chip Status 0. The serial data input for the
Debug Port is provided when an input. When an output, together with
OS1 provides information about the chip status. Can also be used as
GPIO for the 8051.
TDA7503
PIN DESCRIPTION (continued)
Reset
Function
Status (1)
I
Microcontroller High Byte Address Lines. This pin is the address line 10
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
I
Microcontroller High Byte Address Lines. This pin is the address line 11
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
N.
Name
Type
75
RA10(P2.2)
I/O
69
RA11(P2.3)
I/O
63
RA12(P2.4)
I/O
I
Microcontroller High Byte Address Lines. This pin is the address line 12
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
66
RA13(P2.5)
I/O
I
Microcontroller High Byte Address Lines. This pin is the address line 13
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
65
RA14(P2.6)
I/O
I
64
RA15(P2.7)
I/O
I
Microcontroller High Byte Address Lines. This pin is the address line 14
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
Microcontroller High Byte Address Lines. This pin is the address line 15
of a 16 bit address, for external EPROM and memory mapped devices. It
can also act as GPIO using the P2 and P2DIR registers.
83
RAD0(P0.0)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 0 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
82
RAD1(P0.1)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 1 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
81
RAD2(P0.2)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 2 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
80
RAD3(P0.3)
I/O
I
79
RAD4(P0.4)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 3 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 4 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
78
RAD5(P0.5)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 5 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
77
RAD6(P0.6)
I/O
I
76
RAD7(P0.7)
I/O
I
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 6 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
Microcontroller Address/Data Pins. This pin is the multiplexed address
and data line bit 7 for external EPROM and memory mapped peripherals.
It can also act as GPIO using the P0 and P0DIR registers.
84
xALE
I/O
I
85
WR(P3.6)
I/O
I
86
RD(P3.7)
I/O
I
70
XPSEN
I/O
I
Microcontroller External Address Latch Enable. This pin is the address
latch enable. A logic high indicates that address/data lines 7 through 0
represent an address. Inactive for Program/Data fetches from internal
AUX.
Microcontroller Write Strobe. External data memory write strobe. This pin
can also act as GPIO using the P3 and P3DIR registers.
Microcontroller Read Strobe. External data memory read strobe. Active
Low, or GPIO. This pin can also act as GPIO using the P3 and P3DIR
registers. Disabled by setting the RDSEL bit in the PINCTL register.
Microcontroller External Program Memory Enable. External program
memory enable pin. Active Low. Changes functionality to RD when
Microcontroller is fetching instructions out of internal AUX ram.
Controlled by the PSSEL and PSBIT bits in the PINCTL register.
5/26
TDA7503
PIN DESCRIPTION (continued)
Reset
Function
Status (1)
I
System Reset. A logic low level applied to RESET input initializes the
microcontroller. The micro is responsible for initializing the DSPs. If the
watchdog timer overflow occurs this pin is driven low for 1 watchdog
timer cycle. During Debug Mode if this pin is pulled low in while the
DBRQN line is pulled low then the DSP pointed to by the DBSEL pin will
be reset.
N.
Name
Type
4
RESET
I/O
96
RXD(P3.0)
I/O
I
97
TXD(P3.1)
I/O
I
99
INT0(P3.2)
I/O
I
Microcontroller Interrupt 0. When pulled low, INT0 asserts a
microcontroller external interrupt. In addition, if this pin is pulled low
during powerdown this allows the M8051 to resume executing intructions
where it left off. This pin can also act as GPIO using the P3 and P3DIR
registers.
98
INT1(P3.3)
I/O
I
Microcontroller Interrupt 1. When pulled low, INT1 asserts a
microcontroller external interrupt. In addition, if this pin is pulled low
during powerdown this allows the M8051 to resume executing intructions
where it left off. This pin can also act as GPIO using the P3 and P3DIR
registers.
100
T0(P3.4)
I/O
I
1
T1(P3.5)
I/O
I
87
GPIO0(P1.0)
I/O
I
Microcontroller Timer 0 External Input. Input event clock for timer 0, or
GPIO. This pin can also act as GPIO using the P3 and P3DIR registers.
Microcontroller Timer 1 External Input. Input event clock for timer 1, or
GPIO. This pin can also act as GPIO using the P3 and P3DIR registers.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers.This pin is
tri-stated while the RESET pin is held low and is pulled low when RESET
is released. This pin will be pulled high when in IDLE or PWRDN modes.
88
GPIO1(P1.1)
I/O
I
89
GPIO2(P1.2)
I/O
I
92
GPIO3(P1.3)
I/O
I
93
GPIO4(P1.4)
I/O
I
94
GPIO5(P1.5)
I/O
I
95
GPIO6(P1.6)
I/O
I
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
7
SCLK
I/O
I
Microcontroller General Purpose. Each of the six GPIO lines can be
individually configured to be digital input or output by writing to the P1
and P1DIR registers. All GPIOs are configured to be inputs with the
outputs tri-stated except for P1.0. This pin is tri-stated during while the
RESET pin is held low and is pulled low when RESET is released. This
pin will be pulled high when in IDLE or PWRDN modes.
6
MOSI
I/O
I
Microcontroller SPI Master Output Slave Input Serial Data . Serial Data
Output for SPI type serial port when in SPI Master Mode and Serial Data
Input when in SPI Slave Mode.
6/26
Microcontroller Standard Serial Interface (Asynchronous) Input Data. Or
GPIO. This pin can also act as GPIO using the P3 and P3DIR registers.
Microcontroller Standard Serial Interface (Asynchronous) Output Data.
Or GPIO. This pin can also act as GPIO using the P3 and P3DIR
registers.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
Microcontroller General Purpose. This GPIO line can be configured to be
digital input or output by writing to the P1 and P1DIR registers. At reset it
is configured as an input with the output tri-stated.
TDA7503
PIN DESCRIPTION (continued)
Reset
Function
Status (1)
I
Microcontroller SPI Master Input Slave Output Serial Data . Serial Data
Input for SPI style serial port when in SPI Master Mode and Serial Data
Output when in SPI Slave Mode.
I
Microcontroller SPI Slave Select . Slave Select Input for SPI type serial
port. This pin can be used as a GPIO when the SPI is disabled or in
master mode.
N.
Name
Type
5
MISO
I/O
8
SS/GPIOS
I/O
32
PVCC
I
–
28
29
XTO
XTI
O
I
High
–
Crystal Oscillator Output. Crystal Oscillator output drive.
Crystal Oscillator Input. External Clock Input or crystal connection.
30
FILT
O
High
PLL Clock Power Supply . Vdd Pin for PLL Clock Oscillator.
31
PGND
I
–
PLL Loop Filter Capacitor Output. Capacitor connected between FILT
and XGND establishes primary PLL.
PLL Clock Ground Input. Ground connection for oscillator circuit.
53
23
VDDI3_CORE1
VDDI3_CORE2
PWR
PWR
–
–
3.3V core supply.
3.3V core supply.
2
VDDI3_CORE3
PWR
–
3.3V core supply.
73
VDDI3_CORE4
PWR
–
3.3V core supply.
54
22
VSSI3_CORE1
VSSI3_CORE2
GND
GND
–
–
Core ground.
Core ground.
3
74
VSSI3_CORE3
VSSI3_CORE4
GND
GND
–
–
Core ground.
Core ground.
27
VDDE5_SA1
PWR
–
5V supply for SAI pads.
26
10
VSSE5_SA1
VDDE5_CI1
GND
PWR
–
–
Ground for SAI pads.
5V supply for Control Interface Pads.
9
71
VSSE5_CI1
VDDE5_MI1
GND
PWR
–
–
Ground for Control Interface Pads.
5V supply for Micro Memory Interface Pads.
91
VDDE5_MI2
PWR
–
5V supply for Micro Memory Interface Pads.
72
VSSE5_MI1
GND
–
Ground for Micro Memory Interface Pads.
90
44
VSSE5_MI2
VDDE5_DR1
GND
PWR
–
–
Ground for Micro Memory Interface Pads.
5V supply for DSP EMI Interface Pads.
58
45
VDDE5_DR2
VSSE5_DR1
PWR
GND
–
–
5V supply for DSP EMI Interface Pads.
Ground for DSP EMI Interface Pads.
57
VSSE5_DR2
GND
–
Ground for DSP EMI Interface Pads.
7/26
TDA7503
RECOMMENDED DC OPERATING CONDITIONS
Symbol
Parameter
Min.
Typ.
Max.
Unit
3
3.3
3.6
V
5V Power Supply Voltage
4.5
5
5.5
V
Operating Junction
Temperature
-40
125
°C
VDDC
3.3V Power Supply Voltage
VDDP
Tj
Test Condition
GENERAL INTERFACE ELECTRICAL CHARACTERISTICS
Symbol
Max.
Unit
Note
Iil
Low Level Input Current
Without pull-up device
Vi = 0V
1
µA
1
Iih
High Level Input Current
Without pull-down device
Vi = VDDP
1
µA
1
Ioz
Tri-state Output leakage
Without pullup/down device
Vo = 0V or VDDP
1
µA
1
C in
Input capacitance
pF
2
Ilatchup
Vesd
Parameter
Test Condition
Min.
Typ.
10
I/O Latch-up Current
V < 0V, V > V DDP
200
mA
Electrostatic Protection
Leakage < 1µA
2000
V
3
Note 1: The leakage currents are generally very small, < 1nA. The value given here, 1mA, is a maximum that can occur after an Electrostatic
Stress on the pin.
Note 2: Guaranteed by design.
Note 3: Human Body Model.
DC ELECTRICAL CHARACTERISTICS
Symbol
Parameter
Test Condition
V il
Low Level Input Voltage
Vih
High Level Input Voltage
Vol
Low Level Output Voltage
Iol = 2mA
V oh
High Level Output Voltage
Iol = -2mA
Typ.
Max.
Unit
0.25 ⋅ VDDP
V
0.4
V
1
V
1
0.7⋅VDDP
Note 1: Takes into account 200mV voltage drop in both supply lines.
8/26
Min.
VDDP-0.4
Note
V
TDA7503
POWER CONSUMPTION
Symbol
Ptot
Parameter
Maximum current for core power supply @ 3.3V
Value
Unit
320
mA
Note: 40MHz internal DSP clock at Tamb
EXTERNAL CLOCKS (XTI Pin)
The TDA7503 system clock is externally supplied via the XTI pin.
Timings shown in this document are valid for clock rise and fall times of 3ns maximum.
Symbol
Fext
Characteristics
Max. Frequency @ XTI when PLL is disabled
Value
20
Unit
MHz
When PLL is enabled see constraints for Internal Clocks.
INTERNAL CLOCKS
Symbol
fDSP_MAX
fµP_MAX
fDSP
fµP
Icyc_DSP
Icyc_µP
Note
Note
Note
Note
Characteristics
Maximum DSP Internal Operation Frequency (dclk)
Maximum µP (8051) Internal Operation Frequency (mclk)
Internal DSP Clock Cycle Frequency (dclk)
Expression
40MHz
20MHz
MF ⋅ Fext
2 ⋅ DF
MF ⋅ Fext
4 ⋅ DF
Inernal µP (8051) Clock Cycle Frequency (mclk)
DSP Machine Cycle Time
µP (8051) Machine Cycle Time
dclk
mclk/12
1: If the DCKSRC bit of the clock control register is 0 then dclk = Fext/2.
2: If the MCKSRC bit of the clock control register is 1 then mclk = Fext else of MCKSRC0 is 0 then MCLK = Fext/4.
3: DF is PLL input devide factor, bits IDF [4:0] of PLL control register one.
4: MF is PLL multiply devide factor, bits MP [6:0] of PLL control register zero.
PHASE LOCKED LOOP (PLL) CHARACTERISTICS
Characteristics
VCO frequency when PLL enabled
Expression
MF ⋅ Fext
DF
Recommended PLL external capacitor (pin
FILT)
Value
Unit
40 to 80
MHz
3.3
nF
RESET
Characteristics
Minimum RESET assertion
Expression
Unit
100/Fext
ns
9/26
TDA7503
SAI/SSI INTERFACE
Figure 1. SAI and SSI Timings
SDI0-3
Valid
LRCKR
Valid
t lrh
SCKR
(RCKP=0)
t sckph
t sckpl
tsdih
tlrs
tsdis
tdt
Timing
tsckr
t sckr
Description
Minimum Clock Cycle
Value
Unit
3TDSP+5
ns
tdt
SCKR active edge to data out valid
40
ns
tlrs
LRCK setup time
5
ns
tlrh
LRCK hold time
5
ns
tsdid
SDI setup time
5
ns
tsdih
SDI hold time
5
ns
tsckph
Minimum SCK high time
0.35 tsckr
ns
tsckpl
Minimum SCK low time
0.35 tsckr
ns
Note TDSP = dsp master clock cycle time = 1/FDSP
Figure 2. SAI Interrupt protocol
LRCKT
Left
Right
Left
Right
TDE
Internal Flag set when left data written
to all enabled transmitters. If this internal
flag is set then right data must written
to data registers before the next
falling edge of LRCKT.
LRCKR
Left
Right
TDE cleared when right data written
to all enabled transmitters.
Left
RDR
RDR cleared when right data read from
all enabled transmitters.
Internal Flag set when left data read
from all enabled receivers. If this internal
flag is set then right data must read
from data registers before the next
rising edge of LRCKR.
10/26
Right
TDA7503
Figure 3. SAI protocol when RLRS=0; RREL=0; RCKP=1; RDIR=0.
LRCKR
LEFT
RIGHT
SCKR
LSB(n-1)
MSB-1 (n)
MSB(word n)
MSB-2 (n)
SDI0
Figure 4. SAI protocol when RLRS=1; RREL=0; RCKP=1; RDIR=1.
LEFT
RIGHT
LRCKR
SCKR
SDI0
MSB(n-1)
LSB(word n)
LSB+1 (n)
LSB+2 (n)
Figure 5. SAI protocol when RLRS=0; RREL=0; RCKP=0; RDIR=0.
LRCKR
LEFT
RIGHT
SCKR
SDI0
LSB(n-1)
MSB(word n)
MSB-1 (n)
MSB-2 (n)
Figure 6. SAI protocol when RLRS=0; RREL=1; RCKP=1; RDIR=0.
RIGHT
LEFT
LRCKR
SCKR
SDI0
LSB(n-1)
MSB(word n)
MSB-1 (n)
MSB-2 (n)
11/26
TDA7503
Figure 7. SSI Protocol.
NETWORK MODE
Five Word Packet
Frame Sync 0
Frame Sync 1
Data In
Data Word
SCK
Receive
Interrupts
NORMAL MODE
Frame Sync 0
Frame Sync 1
Data In
SCK
Receive
Interrupts
The timing diagrams for the SSI Interface are
shown in Figure 7 for both Network and Normal
modes.
In Normal Mode the rising edge FSYNC starts the
internal bit counter to allow data to be clocked in
or out. When bit count is equal to the programmed word length the counter is reset and
the shift register is broadside loaded into the data
register. Additional SCK pulses are ignored after
the counter is reset. The next word is clocked in
or out starting with the next rising edge of
FSYNC.
12/26
In Network Mode the rising edge FSYNC starts
the internal bit counter to allow data to be clocked
in or out. When bit count is equal to the programmed word length the counter is reset and
the shift register is broadside loaded into the data
register. At this point the FSRSD bit is set indicating that a frame sync was received with that
word. After being reset the counter continues
counting, clocking in the next word. Only when
the next rising edge of FSYNC is detected is the
packet considered complete.
TDA7503
SPI INTERFACE
Symbol
Description
Min
Value
Unit
mclk/12
µs
MASTER
tsclk
Clock Cycle
tdtr
Sclk edge to MOSI valid
40
µs
tdts
MISO setup time
5
µs
mclk/6
µs
SLAVE
tsclk
Clock Cycle
tdtr
Sclk edge to MOSI valid
40
µs
tdts
MISO setup time
5
µs
tsckph
Minimum SCK high time
mclk/12
µs
tsckpl
Minimum SCK low time
mclk/12
µs
Figure 8. SPI Clocking scheme.
SS
SCLK
(CPOL=0, CPHA=0)
SCLK
(CPOL=0, CPHA=1)
SCLK
(CPOL=1, CPHA=0)
SCLK
(CPOL=1, CPHA=1)
MISO/
MOSI
MSB
6
5
4
3
2
1
LSB
Internal Strobe for Data Capture
13/26
TDA7503
MICRO MEMORY INTERFACE
Figure 9. Timing diagram for External Memory Interface
For the calculation of slowest access time allowed for a memory attached to the M8051, the
following diagram illustrates the timing constraints. Slowest access time allowed, tacc =
4*mclk - tad - t ds, where the worst case address delay, tad = 30 ns, and the worst case data
setup time, tds = 20 ns.
mclk
XALE
XPSEN
OPLOAD
Address
Data
t ad
t acc
t ds
GENERAL PURPOSE I/O (GPIO) INTERFACE
Timing
Characteristics
mclk = 20MHz
Min.
Max.
Unit
tgod
XTI Edge to GPIO Out Valid (GPIO Out Delay Time)
--
26
tgoh
XTI Edge to GPIO Out Not Valid (GPIO Out Hold Time)
2
--
ns
tgis
GPIO In Valid to XTI Edge (GPIO In Set-up Time)
10
--
ns
tgih
XTI Edge to GPIO In Not Valid (GPIO In Hold Time)
6
--
ns
Figure 10. GPIO Timing
14/26
ns
TDA7503
Debug Port Interface
No.
Characteristics
dclk = 40MHz
Min.
Max.
Unit
1
DBCK rise time
--
3
ns
2
DBCK fall time
--
3
ns
3
DBCK Low
40
--
ns
4
DBCK High
40
--
ns
5
DBCK Cycle Time
200
--
ns
6
DBRQN Asserted to DBOUT (ACK) Asserted
5 TDSP
--
ns
7
DBCK High to DBOUT Valid
--
42
ns
8
DBCK High to DBOUT Invalid
3
--
ns
9
DBIN Valid to DBCK Low (Set-up)
15
--
ns
10
DBCK Low to DBIN Invalid (Hold)
ns
3
--
2 Tc
--
ns
DBOUT (ACK) Assertion Width
4.5 TDSP - 3
5 TDSP + 7
ns
11
Last DBCK Low of Read Register to First DBCK High of Next
Command
7 TDSP + 10
--
ns
12
Last DBCK Low to DBOUT Invalid (Hold)
3
--
DBOUT (ACK) Asserted to First DBCK High
DBSEL setup to DBCK
TDSP
ns
ns
15/26
TDA7503
Figure 11. Debug Port Serial Clock Timing.
Figure 12. Debug Port Acknowledge Timing.
Figure 13. Debug Port Data I/O to Status Timing.
Figure 14. Debug Port Read Timing.
Figure 15. Debug Port DBCK Next Command After Read Register Timing.
16/26
TDA7503
EXTERNAL MEMORY INTERFACE (EMI) DRAM MODE
Characteristics
Page Mode Cycle Time
RAS or RD Assertion to Data Valid
CAS Assertion to Data Valid
Column Address Valid to Data Valid
CAS Assertion to Data Active
RAS Assertion Pulse Width (Note 1)
(Page Mode Access Only)
Timing
Mode
slow
fast
slow
fast
slow
fast
slow
fast
slow
fast
40MHz
Min.
Max.
100
-75
--159
-109
-65
-40
-80
-55
0
-264
--
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
slow
fast
slow
fast
slow
fast
slow
fast
189
164
114
120
70
65
40
60
35
Timing
Mode
Min.
Max.
RAS Negation to RAS Assertion
slow
fast
143
93
---
ns
ns
CAS Negation to CAS Assertion
slow
fast
118
68
---
ns
ns
Refresh Cycle Time
slow
fast
325
225
---
ns
ns
RAS Assertion Pulse Width
slow
fast
166
116
---
ns
ns
RAS Negation to RAS Assertion for Refresh Cycle (Note 1)
slow
fast
120
70
---
ns
ns
18
--
ns
RAS Assertion to CAS Negation on Refresh Cycle
slow
fast
160
110
---
ns
ns
RAS Negation to CAS Assertion on a Refresh Cycle
slow
fast
114
64
---
ns
ns
0
--
ns
RAS Assertion Pulse Width (Single Access Only)
RAS or CAS Negation to RAS Assertion
CAS Assertion Pulse Width
Last CAS Assertion to RAS Negation (Page Mode Access Only)
----------
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
Note: 1. n is the number of successive accesses. n = 2, 3, 4, or 6.
DRAM Refresh Timing
Characteristics
CAS Assertion to RAS Assertion on Refresh Cycle
CAS Negation to Data Not Valid
40MHz
Unit
Note: 1. Happens when a Refresh Cycle is followed by an Access Cycle.
17/26
TDA7503
EXTERNAL MEMORY INTERFACE (EMI) SRAM MODE
40MHz
Characteristics
Unit
Min.
Max.
Address Valid and CS Assertion Pulse Width
89
--
ns
Address Valid to RD or WR Assertion
23
--
ns
RD or WR Assertion Pulse Width
45
--
ns
RD or WR Negation to RD or WR Assertion
39
--
ns
RD or WR Negation to Address not Valid
5
--
ns
Address Valid to Input Data Valid
--
72
ns
RD Assertion to Input Data Valid
--
35
ns
RD Negation to Data Not Valid (Data Hold Time)
0
--
ns
Address Valid to WR Negation
73
--
ns
Data Setup Time to WR Negation
32
--
ns
Data Hold Time from WR Negation
5
--
ns
WR Assertion to Data Valid
--
18
ns
WR Negation to Data High-Z (Note 1)
--
23
ns
WR Assertion to Data Active
5
--
ns
18/26
TDA7503
Figure 16. External Memory Interface SRAM Read Cycle.
SRA_D
[7:0]
data
add. [7:0]
SRA_D
add. [13:8]
[13:8]
ALE
DRD
Figure 17. External Memory Interface SRAM Write Cycle.
SRA
[7:0]
add. [7:0]
data
SRA
add. [13:8]
[13:8]
ALE
DWR
Figure 18. DRAM Read Cycle.
DRA [8:0]
Row address 1
Column address 1
Column address 2
Row address 2
RAS
CAS
DRD
nibble 1
nibble 2
DRD [3:0]
19/26
TDA7503
Figure 19. DRAM Write Cycle.
DRA [8:0]
Row address 1
Column address 1
Column address 2
Row address 2
RAS
CAS
DWR
nibble 1
nibble 2
DRD[3:0]
FUNCTIONAL DESCRIPTION.
The Aladdin IC broken up into two distinct blocks.
One block contains the two DSP Cores and their
associated peripherals. The other contains the
M8051 Core and its associated peripherals. The
interface between the two blocks is the Host Interface.
24-BIT DSP CORE.
The two DSP cores are used to process the converted analog audio data coming from the
CODEC chip via the SAI and return it for analog
conversion. Functions such as volume, tone, balance, and fader control, as well as spatial enhancement and general purpose signal processing may be performed by the DSPs.
Some capabilities of the DSPs are listed below:
Single cycle multiply and accumulate with convergent rounding and condition code generation
2 x 56-bit Accumulators
Double precision multiply
Scaling and saturation arithmetic
48-bit or 2 x 24-bit parallel moves
64 interrupt vector locations
Fast or long interrupts possible
Programmable interrupt priorities and masking
8 each of Address Registers, Address Offset
Registers and Address Modulo Registers
Linear, Reverse Carry, Multiple Buffer Modulo,
Multiple Wrap-around Modulo address arithmetic
Post-increment or decrement by 1 or by offset,
Index by offset, predecrement address
20/26
Repeat instruction and zero overhead DO
loops
Hardware stack capable of nesting combinations of 7 DO loops or 15 interrupts/subroutines
Bit manipulation instructions possible on all
registers and memory locations. Also Jump on
bit test.
4 pin serial debug interface
Debug ccess to all internal registers, buses
and memory locations
5 word deep program address history FIFO
Hardware and software breakpoints for both
program and data memory accesses
Debug Single stepping, Instruction injection
and Disassembly of program memory
DSP PERIPHERALS
There are a number of peripherals that are tightly
coupled to the two DSP Cores. Except for the
memories and the Host Interface, a single peripheral is multiplexed to both of the DSP Cores. In
the case of the Host Interface(HI), for DSP to Micro communication, there are two identical peripheral blocks providing the same function to
both DSP Cores. Each of the peripherals are
listed below and described in the following sections.
256 x 24-Bit X-RAM.
256 x 24-Bit Y-RAM.
768 x 24-Bit Program RAM (1280 x 24 for
DSP1)
256 x 24-Bit Data X-ROM.
256 x 24-Bit Data Y-ROM.
TDA7503
64 x 24-Bit Boot ROM.
Serial Audio Interface (SAI) multiplexed to both
DSPs.
Synchronous Serial Interface (SSI) multiplexed
to both DSPs.
XCHG Interface for DSP to DSP communication.
Host Interface (HI) for DSP to Micro communication.
External Memory Interface (DRAM/SRAM)
multiplexed to both DSPs for time-delay.
Single Debug Port multiplexed to both DSPs.
Cordic Arithmetic Unit
DATA AND PROGRAM MEMORY
Both DSP0 and DSP1 have an identical set of
Data and Program memories attached them.
Each of the memories are described below and it
is implied that there are two of each type, one set
connected to DSP0 and the other to DSP1. The
only exception is the case of the P-RAM where
DSP0 has a 768 x 24-Bit PRAM and DSP1 has a
1280 x 24-Bit PRAM.
256 x 24-Bit X-RAM (XRAM)
This is a 256 x 24-Bit Single Port SRAM used for
storing coefficients. The 16-Bit XRAM address,
XABx(15:0) is generated by the Address Generation Unit of the DSP core. The 24-Bit XRAM Data,
XDBx(23:0), may be written to and read from the
Data ALU of the DSP core. The XDBx Bus is also
connected to the Internal Bus Switch so that it
can be routed to and from all peripheral blocks.
256 x 24 Bit Y-RAM (YRAM)
This is a 256 x 24-Bit Single Port SRAM used for
storing coefficients. The 16-Bit address,
YABx(15:0) is generated by the Address Generation Unit of the DSP core. The 24-Bit Data,
YDBx(23:0), is written to and read from the Data
ALU of the DSP core. The YDBx Bus is also connected to the Internal Bus Switch so that it can be
routed to and from other blocks.
768 x 24-Bit Program RAM (PRAM 1280 x 24-bit
for DSP1)
This is a 768 x 24-Bit Single Port SRAM used for
storing and executing program code. The 16-Bit
PRAM Address, PABx(15:0) is generated by the
Program Address Generator of the DSP core for
Instruction Fetching, and by the AGU in the case
of the Move Program Memory (MOVEM) Instruction. The 24-Bit PRAM Data (Program Code),
PDBx(23:0), can only be written to using the
MOVEM instruction. During instruction fetching
the PDBx Bus is routed to the Program Decode
Controller of the DSP core for instruction decoding.
256 x 24-Bit X-ROM (XROM)
This is a 256 x 24-Bit factory programmed XROM. The 16-Bit address, XABx(15:0) is generated by the AGU Unit. The 24-Bit Data is multiplexed onto the XDBx Bus when the address is
valid.
256 x 24-Bit Y-ROM (YROM)
This is a 256 x 24-Bit factory programmed YROM. The 16-Bit address, YABx(15:0) is generated by the AGU Unit. The 24-Bit Data is multiplexed onto the YDBx Bus when the address is
valid.
128 x 24-Bit Bootstrap ROM (PROM)
This is a 128 x 24-Bit factory programmed Boot
ROM used for storing the program sequence for
initializing the DSP. Essentially this consists of a
routine that is called when the M8051 requests
that a DSP image be sent via the Host Interface.
It is the task of the Boot code to read the data being sent by the micro from the Host Interface
FIFO and store it in PRAM, XRAM, YRAM, and/or
external DRAM.
Operating Mode Register
The operating mode register contains one bit to
choose between boot mode (always from the
Host Interface) or normal mode (execution from
PRAM). This bit will be set when the DSP is reset
(by writing to the RSDSPx bit in the CLKCNTL
register). It must be cleared by the boot code to
enable execution from PRAM.
DSP Memory Maps
The DSP memory Maps are shown in Figure 26.
Serial Audio Interface (SAI)
The SAI is used to deliver digital audio to the
DSPs from an external source. Once processed
by the DSPs, it can be returned through this interface. There is only one SAI on the chip that can
be accessed by either DSP. The features of the
SAI are listed below.
Five Synchronized Stereo Data Transmission
Lines
Four Synchronized Stereo Data Reception
Lines
Slave operating mode, all clock lines are inputs
21/26
TDA7503
Figure 20. DSP1 and DSP0 Memory Spaces.
Boot-Space P-Space
$FFFF
X-Space
Boot-Space P-Space
Y-Space
$FFFF
$FFC0 X-Peripherals
$FFBF
Not Accessible Not Accessible Not Accessible Not Accessible
X-Space
Y-Space
$FFC0 X-Peripherals
$FFBF
Not Accessible Not Accessible Not Accessible Not Accessible
$0500
$04FF
$0300
$02FF
$0040
$003F
$0000
Boot-ROM
P-RAM
P-RAM
$0200
$01FF
$0100
$00FF
X-ROM
X-RAM
Y-ROM
Y-RAM
DSP0
Transmit and Receive Interrupt Logic triggers
on Left/Right data pairs
Receive and Transmit Data Registers have
two locations to hold left and right data.
Synchronous Serial Interface (SSI)
The SSI is used for communication with devices
with a conventional serial interface (not I2S stereo serial audio interface). The SSI shares some
pins with the SAI. When the SSI is activated,
some of the SAI pins are switched from the SAI
to the SSI. The SAI and SSI can operate in parallel.
The features of the SSI are listed below.
Slave operating mode, FSYNC and SSISCK
are inputs.
Data sizes of 8, 16, and 24 bits are supported.
Frame Sync (FSYNC) and SCK (SSISCK) signals connected to both the receiver and transmitter.
Normal mode or Network mode possible.
22/26
$0040
$003F
$0000
Boot-ROM
$0200
$01FF
$0100
$00FF
X-ROM
Y-ROM
X-RAM
Y-RAM
DSP1
XCHG Interface (DSP to DSP Exchange Interface)
The Exchange Interface peripheral provides bidirectional communication between DSP0 and
DSP1. Both 24 bit word data and four bit Flag
data can be exchanged. A FIFO is utilized for received data. It minimizes the number of times an
Exchange Interrupt Service Routine would have
to be called if multi-word blocks of data were to
be received. The Transmit FIFO is in effect the
Receive FIFO of the other DSP and is written directly by the transmitting DSP. The features of
the XCHG are listed below.
10 Word XCHG Receive FIFO on both DSPs
Four Flags for each XCHG for DSP to DSP
signaling
Condition flags can optionally trigger interrupts
on both DSPs
Host Interface(HI)
The DSPs communicate with the 8051 through
the Host Interface. There is a separate HI for
each of the DSPs. Two Host Interfaces are included. HI0 for Host to DSP0 communication,
and HI1 for Host to DSP1 communication. The
TDA7503
features of the HI are listed below.
8 Word Host Receive FIFO - DSP Side
4 Word Host Receive FIFO - Host (8051) Side
Two Flags for each HI for DSP to Host signaling (can optionally trigger interrupts)
Command Vector Register allows Host to trigger any DSP vectored interrupt
DRAM/SRAM Interface (EMI)
The External DRAM/SRAM Interface is viewed as
a memory mapped peripheral. Data transfers are
performed by moving data into/from data registers and the control is exercised by polling status
flags in the control/status register or by servicing
interrupts. An external memory write is executed
by writing data into the EMI Data Write Register.
An external memory read operation is executed
by either writing to the offset register or reading
the EMI Data Read Register, depending on the
configuration.
The features of the EMI are listed below.
Data bus width fixed at 4 bits for DRAM and 8
bits for SRAM.
Data word length choices of 16 or 24 bits.
Nine DRAM address lines means 218 = 256KB
addressable DRAM.
Refresh rate for DRAM can be chosen among
eight divider factor.
SRAM relative addressing mode with multiplexed address/data lines; 214= 16KB addressable SRAM.
Four SRAM Timing choices.
Two Read Offset Registers.
Debug Interface
The Debug Port is multiplexed to both of the DSP
Cores via a select pin. Only one DSP can be debugged at a time. The debug logic is contained in
the core design of the DSP. The features of the
Debug Port are listed below:
Breakpoint Logic
Trace Logic
Single stepping
Instruction Injection
Program Disassembly
CORDIC Co-Processor
The CORDIC Co-Processor is used to convert
rectangular to polar coordinates. .
The CORDIC Unit has an 18 Bit data path
throughout. When reading 24 bit words from the
DSP the upper 6 bits are truncated. When writing
to the DSP the upper 6 bits are zeroed.
Either DSP may write an X and Y coordinate to
the CORDIC unit and, 17 clock cycles later, the
magnitude and angle information will be available
from the CORDIC Unit.
8051 Embedded Microcontroller
The microcontroller serves as the on-chip system
controller and operates from 64K of external
EPROM with 1K of internal RAM. In addition, it
contains a small program in internal RAM that allows the micro to program the external EPROM.
The micro will boot a network interface program
from external EPROM. If a command to program
the EPROM is received from the network then the
following sequence will be initiated: The micro will
read a ROM image from the network via a network chip attached to the micro’s SPI. Then the
micro will switch to running out of internal RAM
and begin programming the external EPROM
with the image read from the network. This allows
the personality of the system to be set after the
system has been manufactured. The external
EPROM also holds the DSP programs and initializing values. The micro will copy these images to
the DSP via an on-chip host interface (HI).
In addition to the 8051 Core the following memory and control functions are required:
Internal Memory Interface to 256 Bytes of Single Port Static RAM and 768 Bytes of AUXRAM
External Memory Interface to EPROM and
Memory Mapped Peripheral I/O
Host Interface for Micro to DSP Communication
Serial Peripheral Interface (SPI)
Control Interface for Interrupts and GPIO
PLL Clock Oscillator
Internal Memory Interface
The 8051 requires an internal memory interface
to connect to the internal 256 RAM locations and
the 768 Auxiliary RAM.
Micro Memory Interface
The 8051 core requires an external memory interface to connect to external program memory and
memory mapped peripherals. This is implemented like the standard 80C51 Port 2/Port 0
Multiplexed 16 Bit Address/8 Bit Data Bus. . The
signals RD, WR, XPSEN, and XALE will also be
output. The External Memory Interface must also
have circuitry to program the external EPROM (or
any non-volatile memory) in-circuit. This means
that the normal operation of the external memory
interface must be altered to handle the program
timing of the EPROM. By treating the Port 2/Port
0 pins as GPIO the programming can be
23/26
TDA7503
achieved in software. When this mode is entered
instruction execution is switched to internal AUXRAM.
Serial Peripheral Interface
The 8051 core requires a serial interface to receive commands and data over the LAN. During
an SPI transfer, data is transmitted and received
simultaneously. A serial clock line synchronizes
shifting and sampling of the information on the
two serial data lines. A slave select line allows individual selection of a slave SPI device. The SS
Pin will act as a GPIO when the SPI is in master
mode or the SPI is disabled.
When an SPI transfer occurs an 8-bit word is
shifted out one data pin while another 8-bit character is simultaneously shifted in a second data
pin. The central element in the SPI system is the
shift register and the read data buffer. The system is single buffered in the transfer direction and
double buffered in the receive direction.
Control Interface
The 8051 requires a set of external general purpose input/output lines, two external interrupt
lines, and a reset line. These signals are used by
external devices to signal events to the 8051. The
GPIO lines are implemented as the 8051’s Port 1
GPIO. The two external interrupts are connected
to the INT0 and INT1 lines on the micro. The RE-
24/26
SET pin is used to reset the micro.
PLL Clock Oscillator
The PLL Clock Oscillator can accept an external
clock at XTI or it can be configured to run an internal oscillator when a crystal is connected
across pins XTI & XTO. There is an input divide
block IDF (1 -> 32) at the XTI clock input and a
multiply block MF (33 -> 128) in the PLL loop.
Hence the PLL can multiply the external input
clock by a ratio MF/IDF to generate the internal
clock. This allows the internal clock to be within 1
MHz of any desired frequency even when XTI is
much greater than 1 MHz. It is recommended that
the input clock is not divided down to less than 1
MHz as this reduces the Phase Detector’s update
rate.
The clocks to the DSP and the 8051 can be selected to be either the VCO output divided by 2 or
4 respectively, or be driven by the XTI pin directly.
The crystal oscillator and the PLL will be gated off
when entering the power-down mode (by setting
bit 1 of the PCON Register).
M8051 Interrupts
The M8051 Core provides for 5 interrupt sources,
INT1, INT0, TIMER1, TIMER0, and SERIAL
Data. There exists a corresponding Interrupt Enable register and Interrupt Priority Register.
TDA7503
mm
DIM.
MIN.
inch
TYP.
A
MAX.
MIN.
TYP.
1.60
A1
0.05
A2
1.35
B
0.17
C
0.09
0.063
0.15
0.002
1.40
1.45
0.053
0.055
0.057
0.22
0.27
0.007
0.009
0.011
0.20
0.003
0.006
0.008
D
16.00
0.630
D1
14.00
0.551
D3
12.00
0.472
e
0.50
0.019
E
16.00
0.630
E1
14.00
0.551
E3
12.00
0.472
L
0.45
L1
0.60
0.75
0.018
1.00
K
OUTLINE AND
MECHANICAL DATA
MAX.
0.024
0.030
0.0393
TQFP100
3.5°(min.), 7°(max.)
D
A
D1
A2
D3
A1
75
51
76
50
0.076mm
.003 inch
Seating Plane
e
E3
E1
E
B
PIN 1
IDENTIFICATION
26
100
1
25
K
TQFP100M
C
L
L1
25/26
TDA7503
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is
granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specification mentioned in this publication are
subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products
are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics
 1999 STMicroelectronics – Printed in Italy – All Rights Reserved
STMicroelectronics GROUP OF COMPANIES
Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A.
http://www.st.com
26/26