RA8906 RAIO | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 7

Technical content

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 RAiO RA8906 8-Bit Micro-Controller Version 2.1 October, 2003 RAiO Technology Inc. Copyright RAiO Technology Inc. 2002, 2003

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 Overview The RA8906 is an 8-bit downloadable micro-controller with 64K-byte embedded Flash ROM. It supports multiple timer/counter sources, versatile interrupt-handling ar chitecture and two built-in DAC’s (Digital-to-Analog Converters). It provides a complete speech interfac e and 32K-bps ADPCM solution that make this chip an excellent choice as the embedded micro-controller for educational game or toy speech products. The built-in 4K-bytes ROM support the on-chip RAiO ICE Monitor program which controls the UART and enables the RS232 connection between the RA8906 and a PC host. The RA8906 support the ISP(In-System Programming) and ISD(In-System Debuggi ng) functions. Users can download their programs as well as data from a PC host to the embedded Flash ROM of RA8906. RAiO also support a windows based ICE driver for customers to very easy programming & debugging their program. Using RS232 connection between a speech toy to a PC host running RAiO’s download utility program, toy makers are able to implement the Internet Game/Speech download features easily and give the toys multiple attractive characteristics. Feature ‹ 8-bit Micro Processor ‹ 64K-byte Embedded Flash ROM ‹ 80-byte User SRAM ‹ Two 8-bit General Purpose I/O Ports ‹ Three 12-bit Timers ‹ Three Fixed Time-Bases (2KHz, 500Hz, 62Hz) ‹ Two 8-bit Current Mode DACs ‹ Support One Watch Dog Timer ‹ Low Power Consumption at Sleep Mode ‹ On-Chip ICE and ISP(In-System Programming) Supporting Programs. ‹ Support 32K bps ADPCM Solution ‹ Operating Voltage: 4.5V ~ 6V ‹ System Clock: 2/4/6MHz Package/Die Form PT1_6 PT1_5 PT1_4 PT1_3 PT1_2 PT1_1 PT1_0 VDD GND RESET# MONITOR# TXD RXD VDD XCLKI XCLKQ PT1_7 PT2_2 PT2_3 PT2_4 PT2_5 PT2_6 PT2_7 GND GND DAC02 VDD DAC01 GND PT2_1 PT2_0 VDD RAiO TM RA8906 02xx GND GND RESET# NC MONITOR# NC BREAK# NC TXD NC RXD NC VDD NC XCLKI XCLKQ NC GND NC VDD NC PT2_0 NC PT2_1 NC GND AGND DACO1 AVDD DACO2 AGND VDD VDD PT1_0 NC PT1_1 NC PT1_2 NC PT1_3 NC PT1_4 NC PT1_5 NC PT1_6 NC PT1_7 NC PT2_2 NC PT2_3 NC PT2_4 NC PT2_5 NC PT2_6 NC PT2_7 NC GND GND LOGO

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 Package (PQFP-100Pin) RAiO RA8906 TM 02XX Date Code(西元2002年) Pin #1 GND RESET# TEST_0 MONITPR# TEST_1 BREAK# TEST_2 TXD RXD VDD XCLKI XCLKQ GND VDD PT2_0 P_D6 PT2_1 GND AGND DACO1 AVDD DACO2 AGND VDD PT1_0 A11 PT1_1 A10 PT1_2 PT1_3 PT1_4 PT1_5 PT1_6 PT1_7 PT2_2 PT2_3 PT2_4 PT2_5 PT2_6 ROM_CE# PT2_7 ROM_OE# GND 5 10 15 20 25 30 80 75 70 65 60 55 51 100 PAD X/Y Coordinate Order PIN Name X Y 1 VDD -1509.25 -2084.50 2 VDD -1369.75 -2084.50 3 PT1_0 -1230.25 -2084.50 5 PT1_1 -1047.25 -2084.50 7 PT1_2 -864.25 -2084.50 9 PT1_3 -681.25 -2084.50 11 PT1_4 -498.25 -2084.50 13 PT1_5 -315.25 -2084.50 15 PT1_6 -132.25 -2084.50 17 PT1_7 50.75 -2084.50 19 PT2_2 233.75 -2084.50 21 PT2_3 416.75 -2084.50 23 PT2_4 599.75 -2084.50 25 PT2_5 782.75 -2084.50 27 PT2_6 965.75 -2084.50 29 PT2_7 1148.75 -2084.50 31 GND 1379.75 -2084.50 32 GND 1519.25 -2084.50 Order PIN Name X Y 33 AGND 1570.80 2084.50 34 DACO2 1413.70 2084.50 35 AVDD 1270.10 2084.50 36 DACO1 1126.49 2084.50 37 AGND 969.40 2084.50 38 GND 871.00 2084.50 40 PT2_1 688.00 2084.50 42 PT2_0 505.00 2084.50 44 VDD 322.00 2084.50 46 GND 139.00 2084.50 48 XCLKQ -60.50 2084.50 49 XCLKI -180.50 2084.50 51 VDD -363.50 2084.50 53 RXD -546.50 2084.50 55 TXD -729.50 2084.50 57 BREAK# -912.50 2084.50 59 MONITOR# -1095.50 2084.50 61 RESET# -1278.50 2084.50 62 GND -1418.00 2084.50 63 GND -1557.50 2084.50

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 Block Diagram XCLKI XCLKQ RESET# MONITOR# BREAK# RXD TXD e-RISC CPU Core 80Byte SRAM 64KByte Flash ROM User I/O x 8Timer x 3 OSC. Control Logic System Interface DACO1 DACO2 PT1_[7:0] PT2_[7:0] DAC 1 User I/O x 8System Registers RS-232 Interface DAC 2 User Registers Time-Base Watch-Dog ISP/ISD Pin Description Signal I/O Description RESET# IN External Hardware Reset, active low. This pin is used to reset the system. BREAK# IN User Program Break, active low. This signal is used to break the user’s program from the ISD mode. MONITOR# IN Monitor Program Select, active low. This signal is used to select the system boot from monitor program(ROM) or user program(Flash). This signal has to pull low when user wants to download the data from PC or enter the ISP/ISD mode. PT1_[7:0] I/O 8-bit I/O of Port 1. These signals are used as general-purpose I/O port. PT1_[7:0] provide 8mA driving current. PT2_[7:0] I/O 8-bit I/O of Port 2. These signals are used as general-purpose I/O port. PT2_[7:2] provide 4mA driving current. PT2_[1:0] provide 16mA driving current. DACO1 DACO2 OUT DAC1/2 Current Output. In the DAC mode, this pin is the current output of DAC1 and DAC2. In the PWM mode, this pin is the output of PWM. RXD IN Receive Data. This is the received data input of UART. Normally it’s connected to the RS232’s TX of PC. TXD OUT Transmit Data. This signal is the transmitted data output of UART. Normally it’s connected to the RS232’s RX of PC. XCLKI IN Oscillator Input. This is the input signal of internal oscillator. XCLKQ OUT Oscillator Output. This is the output signal of internal oscillator. A[11:0] OUT Address Bus. These pins are used for external system ROM address. Normally, users will not use these pins. 8-Bit e-MCU Core

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 D[7:0] IN Data Bus. These pins are used for external system ROM data. Normally, users will not use these pins. ROM_CE# OUT ROM Chip Enable. These pins are used for external system ROM chip enable. Normally, users will not use these pins. ROM_OE# OUT ROM Output Enable. These pins are used for external system ROM output enable. Normally, users will not use these pins. TEST_[2:0] IN Test Pins. These are for RAiO’s internal testing purpose used in testing IC and ROM status. Normally, users will not use these pins. VDD, AVDD PWR Power Supply Voltage and Analog Power Supply Voltage. GND, AGND PWR Ground and Analog Ground. Development The RA8906 support the ISP(In-System Programming) and ISD(In-System Debugging) functions for customer to develop their system. Users can dow nload their programs as well as data from a PC host to the embedded Flash ROM of RA8906. -ISP/ISD Mode is entered when the MONITOR# pin having been pulled down to ground voltage level. The on- chip Monitor program together with RAiO’s ICE(RI CE) Utility Program running on a PC will be executed to support ICE debugging and ISP download of user programs from the PC Host. RA iO I CE ISP Devel opment Speech Toy Develop Program from ISP M ode (Custom ers) -User Mode is entered when the MONITOR# pin has been pulled up to logic high voltage level. User application programs can be executed only in this mode. The end-us er can download the application program or data from the customer’s website through the PC interface. Bec ause the program/data was st ored in the flash so the application device of customer(such as speech toy) will operate independent that after disconnect with the PC. www. toys.com Speech Toy Down load from Internet (E nd-U sers) In tern et Speech Toy A Portable Speech Toy

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 RICE-2000 (RICE for short) is a full-completed environm ent developed by RAiO especially for RA89XX series. The major reason for developing RICE is give fully convenience to program designers who are using RA89XX IC, and let them enjoy consistent and friendly design env ironment at planning, desi gning and debugging. In RICE environment, it saves a great deal of developing time by not only providing Editor for users to do direct coding, but also providing many Hot-Key functions for users to do direct compiling, linking, and downloading. Since RA89XX series carry e-MCU micro-processor and a fram ework of ISP(In-System-Programming), ISD(In-System Debugging), then this simple and reliable environment of RICE can let program designers to proceed design and debug in Real Chip. Moreover, the mass-production ICs is ready for clients to do planning and designing directly without diverse traits happened between developing time and mass production period. In the meanwhile, in order to support integrated speech interface, RICE pr ovides a solution of 32K-bps ADPCM for programmers to easily combine programs and speech files. If you want to have more information and program design skills of RA8906, please refer to the user manual of RICE-2000. Application The following block diagram is the basic application circui t of RA8906. We also give three examples on the user manual of RICE-2000 to let users have more underst anding of RA8906 and the devel op environment of RICE- 2000, and then start to proceed program designing and pr oduct developing. The examples have one simple I/O control and two speech samples. Please refer to the user manual of RICE-2000 if you needed. RA8906 RESET# XCLKI XCLKQ B u tto n /K ey M atrix PT1_[ 7: 0] DACO1 PT2_[ 7: 0] Di s p l a y / LED VCC SPK. TXD RXD To PC RS232

Version 2.1 8-Bit Micro-Controller RAiO TECHNOLOGY INC. www.raio.com.tw RA8906 VR 10K VCC 10K 10K 10K 10K 330 330 330 330 VCC VCC 20pF 4MHz 20pF + 1uF 1N4148 104 10uF 330 1N4148 1N4148 330

9 Pi n

R/W#5 EN6 DB07 DB18 DB29 DB310 DB411 DB512 DB613 DB714 LCM- SSC4A20 VDD1 P1_0 3P1_1 5P1_2 7P1_3 9P1_4 11P1_5 13P1_6 15P1_7 17 P2_2 19P2_3 21P2_4 23P2_5 25P2_6 27P2_7 29 GND31 AGND 37 DACO2 34 AVDD 35 DACO1 36 GND32 P2_1 40 P2_0 42 VDD2 GND38 XCLKQ48 XCLKI49 VDD44 RXD53 TXD55 MONITOR#59 RESET#61 GND46 VDD51 GND62 GND63 AGND 33 BREAK#57 RA8906 330 1N4148 1N4148 20pF 330 104 680 104 8050 + 1uF 10uF 1N4148 4MHz 8 ohm 680 104 8050 8 ohm

9 Pin

M VCC 5V + 100uF Option Item : Motor LED Key 1N4001 VCC 5V VDD1 P1_0 3P1_1 5P1_2 7P1_3 9P1_4 11P1_5 13P1_6 15P1_7 17 P2_2 19P2_3 21P2_4 23P2_5 25P2_6 27P2_7 29 GND31 AGND 37 DACO2 34 AVDD 35 DACO1 36 GND32 P2_1 40 P2_0 42 VDD2 GND38 XCLKQ48 XCLKI49 VDD44 RXD53 TXD55 MONITOR#59 RESET#61 GND46 VDD51 GND62 GND63 AGND 33 BREAK#57 RA8906 Example 1: Speech Toy Example 2: English e-Book