Part Number Hot Search : 
5962R MC140 D1789 UDZS13B 8ZETE1 MC140 C104F PCP1104
Product Description
Full Text Search
 

To Download ATSAM3303 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  6091a?drmsd?07/04 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 kbits)  warm start power-down  1 a typical deep power-down, 0.5 mw/mips typical operating  external flash/rom capability  available in a 100-lead tqfp package  ideal for real-time audio applications ? wavetable synthesis (gm-lite) ?mp3 decoding ? effect processing (reverb, echo, chorus, etc.) ? filtering, sampling rate conversion  typical applications: cellular phones, mp3 player, musical instruments, consumer electronic, professional audio description the ATSAM3303 is a member of the new atsam3000 family that uses the dsp array technology. the ATSAM3303 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 allow implementation of professional-quality audio applications, such as mp3 decoding, wavetable synthesis, effect processing and mixing. a variety of i/os, includ- ing external wave rom, smartmedia and dataflash are provided. sampling rates up to 96 khz at 24 bits are supported. audio processing ATSAM3303 gm-lite synthesizer/ professional effects dsp
2 ATSAM3303 6091a?drmsd?07/04 dsp array block diagram figure 1. ATSAM3303 dsp array block diagram functional description dsp array the ATSAM3303 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, 96 khz. each frame is divided into 64 time slot s. 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, external ram rom flash mmu 16-bit processor (p16) embedded rom 1k x 16 bios and debug embedded ram 16k x 24 i/os timers, uarts, dataflash, ports router final acc mix audio out audio in dsp array (3 p24 dsps) sync bus async bus audio i/o external i/o
3 ATSAM3303 6091a?drmsd?07/04 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 allow to 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 sam97xx 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 asynchro- nous serial line. the firmware can reside on external parallel rom/flash or it can be downloaded at power-up into the built-in 16k x 24 ram from serial eeprom, dataflash, smartmedia or host. mmu (memory management unit) the mmu handles transfer requests between the external or embedded ram/rom, the p16 and the p24s through the async bus. the ATSAM3303 includes an on-chip 16k x 24 ram. router: final acc, mix, audio out, audio in 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. i/o the ATSAM3303 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
4 ATSAM3303 6091a?drmsd?07/04 typical application examples figure 2. host-controlled mp3 or cost-optimized gm-lite wavetable player (cellular phone)  mp3 or wavetable synthesis (switchable ?on the fly?)  legendary dream high-quality wavetable sound  typical polyphony ? 36 voices @ 32 khz sampling rate ? 24 voices with effects (reverb, chorus, etc.)  external wavetable rom/flash choice from 4 mbits to 128 mbits  choice of host communication interfaces ? 8-bit parallel ? asynchronous serial (midi) ? synchronous serial (spi)  built-in standard midi file player (smf) dramatically reduces host load figure 3. ultra low-cost musical keyboard  24-voice polyphony with effects @ 32 khz sampling rate  choice of gm+ sampled sounds from 4 mbits to 64 mbits  maximum external memory addressing range: 128 mbits ATSAM3303 dac rom stereo audio out compressed audio or midifile (from host) ATSAM3303 dac rom stereo audio out switches, lcd display midi keyboard
5 ATSAM3303 6091a?drmsd?07/04 dsp capacity and i/o configuration dsp considerations the ATSAM3303 includes three p24 dsps. table 1 lists the performance levels achievable by the p24. the ATSAM3303 runs firmware directly from an external rom/flash memory. it may also run firmware from local ram, thus freeing many i/o pins, which can then be used for application-dependent functions. the atsam 3303 is the ideal choice when wavet- able synthesis or many i/o pins are required. i/o selection considerations i/os are organized in groups that can be mu tually exclusive because they share the same ic pins (please refer to the pinout to identify the exclusions). the two main types of operation are host controlled and stand-alone. host-controlled operation there are three main possible ways of communication with a host processor:  8-bit parallel mpu type bi-directional interface signals: d7-d0, cs , wr , rd , a0, irq  asynchronous serial, midi_in and, optionally, midi_out  synchronous serial signals: sdin, sclk, sync, int stand-alone operation possible stand-alone modes are:  firmware into external rom or flash memory  firmware into external eeprom or dataflash  firmware into external smartmedia. in this case, the firmware should reside in the smartmedia reserved sectors starting at sector 1. table 1. p24 performance levels function p24s required mp3 decode 3 12-voice wavetable synthesis @32khz 1 8-voice wavetable synthesis @48khz 1 stereo reverb and chorus @48khz 1 31-band equalizer @96khz 3 stereo 31-band equalizer @48khz 3
6 ATSAM3303 6091a?drmsd?07/04 pinout pin description  identical sharing number indicates multifunction pins.  pd indicates a pin with built-in pull-down resistor.  pu indicates a pin with built-in pull-up resistor. table 2. pinout by pin name pin name pin number type sharing description gnd 9, 22, 30, 41, 56, 70, 75, 87, 97 pwr - digital ground. all these pins should be returned to a ground plane vc18 20, 47, 73, 99 pwr - core power. all these pins should be returned to nominal 1.8v or to pwrout if the built-in power switch is used. vc33 13, 50, 83 pwr - periphery power. all these pins should be returned to nominal 3.3v. pwrin 29 pwr - power switch input; should be returned to nominal 1.8v even if the power switch is not used pwrout 28 pwr - power switch output; should be connected to all vc18 pins if the power switch is used d7 - d0 96, 95, 91, 90, 82, 81, 77, 76 i/o 1 slave 8-bit interface data. output if cs and rd are low (read from chip), input if cs and wr are low (write to chip). type of data defined by a0 input. i/o7 - i/o0 96, 95, 91, 90, 82, 81, 77, 76 i/o 1 smartmedia data or other peripheral data p0.7 - p0.0 96, 95, 91, 90, 82, 81, 77, 76 i/o 1 general-purpose i/o; can be programmed individually as input or output clad3 - 0 96, 95, 91, 90 in 1 optional bit clocks for digital audio input. used for sampling rate conversion, for external incoming digital audio such as aes/beu or s/pdif. wsad3 - 0 82, 81, 77, 76 in 1 optional word selects for digital audio input. used for sampling rate conversion, for external incoming digital audio such as aes/beu or s/pdif. a0 98 in 2 slave 8-bit interface address. indicates data/status or data/ctrl transfer type (cs/ rd low or cs /wr low) smpd 98 in 2 smartmedia presence detect p0.10 98 in 2 general-purpose input pin sclk 98 in 2 serial slave synchronous interface input clock cs 100 in 3 slave 8-bit interface chip select, active low p0.11 100 in 3 general-purpose input pin sync 100 in 3 serial slave synchronous interface input sync signal wr 1 in 4 slave 8-bit interface write, active low. d7 - d0 data is sampled by chip on wr rising edge if cs is low smc 1 in 4 smartmedia configuration. this pin is sensed after power-up. if found low, it is assumed that a smartmedia connector is present. the built-in firmware will wait for smartmedia smpd. p0.12 1 in 4 general-purpose input pin
7 ATSAM3303 6091a?drmsd?07/04 rd 2 in 5 slave 8-bit interface read, active low. d7 - d0 data is output when rd goes low and cs is low r|b 2 in 5 smartmedia ready busy/ status p0.13 2 in 5 general-purpose input pin irq 8 out 6 slave 8-bit interface interrupt request. high when data is ready to be transferred from chip to host. reset by a read from host (cs = 0 and rd = 0) smre 8 out 6 smartmedia read enable (re ), active low fs0 8 in 6 freq sense, sensed at power up. together with fs1, allows the firmware to know the operating freq of the chip (see fs1). p0.8 8 i/o 6 general-purpose i/o pin int 8 out 6 serial slave synchronous interface data request, active low midi_in 17 in 7 serial midi in p0.14 17 in 7 general-purpose input pin sdin 17 in 7 serial slave synchronous interface input data midi_out 18 out 8 serial midi out fs1 18 in 8 freq sense, sensed at power up. fs1/fs0 allow firmware to know operating frequency of chip as follows: 00 6.9552 mhz 01 9.6 mhz 10 11.2896 mhz 11 12.288 mhz p0.9 18 i/o 8 general-purpose i/o dabd3 - 0 67, 66, 65, 64 out - four stereo channels of digital audio output, i2s format clbd 6 out - audio bit clock for dabd3 - 0. audio bit clock for daad3 - 0 if the corresponding clad3 - 0 is not used. wsbd 7 out - audio left/right channel select for dabd3 - 0. audio left/right channel for daad3 - 0 if the corresponding wsad3 - 0 is not used. ckout 5 out - external dac/codec master clock. same frequency as x2 pin. can be programmed to be 128 x fs, 192 x fs, 256 x fs, 384 x fs, where fs is the dac/codec sampling rate. daad0 54 in 9 stereo audio data input, i2s format. can operate on clbd master rate or clad0 external rate when sampling rate conversion is requested. p0.15 54 in 9 general-purpose input pin daad3 - 1 60, 59, 55 in pd - three additional channels of stereo audio input, i2s format. can individually operate on clbd master rate or corresponding clad3 - 1 when sampling rate conversion is requested. daad3 - 1 have built-in pull-downs. they may be left open if not used. mute 19 i/o 10 external dac/codec mute. sensed at power up. if found high, then mute becomes an active high output. if found low, then mute becomes an active low output. p1.6 19 i/o 10 general-purpose i/o pin wa21 45 out 11 external memory address bit, extension to 64 mbits table 2. pinout by pin name pin name pin number type sharing description
8 ATSAM3303 6091a?drmsd?07/04 smce 45 out 11 smartmedia chip enable (ce ), active low p1.5 45 i/o 11 general-purpose i/o pin wa20 44 out 12 external memory address bit, extension to 32 mbits smale 44 out 12 smartmedia address latch enable (ale) p1.4 44 i/o 12 general-purpose i/o pin wa19 43 out 13 external memory address bit, extension to 16 mbits smwe 43 out 13 smartmedia write enable (we ), active low p1.3 43 i/o 13 general-purpose i/o pin wa18 42 out 14 external memory address bit, extension to 8 mbits smcle 42 out 14 smartmedia command latch enable (cle) p1.2 42 i/o 14 general-purpose i/o pin wa17 - wa16 58, 57 out 15 external memory address bits, extension to 2 and 4 mbits p1.1 - p1.0 58, 57 i/o 15 general-purpose i/o pins wa15 - wa0 53, 51, 40, 39, 38, 37, 36, 27, 26, 21, 16, 15, 14, 12, 11, 10 out 16 external memory address bits, up to 1 mbits (64k x 16) p2.15 - p2.0 53, 51, 40, 39, 38, 37, 36, 27, 26, 21, 16, 15, 14, 12, 11, 10 i/o 16 general-purpose i/o pins wd15 - wd0 94, 93, 92, 89, 88, 86, 85, 84, 80, 79, 78, 69, 68, 63, 62, 61 i/o 17 external memory data p3.15 - p3.0 94, 93, 92, 89, 88, 86, 85, 84, 80, 79, 78, 69, 68, 63, 62, 61 i/o 17 general-purpose i/o pins wcs1 3 out 18 external memory chip select 1, active low. pre-decode for an external ram/flash/rom at address 200:0000h. p1.10 3 i/o 18 general-purpose i/o pin wcs0 4 out 19 external memory chip select 2, active low. pre-decode for an external ram/flash/rom at address 000:0000h p1.9 4 i/o 19 general-purpose i/o pin woe 48 out 20 external memory output enable, active low p1.8 48 i/o 20 general-purpose i/o pin wwe 49 out 21 external memory write enable, active low p1.7 49 i/o 21 general-purpose i/o pin dfcs 23 out - dataflash chip select dfsi 25 out - dataflash serial input (to dataflash) dfso 32 in pd - dataflash serial output (from dataflash). this pin has a built-in pull- down. it may be left open if not used. dfsck 24 out - dataflash data clock table 2. pinout by pin name pin name pin number type sharing description
9 ATSAM3303 6091a?drmsd?07/04 p1.15 46 i/o pu - general-purpose i/o pin. this pin has built-in pull-up. it may be left open if not used. x1 - x2 72, 71 - - external crystal connection. standard frequencies are 6.9552 mhz, 9.6 mhz, 11.2896 mhz, 12.288 mhz. max frequency is 12.5 mhz. an external clock (max. 1.8v pp ) can be connected to x1 using ac coupling (22 pf). a built-in pll multiplies the clock frequency by 4 for internal use. lft 74 - - pll decoupling rcr filter reset 33 in - master reset schmitt trigger input, active low. reset should be held low during at least 5ms after power is applied. on the rising edge of reset , the chip enters an initialization routine, which may involve firmware download from an external smartmedia, dataflash or host. stin 34 in pd - serial test input. this is a 57.6 kbaud asynchronous input used for firmware debugging. this pin is tested at power-up. the built-in debugger starts if stin is found high. stin has a built-in pull-down. it should be grounded or left open for normal operation. stout 35 out - serial test output. 57.6 kbaud async output used for firmware debugging. pdwn 31 in - power down input, active low. high level on this pin is typ. vc18. when pdwn is low, the oscillator and pll are stopped, the power switch opens, and the chip enters a deep sleep mode (1 a typ. consumption when power switch is used). to exit from power down, pdwn has to be set high then reset applied. alternate programmable power-downs are available which allow warm restart of the chip. test 52 in pd - test input. should be grounded or left open. table 2. pinout by pin name pin name pin number type sharing description
10 ATSAM3303 6091a?drmsd?07/04 pinout by pin number table 3. ATSAM3303 pinout by pin number pin # pin name pin #pin name pin # pin name pin #pin name 1wr smc p0.12 26 wa7 p2.7 51 wa14 p2.14 76 d0 i/o0 p0.0 wsad0 2rd r|b p0.13 27 wa8 p2.8 52 test 77 d1 i/o1 p0.1 wsad1 3wcs1 p1.10 28 pwrout 53 wa15 p2.15 78 wd5 p3.5 4wcs0 p1.9 29 pwrin 54 daad0 p0.15 79 wd6 p3.6 5 ckout 30 gnd 55 daad1 80 wd7 p3.7 6clbd 31pdwn 56 gnd 81 d2 i/o2 p0.2 wsad2 7 wsbd 32 dfso 57 wa16 p1.0 82 d3 i/o3 p0.3 wsad3 8 irq 33 reset 58 wa17 p1.1 83 vc33 9 gnd 34 stin 59 daad2 84 wd8 p3.8 10 wa0 p2.0 35 stout 60 daad3 85 wd9 p3.9 11 wa1 p2.1 36 wa9 p2.9 61 wd0 p3.0 86 wd10 p3.10 12 wa2 p2.2 37 wa10 p2.10 62 wd1 p3.1 87 gnd 13 vc3 38 wa11 p2.11 63 wd2 p3.2 88 wd11 p3.11 14 wa3 p2.3 39 wa12 p2.12 64 dabd0 89 wd12 p3.12 15 wa4 p2.4 40 wa13 p2.13 65 dabd1 90 d4 i/o4 p0.4 clad0 16 wa5 p2.5 41 gnd 66 dabd2 91 d5 i/o5 p0.5 clad1 17 midi_in p0.14 sdin 42 wa18 smcle p1.2 67 dabd3 92 wd13 p3.13 18 midi_out fs1 p0.9 43 wa19 smwe p1.3 68 wd3 p3.3 93 wd14 p3.14 19 mute p1.6 44 wa20 smale p1.4 69 wd4 p3.4 94 wd15 p3.15 20 vc18 45 wa21 smce p1.5 70 gnd 95 d6 i/o6 p0.6 clad2 21 wa6 p2.6 46 p1.15 71 x2 96 d7 i/o7 p0.7 clad3 22gnd 47vc18 72x1 97gnd 23 dfcs 48 woe p1.8 73 vc18 98 a0 smpd p0.10 sclk 24 dfsck 49 wwe p1.7 74 lft 99 vc18 25 dfsi 50 vc33 75 gnd 100 cs p0.11 sync
11 ATSAM3303 6091a?drmsd?07/04 mechanical dimensions figure 4. thin plastic 100-lead quad flat pack (tqfp100b) table 4. package dimensions in mm denomination min nom max a 1.40 1.50 1.60 a1 0.05 0.10 0.15 a2 1.35 1.40 1.45 l 0.45 0.60 0.75 d14.00 d1 12.00 e14.00 e1 12.00 p0.40 b 0.13 0.18 0.23
12 ATSAM3303 6091a?drmsd?07/04 electrical characteristics absolute maximum ratings(*) recommended operating conditions note: 1. operation at lower v c33 values down to v c18 is possible, however external timing may be impaired. please contact atmel if you plan to use these circuits with v c33 outside the recommended operating range. ambient temperature (power applied)................-40 c to 85 c *notice: stresses beyond those listed under "absolute maximum ratings" may cause permanent dam- age to the device. this is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the recommended operating conditions of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. storage temperature ........................................-65 c to 150 c voltage on any pin x1, lft ....................................................... -0.3 to v c18 + 0.3v others ......................................................... -0.3 to v c33 + 0.3v supply voltage.......................................................................... v c18 ....................................................................-0.3v to 1.95v v c3 .......................................................................-0.3v to 3.6v maximum iol per i/o pin................................................. 4 ma table 5. recommended operating conditions symbol parameter min typ max unit v c18 supply voltage 1.65 1.8 1.95 v v c33 supply voltage (1) 33.3v c18 + 1.5 3.6 v pwrin supply voltage pwrin pin 1.75 1.9 1.95 v t a operating ambient temperature 0 - 70 c
13 ATSAM3303 6091a?drmsd?07/04 dc characteristics table 6. dc characteristics (t a = 25c, v c18 = 1.8v 10%, v c33 = 3.3v 10%) symbol parameter min typ max unit v il low level input voltage -0.3 - 1.0 v v ih high level input voltage, except x1, pdwn 2.3 - v c33 + 0.3 v v ih high level input voltage x1, pdwn 1.2 - v c18 + 0.3 v v ol low level output voltage i ol =-2 ma - - 0.4 v v oh high level output voltage i oh = 2 ma 2.9 - - v i cc1 v c18 power supply current (crystal freq.=11.2896 mhz, all 3 p24s running) -40-ma i cc2 v c18 power supply current (crystal freq. = 11.2896 mhz, all p24s stopped) -22-ma i cc3 v c18 power supply current (crystal freq. = 11.2896 mhz, all p24s stopped, warm start power-down active) -4-ma i cc4 v c18 deep power down supply current (using power switch) -110a pu/pd built-in pull-up/pull-down resistor 10 - 56 kohm
14 ATSAM3303 6091a?drmsd?07/04 peripherals and timings slave 8-bit parallel interface pins used: d7-d0 (i/o), cs (input), a0 (input), wr (input), rd (input), irq (output). this interface is typically used to connect the chip to a host processor. figure 5. host interface read cycle figure 6. host interface write cycle table 7. timing parameters symbol parameter min typ max unit t avcs address valid to chip select low 0 - - ns t cslrdl chip select low to rd low 5 - - ns t rdhcsh rd high to cs high 5 - - ns t prd rd pulse width 50 - - ns t rdldv data out valid from rd - - 20 ns t drh data out hold from rd 5 - 10 ns t cslrwrl chip select low to wr low 5 - - ns t wrhcsh wr high to cs high 5 - - ns t pwr wr pulse width 50 - - ns t dws write data setup time 10 - - ns t dwh write data hold time 0 - - ns a0 d 0 - d7 t avcs t cslrdl t prd t rdhcsh t rdldv t drh cs rd a0 d 0 - d7 t avcs t cslwrl t pwr t wrhcsh t dws t dwh cs wr
15 ATSAM3303 6091a?drmsd?07/04 io status register status register is read when a0 = 1, rd = 0, cs = 0.  te: transmit empty if 0, data from ATSAM3303 to host is pending and irq is high. reading the data at a0 = 0 will set te to 1 and clear irq.  rf: receiver full if 0, then ATSAM3303 is ready to accept data from host. note: if status bit rf is not checked by host, write cycle time should not be lower than 3 s. smartmedia and other peripheral interfaces this is a master 8-bit parallel interface, allowing connection to smartmedia or other peripherals such as lcd screens. pins used: i/o7-i/o0 (i/o), smpd (input), smce , smale, smcle, smre , smwe (outputs) all these pins are fully under firmware control, therefore timing compatibility is ensured by firmware only. eeprom/dataflash interface this is a master synchronous serial interface, operating in spi mode 0. pins used: dfcs , dfsi, dfsck (outputs), dfso (input) the dfsck frequency is firmware programmable from fck to fck/64, where fck is the crystal frequency. thus a large variety of eeprom/dataflash devices can be accomodated. please refer to atmel dataflash datasheets for accurate spi mode 0 timing. figure 7. typical dataflash interface timing 76543210 terfxxxxxx lsb msb d fsck d fsi d fso
16 ATSAM3303 6091a?drmsd?07/04 serial slave synchronous interface the ATSAM3303 can be controlled by an external host processor through the unidirec- tional serial interface. however, no firmware can be downloaded at power-up through this interface. therefore an external rom/flash/eeprom is required. pins used: sclk, sync, sdin (input), int (output) data is shifted msb first. the ic samples an incoming sdin bit on the rising edge of sclk, therefore the host should change sdin on the negative sclk edge. sync allows initial synchronization. the rising edge of sync, which should occur with sclk low, indicates that sdin will hold msb data on the next rising sclk. the data is stored internally in a 256-byte fifo. when the fifo count is below 64, the int output goes low. this allows the host proces- sor to send data in burst mode. the maximum sclk frequency is fck (fck being the crystal frequency). the minimum time between two bytes is 64 fck periods. the contents of the sdin data are defined by the firmware. figure 8. serial slave interface typical timing digital audio pins used: clbd (output), wsbd (output), dabd3 - 0 (outputs), daad3 - 0 (inputs) optionally: clad3 - 0 (inputs), wsad3 - 0 (inputs) the ATSAM3303 allows for 8 digital audi o output channels and 8 digital audio input channels. all audio channels are normally synchronized on single clocks clbd, wsbd which are derived from the ic crystal oscillator. however, as a firmware option, the daad3 - 0 inputs can be synchronized with incoming clad3 - 0 and wsad3 - 0 sig- nals. in this case, the incoming sampling frequencies must be lower or equal to the chip sampling frequency. the digital audio timing follows the i2s standard, with up to 24 bits per sample msb s clk s ync s din
17 ATSAM3303 6091a?drmsd?07/04 figure 9. digital audio t c is related to t ck , the crystal period at x1 as follows: the choice of sample frequency is done by the firmware. figure 10. digital audio frame format, 128 x fs and 256 x fs modes t cw wsbd t cw t clbd t sod t sod clbd d abd3 - 0 d aad3 - 0 table 8. digital audio timing parameters symbol parameter min typ max unit t cw clbd rising to wsbd change t c - 10 ns t sod dabd valid prior/after clbd rising t c - 10 ns t clbd clbd cycle time 2 * t c ns table 9. sample frequency sample frequency wsbd typical sample frequency t c clbd/wsbd frequency ratio 1/(t ck * 128) 96 khz t ck 64 1/(t ck * 192) 64 khz 2 * t ck 48 1/(t ck * 256) 48 khz 2 * t ck 64 1/(t ck * 384) 32 khz 4 * t ck 48 wsbd d abd3 - 0 d aad3 - 0 clbd msb lsb 16 bits lsb 24 bits msb
18 ATSAM3303 6091a?drmsd?07/04 figure 11. digital audio frame format, 192 x fs and 384 x fs modes serial midi_in and midi_out the serial midi in and out signals are asynchronous signals following the midi trans- mission standard:  baud rate: 31.25 khz  format: start, 8 data bits, 1 stop wsbd d abd3 - 0 d aad3 - 0 clbd msb lsb 16 bits lsb 24 bits msb
19 ATSAM3303 6091a?drmsd?07/04 external memory pins used: wa21 - wa0: address out, wd15 - wd0: data bi-directional, wcs0 , wcs1 : pre-decodes out, woe : output enable, wwe : write when using all address bits, the maximum address range is two pages (wcs0 , wcs1 ) of 4m words (total = 16 mbytes). figure 12. rom/flash read cycle notes: 1. a built-in pll multiplies the crystal clock frequency by 4 for internal use. p lck is the period of the internal clock generated by pll. p lck = t ck /4. typical value with crystal 12.288 mhz is p lck = 20 ns. 2. memory access time should be lower than t ace min. typical value with crystal 12.288 mhz is 90 ns. t rc t csoe t poe t ace t oe t df wa0 - wa21 wd0 - wd15 wcs0 woe wcs1 table 10. external memory parameters symbol parameter min typ max unit t rc read cycle time 5 * p lck -6 * p lck ns t csoe chip select low/address valid to woe low 2 * p lck - 5 - 3 * p lck + 5 ns t poe output enable pulse width - 3 * p lck -ns t ace chip select/address access time 5 * p lck - 5 - - ns t oe output enable access time 3 * p lck - 5 - - ns t df chip select or woe high to input data hi-z 0 - 2 * p lck - 5 ns
20 ATSAM3303 6091a?drmsd?07/04 figure 13. external ram/flash write timing t wc t cswe t wp t dw t dh wa0 - wa21 wd0 - wd15 wcs1 wwe woe wcs0 table 11. external flash timing parameters symbol parameter min typ max unit t wc write cycle time 5 * p lck -6 * p lck ns t cswe write enable low from cs or address or woe 2 * p lck - 10 - - ns t wp write pulse width - 4 * p lck -ns t dw data out setup time 4 * p lck - 10 - - ns t dh data out hold time 10 - - ns
21 ATSAM3303 6091a?drmsd?07/04 reset and power- down during power-up, the reset input should be held low until the crystal oscillator and pll are stabilized, which takes max. 10ms. after the low-to-high transition of reset , the following occurs:  all p24s enter an idle state.  p16 program execution starts in built-in rom. the power-up sequence is as follows:  stin is sensed. if high, then the built-in debugger is started.  addresses 0 & 1 from external rom are checked. if ?dr? is read, then control is transferred to address 400h from external rom. smc is sensed. if low, then the built-in loader waits for smartmedia presence detect (smpd). when detected, the firmware is downloaded from smartmedia reserved sector 1 and started.  an attempt is done to read the first two bytes of an external eeprom or dataflash. if ?dr? is read, then the built-in loader loads the firmware from the external eeprom/dataflash and starts it.  firmware download from a host processor is assumed. 1. the byte 0ach is written to the host, this rises irq. the host can recognize that the chip is ready to accept program download. higher speed transfer can be reach by polling the parallel interface status (cs = 0, a0 = 1, rd = 0). 2. the host sends the firmware size (in words) on two bytes (low byte first). 3. the host sends the ATSAM3303 firmware. the firmware should begin with string ?dr?. 4. the byte 0ach is written to the host, this rises irq. the host recognizes that the chip has accepted the firmware. 5. ATSAM3303 starts the firmware. if pdwn is asserted low, then the crystal oscillator and pll are stopped. if the power switch is used, then the chip enters a deep power-down sleep mode, as power is removed from the core. to exit power down, pdwn has to be asserted high, then reset applied. other power reduction features allowing warm restart are controlled by firmware:  p24s can be individually stopped.  the clock frequency can be internally divided by 256.
22 ATSAM3303 6091a?drmsd?07/04 recommended board layout like all hcmos high integration ics, the following simple rules of board layout are man- datory for reliable operation:  gnd, vc33, vc18 distribution and decouplings all gnd, vc33, vc18 pins should be connected. a gnd plane is strongly recom- mended. the board gnd + vc33 distribution should be in grid form. recommended vc18 decoupling is 0.1 f at each corner of the ic with an additional 10 f decoupling close to the crystal. vc33 requires a single 0.1f decoupling.  crystal, lft the paths between the crystal, the crystal compensation capacitors, the lft filter r-c- r and the atsam3033 should be short and shielded. the ground return from the com- pensation capacitors and lft filter should be the gnd plane from atsam3033.  buses parallel layout between d0 - d7 and wa0 - wa21/wd0 - wd15 should be avoided. the d0 - d7 bus is an asynchronous type bus. even on short distances, it can induce pulses on wa0 - wa21/wd0 - wd15 that can corrupt address and/or data on these buses. a ground plane should be implemented below the d0 - d7 bus, which is connected to the host and to the atsam3033 gnd. a ground plane should be implemented below the wa0 - wa21/wd0 - wd15 bus, which is connected to the rom/flash grounds and to the atsam3033.  analog section a specific agnd ground plane should be provided, which is connected to the gnd ground by a single trace. no digital signals should cross the agnd plane. refer to the codec vendor recommended layout for correct implementation of the ana- log section.
23 ATSAM3303 6091a?drmsd?07/04 recommended crystal compensation and lft filter figure 14. recommended crystal compensation and lft filter x1 x2 lft x1 1 nf 10 nf gnd 2 2 pf 22 pf 560
24 ATSAM3303 6091a?drmsd?07/04 product development and debugging atmel provides an integrated product development and debugging tool samvs. samvs runs under windows (98, me, 2000, xp). within the environment, it is possible to: edit assemble  debug on real target (in-circuit emulation)  program flash, dataflash, eeprom, smartmedia on target. two dedicated ic pins, stin and stout allow running firmware directly into the target using standar d pc com port c ommunication at 57.6 kbauds. thus time -to-market is optimized by testing directly on the final prototype. a library of frequently used functions is available, such as:  wavetable synthesis  reverb/chorus mp3 decode  31-band equalizer  parametric equalizer atmel engineers are available to study customer-specific applications.
printed on recycled paper. disclaimer: atmel corporation makes no warranty for the use of its produc ts, other than those expressly contained in the company?s standar d warranty which is detailed in atmel?s terms and conditions located on the company?s web site. the company assumes no responsibi lity for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time wi thout notice, and does not make any commitment to update the information contained her ein. no licenses to patents or other intellectual property of atmel are granted by the company in connection with the sale of atmel produc ts, expressly or by implication. atmel?s products are not aut horized for use as critical components in life support devices or systems. atmel corporation atmel operations 2325 orchard parkway san jose, ca 95131, usa tel: 1(408) 441-0311 fax: 1(408) 487-2600 regional headquarters europe atmel sarl route des arsenaux 41 case postale 80 ch-1705 fribourg switzerland tel: (41) 26-426-5555 fax: (41) 26-426-5500 asia room 1219 chinachem golden plaza 77 mody road tsimshatsui east kowloon hong kong tel: (852) 2721-9778 fax: (852) 2722-1369 japan 9f, tonetsu shinkawa bldg. 1-24-8 shinkawa chuo-ku, tokyo 104-0033 japan tel: (81) 3-3523-3551 fax: (81) 3-3523-7581 memory 2325 orchard parkway san jose, ca 95131, usa tel: 1(408) 441-0311 fax: 1(408) 436-4314 microcontrollers 2325 orchard parkway san jose, ca 95131, usa tel: 1(408) 441-0311 fax: 1(408) 436-4314 la chantrerie bp 70602 44306 nantes cedex 3, france tel: (33) 2-40-18-18-18 fax: (33) 2-40-18-19-60 asic/assp/smart cards zone industrielle 13106 rousset cedex, france tel: (33) 4-42-53-60-00 fax: (33) 4-42-53-60-01 1150 east cheyenne mtn. blvd. colorado springs, co 80906, usa tel: 1(719) 576-3300 fax: 1(719) 540-1759 scottish enterprise technology park maxwell building east kilbride g75 0qr, scotland tel: (44) 1355-803-000 fax: (44) 1355-242-743 rf/automotive theresienstrasse 2 postfach 3535 74025 heilbronn, germany tel: (49) 71-31-67-0 fax: (49) 71-31-67-2340 1150 east cheyenne mtn. blvd. colorado springs, co 80906, usa tel: 1(719) 576-3300 fax: 1(719) 540-1759 biometrics/imaging/hi-rel mpu/ high speed converters/rf datacom avenue de rochepleine bp 123 38521 saint-egreve cedex, france tel: (33) 4-76-58-30-00 fax: (33) 4-76-58-34-80 literature requests www.atmel.com/literature 6091a?drmsd?07/04 ? atmel corporation 2004 . all rights reserved. atmel ? and combinations thereof, dream ? and dataflash ? are the registered trademarks of atmel corporation or its subsidiaries. smartmedia ? is the trademark of sandisk corp. mpeg layer-3 audio decoding technology licensed from fraunhofer iis and thomson multimedia. other terms and product names may be the trademarks of others.


▲Up To Search▲   

 
Price & Availability of ATSAM3303

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X