| Electronic Components Datasheet Search |
|
SM5M2 Datasheet(PDF) 14 Page - Sharp Corporation |
|
|
|||||||||||||||||||||||||||||
SM5M2 Datasheet(HTML) 14 Page - Sharp Corporation |
|
14 / 28 page ![]() SM5M2 - 14 - FUNCTIONAL DESCRIPTION Voice Synthesizer • How to select a voice start address There is a voice start address and RC, composed of 8-bit to select a voice start address. Voice start address is 16 bits. However, RC register can points only upper 8 bits in voice start address in partial. Lower 8-bit is always fixed "0". Refer to "RC register". Minimum unit (shortest block) is equal voice ROM capacity. Each minimum unit is composed of 256 steps. Refer to Fig.9. Core CPU detects the status whether voice synthesizer run or not, by reading the content of P33 flag. (P33 flag is "1" during voice generation.) Terminator (11111B) can be set as a voice data in the voice ROM. When controller found a terminator, immediately stops voice and reset a flag. When reached the bottom of the voice data address, voice data address automatically becomes 0000H and voice continuously generates until come across a terminator. CPU can reset the P33 flag and stop voice generation by force. NOTE : Voice ROM data "11111" means terminator of voice data. That is, an encoder must encode voice data except "11111". • Voice sampling frequency (5 kHz / 7 kHz) In case of sampling frequency is 5 kHz, total generation period becomes 12.8 s. In case of 7 kHz, it's 9.1 s. Voice sampling frequency (5 kHz or 7 kHz) is selected by RD3 register. In case of RD3 is "0", voice sampling frequency becomes 7 kHz. In case of RD3 is "1", it's 5 kHz. • RC register The RC register is composed of 8-bit. It can points only upper 8 bits in the voice start address as shown below. The data is filled with both A and X registers. NOTE : A voice start address is corresponding to the RC register (8 bits). Maximum 256 (SM5M2) pieces of voice start address can be selected. Each voice start address is based on multiple number of 100H. When voice generates, P33 flag becomes "1". First set the sampling rate of the voice synthesizer. The voice synthesizer start address is corre- sponding to the RC register and the 8 bits in the RC register are obtained by A and X register. After setting the P33 voice flag High, the voice synthesizer would start playing. After detect P33 Low, the voice synthesizer could play the next section of voice. x 15 x 14 x 13 x 12 x 11 x 10 x 9 x 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 NOTE : "x" stands for "0" or "1" • Voice start address Voice data (Voice ROM) Voice start address 64k x 5 bits Voice flag 0000H 0100H 0200H 0300H 0400H 0500H 0600H 0700H X register Acc 70 Start address 7 33 0 0 0 RC register (8 bits) FF00H Fig. 9 Voice ROM Configuration |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |