Table 1. EBI Bus Control Signals

Similar documents
Using the HT1628 for Washing Machine Panel Display

HT8 MCU Integrated LCD Application Example (2) C Type Bias

Logic Devices for Interfacing, The 8085 MPU Lecture 4

SMPTE-259M/DVB-ASI Scrambler/Controller

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

Macronix OctaFlash Serial NOR Flash White Paper

Comparing JTAG, SPI, and I2C

Configuring and using the DCU2 on the MPC5606S MCU

BYTE-WIDE SmartVoltage FlashFile MEMORY FAMILY 4, 8, AND 16 MBIT

Technical Note PowerPC Embedded Processors Video Security with PowerPC

5 VOLT FlashFile MEMORY

DLP Pico Chipset Interface Manual

AT03716: Implementation of SAM L Configurable Custom Logic (CCL) Peripheral. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

LY62L K X 16 BIT LOW POWER CMOS SRAM

Enable input provides synchronized operation with other components

3 VOLT FlashFile MEMORY

SOC Single Channel H264 + Audio Encoder module

AN Cascading NXP LCD segment drivers. Document information. Keywords

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

M89 FAMILY In-System Programmable (ISP) Multiple-Memory and Logic FLASH+PSD Systems for MCUs

MT8806 ISO-CMOS 8x4AnalogSwitchArray

Design and Implementation of an AHB VGA Peripheral

STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

SignalTap Plus System Analyzer

MT x 12 Analog Switch Array

MC54/74F568 MC54/74F569 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS) 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS)

Chapter 7 Memory and Programmable Logic

NS8050U MICROWIRE PLUSTM Interface

Point System (for instructor and TA use only)

LH28F320S3TD-L M-bit (2 MB x 8/1 MB x 16 x 2-Bank) Smart 3 Dual Work Flash Memory DESCRIPTION FEATURES LH28F320S3TD-L10

Configuring the Élan SC300 Device s Internal CGA Controller for a Specific LCD Panel

FM25F01 1M-BIT SERIAL FLASH MEMORY

ST10F273M Errata sheet

LH28F160SGED-L M-bit (512 kb x 16 x 2-Bank) SmartVoltage Dual Work Flash Memory DESCRIPTION FEATURES LH28F160SGED-L10

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

Is Now Part of To learn more about ON Semiconductor, please visit our website at

82C55A CHMOS PROGRAMMABLE PERIPHERAL INTERFACE

OBSOLETE. CMOS 80 MHz Monolithic (18) Color Palette RAM-DACs ADV478/ADV471

Chapter 2. Digital Circuits

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

SignalTap Analysis in the Quartus II Software Version 2.0

Comparing Low Density SPI EEPROM with Macronix Serial NOR Flash

Multi-Media Card (MMC) DLL Tuning

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

STi5105 High-performance advanced SD decoder for set-top box Features

Mask Set Errata for Mask 1M07J

Clock Networks in the ArcticLink Solution Platform

LH28F800SG-L/SGH-L (FOR TSOP, CSP)

HCS08 SG Family Background Debug Mode Entry

Unit 3: Parallel I/O and Handshaking for LCD Control

Lecture 2: Digi Logic & Bus

SHA-256 Module Specification

Integrated Circuit for Musical Instrument Tuners

WINTER 15 EXAMINATION Model Answer

STEVAL-IFN003V1. PMSM FOC motor driver based on the L6230 and STM32F103. Features. Description

FPGA Design. Part I - Hardware Components. Thomas Lenzi

PEEL 18CV8-5/-7/-10/-15/-25 CMOS Programmable Electrically Erasable Logic Device

Interfacing the TLC5510 Analog-to-Digital Converter to the

Table 1. Summary of MCF5223x Errata

LH28F160S3-L/S3H-L. 16 M-bit (2 MB x 8/1 MB x 16) Smart 3 Flash Memories (Fast Programming) DESCRIPTION FEATURES LH28F160S3-L/S3H-L

Integration Note. Any feature not specifically noted as supported should be assumed to be unsupported.

L9822E OCTAL SERIAL SOLENOID DRIVER

VT5365. Single-chip optical mouse sensor for wireless applications. Features. Applications. Technical specifications. Description.

Side Street. Traffic Sensor. Main Street. Walk Button. Traffic Lights

A/D and D/A convertor 0(4) 24 ma DC, 16 bits

TIL311 HEXADECIMAL DISPLAY WITH LOGIC

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

StickIt! VGA Manual. How to install and use your new StickIt! VGA module

description SCAS668A NOVEMBER 2001 REVISED MARCH 2003 Copyright 2003, Texas Instruments Incorporated

DUOLABS Spa. Conditional Access Module Hardware Brief. CA Module User Guide V0.2

HT9B92 RAM Mapping 36 4 LCD Driver

IMS B007 A transputer based graphics board

LAX_x Logic Analyzer

Industrial Diode Laser (IDL) System IDL Series

Agilent I 2 C Debugging

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

Using the Synchronized Pulse-Width Modulation etpu Function by:

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

SN74V263, SN74V273, SN74V283, SN74V , , , V CMOS FIRST-IN, FIRST-OUT MEMORIES

MSP430-HG2231 development board Users Manual

Engineering Bulletin. General Description. Provided Files. AN2297/D Rev. 0.1, 6/2002. Implementing an MGT5100 Ethernet Driver

Microcontrollers and Interfacing week 7 exercises

WORD-WIDE FlashFile MEMORY FAMILY 28F160S3, 28F320S3

Scan. This is a sample of the first 15 pages of the Scan chapter.

Memory Interfaces Data Capture Using Direct Clocking Technique Author: Maria George

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

FSM Cookbook. 1. Introduction. 2. What Functional Information Must be Modeled

Microincrements IP67-related solutions

PRODUCT SPECIFICATIONS. Integrated Circuits Group LH28F160BJHE-TTL90. Flash Memory 16M (1MB 16 / 2MB 8) (Model No.: LHF16J04)

ArcticLink III VX6 Solution Platform Data Sheet

APPLICABILITY TABLE. SW Versions. GE Family ( Embedded ) GE910-QUAD V xx5 GE910-GNSS

Contents Circuits... 1

Self Restoring Logic (SRL) Cell Targets Space Application Designs

Serial Peripheral Interface

Intel Ethernet SFP+ Optics

MT8812 ISO-CMOS. 8 x 12 Analog Switch Array. Features. Description. Applications

Generates a selectable interrupt pulse at the entry and exit of the horizontal and vertical blanking intervals

GM68020H. DisplayPort receiver. Features. Applications

Application Note. Traffic Signal Controller AN-CM-231

STEVAL-IKR001V7D. Sub Ghz transceiver daughterboard with power amplifier based on the SPIRIT1. Features. Description

Transcription:

HT32 Series EBI /N: AN0470E Overview The parallel bus interface used for the HT32 microcontroller family, named EBI or the External Bus Interface, allows access to external asynchronous parallel bus devices such as SRAM, Flash Memory, LC modules, etc. It can send these external signals to the internal address bus in the Cortex -M core using corresponding memory mapping. The HT32 Series EBI supports both data and address line multiplexing, thus effectively reducing the pin count required for external device connection. The bus read/write timing can be adjusted according to the external device timing requirements. Bus Control Signal The following table shows all the control signals, address and data line signals of the HT32 series external bus interface. It should be noted that some signals are only supported in the larger package types. For the smaller package types it may only support a reduced number of signals. Signal Input/output escription A[xx:0] Output Address bus A[xx:0] Input/output Address/data bus Output Chip select Output Output enable Output Write enable ALE Output Address latch enable BL[1:0] Output Bit group channel ARY Input Asynchronous ready Table 1. EBI Bus Control Signals Note that the BL[1:0] bit field is only used for some 16-bit data width SRAMs and the ARY bit is only applied for some NOR Flash memory types. EBI Operating Mode The EBI supports both multiplexed and non-multiplexed addressing modes. The nonmultiplexed address mode has a higher and faster work efficiency but also requires larger pin counts. The multiplexed addressing mode is slower and requires an additional address latch but has lower pin counts. AN0470E 1 / 10 November 14, 2017

Non-multiplexed Mode 8A8: This mode supports 8-bit address and 8-bit data. The signal high byte in the EBI_A signal line is address while the lower byte is data. 16: In the non-multiplexed mode, the 16-bit signal in the EBI_A signal line is data. The address is contained in the EBI_A signal line. Multiplexed Mode 8A24ALE: This mode allows a 24-bit address and 8-bits of data to be multiplexed in the EBI_ signal line to reduce pin count. These signals will be encoded by the EBI_ALE signal. The higher byte in the EBI_A signal line is bits EBI_A[15:8] and is the 8-bit address which has an order from the highest bit to the lowest. The lower byte in the EBI_A signal line, bits EBI_A[7:0] contain the middle 8-bit address and the 8-bit data. 16A16ALE: This mode supports the 16-bit address and 16-bits of data. It also requires an external latch and an additional signal EBI_ALE. The 16-bit address and 16-bit data are multiplexed on the EBI_A pin. Timing Configuration The EBI contains several timing setting parameters for use with different accessing protocols. RSETUP: Setup the number of cycles for the address setting before the bit is asserted. RSTRB: Setup the number of cycles that the bit is held active for. RHOL: Setup the number of cycles that the is held active for after the bit is de-asserted. SETUP: Setup the number of cycles for the address setting before the bit is asserted. STRB: Setup the number of cycles that the bit is held active for. HOL: Setup the number of cycles that the is held active for after the bit is de-asserted. RSETUP RSTRB RHOL EBI_ EBI_ Figure 1. EBI Non-multiplexed Read Timing AN0470E 2 / 10 November 14, 2017

SETUP STRB HOL EBI_ EBI_ Figure 2. EBI Non-multiplexed Write Timing Bits ARSETUP and ARHOL are used to control the external address latch timing in the multiplexed mode. Refer to the reference manual for more detailed information on the timing configuration. ARSETUP: Setup the number of cycles that the address is driven onto the A bus before the ALE bit is asserted. ARHOL: Setup the number of cycles the address is held on the A bus after the ALE bit is asserted. ARSETUP RSETUP RSTRB RHOL EBI_ALE EBI_ EBI_ Figure 3. EBI Multiplexed Read Timing ARSETUP ARHOL SETUP STRB HOL EBI_ALE EBI_ EBI_ Figure 4. EBI Multiplexed Write Timing Other Features Full page read operation Write buffer AHB processing width switch Read/write period extension Polarity configuration AN0470E 3 / 10 November 14, 2017

Asynchronous NOR Flash Interface EBI Configuration The EBI provides the following functions to control NOR Flash memory: Select Bank for NOR Flash memory mapping Select EBI mode: 8A8, 16A16ALE, 8A24ALE, 16 Enable or disable asynchronous ready or asynchronous ready overflow Configure control signal polarity Setup timing parameters Setup full page read function Asynchronous NOR Flash memory contains different AC specifications; therefore the timing parameter values for specific memory should be determined first. This document takes the MX29GL256F Memory as a reference. The read/write access timing parameters of the MX29GL256F Memory are listed in the Table 2. Symbol escription Value Unit Tcs Chip enable setting time 0 ns Twp # pulse width 35 ns Twph # pulse width high level time 30 ns Twc Write period time 100 ns Taa Toe Valid data output after address # valid data output after is de-asserted 100 ns 25 ns Trc Read period time 100 ns Table 2. MX29GL256F NOR Flash Memory Timing According to the memory timing listed in the Table 2, the EBI initialisation can be implemented by the following procedures. Here EBI Bank 0 in the 16 mode under a CPU operating frequency of 72MHz is taken as an example: AN0470E 4 / 10 November 14, 2017

Hardware Connection The following figures show the typical connections between the MX29GL256F NOR Flash Memory and four EBI modes. The unused EBI pins can be used as general I/O pins. 8A8 A[8] A[15:9] A[7:0] A[24:8] NOR [15] A[6:0] [7:0] A[23:7] BYTE# ARY Vss # # CE# RY/BY# Figure 5. Connection between NOR Flash and EBI in the 8A8 Mode 16 NOR [15:0] Vcc BYTE# A[23:0] ARY A[23:0] # # CE# RY/BY# Figure 6. Connection between NOR Flash and EBI in the 16 Mode 16A16ALE NOR A[23:16] A[23:16] Vcc A[15:0] ALE ARY BYTE# [15:0] # # CE# RY/BY# Figure 7. Connection between NOR Flash and EBI in the 16A16ALE Mode AN0470E 5 / 10 November 14, 2017

8A24ALE A[7:0] ALE A[15:9]/A[8] NOR A[14:7] [7:0] A[6:0]/[15] A[22:16]/A[15] Vss BYTE# A[24] A[23] CE Figure 8. Connection between NOR Flash and EBI in the 8A24ALEMode Asynchronous 16-bit SRAM Interface EBI Configuration The EBI provides the following functions to control SRAM: Select Bank for SRAM memory mapping Select EBI mode: 8A8, 16A16ALE, 8A24ALE, 16 Enable or disable bit group channel function Configure control signal polarity Setup timing parameters Asynchronous SRAM memory contains different AC specifications; therefore the timing parameter values for specific memory should be determined first. This document takes the IS61WV102416BLL Memory as a reference. The read/write access timing parameters of the IS61WV102416BLL Memory are listed in the Table 3. Symbol escription Value Unit Tsce Taw CE to write complete time Address setup and write complete time 8 ns 8 ns Tpwe pulse width 8 ns Twc Write period time 10 ns Taa Address accessing time 10 ns Tdoe accessing time 6.5 ns Trc Read period time 10 ns Table 3. IS61WV102416BLL SRAM Memory Timing AN0470E 6 / 10 November 14, 2017

According to the memory timing listed in the Table 3, the EBI initialisation can be implemented by the following procedures. Here EBI Bank 2 in the 16 mode under a CPU operating frequency of 72MHz is taken as an example: Considering the drive capability of the HT32 Series I/O, it may be necessary to increase some of the EBI timing parameters appropriately when the CPU is operating at 72 MHz. Hardware connection The following figures show the typical connections between the IS61WV102416BLL SRAM Memory and four EBI modes. The unused EBI pins can be used as general I/O pins. 8A8 A[15:8] A[7:0] SRAM A[7:0] [7:0] A[19:8] A[19:8] BL[1] BL[0] UB LB CE Figure 9. Connection between SRAM and EBI in the 8A8 Mode 16 A[19:0] BL[1] BL[0] SRAM [15:0] A[19:0] UB LB CE Figure 10. Connection between SRAM and EBI in the 16 Mode AN0470E 7 / 10 November 14, 2017

16A16ALE A[19:16] SRAM A[19:16] A[15:0] ALE BL[1] BL[0] [15:0] UB LB CE Figure 11. Connection between SRAM and EBI in the 16A16AL Mode SRAM A[15:8] 8A24ALE A[7:0] ALE A[15:8] [7:0] A[7:0] A[19:16] BL[1] UB BL[0] LB CE Figure 12. Connection between SRAM and EBI in the 8A24ALE Mode AN0470E 8 / 10 November 14, 2017

Intel 8080-like LC Module Interface EBI Configuration This is similar to the above description for an asynchronous NOR Flash or SRAM memory, but the EBI contains different accessing protocols. The related user LC protocol type must first be well-defined when operating with LC modules. The protocol type is determined by different control signals and the LC specific actions required for read/write processing. Hardware Connection The following figures show the typical connections between an Intel 8080 LC and four EBI modes. The unused EBI pins can be used as general I/O pins. 16 16A16ALE A[0] LC [15:0] WR R RS Figure 13. Connection between LC 8080-like Interface and EBI in the 16/16A16ALE Mode 8A8 8A24ALE A[7:0] A[0] LC [7:0] WR R RS Figure14. Connection between LC 8080-like Interface and EBI in the 8A8/8A24ALE Mode Revision and Modification Information ate Author Issue 2017.10.31 吳旭宏 Initial version AN0470E 9 / 10 November 14, 2017

isclaimer All information, trademarks, logos, graphics, videos, audio clips, links and other items appearing on this website ('Information') are for reference only and is subject to change at any time without prior notice and at the discretion of Holtek Semiconductor Inc. (hereinafter 'Holtek', 'the company', 'us', 'we' or 'our'). Whilst Holtek endeavors to ensure the accuracy of the Information on this website, no express or implied warranty is given by Holtek to the accuracy of the Information. Holtek shall bear no responsibility for any incorrectness or leakage. Holtek shall not be liable for any damages (including but not limited to computer virus, system problems or data loss) whatsoever arising in using or in connection with the use of this website by any party. There may be links in this area, which allow you to visit the websites of other companies. These websites are not controlled by Holtek. Holtek will bear no responsibility and no guarantee to whatsoever Information displayed at such sites. Hyperlinks to other websites are at your own risk. Limitation of Liability In any case, the Company has no need to take responsibility for any loss or damage caused when anyone visits the website directly or indirectly and uses the contents, information or service on the website. Governing Law This disclaimer is subjected to the laws of the Republic of China and under the jurisdiction of the Court of the Republic of China. Update of isclaimer Holtek reserves the right to update the isclaimer at any time with or without prior notice, all changes are effective immediately upon posting to the website. AN0470E 10 / 10 November 14, 2017