M65575FP Rhythm Phrase Player REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Description The M65575FP is suitable for rhythm phrase reproduce LSI thanks to the internal music sources and rhythm patterns. The M65575FP contains music sources which maximum counts are 256, also contains rhythm patterns which maximum counts are 64. Features [Music Source] Compression algorithm Maximum music sources Sampling frequency Pronunciation counts [Rhythm] Maximum rhythm patterns Tempo Resolution ratio [System] Power supply Output Pan pot Level Music sources ROM size Rhythm patterns ROM size MCU I/F MCU Commands Features 4 bit ADPCM 256 4 kHz/8 kHz/16 kHz/32 kHz 3 tracks (Monaural; at the same time) 64 patterns 60 to 240 step 1 16 beat 3.3 V single power supply Stereo (L/R) capable of both setting GAIN and Attenuate ATT: 0 dB, –6 dB, –12 dB, –18 dB, –24 dB, –30 dB, –36 dB, –∞ dB GAIN: 6.0 dB, 5.5 dB, 4.9 dB, 4.2 dB, 3.5 dB, 2.8 dB, 1.9 dB, 1.0 dB Capable of set each music sources of rhythm patterns (11 steps) Capable of set each music sources of rhythm patterns (0 dB, –6.0 dB, –9.3 dB, –12 dB, –15.3 dB, –21.3 dB, –∞ dB) 1.5 Mbit 96 Kbit 4 line serial bus interface (clock, data, latch, read/write) Tempo, rhythm pattern setting, GAIN/ATT setting, start, repeat start, stop, PAD commands [Internal function] Fs conversion filter Input: 4 kHz/8 kHz/16 kHz/32 kHz, Output: 32 kHz D/A converter D/A converter 1 Bit ΔΣ converter (PWM output) REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 1 of 11 M65575FP Block Diagram AVSSL Rhythm Sound Pattern Source ROM ROM rhythm mono pattern Control AVDDL 3track 1 Control 2 3 Decode (4k), 8k, 16k, 32k tempo clock Start Stop Control Tempo Clock Gen. Fs Conversion (4k), 8k, 16k, 32k 64 × 32k (4k), 8k,16k, 32k System Clock Gen. Fs Clock Gen. Pan Mix Gain/ ATT 32k L R Over- L R flow Limiter 32k DF DAC PWM L+ L– R– R+ 32k AVDDR AVSSR System Control MCU I/F Mute Detector Pin Arrangement M65575FP TEST1 1 36 DVDD TEST2 2 35 MUTEOR TEST3 3 34 TEST12 RSTB 4 33 PWMR+ DVSS 5 32 AVSSR MCK 6 31 PWMR– MSD 7 30 AVDDR MLAB 8 29 XVSS MEMP 9 28 XIS TEMPO 10 27 XOS TEST4 11 26 XVDD TEST5 12 25 AVDDL TEST6 13 24 PWML– DVDD 14 23 AVSSL TEST7 15 22 PWML+ TEST8 16 21 TEST11 TEST9 17 20 MUTEOL TEST10 18 19 DVSS (Top view) Outline: PRSP0036GA-A (36P2R-A) REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 2 of 11 DVSS DVSS DVDD DVDD MUTEOR MUTEOL MCK MSD MLAB TEST1 to 12 RSTB XOS XVDD XVSS XIS TEMPO MEMP 12 256 × 32k PWML+ PWML– PWMR– PWMR+ M65575FP Absolute Maximum Ratings Item Supply voltage Input voltage Power dissipation Operating temperature Storage temperature Symbol Ratings 4.2 –0.3 to VDD + 0.3 455 –20 to +75 –40 to +125 VDD Vi Pd Topr Tstg Unit V V mW °C °C Recommended Operating Condition Min Limits Typ Max Unit VDD fOSC 3 — 3.3 8.2 3.6 — V MHz Symbol Min Limits Typ Max Unit Test Conditions — — — — — VDD 0.3•VDD 10 10 VDD V MHz μA μA V VDD = 3.6 V, Vi = 3.5 V VDD = 3.6 V, Vi = 0.1 V VDD = 3.0 V, IOH = –2 mA Item Symbol Supply voltage Oscillation frequency DC Characteristics Item H input voltage L input voltage H input leakage current L input leakage current VIH VIL IIH IIL H output voltage (Excluding PWM) VOH 0.7•VDD 0 –10 –10 VDD–0.4 L output voltage (Excluding PWM) Consumption current VOL 0 — 0.4 V IDD — 5 10 mA REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 3 of 11 VDD = 3.0 V, IOL = 2 mA M65575FP MCU Command Input Timing Chart MSD D0 D1 D2 D3 D4 D5 D6 D7 MCK MLAB Data Format There are two setting bytes with MCU commands that are 1 byte command and 2 byte command. Following are data formats of MCU command. <1 Byte Command> Command Select D7 D6 D5 Command Set D4 D3 D2 D1 D0 <2 Byte Command> When using the 2 byte command, please send 1st byte at first and after, send 2nd byte. 1st Byte Command Select D7 D6 D5 Invalid D4 D3 D2 D1 D0 D2 D1 D0 2nd Byte Command Set D7 D6 D5 D4 D3 Command Settings <Parameter Set> No. (1) Command Function Byte Counts Tempo Tempo setting, Normal: 60 to 160 step 1 Triplet tempo: 90 to 240 step 1 2 (2) (3) (4) (5) Rhythm pattern select A Rhythm pattern select B Rhythm pattern select C Gain/Attenuate level control Presetting the rhythm pattern from the internal 64 (Max) rhythm pattern. Capable of presetting 3 patterns (A, B, C) 2 Gain/Attenuate level setting 6.0, 5.5, 4.9, 4.2, 3.5, 2.8, 1.9, 1.0, 0, –6, –12, –18, –24, –30, –36, –∞ dB 1 <Start/Stop/Pad Control Set> No. (6) (7) Command Start/Stop control PAD control Function Rhythm start/stop control PAD control (2 systems) Byte Counts 1 2 Function Software reset, Test mode (Shipment test) Byte Counts 1 <Software Reset/Test Control Set> No. (8) Command Reset/Test REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 4 of 11 M65575FP Command Function Explanations (1) Tempo ( ) at the first setting mode Command Tempo Note: Byte No. 1 2 Bit Allotment D7 L D6 L D5 L D4 D3 D2 don’t care Tempo [7:0] (LHHLLHLL) D1 D0 Tempo [7:0]: Tempo setting is following. Normal: 3C-A0 (Hex) [60-160 (Dec)] Triplet tempo: 5A-F0 (Hex) [90-240 (Dec)] (Cannot use another settings) Capable of the setting 1 step unit. At the first setting is 64 (Hex) [120 (Dec)]. (2) Rhythm pattern select A (3) Rhythm pattern select B (4) Rhythm pattern select C ( ) at the first setting mode Command Rhythm pattern select A Rhythm pattern select B Rhythm pattern select C Note: Byte No. 1 2 1 2 1 2 Bit Allotment D7 D6 L L don’t care L H don’t care L H don’t care D5 H L H D4 D3 D2 D1 don’t care rhythm_pat_sel_a [5:0] (LLLLLL) don’t care rhythm_pat_sel_b [5:0] (LLLLLL) don’t care rhythm_pat_sel_c [5:0] (LLLLLL) rhythm_pat_sel_a [5:0]: Setting the Rhythm pattern A rhythm_pat_sel_b [5:0]: Setting the Rhythm pattern B rhythm_pat_sel_c [5:0]: Setting the Rhythm pattern C You can set the each rhythm pattern (A, B, C) and choose 64 internal patterns (Max). One of these rhythm patterns starts the play, after you choose one of them and send the start/stop control commands. REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 5 of 11 D0 M65575FP (5) Gain/Attenuate level ( ) at the first setting mode Byte No. Command Gain/Attenuate level Note: 1 D6 L D5 L D4 D3 D2 D1 D0 att [3:0] (HLLL) don’t care att [3:0]: Setting the output gain and attenuate level. It sets common setting with Lch and Rch. Attenuate level control att [3] L L L L L L L L Bit Allotment D7 H [2] L L L L H H H H [1] L L H H L L H H Gain Level [dB] +6 +5.5 +4.9 +4.2 +3.5 +2.8 +1.9 +1.0 [0] L H L H L H L H att [3] H H H H H H H H [2] L L L L H H H H [1] L L H H L L H H Attenuate Level [dB] 0 –6 –12 –18 –24 –30 –36 –∞ [0] L H L H L H L H (6) Start/Stop control ( ) at the first setting mode Command Start/Stop control Note: Byte No. 1 Bit Allotment D7 H D6 L D5 H D4 D3 pat_sel [1:0] (LL) Start/Stop control command control the rhythm music start/stop timing. pat_sel [1:0]: Select the rhythm pattern (A, B or C) It can select the next rhythm music from rhythm pattern A, B or C. Rhythm pattern select mode pat_sel [1] L L H H [0] L H L H Rhythm Pattern Select Rhythm Pattern A Rhythm Pattern B Rhythm Pattern C Prohibit start: Control the start/stop timing of rhythm music. H: Start the rhythm music, L: Stop the music without delay s_mode: Setting the start mode of rhythm music H: Chain music start (Start the music after ending the before music) L: Start music without delay e_mode: Setting the stop mode of rhythm music H: Loop reproduction mode (music continuous mode) L: 1 shot reproduction mode (1 time mode) REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 6 of 11 D2 start (L) D1 D0 s_mode (L) e_mode (L) M65575FP Thanks to these commands, we can control the following rhythm play mode. Rhythm control has two modes, • One shot start mode and loop start mode which start when the rhythm music is not available • Chain start, start without delay and stop without delay which control when the rhythm music is playing Following is an example of rhythm play mode. (off course you can use all pattern A, B, C) <Rhythm control when the rhythm music is not available> 1 shot start: Reproduce the rhythm music once a time Play start Play stop A Rhythm patterm A Selecting the rhythm pattern (A) Sending the start/stop control (Pattern A, start, start without delay, 1 shot) Loop start: Reproduce the rhythm music repeatedly A Play start Rhythm pattern A Rhythm pattern A Rhythm pattern A ~ Selecting the rhythm pattern (A) Sending the start/stop control (Pattern A, start, start without delay, loop) <Rhythm control when the rhythm music is playing> Chain start (1 shot→1 shot): Reproduce the two rhythm patterns (1 shot) and connecting one and another patterns A Play start Rhythm pattern A B Play stop Rhythm pattern B Sending the start/stop control (*1),(*2) (Pattern A, start, chain, 1 shot) Selecting the rhythm pattern (A, B) (*3) Sending the start/stop control (Pattern A, start, start without delay, 1 shot) Notes: 1. Please send the control mode before the end of rhythm pattern A 2. If you resend the start/stop command before the start of rhythm pattern B, executed the newest control command. 3. Please preset the rhythm pattern select (B) like that, or preset before sending the rhythm pattern B control command. REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 7 of 11 M65575FP Chain start (1 shot→loop): Reproduce the rhythm patterns that connecting one shot and loop rhythm pattern. A B Play start Rhythm pattern A Rhythm pattern B Rhythm pattern B ∼ Sending the start/stop control (*1), (*2) (Rhythm pattern B, start, chain, loop) Selecting the rhythm pattern (A, B) (*3) Sending the start/stop control (Rhythm pattern B, start, start without delay, 1 shot) Chain start (loop→1 shot): Reproduce the rhythm patterns that connecting loop and 1 shot rhythm patern. A B Play stop ∼ Rhythm pattern A Rhythm pattern B Selecting the rhythm pattern (B) (*4) Sending the start/stop control (*2), (*5) (Rhythm pattern B, start, chain, 1 shot) Notes: 4. Please send the rhythm pattern B command before sending the start/stop control pattern B (Can be set the preset) 5. After end of the rhythm pattern A music, please start the play of rhythm pattern B. Chain start (loop→loop): Reproduce the rhythm patterns that connecting loop and another loop rhythm pattern. A ∼ Rhythm pattern A Rhythm pattern B B Rhythm pattern B Selecting the rhythm pattern (B) (*4) Sending the start/stop control (*2), (*5) (Rhythm pattern B, start, chain, loop) REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 8 of 11 ∼ M65575FP Start without delay: Stopping the rhythm music play without delay, and starting another rhythm music without delay → Stop Start without delay A B Stopping the rhythm pattern A play, and starting the rhythm pattern B without delay ∼ Rhythm pattern A A ∼ Rhythm pattern B Selecting the rhythm pattern (B) (*4) Sending the start/stop control (Rhythm pattern B, start, start without delay) Stop without delay: Stopping the rhythm music without delay A stop Play stop ∼ A Rhythm pattern A Sending the start/stop control (stop) (7) PAD control ( ) at the first setting mode Command PAD control Byte No. 1 Bit Allotment D7 H 2 D6 H D5 L D4 pad_sel2 [3:0] (LLLL) Notes: PAD control command can set the 2 units (PAD1 and PAD2) control. pad1o: Control command of PAD1 H: Output the PAD1 music source, L: Don’t care pad2o: Control command of PAD2 H: Output the PAD2 music source, L: Don’t care pad_sel [3:0]: Select the PAD1, 2 music sources Following is the contents of music source select. REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 9 of 11 D3 don’t care D2 D1 pad2o (L) pad_sel1 [3:0] (LLLL) D0 pad1o (L) M65575FP Music source details are under consideration pad_sel1 [3:0] [2] [1] L L L L L H L H H L H L H H H H L L L L L H L H H L H L H H [3] L L L L L L L L H H H H H H H H H H PAD1 [0] L H L H L H L H L H L H L H L music source 0 music source 1 music source 2 music source 3 music source 4 music source 5 music source 6 music source 7 music source 8 music source 9 music source 10 music source 11 music source 12 music source 13 music source 14 [3] L L L L L L L L H H H H H H H H music source 15 H pad_sel2 [3:0] [2] [1] L L L L L H L H H L H L H H H H L L L L L H L H H L H L H H H H PAD2 [0] L H L H L H L H L H L H L H L music source 0 music source 1 music source 2 music source 3 music source 4 music source 5 music source 6 music source 7 music source 8 music source 9 music source 10 music source 11 music source 12 music source 13 music source 14 H music source 15 (8) Reset/Test ( ) at the first setting mode Command Reset/Test Note: Byte No. 1 Bit allotment D7 H D6 H D5 H D4 D3 D2 D1 D0 test [3:0] (LLLL) sreset (L) reset: Setting the software reset control. H: system reset mode (L: not use) test [3:0]: This setting use only shipment test. Normal mode setting is “LLLL” *Please don’t use another setting (9) Summary of command bits ( ) at the first setting mode Command Tempo Rhythm pattern select A Rhythm pattern select B Byte No. 1 2 1 2 1 Bit Allotment D7 L D6 L D5 L L L H H L rhythm_pat_sel_a [5:0] (LLLLLL) don’t care H rhythm_pat_sel_b [5:0] (LLLLLL) don’t care don’t care L 2 1 L Gain/Attenuate level Start/stop control 2 1 don’t care H L L 1 H L H PAD control 1 H H L Reset/Test 1 Rhythm pattern select C don’t care 2 H D4 D3 D2 don’t care tempo [7:0] (LHHLLHLL) don’t care REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 10 of 11 H D0 rhythm_pat_sel_c [5:0] (LLLLLL) don’t care pat_sel [1:0] (LL) don’t care pad_sel2 [3:0] (LLLL) H D1 H sreset (L) att [3:0] (LLLL) start (L) s_mode (L) pad1o (L) pad_sel1 [3:0] (LLLL) test [3:0] (LLLL) e_mode (L) pad2o (L) M65575FP Package Dimensions JEITA Package Code P-SSOP36-8.4x15-0.80 RENESAS Code PRSP0036GA-A Previous Code 36P2R-A MASS[Typ.] 0.5g E 19 *1 HE 36 F NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. 1 18 Index mark c *2 D A1 A A2 *3 y bp L e Detail F REJ03F0169-0201 Rev.2.01 Jan 25, 2008 Page 11 of 11 Reference Symbol D E A2 A A1 bp c HE e y L Dimension in Millimeters Min Nom Max 14.8 15.0 15.2 8.2 8.4 8.6 2.0 2.4 0.05 0.35 0.4 0.5 0.13 0.15 0.2 0° 10° 11.63 11.93 12.23 0.65 0.8 0.95 0.15 0.3 0.5 0.7 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries. http://www.renesas.com RENESAS SALES OFFICES Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145 Renesas Technology Malaysia Sdn. Bhd Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510 © 2008. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .7.2