Home
SAM2195 - Serdaco
Contents
1. 58A60B 17 dream SPECIAL MIDI MESSAGES DETAILS SYSTEM MESSAGES NRPN CONTROL NAME Parameters Data Action HighlLow 3707h MASTER_VOL Data byte 0 7Fh 7Fh MASTER_VOL Master volume Data range 0 7Fh Default 7Fh SPATIAL EFFECT DEVICE See Block diagram in Appendix NRPN CONTROL NAME Parameters Data Action HigshlLow SUR VOL Spatial Effect volume Default 0 SUR_DEL Delay time Default 1Dh SUR_INP Input type select 0 Stereo default Stereo wide Input to delay line is left right 7Fh Mono Pseudo stereo Input to delay line is left right ROUTING MESSAGES NRPN CONTROL NAME Parameters Data Action High Low 3718h GM_POST Data byte 0 7Fh 7Fh Post effects applied on General MIDI 371Ah EFF_POST Data byte 0 7Fh 7Fh Post effects applied on Reverb chorus xxx POST Post effects are Spatial Effect and equalizer Post effects can be separately applied on each module However general settings of post effects EQ xxx EQF xxx EQU TYPE SUR VOL SUR DEL SUR INP are common for all modules Data 00h post effects not applied on module Data 7Fh post effects applied on module Default value 7Fh SAM2195 58A60B 18 dream MIDI MESSAGES NRPN CONTROL NAME Parameters Data Action High Low 3722h GM_VOL Data byte 0 7Fh 7Fh General MIDI volume 3723h GM_PAN Data byte 0 7Fh 40h General MIDI pan GM_VOL Range 0 7Fh linear scale Default value GM _V
2. 3 Max 125 150 VD18 0 3 ENT MM _ 150 _VD33 0 3 _VD18 0 3 zx e eo 3 3 NOTICE Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage 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 operational sections of this specification is not implied Exposure to absolute maximum rating conditions for extended periods may affect device reliability 3 RECOMMENDED OPERATING CONDITIONS Parameter Max Unit Digital supply voltage OUTLEV 1 3 3 3 3 6 V OUTLEV 0 1 65 1 95 Digital supply voltage Analog supply voltage OUTLEV 1 OUTLEV 0 Analog supply voltage Power switch supply Regulator supply Power Switch output current OUTVC18 output current Operating ambient temperature 4 DIGITAL CHARACTERISTICS TA 25 C VD33 3 3V 10 1 65 V lt VD18 lt 1 95V Parameter Symbol High level output voltage IOH 2mA Power consumption crystal freq 9 6MHz Power down supply current using power switch Drop down from PWRIN to PWROUT at IPWRO 180mA Voltage on OUTVC18 at IREGO 60mA VREGO 165 18 195 V 3 3 3 3 6 1 65 1 8 1 95 U V Min SAM2195 58A60B 7 dream 5 ANALOG CHARACTERISTICS TA 25 C Parameter Symbol Min Typ Max Unit Total Harmonic Dis
3. PDWN H Operating Mode SAM2195 SAM2195 58A60B 10 dream 8 2 1 8V SINGLE SUPPLY APPLICATION Power down mode is managed by the internal power switch The equivalent schematic and standard connection is shown on the diagram below 1 8V Power Supply OUTVC18 1 8V REG PWR SWITCH OUT IN PDWN L Power down Mode PDWN H Operating Mode SAM2195 9 DITHER MODES DESCRIPTION dithering signal programmability Dithering is used to attenuate the so called idle tones caused by correlation between DAC input signal and truncation noise This correlation manifests as spurious signals in the audio band and hence can be perceived by the user The addition of a random digital signal to the truncator input in the digital modulator has been proven to be very effective to reduce the presence of idle tones However this is actually a noisy signal so that its power must be traded off with the required dynamic range For better control the SAM2195 allows programmability of the dithering signal power as shown below dith 1 0 Mode description Comments 00 _INodiher I 2 71 Dither signal power 30dBFS Minimum recommended dither Dither signal power 27dBFS Typical value 11 Maximum recommended value Above it dither piner signal powere SABES noise may become dominant SAM2195 58A60B 11 dream 10 SYSTEM DESIGN The schematics of this section are the refe
4. as follows Test in progress Output frequency On chip RAM 1 18 kHz On chip ROM 876 Hz PASS 295 Hz If PASS frequency is detected this means that part is OK SAM2195 58A60B 33 dream APPENDIX INSTRUMENTS REQUIRING 2 VOICES 2 LAYER INSTRUMENT Name Glockenspiel Music Box Church Organ Distortion Guitar 7 Synth Strings 2 Orchestra Hit French Horn Piccolo 9 Lead 1 square wave Tinkle Bell 127 3 97 22 24 31 37 40 52 54 55 56 61 63 64 80 81 82 83 84 85 86 89 91 92 93 94 95 97 98 99 100 101 102 104 113 115 118 127 SAM2195 58A60B 34 dream SPACIAL EFFECT BLOCK DIAGRAM Left In Delay Volume Left Nrpn 372Ch Nrpn 3720h Input Nrpn 372Dh Delay Right Right n SAM2195 58 60 35 cream Dream Contact info dream fr Website http www dream fr This publication neither states nor implies any warranty of any kind including but not limited to implied warrants of merchantability or fitness for a particular application Dream assumes no responsibility for the use of any circuitry No circuit patent licenses are implied The information in this publication is believed to be accurate in all respects at the time of publication but is subject to change without notice Dream ass
5. 1 SPECIAL MIDI MESSAGES received on serial MIDI in serial mode or on 8 bit data port in parallel mode Special midi messages are sent using midi Nrpn messages These NRPN messages are mainly using NRPN high 037h For example master volume can be set using NRPN 3707h which means NRPN high 037h midi control 99 63h 55 37h gt midi message OBOh 063h 037h NRPN low 07h midi control 98 62h 07 07h gt midi message OBOh 062h 07h NRPN value vv midi control 6 06h vv gt midi message OBOh 006h vv being master volume value in range 0 to 127 0 to 7Fh Here is below list of all special NRPNs For controlling reverb chorus use standard reverb chorus midi system exclusive messages listed in paragraph 3 Detailed MIDI implementation NRPN Description Power up HighIL ow default Master Volume 3716h MIDI chorus send 0 send 40h default send 7Fhsmax 40h 3718h Post effects applied on GM 0 Post effects not applied 1 7Fh Post effects applied 1 371Ah Post effects applied on Reverb Chorus 0 Post effects not applied 1 7Fh 7Fh Post effects applied 1 Spatial Effect input 2 O stereo 7Fh mono Auto test See section 6 40h 7Fh 00h 7Fh 40h 1Dh 00h 00h ho 3723h Genera MIDIpan 1 40 7Fh right 400 0 Dh 00h Notes 1 Post effects are Spatial Effect equalizer 2 See Block diagram in Appendix SAM2195
6. be left ele unconnected if not used RD 13 IN Read active low When CS and RD are low data A0 0 status A0 1 is read on DO D7 Read data is acknowledged on the rising edge of RD This pin has a built in pull up It should be left unconnected if not used WR 14 IN Write active low When CS and WR are low data 0 0 or control A0 1 is written from the DO D7 bus to the SAM2195 on the rising edge of WR This pin has a built in pull up It should be left unconnected if not used IRQ 26 OUT rising edge indicates that a MIDI byte is available for read on DO D7 Acknowledged by reading the byte Analog audio group PIN NAME PIN TYPE FUNCTION connected to a clean analog ground plane capacitors 10uF 100nF to AGND external capacitors 10uF 100nF to AGND AGND Can be left unconnected for low cost application Digital audio group PIN NAME PIN TYPE FUNCTION OUTLEV IN Selects the full scale output level for AOUTL and AOUTR OUTLEV 0 for 1 1Vpp OUTLEV 1 for 2 2Vpp If 1 8V single supply VA33 1 8V OUTLEV should be tied to 0 DITHO DITH1 7 8 IN Activate a dither signal to reduce eventual noise tones at the output See Dither Modes Description SAM2195 58A60B 3 dream Miscellaneous group PIN NAME PIN TYPE FUNCTION X1 X2 29 28 9 6 MHz crystal connection An external 9 6 MHz clock can also be used on X1 1 95V pp max through 47pF capacitor X2 cannot be used to driv
7. output of the regulator OUTVC18 pin 35 through a serial inductor filter better result or a 10 ohm resistor 1 8V single supply application If the built in power switch is used then this pin should be connected to the output of the power switch PWROUT pin 39 through a serial inductor filter better result or a 10 ohm resistor REGIN 34 PWR Regulator input This pin should be connected to a nominal 3 3V power for 3 3V single supply applications This pin should be grounded for 1 8V single supply applications PWRIN 38 PWR _ Power switch input This pin should be left not connected for 3 3V single supply applications This pin should connected to a 1 8V nominal power for 1 8V single supply applications SAM2195 58A60B 2 dream Serial MIDI parallel MIDI MPU 401 PIN NAME PIN TYPE FUNCTION MIDI IN Serial TTL MIDI IN Connected to the built in synthesizer at power up or after MPU reset Connected to the DO D7 bus read mode when MPU switched to UART mode This pin should be tied HIGH if not used 0 IN D0 D7 15 16 17 18 I O 8 bit bi directional bus under control of CS RD WR These pins ein have a built in pull down They should be left unconnected if not used AO 11 IN Select data 0 or control 1 for write data 0 or status 1 for read This prom pin has a built in pull down It should be left unconnected if not used CS 12 IN Chip select active low This pin has a built in pull up It should
8. 40h Olh 30h vv xx Reverb type 0 to 7 default 04h F7h 00h 1 01h Room2 02h Room3 03h Halll 04h Hall2 05h Plate 06h Delay 07h Pan delay F7h F7h F7h Reverb delay feedback Only if reverb number 6 or 7 delays F7h SAM2195 58A60B 26 cream MIDI HEX CODE DESCRIPTION COMPATIBI MESSAGE LITY FOh 41h 00h 42h 12h 40h Olh 38h vv xx Chorus type vv 0 to 7 default 02h F7h 00h Chorus 1 01h Chorus2 02h Chorus3 03h Chorus4 04h Feedback 05h Flanger 06h Short delay 07h FB delay SYSEX FOh 41h 00h 42h 12h 40h Olh 3Ah vv xx Chorus master level GS F7h GS SYSEX FOh 41h 00h 42h 12h 40h Olh 3Bh vv xx Chorus feedback F7h SYSEX FOh 41h 00h 42h 12h 40h Olh 3Ch vvxx Chorus delay F7h F7h SYSEX FOh 41h 00h 42h 12h 40h Olh 3Eh vv xx Chorus depth F7h SYSEX FOh 41h 00h 42h 12h 40h Iph 02h nn xx MIDI channel to part assign p is part 0 to 15 nn is MIDI channel 0 GS F7h to 15 16 OFF This SYSEX allows to assign several parts to a single MIDI channel or to mute a part Default assignment part MIDI channel 0 9 DRUMS 1 9 0 8 10 15 10 15 SYSEX FOh 41h 00h 42h 12h 40h Iph 15h vv xx Part to rhythm allocation p is part 0 to 15 vv is 00 sound part or GS F7h 01 rhythm part This SYSEX allows a part to play sound or drumset There is no limitation of the number of parts playing drumset Default assignment part 0 plays drums default MIDI channel 9 all other parts play sound SYSEX
9. FOh 41h 00h 42h 12h 40h Inh 40h v1 v2 Scale tuning n is MIDI channel 0 to 15 vl to v12 are 12 semi tones v12 xx F7h tuning values C C D A B in the range 64 00h 0 40h 63 7Fh cents This SYSEX allows non chromatic tuning of the musical scale on a given MIDI channel Default v1 v2 v12 40h 40h 40h chromatic tuning Scale tuning has no effect if the part is assigned to a rhythm channel or if the sound played is not of chromatic type Mod tvf cutoff control default 2 40h Mod Amplitude control 100 100 default 40h F7h on all channels F7h SAM2195 58A60B 27 dream MIDI HEX CODE DESCRIPTION COMPATIBI MESSAGE LITY Mod Ifol tva depth 0 100 default 00h Bend Amplitude control 100 100 default 40h Bend Ifol tva depth 0 100 default Oh CAF Amplitude control 100 100 default 40h CAF Ifol tva depth 0 100 default 00h F7h Amplitude control 100 100 default 40h Ifol tva depth 0 100 default 00h F7h i ECC CC2 Amplitude control 100 100 default 40h CC2 Ifol tva depth 0 100 default 00h F7h Notes GS GS S NRPN sending method CTRL 99 high byte CTRL 98 low byte CTRL 6 vv Example NRPN 0108h 40h gt CTRL 99 1 CTRL 98 8 CTRL 6 64 x xx means don t care SAM2195 58A60B 28 dream 4 SOUNDS 4 1 MAIN SOUNDS GENERAL MIDI all channels except 10 PC Program c
10. Fh Swichto UART mode Fh Post effects applied on GM 0 Post effects not applied 1 7 Nrpn 3718h 7Fh Post effects applied 1 7Fh Post effects applied 1 Clipping mode select O soft clip 7Fh hard clip BEh Enable Dream control in stand alone md FFh RestUARTmode Notes 1 Post effects are Spatial Effect equalizer 2 See Block diagram in Appendix 3 See CONTROL MESSAGES DETAILS SAM2195 58A60B 20 dream CONTROL MESSAGES DETAILS SYSTEM MESSAGES Ctrl CONTROL Parameters Data Action Answer NAME MASTER VOL Data byte 0 FFh FFh Mastervolume N EN_CONTROL Enable dream control stand alone mode RESET Reset UART mode UART_MOD Switch to UART mode Data FEh MASTER_VOL Master volume Data range 0 FFh Default FFh EN_CONTROL This control has been implemented to enable to send any parallel control even in Serial mode It allows to send only one parallel control which means that each control sent in serial mode should start with EN_CONTROL control RESET Switch SAM2195 in serial mode UART_MODE Switch SAM2195 in parallel mode SPATIAL EFFECT DEVICE See Block diagram in Appendix Ctrl CONTROL Parameters Data Action Answer NAME SUR_VOL Data byte 0 FFh 0 Spatial Effect volume Po SUR_DEL Data byte 0 7Fh 1Dh Spatial Effect delay Pe SUR_INP Data byte 0 7Fh 0 Input mono stereo select for Spatial Effect Y SUR_VOL Spatial Effect volume D
11. G 2 Pedal Hi Hat EXC1 WA LowTom 46 A 2 Open Hi Hat EXC1 47 B2 LowMidTom 48 C8 HiMidTom 49 C43 CrashCympa 50 D8 HghTom 51 04 RideCympa 52 E3 _ ChineseCympal 53 F3_ 54 F 3 Tambourine 55 G3 Splash Cymbal 7 56 G 3 Cowbell 3 57 A3 CrahCympa2 58 A 3 Vibasap J 59 8 RideCympl2 60 C4 61 C 4 LowBogo 62 4 MueHiCoga 63 0 46 OpenHiConga 64 4 LowCoga 65 F4 High Timbale 66 4 267 04 68 044 WA 70 44 Maacas 7 71 84 ShortWhistle EXC2 7 2 C5 Whiste EXC2 73 C 5 ShotGuio EXCS Z 4 D5 LongGuro EXCS 5 D amp 5 Claves 7 P Po LS 9 G5 OpenCuica EXC4 80 G 5 Triangle EXC5 7 81 A5 OpenTrange EXCS 82 A 5 83 B5 SAM2195 58A60B Prog 49 ORCHESTRA Closed Hi Hat EXC1 Pedal Hi Hat EXC1 Open Hi Hat EXC1 Ride Cymbal Snare Drum 2 Castanets Snare Drum 2 Timpani F Timpani Timpani G Timpani G Timpani A Timpani As Timpani B Timpani c Timpani Timpani d Timpani d Timpani e Timpani f Prog 128 CM 64 32 Partial Kick drum Kick drum Rim Shot Snare Drum Hand Clap Elec S
12. GROUND pad Ground supply down bonded to the exposed die pad heatsink It is recommended but not obligatory to connect this pad to a ground plane during PCB layout VD33 21 PWR I O POWER SUPPLY This pin should be connected to a nominal 3 3V power for 3 3V single supply applications This pin should be connected to a nominal 1 8V power for 1 8V single supply applications VD18 19 30 PWR CORE POWER SUPPLY These pins should be connected to nominal 1 8V 3 3V_single supply application If the built in regulator is used then these pins should be connected to the output of the regulator OUTVC18 pin 35 1 8V single supply application If the built in power switch is used for minimum power down consumption then all these pins should be connected to the output of the power switch PWROUT pin 39 AGND 43 44 PWR ANALOG GROUND These pins should be connected to an analog ground plane VA33 4 PWR DAC PERIPHERY ANALOG SUPPLY 3 3V single supply application This pin should be connected to a nominal 3 3V power through a serial inductor filter better result or a 10 ohm resistor 1 8V single supply application This pin should be connected to a nominal 1 8V power through a serial inductor filter better result or a 10 ohm resistor 18 2 PWR DAC 1 8V ANALOG SUPPLY This pin should be connected to a clean 1 8V 3 3 single supply application If the built in regulator is used then this pin should be connected to the
13. MLBR 1 Level byte 0 7Fh 40h Equalizer med low band right 16h EQ MHBR__ Level byte 0 7Fh 40h Equalizer med high band right 0004 17h EQ 0 7 60 Equalizerhighbandright 0000004 188 EQFLB Data byte0 7Fh OCh Equalizer low band frequency 19h EQF MLB Data byte 0 7Fh 1Bh Equalizer med low band frequency JAh EQF MHB Data byte 0 7Fh 72h Equalizer med high band frequency Bh EQF HB Data byte 0 7Fh 40h Equalizer high band frequency EQ_xxx Band level 00h 20h 40h 60h 7Fh 12dB 6dB 6dB 12dB Default 60h 6dB for LB HB 40h 0dB for MLB MHB EQF_xxx Band frequency 0 7Fh linear scale Band Range Default LB 0 4 7Khz OCh MLB 0 4 2Khz 1Bh MHB 0 4 2Khz 72h HB 0 18 75Khz 40h SAM2195 58A60B 24 dream 3 DETAILED MIDI IMPLEMENTATION MIDI messages are received by the built in wavetable synthesizer from e Serial MIDI IN pin serial mode e 8 bit parallel data port in parallel mode MIDI HEX CODE DESCRIPTION COMPATIBI MESSAGE LITY MIDI channel n 0 15 note ON kk 1 127 velocity vv 1 127 vv 0 means NOTE OFF vv is don t care PITCH BEND Enh bl bh Pitch bend as specified by bhibl 14 bits GM Maximum swing is 1 tone power up Can be changed using pitch bend sensitivity gt Center position is 00h 40h PROGRAM Cnh pp Program patch change Specific action on channel 10 n 9 select GM GS CHANGE drumset Refer to sounds d
14. OL 07Fh GM_PAN O hard left 40h center 7Fh hard right Same as GM system exclusive message 40h 00h 06h gt Default value 40 EQUALIZER DEVICE NRPN CONTROL NAME Parameters Data Action HighlLow EQ xxx Band level 00h 20h 40h 60h 7Fh 12dB 6dB 6dB 12dB Default 60h 6dB for LB HB 40h 0dB for MLB MHB EQF_xxx Band frequency 0 7Fh linear scale Band Range Default LB 0 4 7Khz OCh MLB 0 4 2Khz 1Bh MHB 0 4 2Khz 72h HB 0 18 75Khz 40h SAM2195 58A60B 19 dream 2 2 CONTROLS received on parallel CONTROL register Controls are normally sent in parallel mode Individual controls can also be sent on 8 bit port in serial mode if preceded by control BEh CONTROL MESSAGES OVERVIEW A control message consists of one CONTROL byte followed by one DATAS byte parameter Ctrl Description Power up Compatible defaut NRPN SYSEX Equalizer med low band left 0 12dB 40h 0dB 7Fh 12dB Equalizer med high band left 0 124 40h 0dB 7Fh 12dB Equalizer high band left treble 0 12dB 40h 0dB 7Fh 12dB Equalizer high band right treble 0 12dB 40h 0dB 7Fh 12dB Nrpn 3703h Equalizer High cutoff freq 0 0Hz 7Fh 18 75 kHz General MIDI reverb send send 80h default General MIDI chorus send 0 send 80h default send FFh max Spatial Effect volume 2 0 no effect FFh maximum effect Reverb general volume 0 to FFh Chorus general volume 0 to F
15. Q 37 6 17 2 1 X2 79 8 DITH 19 5990 YA 9 _ RESE 20 GND 1 GND 42 SAM2195 58A60B 4 dream 1 3 MECHANICAL DIMENSIONS 44 lead QFN Package R QFN044_D QFN LASER MARK FOR PIN 1 IDENTIFICATION THIS AREA TOP VIEW Lannangdannan pe 61018 BOTTOM VIEW Note 1 All dimensions are in mm 71 21140 Semur en Auxois FRANCE dream 3NY ld SNUVv3S R QFNO44 D iia 0 20 REF b 0 25 D 690 700 710 D2 540 5 50 5 60 E 590 7 00 7 10 2 540 5 50 5 60 U oss Towo foss 0 50 bsc R joe TOLERANCES 0 10 PIN1 ID 0 20 R TITLE Quad Flat No Lead Package 44 Leads 7x 7x 0 9 mm 0 5 mm Package designation Body Pitch R QFN044 D SAM2195 58A60B 5 REV dream 1 4 MARKING dream FRANCE SAM2195 YYWW 58A60B XXXXXXXXX In 1 SAM2195 58A60B cream 2 ABSOLUTE MAXIMUM RATINGS All voltages with respect to OV GND 0V Parameter Temperature under bias Storage temperature Voltage on any input pin except X1 Voltage on X1 Supply voltage I O Supply voltage core Supply voltage DAC analog 3 3V Supply voltage DAC analog 1 8V Maximum IOL per I O pin Maximum IOH per I O pin Maximum Output current from PWROUT pin max duration 1sec Maximum Output current from OUTVC18 pin max duration 1sec
16. RD Data out hold from RD Chip select low to WR low WR high to CS high WR pulse width Write data setup time Write data hold time Write cycle Notes When data is pending on parallel port the host should read it within 1 ms If not the parallel port will be deactivated Reactivating the port can be done with the following control sequence OFFh Closed port O3Fh Open port For safe operation write cycle time should not be lower than 3 5us SAM2195 58A60B 9 dream 8 RESET AND POWER DOWN During power up the RESET input should be held low until the crystal oscillator and PLL are stabilized which can take about 20ms A typical RC diode power up network can be used After RESET the SAM2195 enters an initialization routine It takes around 50 ms before a MIDI IN or MPU message can be processed Audio will begin after 500 ms maximum To enter power down Reset should be held low 500ms min and then PDWN is asserted low In Power down mode the crystal oscillator and PLL will be stopped The chip enters a deep power down sleep mode To exit power down PDWN has to be asserted high then RESET applied 8 1 3 3V SINGLE SUPPLY APPLICATION Power down mode is managed by the internal regulator The equivalent schematic and standard connection is shown on the diagram below 3 3V Power Supply OUTVC18 1 8V REG PWR SWITCH IN OUT o PDWNY L Power down Mode
17. TYPE Reverb program Same as GM system exclusive message 40h 01h 30h or control 80 room room2 room3 halll hall2 plate delay pan delay Oh lh 2h 3h 4h 5h 6h 7h Default 4 hall2 REV_VOL Reverb volume Same as GM system exclusive message 40h 01h 33h gt Default values room room2 room3 halll hall2 plate delay pan delay 90h 90h 90h COh 90h 90h FFh FFh REV_TIME Reverb time Same as GM system exclusive message 40h 01h 34h Default values room room2 room3 halll hall2 plate delay pan delay 7Fh 7Fh 7Fh 7Fh 7Fh 7Fh 18h 7Fh REV_FEED Reverb delay feedback Only if reverb number 6 or 7 delays This control is same as GM system exclusive message 40h 01h 35h Default values delay pan delay 22h 26h GMREV SEND Modify reverb send level for General MIDI 80h original reverb send levels of MIDI sequence not modified 0 to 7Fh original reverb send levels decreased 81h to FFh original reverb send levels increased Default 80h SAM2195 58A60B 22 dream CHORUS DEVICE Ctrl CONTROL Parameters Data Action NAME Answer CHR TYPE Data byte 0 7 2 Chorus program select Hec CHR VOL Data byte 0 FFh Chorus general volume y LG CHR_DEL Data byte 0 7Fh Chorus delay y Cc 175 Data byteO 7Fh Chorus feedback Joo 76h RATE Data byteO 7Fh Chorus rate L 7Ih CHR DEPTH Data byteO 7Fh Chorus depth L 26h GMCHR SEND Data byt
18. cream SAM2195 LOW POWER SINGLE CHIP SYNTHESIZER WITH EFFECTS a Single chip all in one design o MIDI control processor serial and parallel interface Synthesis General MIDI wavetable implementation General MIDI compatible effects reverb chorus Spatial Effect 4 band stereo equalizer Stereo DAC DR 86dB min THD N 80dB max O O O OO a State of the art synthesis for best quality price products o 64 voice polyphony without effects o 38 voice polyphony effects o On chip CleanWave wavetable data firmware RAM delay lines a Audio stereo line output a Typical applications battery operated musical keyboards portable phones karaokes a QFN44 7mm x 7mm package small footprint small pin count a Low power o 75mW typ operating o Single 3 3V or single 1 8V power supply o Built in power switch and 3 3V to 1 8V regulator Audio MIDIIN SAM2195 Out Parallel MIDI Typical hardware configuration Cited trademarks belong to their respective owners General MIDI logo under license of MIDI Manufacturers Association 2005 2011 DREAM S A S FRANCE All rights reserved February 2011 SAM2195 58A60B dream 1 PIN DESCRIPTION 1 1 PINS BY FUNCTION 44 lead QFN Package Power supply group PIN TYPE FUNCTION GND 20 31 33 PWR DIGITAL GROUND All pins should be connected to a ground plane ND G exposed die PWR DIGITAL
19. e 0 FFh 80h General MIDI Chorus CHR Chorus program Same as GM system exclusive message lt 40h 01h 38h gt or control 81 chorus 1 chorus2 chorus3 chorus4 FB chorus flanger 00h Olh 02h 03h 04h 05h Default 2 chorus3 CHR_VOL Chorus Volume Same as GM system exclusive message 40h 01h 3Ah CHR_DEL Chorus delay Same as GM system exclusive message 40h 01h 3Ch CHR_FEED Chorus feedback Same as GM system exclusive message 40h 01h 3Bh CHR_RATE Chorus rate Same as GM system exclusive message 40h 01h 3Dh CHR_DEPTH Chorus depth Same as GM system exclusive message 40h 01h 3Eh GMCHR_SEND Modify chorus send level for General MIDI Data 80h original chorus send levels of MIDI sequence not modified Data 00h to 7Fh original chorus send levels decreased Data 81h to FFh original chorus send levels increased Default 80h Default values chorus 1 Chorus2 3 chorus4 FB chorus CHR_VOL 90h 90h 90h 90h 90h CHR_DEL 4Bh 40h 40h 2Bh 7Fh CHR_FEED 00h 07h 09h OCh 48h CHR_RATE 03h 09h 03h 09h 02h CHR_DEPTH 05h 13h 13h 10h OCh SAM2195 58A60B short del 06h flanger 90h 56h 7Fh Olh 03h FB delay 07h short del FB delay FFh FFh 7Fh 7Fh 00h 50h 00h 00h 00h 00h 23 dream EQUALIZER DEVICE Ctrl CONTROL Parameters Data Action Answer NAME Mh EQLBR byte 0 7Fh 60h Equalizerlowbandright o o 155 EQ
20. e external circuits ee er connection to an RC network PWR 3 3 to 1 8 V regulator output When 3 3V single supply application this pin can be used to power VD18 pins and VA18 pin through a serial inductor filter better result or a 10 ohm resistor Decoupling capacitors 470pF in parallel with 2 2 or 4 7uF must be connected between OUTVC18 and GND PWROUT Power switch output When 1 8V single supply application this pin can be used to power VD18 pins and VA18 pin through a serial inductor filter better result or a 10 ohm resistor PDWN Power down active low When power down is active all digital outputs are set to logic level 0 DO D7 bus is set in high Z analog outputs decrease to OV the PLL and crystal oscillator are stopped 3 3V_single supply application If the built in regulator is used then 1 8V supply is removed from the core To exit from power down PDWN must be set to VD33 then RESET applied When unused this pin must be connected to VD33 1 8V_single supply application If the built in power switch is used then 1 8V supply is removed from the core To exit from power down PDWN must be set to VD18 then RESET applied When unused this pin must be connected to VD18 TESTO TESTI 36 27 32 IN Test pins Should be grounded TEST2 1 2 PINOUT BY PIN 44 lead QFN Package PIN PIN NAME PIN PIN NAME PIN PIN NAME PIN PIN NAME RD 46 D 35 4 VA3 jis D 6 IR
21. efault 0 SUR_DEL Delay time Default 1Dh SUR_INP Input type select 0 Stereo default Stereo wide Input to delay line is left right 7Fh Mono Pseudo stereo Input to delay line is left right ROUTING MESSAGES Ctrl CONTROL Parameters Data Action Answer NAME GM_POST Data byte 0 7Fh 7Fh Post effects applied on general MIDI E EFF_POST Data byte 0 7Fh 7Fh Post effects applied on Reverb chorus VC 7 xxx POST Post effects are Spatial Effect and equalizer Post effects can be separately applied on each module However general settings of post effects EQ xxx EQF xxx EQU TYPE SUR VOL SUR DEL SUR INP are common for all modules Data 00h post effects not applied on module Data 7Fh post effects applied on module Default value 7Fh SAM2195 58A60B 21 dream MIDI MESSAGES Ctrl CONTROL Parameters Data Action Answer NAME GM VOL Data byte 0 FFh FFh General MIDI volume 7 GM PAN Data byte 0 7Fh 40h General MIDI GC gt GM_VOL Range 0 FFh linear scale Default value GM_VOL 0FFh GM_PAN O hard left 40h center 7Fh hard right Same as GM system exclusive message 40h 00h 06h gt Default value GM PAN 40h REVERB DEVICE CONTROL Parameters Data Action Answer NAME REV_FEED Data byte 0 7Fh Reverb feedback GMREV SEND Data byte 0 FFh 80h General MIDI Reverb Send REV_TIME Data byte 0 7Fh Reverb me REV_
22. fic AGND ground plane should be provided which connects by a single trace to the GND ground No digital signals should cross the AGND plane SAM2195 58A60B 14 dream SAM2195 USER S MANUAL 1 PARALLEL AND SERIAL MIDI MODES The SAM2195 can be controlled both from the parallel interface DO D7 CS WR RD INT or from the serial MIDI interface MIDI IN The parallel Interface consists of two byte registers and one IRQ interrupt request line VO address Write from host Read to host DATA8 DATA8 CONTROL STATUS Status Register TE Transmit empty If 0 data from SAM2195 to host is pending and IRQ is high When host is reading the data in DATA8 register AO 0 TE goes to1 and IRQ is low again RF Receiver full If O then SAM2195 is ready to accept CONTROL or DATA from host However minimum time between two consecutive writes must be 3 5 us even if RF is not set Serial amp Parallel modes Serial mode After power up hardware reset or parallel reset control the SAM2195 is in serial mode In this mode the parallel MIDI interface is inactive and the IRQ line is floating The serial MIDI IN is connected to the synthesis In serial mode the 8 bit parallel interface accepts two controls e 3Fh to switch to parallel mode SAM2195 is acknowledging 3Fh control by sending to host FEh in DATA8 register to send any control see list of control message in chapter 2 2 BEh allows to send only one control
23. hange 1 Grand Piano 1 33 AcousticBass 65 SopranoSax 97 FX1 rain 2 Bright Piano2 34 FingerBass 66 98 FX 2 soundtrack 3 El Grd Piano3 35 PickedBass 67 TenorSax 99 FX3 crystal 4 Honky tonk Piano 36 Fretless Bass 68 BaritoneSax 100 FX4 atmosphere 5 El Pian 37 Slap Bass1 69 Oboe 101 FX5 brightness 6 ElPiano2 38 SlapBass2 70 English Horn 102 FX6 goblins 7 Harpsichord 39 Synth Bassi 71 Bassoon 7 103 echoes 8 40 SynthBass2 72 Clarinet 104 FX 8 sci fi 9 Celesta 41 73 Piccolo JOS Sitar 10 Glockenspiel 42 Vila 74 Flute 106 Bano 11 MusicBox 43 Cello 175 Recorder 107 Shamisen 12 Vibraphone 44 Contrabass 76 PanFlue 108 13 Marimba 45 Strings 77 BlownBottle 109 Kalimba 14 Xylophone 46 Pizzicato Strings 78 Shakuhachi 110 Bagpipe 15 TubularBells 47 OrchestralHarp 79 Whistle 11 Fiddle 16 48 Timpani 80 Ocaina 112 Shanai 17 Drawbar Organ 49 String Ensemble 1 81 Lead 1 square 113 TinkleBel 18 Percussive Organ 50 String Ensemble 2 82 Lead 2 sawtooth 114 Agogo 19 RockOrgan 51 SynthStrings 1 83 Lead 3 calliope 115 Steel Drums Lead 4 chiff 116 Woodblock 20 ChurchOrgan 52 SynthStrings2 84 21 ReedO
24. iope Atmosphere Ice Rain Charang Tremolo Str Viola Harp Chorus Gt Fingered Bs Slap Bs 2 Flute Pan Flute Baritone Sax English Horn Muted Trumpet French Horn Vibraphone Glockenspiel Koto Whistle Melo Tom Taiko Tinkle Bell Helicopter Piano 3 Detuned EP2 Organ 3 Church Org Coupled Hps Celesta Synth Brass3 Synth Bass3 Choir Aahs Crystal Oboe Tubular Bells Slow Strings Cello Harp Funk Gt Picked Bs Fretless Bs Piccolo Soprano Sax Clarinet Bassoon Trombone Tuba Vibraphone Tubular Bell Taisho Koto Bottle Blow Melo Tom Taiko Orchestra Hit Bowed Glass SAM2195 58A60B Instrument name Detuned EP 1 Honky Tonk Detuned Or 1 Accordion Fr Clav Celesta Synth Brass4 Synth Bass4 Bowed Glass Bag Pipe Pan Flute Square Wave Pizzicato Str Cello Nylon str Gt Sitar Fretless Bs Fretless Bs Piccolo Alto Sax Clarinet Harmonica Trombone Brass Kalimba Xylophone Shakuhachi Pan Flute Synth Drum Reverse Cym Telephone Ice Rain 30 dream 4 3 DRUM SET TABLE MIDI CHANNEL 10 STANDARD SET _ SET BRUSH Be 28 61 29 Fi PT NA 32 6 7 Wa 34 A j 35 51 Kickdum JazzBD2 36 C2 Kckdumi azz BD 37 C 2 SideStck 7 Brush Tap 39 42 HandClp BrushSlap 40 E2 SnaeDrum2 Brush Swirl 41 F2 LowFlorTom 42 F 2 Closed Hi Hat EXC 43 G2 X High Floor Tom 44
25. lume 372Ch delay time and 372Dh stereo mono See paragraph 2 1 EQ2 EQ1 bits Equalizer EQ2 0 EQ1 0 equalizer off EQ2 1 EQ1 0 2 band equalizer polyphony decreased by 4 EQ2 1 EQ1 1 4 band equalizer polyphony decreased by 8 SAM2195 58A60B 32 dream The table below shows all possible NRPN 375F values with their impacts NRPN 375F REV vv 001011000 28h ON 001011010 2Ah ON 001011011 2Bh ON 001010000 20h ON 001010010 22h ON 001010011 23h ON 000011000 08h OFF 000011010 OAh OFF 000011011 OBh OFF 000010000 00h OFF 000010010 02h OFF 000010011 03h OFF CHR OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF Spacial Effect ON ON ON OFF OFF OFF ON ON ON OFF OFF OFF EQ OFF 2 Band 4 Band OFF 2 Band 4 Band OFF 2 Band 4 Band OFF 2 Band 4 Band POLY Comment 49 45 4 50 46 42 62 5 54 64 59 55 1 8 8 Note 1 Value 45h will reset all This is the only way to restore the default setting and to set chorus on again The firmware will be stopped during reset procedure 50 ms about before to be ready again to process MIDI messages 6 AUTO TEST A built in auto test program is included which can be used for board production testing To start auto test send NRPN 3751h 23h Sine waveforms at different frequencies will be output to the DAC to indicate the test in progress
26. nare Drum Acoustic Low Tom Closed Hi Hat Exc1 Acoustic Low Tom Open Hi Hat 2 Acoustic Middle Tom Open Hi Hat 1 Exc1 Acoustic Middle Tom Acoustic High Tom Crash Cymbal Acoustic High Tom Ride Cymbal Tambourine Cowbell Vibra Slap Claves Applauses 31 dream Prog 1 Prog 17 Prog 41 Prog 49 Prog 127 STANDARD SET POWER SET BRUSH ORCHESTRA CM 64 32 Partial 84 66 er 85 C 6 5 0 66 D6 j 1 1 1 0 O 87 6 8 6 Applauses g9 F6 2 6 91 66 92 G 6 9 6 94 A 6 7 Helicopter 95 _ __ Z4 J J i 96 67 jJ 0 0 O Gun Shot 97 es 9 7 127 102 F 7 0 0 0 0 Birds 103 67 14 7 105 A7 y T 106 A 7 SeaShore Notes No sound Blank Same sound as Standard Set EXC Sounds with same EXC number are mutually exclusive 5 NRPN 0375Fh Effect on off Polyphony selection Midi message code hexadecimal BOh 63h 37h BOh 62h 5Fh BOh 06h vv Each bit of vv byte is used for selecting an effect ON or OFF as following Each time an effect is ON polyphony will be decreased REV bit 1 Reverb ON polyphony decreased by 13 OM2 bit output mode select OM2 0 Spatial effect OFF OM2 1 Spatial effect ON polyphony decreased by 2 Spatial effect parameters can be controlled using NRPN 3720h vo
27. rence designs for applications with SAM2195 The conformity with these schematics ensures the best performances 10 1 3 3V SINGLE SUPPLY APPLICATION DIGITAL GROUND PLANE ANALOG GROUND PLANE R1 220 gt gt AUDIO LEFT OUT 33V A R5 3 AUDIO RIGHT OUT 100k MIDIIN gt 1 1 1 4 1 2 2 4 2 2 18 1 16 1 26 RESET gt 1 9 6MHz C2 22pF 22pF SAM2195 58A60B 12 cream 10 2 1 8V SINGLE SUPPLY APPLICATION DIGITAL GROUND PLANE ANALOG GROUND PLANE R1 220 gt gt AUDIO LEFT OUT R3 18V a 33k R2 220 AUDIO RIGHT OUT R4 MIDI IN gt 33k AGND RESET gt 1 9 6MHz c2 22pF 22pF POWER DOWN SAM2195 58A60B 13 dream 11 RECOMMENDED BOARD LAYOUT Like all HCMOS high integration ICs following simple rules of board layout is mandatory for reliable operations e GND VD33 VD18 VA33 VA18 distribution and decoupling All GND VD33 VD18 VA33 VA18 pins should be connected A GND plane is strongly recommended below the SAM2195 The board GND VD33 VD18 distribution should be in grid form Recommended decoupling is at each VD33 VD18 VA33 VA18 pin of the IC with an additional 1uF T between pins 30 and 31 Decoupling capacitors should be implemented close to the IC e Crystal The paths between the crystal and the SAM2195 should be short and shielded The ground return from the crystal compensation capacitors should be pin 31 e Analog section A speci
28. rgan 53 ChoirAahs 85 22 Accordion french 54 VoiceOohs 86 118 23 Harmonica 55 SynthVoce 87 119 24 Tango Accordion 56 OrchestraHit 88 Lead8 bass lead 120 Reverse Cymbal 25 Ac Guitar nylon 57 Trumpet 89 Pad1 fantasia 121 Gt Fret Noise 26 Ac Guitar steel 58 Trombone 90 Pad2 warm 122 Breath Noise 27 El Guitar jazz 59 Tuba 7 91 Pad3 polysynt 123 Seashore 28 El Guitar clean 60 Muted Trumpet 92 Pad4 choir 124 BirdTweet 29 61 93 Pad 5 bowed 125 Teleph Ring 30 62 94 6 metallic 126 Helicopter 31 63 95 _ Pad 7 halo 32 64 96 Pad 8 sweep 128 Gunshot SAM2195 58A60B 29 dream 4 2 MT 32 SOUND VARIATION 127 all channels except 10 To select variation send CTRL 0 127 then PC PC Program change CO controller 0 value zero for General MIDI capital sounds PC Instrument name PC Instrument name PC Instrument name PC Piano 1 E Piano1 Organ 1 Church Org 2 Harpsichord Clav Synth Brass1 Synth Bass1 Fantasia Soundtrack Tinkle Bell Saw Wave Strings Violin Contrabass Steel Str Gt Acoustic Bs Slap Bs 1 Flute Recorder Tenor Sax Oboe Trumped French Horn Brass 2 Tinkle Bell Marimba Whistle Timpani Synth Drum Castanets Bird Piano 2 E Piano2 Organ 2 Church Org Coupled Hps Clav Synth Brass2 Synth Bass2 Syn Call
29. rumset list Drumsets can be assigned to other channels see SYSEX MIDI channel to part assign and part to rhythm allocation CHANNEL Dnh vv vv pressure value Effect set using Sys Ex 40h 2nh 20h 26h MIDI AFTERTOUCH MIDIRESET FFh Reset to power up condition Sustain damper pedal Sostenuto pedal CTRL 80 Bnh 50h vv Reverb program vv 00h to 07h default 04h DREAM 00h Rooml Olh Room2 02h Room3 03h halll 04h Hall2 05h Plate 06h Delay 07h Pan delay CTRL 81 Bnh 51h vv Chorus program vv 00h to 07h default 02h DREAM 00h Chorus Olh Chorus2 02h Chorus3 03h Chorus4 04h Feedback 05h Flanger 06h Short delay 07h FB delay Poly on default power up CTRL CCI Bnh cch vvh Assignable Controller 1 ccz Controller number 0 5Fh vv Control GS value 0 7Fh Control number cch can be set on 1 CONTROLLER NUMBER Sys Ex 40 1x 1F The resulting effect is determined by controller function Sys Ex 40 2x 40 4A SAM2195 58A60B 25 dream MIDI HEX CODE DESCRIPTION COMPATIBI MESSAGE LITY CTRL CC2 Bnh cch vvh Assignable Controller 2 cc Controller number 00h 5Fh vv control GS value 0 7Fh Control number can be set on CC2 CONTROLLER NUMBER Sys Ex 40 1x 20 The resulting effect is determined by CC2 controller function Sys Ex 40 2x 50 5A MIDI GM RPN 0000h Bnh 65h 00h 64h 00h 06h vv Pitch bend sensitivity in semitones default 2 RPN 0001h Bnh 65h 00h 64h O1h 06h vv Fine tuning in cen
30. tortion Noise at 0 dB full scale a rr 1 8V OUTLEV 0 THD N 76 dB Dynamic Range A Weighted 3 3V OUTLEV 1 DR 86 dB 1 8V OUTLEV 0 DR 80 dB Inter channel isolation 1kHz 3 3V OUTLEV 1 83 dB 1 8V OUTLEV 0 80 01 Inter channel gain mismatch 01 01 dB Gain drift 00 ppm C Full scale output voltage 3 3V OUTLEV 1 2 2 2 36 Vpp __ 1 8V or 3 3V OUTLEV 0 1 1 1 18 Vpp VCM Maximum allowable DC current source 01 mA VCM Nominal voltage 3 3V OUTLEV 1 1 5 1 58 V 1 8V or 3 3V OUTLEV 0 0 80 0 84 V AC Load resistance R 3 a e Load capacitance CL 10 100 pF 6 FILTER CHARACTERISTICS TA 25 C Parameter Symbol Min Typ Max Frequency responce 10Hz 17kHz 00 3005 Passband Dum nnm to 6 dB corner PB Stopband attenuation 20 49kHz 1125kHz SA 65 Group delay 1 1 GD 414220 Gain drift 0 0 SAM2195 58A60B 8 dream 7 TIMINGS 7 1 SLAVE 8 BIT PARALLEL INTERFACE This interface is typically used to connect the chip to an host processor 8 bit parallel interface read cycle twrcyc tcslwrl Parameter Address valid to chip select low Chip select low to RD low RD high to CS high RD pulse width Data out valid from
31. ts vv 00 100 vv 40h 0 vv 7Fh 100 RPN 0002h Bnh 65h 00h 64h 02h 06h vv Coarse tuning in half tones vv 00 64 vv 40h 0 vv 7Fh 64 NRPN 0108h NRPN 0109h NRPN 010Ah NRPN 0120h NRPN 0121h NRPN 0163h NRPN 0164h NRPN 0166h Pitch coarse of drum instr note rr in semitones vv 40h gt no modif NRPN 1Errh Bnh 63h 1Eh 62h rr 06h vv Chorus send level of drum instrument note rr GS vv 00 to 7Fh NRPN 37xxh Bnh 63h 37h 62h xx 06h vv Special Synthesis features controls see 2 1 Standard Sysex FOh 7Eh 7Fh 09h 01h F7h General MIDI reset Standard Sysex FOh 7Fh 7Fh 04h 01h 00h 1 F7h Master volume 11 0 to 127 default 127 SYSEX FOh 41h 00h 42h 12h 40h 00h 00h dd dd dd Master tune default dd 00h 04h 00h 00h 100 0 to 100 0 cents Nibblized data should be used always four bytes For example to tune to 100 0 cents sent data should be 00h 07h OEh 08h FOh 41h 00h 42h 12h 40h 00h 04h vv xx Master volume default vv 7Fh GS F7h FOh 41h 00h 42h 12h 40h 00h 05h vv Master key shift default vv 40h no transpose GS F7h FOh 41h 00h 42h 12h 40h 00h 06h vv xx Master pan default vv 40h center F7h FOh 41h 00h 42h 12h 40h 00h 7Fh 00h xx GS reset F7h FOh 41h 00h 42h 12h 40 Oth 10h 1 vv2 Voice reserve vv4 vv5 vv6 vv7 vv8 vv9 vv10 vv11 1 Part 10 Default vv 2 vv12 vv13 vv14 vv15 vv16 xx F7h vv2 to 10 Part 1 to 9 Default vv 2 vv11 to vv16 Part 11 to 16 Default vv 0 FOh 41h 00h 42h 12h
32. umes no responsibility for errors and omissions and disclaims responsibility for any consequences resulting from the information included herein Copyright 2005 2011 Dream S A S France SAM2195 58A60B
33. which means that each control sent in serial mode should start with BEh control Parallel mode In parallel mode all data received by SAM2195 on its serial MIDI IN pin is sent to host through the 8 bit register DATAS but is not sent to synthesis Midi Data received by SAM2195 from host through register DATAS is sent to the synthesis Parallel mode accepts following controls FFh parallel mode reset switch back to serial mode e Additional controls listed in paragraph 2 2 These additional controls being independent of the MIDI data flow allow to easily insert some special messages for controlling some SAM2195 effect modules in the middle of a MIDI data flow SAM2195 58A60B 15 dream The following diagram illustrates serial and parallel mode DATAS IN from Host SYNTHESIS Serial MIDI IN DATAS OUT to Host Serial Mode DATAS IN from Host L gt SYNTHESIS Serial MIDI IN DATAS OUT to Host ps Parallel Mode SAM2195 58A60B 16 dream 2 CONFIGURATION AND SPECIAL MESSAGES SAM2195 includes the following modules 4 band Equalizer Chorus effect Reverb effect Spatial effect Some special messages allow to set parameters for these modules Messages have two formats NRPN or SysEx midi messages this format can be use either in serial mode or in parallel mode Parallel controls this format should be used in parallel mode only 2
Download Pdf Manuals
Related Search
Related Contents
Hasselblad HC 3.2/150N User's Manual télécharger la Liste des nouvelles acquisitions Termómetro infrarrojo (IR), doble láser Impex PT-45 User's Manual Electro-Voice PI218L User's Manual Lowrance electronic PRO X51 User's Manual Avaya IP Phone Model 4620 User's Manual Harbor Freight Tools 43378 User's Manual Copyright © All rights reserved.
Failed to retrieve file