NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
ML696201/69Q6203 ARM946E-S ARM9456E-S OSC11M0 OSC32K0 OSC11M1B OSC32K1B 64-MB - Datasheet Archive
Design Tips Introduction Starting any design based on a microcontroller can be a daunting task. As microcontrollers get more
ML696201/69Q6203 ML696201/69Q6203 Series Design Tips Introduction Starting any design based on a microcontroller can be a daunting task. As microcontrollers get more complex and pin counts escalate, it is even more difficult and yet more important to get the application schematic right the first time. The OKI ARM946E-S ARM946E-S based microcontroller is a fairly complex system, and care must be taken when creating the schematics. This document describes some of the pitfalls and pointers to help assist engineers to successfully design with the ML696201/69Q6203 ML696201/69Q6203 Series and to achieve a working prototype and final product. It is assumed the reader is familiar with the ARM microcontroller and Oki's ML696201/69Q6203 ML696201/69Q6203 Series. · For detailed information about the ML696201/69Q6203 ML696201/69Q6203 Series, refer to the Data Sheet and User's Manual which are available on the Oki web site at: http://www.okisemi.com/us · For detailed information about the ARM microcontroller architecture and functions, refer to ARM9456E-S ARM9456E-S Technical Reference Manual (TRM) which is available on the ARM web site at: http://www.arm.com Contents of This Application Note The following design questions are answered in the application note: What to do with Unused Crystal Pins? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 How Much Memory Can be Attached? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 How to Detect the USB Cable Insertion or Removal? . . . . . . . . . . . . . . . . . . . 3 What Resistor Values are Required for the USB Block? . . . . . . . . . . . . . . . . . 3 What are the GPIO States After Reset? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 What Size Pull-up Resistor is Required for the I2C Interface? . . . . . . . . . . . . 3 How is the Battery Backup Mode Used? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 What Pins are Sampled at Reset and How do They Affect Operation? . . . . . 4 Getting More Details on Setting Up the Protection Unit and Cache . . . . . . . . 4 What kind of NAND flash devices can I use with the 6200 Series? . . . . . . . . . 5 Some Other Design Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Description of Oki's ML696201/69Q6203 ML696201/69Q6203 Series ARM Microcontroller . . . . . . 6 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 February 2006 Rev 1.0 Application Note Design Tips What to do with Unused Crystal Pins? The ML696201/69Q6203 ML696201/69Q6203 Series has three crystal inputs - 11.2896 MHz for the I2S clock, 32.768 kHz for the RTC, and 48 MHz for generation of the main clock (FCLK, HCLK, PCLK) and USB clock. These clocks are not always used, in particular the Audio and RTC clock. When the I2S and/ or the RTC are not required for the application, then the pin OSC11M0 OSC11M0 and pin OSC32K0 OSC32K0 can be tied to ground. The OSC11M1B OSC11M1B pin and OSC32K1B OSC32K1B pin should be left floating. How Much Memory Can be Attached? The maximum addressable external SRAM space for the ML696201/69Q6203 ML696201/69Q6203 Series is 16 MBytes; this is the same for external Flash. The memory data bus width must be 16 bits. The chip also has four banks of External I/O space. The maximum addressable space for each chip select is also 16 MBytes. The maximum SDRAM size supported by the ML696201/69Q6203 ML696201/69Q6203 Series is 128 Mbytes. The internal SDRAM controller only supports 16-bit wide devices. Figure 1. 2 · Oki Semiconductor 64-MB 64-MB SDRAM Connection to ML696201/69Q6203 ML696201/69Q6203 Series February 2006 Rev 1.0 How to Detect the USB Cable Insertion or Removal? The ML696201/69Q6203 ML696201/69Q6203 Series supports a USB HS port with integrated PHY. To support hot swap and the 5V level on the USB bus the chip has a special GPIO pin. This is a 5V tolerant pin, GPIOE[15]. This pin also has interrupt generation capability. Thus, in an application using USB, when the USB cable is plugged in, the VBUS is detected by the ML696201/69Q6203 ML696201/69Q6203 Series device and an interrupt is generated after which appropriate action is taken. Figure 2. USB Connection to ML696201/69Q6203 ML696201/69Q6203 Series What Resistor Values are Required for the USB Block? The USB block requires a pull up resistor to correctly setup a reference current for the USB transceiver (PHY). The value of this resistor should be 12.4k Ohms. On the schematics for the ML69Q6203 ML69Q6203 CPU Board there are 100k Ohm pull-down resistors. These resistors are used to prevent leakage current on D+/D-. However, since the USB block has this functionality built in, these resistors are not really necessary. What are the GPIO States After Reset? After power on reset the GPIO's are configured as inputs. It is best to tie the unused signals High or Low to individual 10 kOhm resistors. What Size Pull-up Resistor is Required for the I2C Interface? When the I2C interface is used for communication, pull-up resistors of 2k Ohms to 10k Ohms should be attached to the SDA and SCK pins respectively. How is the Battery Backup Mode Used? The ML696201/69Q6203 ML696201/69Q6203 Series provides many power saving modes. These include HALT and STOP modes as well as clock gating and clock shutdown capability for the different peripherals. Another power saving feature is Battery Backup mode. In this mode, the complete CPU and peripheral power can be shut down. The correct power down sequence must be followed as February 2006 Rev 1.0 Oki Semiconductor · 3 Design Tips outlined in the User Manual, Chapter 7. In this mode the RTC is still running and the registers associated with the RTC are kept valid, this is achieved using a special power supply for BackUp mode - VDDRTC. Once the system comes out of this mode - when external power is applied to the MCU - the system can recover and show the current date a time. This is useful for applications that are required to keep track of date and time but are frequently shutdown in the low power state to conserve battery life. What Pins are Sampled at Reset and How do They Affect Operation? On the ML696201/69Q6203 ML696201/69Q6203 Series some pin states are sampled at power-on-reset (nPOR) to determine the functionality of the part. These pins are: BOOT[1:0], EXTBUS and IDEMODE. · BOOT[1:0] Controls boot devices (USB Bootloader, external or internal flash boot etc.). · EXTBUS Switches between external bus pin and GPIO operation. · IDEMODE Switches between IDE and NAND Flash pin The following pins must remain in the pre nPOR state after reset, and they cannot be switched while the microcontroller is operating. · BOOT[1:0] Boot device 00 01 10 11 MCP FLASH External FLASH USB Bootloader (AHBROM) USB Bootloader (AHBROM) · EXTBUS GPIO/external bus 0 GPIO 1 External bus · IDEMODE NAND Flash/IDE controller 0 NAND Flash 1 IDE controller Getting More Details on Setting Up the Protection Unit and Cache The ARM9456E-S ARM9456E-S Technical Reference Manual (TRM) explains in detail the Cache and Protection Unit setup as well as the Write Buffer configuration. The TRM is available on the ARM web site (www.arm.com). Search for ARMDDI0201B ARMDDI0201B. Also the sample code "init.s" file has a Cache setup that is explained in the Oki ML69Q6203CPUBoard_Hardware_Manual (FEBL69Q6203-0x). The sample code and document are on the CD that accompanies their CPU Board kit. 4 · Oki Semiconductor February 2006 Rev 1.0 What kind of NAND flash devices can I use with the 6200 Series? The 6200 series supports small (512 KBytes) and large (2048 KBytes) Block type NAND devices. It has a built-in error correction block that supports SLC (single-level-cell) devices only (the ECC block will not support MLC NAND). Multiple SLC NAND Flash's can be attached to the ML696201/ ML696201/ 69Q6203 69Q6203 Series. Each NAND will require 1 GPIO for Chip Enable (nCE). The device has been tested with NAND devices from Micron, Samsung and ST. Figure 3. Typical NAND Flash Connections to ML696201/69Q6203 ML696201/69Q6203 Series Some Other Design Tips The Oki Application team can provide numerous sample codes to save time and assist engineers designing with the ML696201/69Q6203 ML696201/69Q6203 Series: · USB Mass storage class driver and NAND flash drivers are available on request. · The ORCAD schematic symbol for the ML69Q6203 ML69Q6203 is also available. It can be easily modified for a ML696201 ML696201 based design. Here are some other design tips: · The XSYSCLK pin operates at the same frequency as HCLK. The maximum speed is 60MHz. This can be used to clock external components such as PLD or FPGA's. · · · · February 2006 Rev 1.0 The SSIO port can be used with a GPIO to operate as a SPI type interface. The SIO port can be adapted to access asynchronous T0 Smartcard devices. IBIS models area available on request. ADC operation requires a buffer and VIN max is VDDIO+0.3V Oki Semiconductor · 5 Design Tips Description of Oki's ML696201/69Q6203 ML696201/69Q6203 Series ARM Microcontroller The ML696201/69Q6203 ML696201/69Q6203 Series of microcontrollers is the latest in Oki Semiconductor's growing lineup of ARM products. As shown in Figure 4 these devices contain a 120 MHz ARM946E-S ARM946E-S core with USB High Speed (480 Mbps) with PHY and ATA/IDE controller interfaces. This family supports Smart Media and NAND Flash devices. In addition, they also contain 128 KBytes of 32-bit wide, zero wait state SRAM, 512 KBytes of Flash (ML69Q6203 ML69Q6203 only), multiple serial channels (UART, 2 x SSIO, I2C and I2S) as well as multiple timers, A/D converters, RTC, PWM, WDT, and a flexible external memory controller. The ML696201/69Q6203 ML696201/69Q6203 Series is available in a 272-pin LFBGA package (0.65mm) and is also available lead free. The integration of the ARM core (capable of executing either the 32-bit ARM or the 16-bit ARM THUMB instructions) with a robust peripheral set and low-power consumption on the ML696201/ ML696201/ 69Q6203 69Q6203 Series makes them the ideal parts for many DSP, USB, and mass storage type applications. Figure 4. 6 · Oki Semiconductor ML696201/69Q6203 ML696201/69Q6203 Series Block Diagram February 2006 Rev 1.0 Revision History Revision Date 1.0 02/24/2006 February 2006 Rev 1.0 Changes Since Last Revision This is the initial Oki/US release of this document. Oki Semiconductor · 7 Design Tips Notice The information contained herein can change without notice owing to product and/ or technical improvements. Please make sure before using the product that the information you are referring to is up-to-date. The outline of action and examples of application circuits described herein have been chosen as an explanation of the standard action and performance of the product. When you actually plan to use the product, please ensure that the outside conditions are reflected in the actual circuit and assembly designs. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters outside the specified maximum ratings or operation outside the specified operating range. Neither indemnity against nor license of a third party's industrial and intellectual property right,etc.is granted by us in connection with the use of product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party's right which may result from the use thereof. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges, including but not limited to operating voltage, power dissipation, and operating temperature. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not, unless specifically authorized by Oki, authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. Such applications include, but are not limited to: traffic control, automotive, safety, aerospace, nuclear power control, and medical, including life support and maintenance. Certain parts in this document may need governmental approval before they can be exported to certain countries. The purchaser assumes the responsibility of determining the legality of export of these parts and will take appropriate and necessary steps, at their own expense, for export to another country. Oki Semiconductor reserves the right to make changes in specifications at anytime and without notice. This information furnished by Oki Semiconductor in this publication is believed to be accurate and reliable. However, no responsibility is assumed by Oki Semiconductor for its use; nor for any infringements of patents or other rights of third parties resulting from its use. No license is granted under any patents or patent rights of Oki. Trademarks: Advantage and µPlat are trademarks of Oki Semiconductor. ARM, ARM7TDMI, and the ARM Powered Logo are registered trademarks, and AMBA, ARM7, and Multi-ICE are trademarks of Advanced RISC Machines, Ltd. Copyright 2005 and 2006 Oki Semiconductor Regional Sales Offices Semiconductor Products Northwest Area 785 N. Mary Avenue Sunnyvale, CA 94085 Tel: 408/720-1900 Fax: 408/720-8965 Northeast Area Shattuck Office Center 138 River Road Andover, MA 01810 Tel: 978/688-8687 Fax: 978/688-8896 North Central Area 1450 East American Lane, Suite 1400 Schaumburg, IL 60143 Tel: 847/330-4494 847/330-4498 Fax: 847/330-4491 Southwest and South Central Area One Carlsbad Research Center 2382 Faraday Ave., Suite 250-30 Carlsbad, CA 92008 Tel: 760/431-0902 Southeast Area 4800 Whitesburg Drive # 30 PMB 263 Huntsville, AL 35802 Tel: 256/520-8035 Fax: 408/737-6417 Oki Web Site: http://www.okisemi.com/us February 2006, Rev 1.0 Corporate Headquarters 785 N. Mary Avenue Sunnyvale, CA 94085-2909 Tel: 408/720-1900 Fax: 408/720-1918