HT36M4 Holtek Semiconductor Inc., HT36M4 Datasheet

no-image

HT36M4

Manufacturer Part Number
HT36M4
Description
Ht36m4 -- Music Synthesizer 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Technical Document
Features
General Description
The HT36M4 is an 8-bit high performance RISC
microcontroller specifically designed for music applica-
tions. It provides an 8-bit MCU and a 16 channel
wavetable synthesizer. The program ROM is composed
of both program control codes and wavetable voice
codes, which can easily be programmed.
Block Diagram
Rev. 1.10
Tools Information
FAQs
Application Note
Operating voltage: 2.6V~5.0V
Operating frequency:
12 bidirectional I/O lines
Two 16-bit programmable timer/event counters with
overflow interrupts
Watchdog Timer
Built-in 8-bit MCU with 384 8 bits RAM
Built-in 64K 16-bit ROM for program/data shared
Mono 16-bit DAC
One external interrupt
Polyphonic up to 16 notes
Crystal: 8MHz~12MHz
RC: 11.059MHz
Music Synthesizer 8-Bit MCU
1
The HT36M4 has a built-in 8-bit microprocessor with
64K 16 program ROM, 384 8 data RAM, 12
bidirectional I/O, encapsulated in 20 TSSOP for applica-
tions where need tinny package such as ring tone gen-
erator for CELLULAR/DECT/CORDLESS PHONES.
Independent pan and volume mix can be assigned to
each sound component
Sampling rate of 44.1kHz as 11.059MHz for system
frequency
Eight-level subroutine nesting
HALT function and wake-up feature reduce power
consumption
Bit manipulation instructions
16-bit table read instructions
Low voltage reset 2.2V
63 powerful instructions
All instructions in 1 or 2 machine cycles
20-pin DIP/SSOP/TSSOP package
HT36M4
March 14, 2007

Related parts for HT36M4

HT36M4 Summary of contents

Page 1

... Mono 16-bit DAC One external interrupt Polyphonic notes General Description The HT36M4 is an 8-bit high performance RISC microcontroller specifically designed for music applica- tions. It provides an 8-bit MCU and a 16 channel wavetable synthesizer. The program ROM is composed of both program control codes and wavetable voice codes, which can easily be programmed ...

Page 2

... Pin Assignment Pad Assignment * The IC substrate should be connected to VSS in the PCB layout artwork. Rev. 1.10 2 Chip size: 2595 2815 ( m) 2 HT36M4 March 14, 2007 ...

Page 3

... IN OSC External interrupt Reset input, active low Bidirectional 8-bit Input/Output port, wake-up by mask option Bidirectional 8-bit input/output port +5.5V Storage Temperature ........................... 125 C SS +0.3V Operating Temperature .......................... HT36M4 Unit 1250.000 1139.400 1039.400 928.800 828.800 286.200 1256.550 1256.550 1256.550 1256.550 ...

Page 4

... RES Rev. 1.10 Test Conditions Min. V Conditions DD 2.6 3.6V No load (OSC on) 3.6V 3.6V 2 3. Test Conditions Min. V Conditions DD 5V 11.059MHz crystal 5V 4 Without WDT prescaler HT36M4 Ta=25 C Typ. Max. Unit 3 0. Ta=25 C Typ. Max. Unit 11.059 MHz 16 MHz ...

Page 5

... Functional Description Execution Flow The system clock for the HT36M4 is derived from either a crystal oscillator. The oscillator frequency di- vided the system clock for the MCU ( and it is internally divided into four OSC SYS non-overlapping clocks. One instruction cycle consists of four system clock cycles ...

Page 6

... Program ROM HT36M4 provides 16 address lines WA15~WA0 to read the Program ROM which bits, and is com- monly used for the wavetable voice codes and the pro- gram memory. It provides two address types, one type is for program ROM, which is addressed by a bank pointer PF2~PF0 and a 13-bit program counter PC12~PC0 ...

Page 7

... Wavetable ROM The ST11~ST0 are used to defined the start address of each sample on the wavetable and read the waveform data from the location. HT36M4 provides 17 output ad- dress lines from WA16~WA0, the ST11~ST0 are used to locate the major 12 bits i.e. WA16~WA5 and the un- defined data from WA4~WA0 are always set to 00000b ...

Page 8

... In addition, on entering the interrupt sequence or exe- cuting a subroutine call, the status register will not be automatically pushed onto the stack. If the contents of status are important and the subroutine can corrupt the status register, the programmer must take precautions to save it properly. Function STATUS (0AH) Register 8 HT36M4 March 14, 2007 ...

Page 9

... Interrupt The HT36M4 provides two internal timer/event counter interrupts on each bank. The Interrupt Control register (INTC;0BH) contains the interrupt control bits that sets the enable/disable and the interrupt request flags. Once an interrupt subroutine is serviced, all other inter- rupts will be blocked (by clearing the EMI bit). This scheme may prevent any further interrupt nesting ...

Page 10

... Oscillator Configuration The HT36M4 provides two types of oscillator circuit for the system clock, i.e., RC oscillator and crystal oscilla- tor. No matter what type of oscillator, the signal divided used for the system clock (f SYS HALT mode stops the system oscillator and ignores ex- ternal signal to conserve power ...

Page 11

... Most registers are reset to the initial condition when the reset conditions are met. By examining the PDF and TO flags, the program can distinguish between different chip resets . Reset Timing Chart Reset Circuit (system SYS Reset Configuration 11 HT36M4 March 14, 2007 ...

Page 12

... HT36M4 RES Reset WDT Time-out (HALT) (HALT)* 0000H 0000H uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu ...

Page 13

... Stack Pointer stack Timer/Event Counter Two timer/event counters are implemented in the HT36M4. The Timer/Event Counter 0 and Timer/Event Counter 1 contain 16-bit programmable count-up coun- ters and the clock comes from the system clock divided by 4. There are three registers related to Timer/Event Coun- ter 0 ...

Page 14

... TMR1H) is read, the clock will be blocked to avoid er- rors. As this may result in a counting error, this must be taken into consideration by the programmer. The two timer counters of the HT36M4 are internal clock mode only, so only Timer mode can be selected. There- fore the (TM1, TM0) bits can only be set to (TM1,TM0) = (1,0), and the other clock modes are invalid ...

Page 15

... ST4 ST3 WBS RE14 RE13 RE12 RE11 RE10 RE7 RE6 RE5 RE4 RE3 A_R VR7 VR6 VR5 VR4 VR3 General Purpose Data Memory (Same As 8-bit MCU) 15 HT36M4 DA9 DA8 DA2 DA1 DA0 SELW DAON Right CH1 CH0 FR9 FR8 FR2 ...

Page 16

... RE14~RE0 to the address of the end code, then jump to the address to repeat this range. Left and right volume control The HT36M4 provides the left and right volume con- trol independently. The left and right volume are con- trolled by VL9~VL0 and VR9~VR0 respectively. The ...

Page 17

... The PCM code definition The HT36M4 can only solve the voice format of the signed 8-bit raw PCM. And the MCU will take the voice code 80H as the end code. So each PCM code section must be ended with the end code 80H. ...

Page 18

... Application Circuit Rev. 1. HT36M4 March 14, 2007 ...

Page 19

... Package Information 20-pin DIP (300mil) Outline Dimensions Symbol Rev. 1.10 Dimensions in mil Min. Nom. 1020 240 125 125 16 50 100 295 335 0 19 HT36M4 Max. 1045 260 135 145 20 70 315 375 15 March 14, 2007 ...

Page 20

... SSOP (150mil) Outline Dimensions Symbol Rev. 1.10 Dimensions in mil Min. Nom. 228 150 8 335 HT36M4 Max. 244 158 12 347 March 14, 2007 ...

Page 21

... TSSOP Outline Dimensions Symbol Rev. 1.10 Dimensions in mm Min. Nom. 1.05 0.05 0.95 0.22 0.13 6.4 6.3 4.3 0.65 0. HT36M4 Max. 1.2 0.15 1.05 0.17 6.6 6.5 4.5 0.75 0.1 8 March 14, 2007 ...

Page 22

... Product Tape and Reel Specifications Reel Dimensions SSOP 20S (150mil) Symbol Description A Reel Outer Diameter B Reel Inner Diameter C Spindle Hole Diameter D Key Slit Width T1 Space Between Flange T2 Reel Thickness Rev. 1.10 Dimensions in mm 330 1 62 1.5 13+0.5 0.2 2 0.5 16.8+0.3 0.2 22.2 0.2 22 HT36M4 March 14, 2007 ...

Page 23

... Carrier Tape Width P Cavity Pitch E Perforation Position F Cavity to Perforation (Width Direction) D Perforation Diameter D1 Cavity Hole Diameter P0 Perforation Pitch P1 Cavity to Perforation (Length Direction) A0 Cavity Length B0 Cavity Width K0 Cavity Depth t Carrier Tape Thickness C Cover Tape Width Rev. 1.10 Dimensions in mm 16+0.3 0.1 8 0.1 1.75 0.1 7.5 0.1 1.5+0.1 1.5+0.25 4 0.1 2 0.1 6.5 0.1 9 0.1 2.3 0.1 0.3 0.05 13.3 23 HT36M4 March 14, 2007 ...

Page 24

... Holtek s products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw. Rev. 1.10 24 HT36M4 March 14, 2007 ...

Related keywords