Features
•
•
•
•
•
•
•
•
•
•
Three DSPs and 24-bit Audio Router On-chip
32 kHz to 96 kHz Sampling Rate
16-bit Microcontroller On-chip
Variety of I/Os, including SmartMedia
™
and DataFlash
®
Embedded RAM for Single Chip Operation (530 kbit)
Warm Start Power-down
1 µA Typical Deep Power-down, 0.5 mW/MIPS Typical Operating
External Flash/ROM Capability
Available in a 64-lead TQFP Package
Ideal for Real-time Audio Applications
– MP3 Decoding Wavetable Synthesis (GM-Lite)
– Effect Processing (Reverb, Echo, Chorus, etc.)
– Speech Recognition and Synthesis
– Filtering, Sampling Rate Conversion
•
Typical Applications: Cellular Phones, MP3 Player, Effect Devices, Intelligent
Answering Machinces, Toys
Audio
Processing
ATSAM3103
Versatile
Low-power
Audio DSP/
Low-cost
Effects DSP
Description
The ATSAM3103 is a member of the new ATSAM3000 family that uses DSP Array
Technology. The ATSAM3103 includes three 24-bit DSPs, a 24-bit Audio Router and a
general purpose 16-bit on-chip CISC Microcontroller. Its high performance and flexibil-
ity with eight input and eight output channels allow implementation of professional
quality audio applications such as effects processing and MP3 decoding. A variety of
I/Os, including SmartMedia
™
and DataFlash
®
are provided. Sampling rates up to 96
kHz at 24 bits are supported.
6093A–DRMSD–25-Oct-04
DSP Array Block
Diagram
Figure 1.
ATSAM3103 DSP Array Block Diagram
DSP Array (3 P24 DSPs)
Embedded
RAM
16K x 24
MMU
Sync Bus
Async Bus
16-bit
Processor
(P16)
I/Os
Timers,
UARTs,
DataFlash,
Ports
ROUTER
Final ACC
MIX
Audio OUT
Audio IN
Audio I/O
Embedded
ROM
1K x 16
BIOS and
Debug
External I/O
Functional Description
DSP Array
The ATSAM3103 includes three on-chip DSPs.
Each DSP (P24) is built around a 2K x 24 RAM and a 1K x 24 ROM. The RAM contains
both data and P24 instructions; the ROM contains typical coefficients such as FFT
cosines and windowing. A P24 sends and receives audio samples through the Sync
Bus. It can request external data such as compressed audio through the Async Bus.
Each P24 RAM can be accessed through the Async Bus.
Each P24 is capable of typical MAC operation loops, including auto-indexing, bit reverse
and butterfly (multiplication of complex numbers). It also includes specialized audio
instructions such as state variable IIR filtering, envelope generation, linear interpolation
and wavetable loop.
One P24 is sufficient for processing one channel of MP3, implementing a multi-tap delay
line or a multi-tap transversal filter. A single P24 is also capable of generating 12 voices
of wavetable sound at 32 kHz sampling rate (8 voices at 48 kHz), including sample
cache, pitch control, second-order filter and two envelope generators.
Sync Bus
The Sync Bus transfers data on a frame basis, typical frame rates being 32, 44.1, 48 or
96 kHz. Each frame is divided into 64 time slots. Each slot is divided into 4 bus cycles.
Each P24 is assigned a hardwired time slot (8 to 63), during which it may provide 24-bit
data to the bus (up to 4 data samples). Each P24 can read data on the bus at any time,
2
ATSAM3103
6093A–DRMSD–25-Oct-04
ATSAM3103
allowing inter P24 communication at the current sampling rate. Slots 0 to 7 are reserved
for a specific router DSP, which also handles audio out, audio in, and remix send.
Async Bus
The Async Bus is 24-bit data inside the chip and 16-bit outside.
The P16 processor normally masters the Async Bus; it can read/write the P24 memories
and the external or embedded ROM/RAM. However, each P24 can request a bus mas-
ter cycle for accessing external ROM/RAM or other P24 memories. This allows efficient
intercommunication between several P24s on asynchronous block basis. Specific P24
instructions FLOAT and FIX convert fixed-point DSP data to floating-point 16 bits. This
allows for 20-bit audio dynamic range when using 16-bit external memory.
16-bit Processor
The P16 processor is widely used in ATSAM products. Using the P16 allows to keep the
large firmware investments from the ATSAM97xx series. A built-in ROM, connected to
the P16, holds basic input/output software (BIOS) for peripherals such as UART,
DataFlash, SmartMedia, MPU, as well as a debugger using a dedicated asynchronous
serial line. The firmware can reside on external parallel ROM/Flash or it can be down-
loaded at power-up into the built-in 16K x 24 RAM from serial EEPROM, DataFlash,
SmartMedia or host.
The MMU handles transfer requests between the external or embedded RAM/ROM, the
P16 and the P24s through the Async Bus. The ATSAM3103 includes an on-chip 16K x
24 RAM.
This block includes a RAM, accessed through the Async Bus, which defines the routing
from the Sync Bus to/from the Audio I/O or back to the Sync Bus (mix send). It takes
care of mix and accumulation from Sync Bus samples. Eight channels of audio in and
eight channels of audio out are provided (4 stereo in/out, I2S format). The stereo audio
in channels may have a different sampling rate than the audio out channels. In this case,
one or more P24s take care of sampling rate conversion.
The ATSAM3103 includes versatile I/Os that share common pins for reduced pin count
and small IC footprint. Most I/Os, when not used for a specific function, remain available
as firmware controlled general-purpose pins.
The following peripherals are included on-chip:
•
•
•
•
•
•
•
•
2 x 8-bit timers
2 x 16-bit timers
Parallel slave 8-bit port, MPU401 compatible
Parallel master 8-bit port, for connection to SmartMedia and/or LCD display,
switches, etc.
2 x asynchronous bi-directional serial ports
Synchronous serial slave port (SPI type host connection)
SPI master bi-directional port for EEPROM or DataFlash connection
Firmware controlled I/O pins
MMU (Memory
Management Unit)
Router: Final ACC, MIX,
Audio Out, Audio In
I/O
3
6093A–DRMSD–25-Oct-04
Typical Application Examples
Figure 2.
Host-controlled MP3 Player
ROM
Compressed Audio
(from Host)
ATSAM3103
DAC
Stereo
Audio
Out
•
•
ATSAM3103 firmware download from host (when using parallel interface)
Choice of host communication interfaces
–
–
–
8-bit parallel
Asynchronous serial
(1)
Synchronous serial (SPI)
(1)
•
•
•
Full MP3 support inculding very low bit rate extension (ISO/IEC 13813-3)
Easily upgradeable to other coding standards
Single CBGA on request
1. External firmware serial EEPROM required
Note:
Figure 3.
Stand-alone MP3 Player (SmartMedia Based)
8-Mb to 12-Mb
Smart Media
Switches,
LCD Display
MIDI
ATSAM3103
DAC
Stereo
Audio
Out
•
•
S/Pdif connection possible
PC connection possible
4
ATSAM3103
6093A–DRMSD–25-Oct-04
ATSAM3103
Figure 4.
Low-cost High-quality Effect
Atmel
EEPROM
Switches
LCD Display
MIDI
ATSAM3103
ADC
DAC
Stereo
Audio In/Out
•
•
High quality, full 24-bit Multi-effects such as reverb, chorus and compression
Stereo 10-band graphic equalizer
Figure 5.
Intelligent Answering Machines (DataFlash-based)
Atmel
DataFlash
Switches
LCD Display
ATSAM3103
ADC
DAC
Audio In/Out
•
•
•
•
High quality telephone recording at low bit rate (8 kbit/sec)
Close to one hour recording capacity using 32-Mbit DataFlash
Detects touch-tone
Easy to program
Figure 6.
Toys with Artificial Intelligence
Atmel
EEPROM
Switches
Motor ControI
ATSAM3103
ADC
DAC
Audio In/Out
•
•
•
Speech recognition
Learning functions
ADPCM record/play
5
6093A–DRMSD–25-Oct-04