TRSP(M)5040A General Descriptions/一般說明:
TRSP(M)5040A系列是4位微控制器,可播放4通道旋律或4通道ADPCM與PWM直接驅(qū)動電路。PWM的分辨率為8/10/12位。它們包括一個低成本、高性能的CMOS微處理器。該上升的時鐘頻率通常為8.192(±3%)MHz。該芯片可在2.0V~5.5V的較寬電壓范圍內(nèi)工作。它在內(nèi)部包含程序ROM(PROM)和數(shù)據(jù)ROM(DROM)。
程序ROM的最大大小為4K字,最大數(shù)據(jù)ROM大小為120K字節(jié)。最大工作SRAM為(128+2)缺口。它共提供了12個軟件可編程的I/O端口。
TRSP(M)5040A series are 4-bits micro-controller which could play 4 channel melody or 4 channel ADPCM with PWM direct drive circuit. PWM resolution is 8/10/12 bits. They includes a low cost, high performance CMOS micro-processor. The clock frequency of this up is typically 8.192 (±3%) MHz. This chip operates over a wide voltage range of 2.0V~5.5V. It contains program ROM (PROM) and data ROM (DROM) inside.
The maximum program ROM is 4K words and maximum data ROM size is 120K byte. The maximum working SRAM is (128+2) nibbles. It is provided with total 12 software programmable I/O Ports.
TRSP(M)5040A Features/特性:
Operating voltage: 2.0V to 5.5V
MCU Operation frequency: 8.192MHz
Memory Size
Program ROM size: 4K*12-bits OTP type
Data ROM size: Maximum 120K*8-bits OTP type
SRAM size: 128*4 bits
User register: 2*4 bits
Wakeup function for power-down mode:
HALT mode wakeup source: Port A, Port B and Port E/CE can wake-up from HALT mode to NORMAL mode and executing wake-up sub-routine program.
8 input/output pins: Port A and Port B can be defined as input or output port bit by bit.
4 input/output ports or 4 input only ports or 4 output only ports “Port CE/E/C” defined by option:
If input only ports are employed, Port E defined as input only ports.
If output only ports are employed, Port C defined as output only ports.
If input/output ports are selected, Port CE defined as input/output ports bit by bit.
Four reset condition:
Low voltage reset. (LVR = 2.0V)
Power on reset.
External reset pin. (active low)
Watch dog timer overflow.
One internal interrupt sources:
PWM interrupt.
WDT
Watch dog timer, can enabled/disabled by option.
WDT period is 256*256*16/Fsys. (WDT period is 0.13 sec for system clock=8.192MHz)
Audio output:
Support PWM or DAC mode by option.
Support 8/10/12 bits.
Support option set for pull down resistor 1M, 50K or 220K Ohm, reset pin (PB3 or PC3), low voltage reset…etc.
Oscillator fuse option ±3%, temperature & voltage compensation.
Support security option (1 bit) for read inhibition.
Support 16-levels LVD function.
TRSP(M)5040A Package:
TRSP(M)5040A Block Diagram:
TRSP(M)5040A Speaker wakeup structure:
TRSP(M)5040A Port PCE mode 3 block diagram:
TRSP(M)5040A The Application Circuit: