English
Language : 

JA32050 Datasheet, PDF (15/19 Pages) List of Unclassifed Manufacturers – 8-Bit MCU,ADC,LCD Controller
!
JA32050
Note:
a. Pin 8 VDD shall be connected to power supply input.
b. Pin 9 AVDD is the voltage output controlled by PA5.
c. Pin 10 VPP is a voltage input pin used for sensor power supply and OP operation.
d. If no voltage regulation for VPP is needed, connect AVDD to VPP.
e. If VPP needs a regulated voltage level, use AVDD as the input voltage to an external regulator then
connects the output of the regulator to the VPP.
Application Introduction
The circuit above was designed for multi function application. It handles two sensors of different functions.
Sensor 1 can be pressure related type sensor such as sensors for manometer or sphygmomanometer
application. Sensor 2 is the kind of sensor that output different resistance when the outside environment
changes such as temperature sensor. Please see the following introduction for reference:
a. System Clock: External RC oscillation was used to generate the system clock. The OSC was connected
to Vdd through a 150 k ohm resistor; the system clock will be around 4 MHz.
b. 32.768 k Crystal: This crystal used to generate real time clock.
c. Sensor 1: The ADC circuit was used by sensor 1. Sensor 1 can be pressure related type sensor such as
sensors for manometer, sphygmomanometer application.
d. OP gain: R2, R3 decides the OP gain.
e. Charge/Discharge circuit: R3, C forms the charge/discharge path.
f. REF1, REF2: capacitors were connected to filter the noise.
g. R4: used for low voltage detect.
h. Sensor 2: R/F circuit was used by sensor 2. The reference resistor R5 was connected to PB1.
i. General I/O: PB2 – PB7 reserved for general I/O
j. LCD: COM0-COM3, SEG0-SEG15 were used for LCD interface.
k. LCD C bias type: In this application, C bias was used so the V15, CAP1, CAP2 shall need capacitor for
C type bias.
l. Vlcd & V30: In this application Vdd = 3 V, and 1/3 bias was used for LCD, the V30 shall be connected to
Vdd and Vlcd needs a capacitor to Vss.
Programming Example
The following program is an example for JA32050 programming. It demonstrates how MCU controls the ADC
circuit. This program also shows users the way to configure the JA32050. User can learn some programming
skills listed below:
a. Program format
b. Assign program memory location
c. PA, PB configuration
d. Timers enable/disable
e. ADC control
f. Interrupt routine handle
;
;
;---------------------------------------------------------------
; This is an example program for JA32050 programming
;---------------------------------------------------------------
;I/O port description:
;PA0-PA7 for ADC control(COMPO,ON/OFF,CHR)
;PB0-PB3 for press key
;
;Main program brief description
;a. MCU set up internal registers
Preliminary
TELΚ886-3-5770755
FAXΚ886-3-5770756
19-15
E-mailΚsales@jaztek.com.tw
Ver.0.0
Web-siteΚwww.jaztek.com.tw