
rej06j0047_s2tinyap| Application Note
APPLICATION NOTE
R8C/Tiny Series, H8/300H Tiny Series, and M16C/Tiny Series
Sound Data Expansion Software for Tiny Microcontrollers
Introduction
This document explains the usage of the sound data expansion software library along with a sample program.
Target device
Tiny microcomputer (R8C/Tiny series, H8/300H Tiny series, and M16C/Tiny series)
Contents
1. Library function.................................................................................................................................. 2 1.1 Initialization (adpcm_init4)................................................................................................................. 2 1.2 Expansion (adpcm_decode4) ........................................................................................................... 2 2. 2.1 2.2 2.3 2.4 2.5 Sample program................................................................................................................................ 3 Outline ............................................................................................................................................... 3 Flow................................................................................................................................................... 3 Function list .............................................................................................
.......................................... 4 Function chart.................................................................................................................................... 5 Folder composition in workspace...................................................................................................... 5
3. Sound data modification procedure .................................................................................................. 6 3.1 Creation of sound data ...................................................................................................................... 6 3.1.1 Preparation of wav file......................................................................................................... 6 3.1.2 Compression of sound data ................................................................................................ 6 3.2 Change in sample program............................................................................................................... 6 3.2.1 PCM_DATA_SIZE1............................................................................................................. 6 3.2.2 ADPCM_ADDR1 ................................................................................................................. 6 3.3 Loading of sound data....................................
................................................................................... 6 4. Library characteristic ......................................................................................................................... 7 4.1 Occupied memory size...................................................................................................................... 7 4.2 Expansion processing speed (reference value)................................................................................ 7 5. 6. 10 bit sound data............................................................................................................................... 7 Data expansion of two or more channels.......................................................................................... 8
REJ06J0047-0100/Rev.1.00
July 2008
Page 1 of 10
rej06j0047_s2tinyap Application Note renesas Download PDF
Add this permalink to your bookmarks for future download of rej06j0047_s2tinyap ApplicationNote
Permalink: http://application.emcelettronica.com/renesas/rej06j0047_s2tinyap