English
Language : 

W561XXX Datasheet, PDF (2/7 Pages) Winbond – 4-CH MELODY WITH VOICE SYNTHESIZER
W561XXX
− Operating current (no load with ring oscillator) < 1 mA
• Main oscillator: Crystal/ Ring oscillation selectable by pin option
• Input/ Output port
− Port for input only: 1 port/4 pins
− Input/ Output ports: 2 ports/8 pins
− Port for output only: 1 port/4 pins
− Can offer a direct row and column matrix of up to 72 (8 × 9) keys
• Interrupts
− Internal interrupts: Timer
− External interrupts: TG (port 0, port1), POI (Power On Initialization)
− Priority: POI > TG > Timer
• DAC1/2 provided for stereo voice output
• Melody + Voice output for DAC1
• TG interrupt provided
− Shared TG interrupt for Port0/Port1 input.
− Global TG interrupt enable controlled (bit3 of the IER register)
− Individual interrupt enable controlled (PER0 and PER1 registers)
• Built-in 8 bit programmable down count timer
− One of two internal clock frequencies can be selected
− Desired Timer interval = (preset value +1) × 1/FT
( FT: 32 Hz or 32 KHz dependent on the bit0 of the MODE register, at Fosc = 3 MHz)
• Powerful instruction set:
− Arithmetic: ADD, ADDC, SUB, SUBC, INC, DEC, SETB, CLRB
− Logic Operation: AND, OR, XOR, NOT
− Shift & Rotate: RORC, ROLC, SHRC, SHLC
− Date move: LD, LDR, MV
− Branch: JP, JB0, JB1, JB2, JB3, JZ, JNZ, JC, JNC, JBZ1, JBZ2, CJNE, CJE, DJNZ, DJZ
− Subroutine: CALL, RTN, RTI
− Others: NOP, END, EN INT, DIS INT, PLAY CH1, STOP CH1, STOP CH2
• 8-level STACK shared by CALL, Timer, Synthesizer and TG
• Dynamic register controlled by LD instructions
− Volume control (VOL1/VOL2 registers for DAC 1/2)
− Melody Timbre control (Timbre0/1/2/3 registers for CH0/1/2/3)
− Melody Speed control (Tempo register)
• 4-CH Melody with
− Timbre-based melody synthesis
− Note number : only limited by ROM size
− Timbre ROM size: 16 Kbyte
-2-