1. Home
    2. Software and Tools
    3. Software (OS/Middleware/Driver)

M3S-S2-Tiny

Sound playback system
M3S-S2-Tiny (hereafter abbreviated S2) is the sound playback system which just requires small memory.

We have the various lineup of MCUs, including R8C Family, which are suitable for use in applications such as single-function home appliances and compact industrial equipment, where the incorporation of more sophisticated functionality or the newest technology, with a negligible increase in cost, is desired. To support such development activities, Renesas offers software libraries with only the essential features for application, at low cost.

Use S2 to enable sound output in any device incorporating a target microcontroller. S2's original algorithm compresses and expands sound in ADPCM mode compactly at high speed. It can be used to add true sound output functionality to devices that previously only provided visual indications or beeps.

Release Information

Target Device Software Name Version/Release date Status
RL78 Family M3S-S2-Tiny for the RL78 Family Latest Ver.: V.3.01 Release 00
Released: Mar 11, 2015

Available

Download

Available

Sample Code

RX Family M3S-S2-Tiny for the RX Family Latest Ver.: V.3.02 Release 00
Released: Feb 5, 2015

Available

Download

Available

Sample Code

R8C Family M3S-S2-Tiny Latest Ver.: V.2.00 Release 00
Application Note Ver.: Rev.1.00
Released: Aug 21, 2008
Available
M16C/Tiny Series M3S-S2-Tiny Available
H8/300H Tiny Series M3S-S2-Tiny Available

*The Application Notes and Sample Code of S2 for the MCUs are available. Please download from here.

Features

  • Sound compression and expansion using Renesas-specific ADPCM format
    16-bit PCM data (files in wav format) is compressed to 4-bit quantity on your PC, and the compressed 4-bit data is expanded to 16-bit PCM data on microcontroller. Then expanded 16-bit data is converted to 8- or 10-bit data according to your system's requirements.
  • The compressed data of two or more sound channels can be expanded in parallel.
  • The processing of expansion being optimized MCU by MCU, the revised product can expand decompressed data 30% faster than the previous one.
    e.g. MCUs of the R8C Family running at 4 MHz are capable of expanding (reproducing) sound data that has been sampled at a frequency of 8 kHz.
  • Compact design tailored for embedded systems
    Realizable using the internal memory of the MCUs: Approx. 0.4-Kbyte ROM and approx. 20-byte RAM (for the R8C Family case) *including the stack
  • Includes sound compression/expansion utility (PC application)
    Recorded sound data (in wav format) can be compressed on a PC. (The compressed data can be incorporated into the microcontroller.)
    * The compressible formats are 16 bits quantized monaural PCM (files in wav format).
  • Includes sample programs which responds to Renesas IDE.
     

Application examples

  • Sound guidance
    • Salutations such as “Welcome” and “Thank you”
    • Guidance for equipment operation procedures such as “Please follow instructions” and “Please call the attendant”
    • Announcements such as “The bath is ready” and “Breakfast is ready”
    • Repeated playback of simple commercial or advertisement such as “Put on the market today”
  • Security
    • A trespasser, when detected, is warned by a large sound. “Informed to police” or “Crime-prevention camera is at work”
  • Safety measures
    • Calling one’s attention for safety. “Hot water will run out” or “The door will be closed”
    • Warning one about abnormal state: “The door (lid) is open” or “The pot has run out of water”
       

Components

  • Sound data expansion software (library in binary format)
  • Sample software for sound reproduction
    (Source file in CS+ format, e2 studio format project files and High-performance Embedded Workshop format workspace that includes a sample driver for PWM output)
  • Library function and sample software user's manual and other documents in a complete set
  • Sound data compression/expansion tool (PC software)
  • Sound compression library (M3S-SEN-Tiny)*
    *For RL78 Family, RX Family only.

     

Modular composition

For sound decompression

For sound compression

Operating Environment

M3S-S2-Tiny for the RL78 Family

Target device RL78 Family
Supported Evaluation Environment CS+
IAR Embedded Workbench for RL78 family provided by IAR Systems
Occupied ROM size Approx. 0.8Kbytes
Occupied RAM size For sound decompression: approx. 40bytes
For sound compression: approx. 30bytes
* Including the stack


M3S-S2-Tiny for the RX Family

Target device RX Family
Applicable compiler C/C++ Compiler Package for RX Family V.2.01 Release 00 or later
Occupied ROM size For sound decompression: approx. 0.5Kbytes
For sound compression: approx. 0.4Kbytes
Occupied RAM size For sound decompression: approx. 40bytes
For sound compression: approx. 30bytes
* Including the stack

 

M3S-S2-Tiny

Target devices R8C Family, M16C/Tiny Series, H8/300H Tiny Series
Applicable compiler R8C, M16C/Tiny M3T-NC30WA V.5.40 Release 00A or later
H8/300H Tiny C/C++ Compiler Package for H8SX, H8S, H8 Family V.6.02 Release 00 or later
Occupied ROM size Approx.0.4Kbytes(R8C Family)
Occupied RAM size Approx.20bytes (R8C Family)
* Including the stack

 

 

Reference information

M3S-S2-Tiny for the RX Family and M3S-S2-Tiny

ROM sizes of the microcontroller that uses M3S-S2-Tiny for the RX Family and M3S-S2-Tiny
M3S-S2-Tiny for the RX Family and M3S-S2-Tiny are premised on an assumption that sound data is stored in the internal ROM of a microcontroller and reproduced from it. Therefore, the larger the size of the sound data to be reproduced, the larger the required ROM size. (Since repeat sounds can be achieved by software, there is no need to secure a ROM size for the sound repeated.)
Reference: If the internal ROM size is 16 KB, then the sound reproducible time is 2 to 3 seconds.

 

 

Below you will find information to support the development of your application.

 

Information supporting development tools

Title Description
My Renesas Create a My Renesas account to use our tool download services,
receive e-newsletter/update notifications, and take advantage of our other services.
e-learning Information for studying and learning about microcontrollers and microprocessors.
FAQ Frequently asked questions and useful hints for development.
Forum A forum and community site to share technical information,
questions and opinions with others who use Renesas MCU's.
Tool News Tool release information and other important information.
Operating Environment Information on system requirements and operating environment for the latest
version of tools.
Info on Discontinued Products A list of Renesas software and tools that have been discontinued and
are no longer being offered for new projects.
You can filter the sample codes and application notes that are displayed using the below filters.

Confirm below disclaimers

Input Renesas account name and password

Menu
Contact