TR4P151/153 General Descriptions:
The TR4P151/153 series are high-performance 4-bit RISC micro-controller embedded with up to 2KX12 bits OTP, 256X4 bits SRAM, one simple ADC, 8 bit PWM, up to 11 Input/Output ports and one input port.
It’s flexible and cost-effective solution for general purpose MCU applications.
TR4P151/153 Features:
Operating voltage:
(1)2.0V to 5.5V for Temp.=25℃
(2) 2.2V to 5.5V for Temp.=-40℃~+85℃
This MCU can operate in high speed and low speed mode by software. Below is the chip performance in different modes.
(a)Internal high speed HRCOSC : 8 MIPS / 4 MIPS / 2 MIPS / 1 MIPS.
(b)Internal low speed LRCOSC : 114.69KIPS / 57.34 KIPS / 28.67 KIPS / 14.33 KIPS.
(KIPS means thousand instructions per second )
(c)External EXTOSC: 8 MIPS (16 MHz X’tal) ~ 0.5 MIPS (1 MHz X’tal ).TR4P151AT/AF only.
Memory Size
Program ROM size : 2KX12 bits (OTP type)
SRAM size: total 256x4 bits SRAM
Wake up function for power-down mode
HALT mode wake up source: RTC timer overflow, PA0~3, PB0~3 and PD0~3 edge trigger
11 input /output ports: PA0~PA2, PB0~PB3, PD0~PD3. Each I/O can be bit programmable as input or output port. These 11 I/Os also provided level-change-wakeup function. Pull up and pull down resistor setting is available by software.
1 input port PA3, PA3 is shared with RSTB (reset) pin by option. It also provides level-change-wakeup function. Pull up and pull down resistor can be configured by software too.
Port A, Port B and Port D are provided with high sink current 24mA @VDD=5V,Vol=0.5V( except PA3 )
Port A, Port B and Port D are provided with high drive current 23mA @VDD=5V,Voh=4.5V( except PA3 )
PA1 built-in 38KHz modulator by option.
Built-in external 32Kl or 1~16MHz X’tal oscillator by option.
One 6 bit simple AD converter.
One Op-Amp is provided, three pins shared with PD0, PD1, PB2 (by option).
One comparator is provided, two input pins shared with PD2, PD3 (by option).
Three timers
Timer 1: 8 bits timer/counter/PWM, its clock source can be from chip-internal or external.
Timer 2: 8 bits timer
RTC : time period 0.125 /0.25/0.5/1 Sec or 15.625/31.25/62.5/125 ms, RTC Clock source comes from internal LRCOSC or external 32k X’tal oscillator.
Four reset condition
Low voltage reset (LVR 1.8V)
Power on reset
External RSTB pin shared with PA3 pin by option.
Watch dog timer overflow reset ( 0.125 sec ~ 1 sec by option )
Three internal interrupt sources: TIMER1, TIMER2 or RTC interrupt.
WDT(Watch dog timer)
WDT can be enabled/disabled in HALT mode by option
WDT clock source comes from internal LRCOSC or external 32K X’tal for reliable operation.
Provides 8 Bits PWM, PWM signal output is shared with PA2 pin by option.
Built-in high frequency internal 32MHz RC oscillator ( HRCOSC, frequency deviation within ±2%, temperature range at -40℃~+85℃, Vdd = 2.0V to 5.5V )
Built-in low frequency internal RC OSC (LRCOSC) 459KHz ( frequency deviation within ±12% )
TR4P151/153 Package (6/8/14 SOP):
TR4P151/153 Block Diagram:
TR4P151/153 Application Circuit:
PCB Layout guide line for 32K Crystal
Notice:
1. The overall shield track must be placed around the 32k crystal.
2. The 32k crystal must be placed close to XIN & XOUT pin (<0.5cm is perfect)
3. Ground “path A”and “path B”must be separated.