Fujitsu Microelectronics Europe Application Note MCU-AN-300067-E-V11 FR FAMILY 32-BIT MICROCONTROLLER MB91460 CLOCK MONITOR APPLICATION NOTE



Similar documents
Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 CLOCK SUPERVISOR APPLICATION NOTE

USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc.

Fujitsu Semiconductor Europe CI E-V10 32-BIT MICROCONTROLLER STARTERKIT SK-FM3-100PMC FUNCTIONAL LIMITATION CUSTOMER INFORMATION

FR FAMILY MB91460 SPI - DAISY CHAIN COMMUNICATION 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

The following document contains information on Cypress products.

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

ENTERPRISE EDITION INSTALLER END USER LICENCE AGREEMENT THIS AGREEMENT CONSISTS OF THREE PARTS:

General Terms and Conditions for Online Sales of TomTom Inc ( TomTom )

1. GRANT OF LICENSE. Acunetix Ltd. grants you the following rights provided that you comply with all terms and conditions of this EULA:

TERMS AND CONDITIONS 1 CONTRACT INFORMATION

CITRIX SYSTEMS, INC. SOFTWARE LICENSE AGREEMENT

MDM Zinc 3.0 End User License Agreement (EULA)

24.2L M.A.N. V12 Engine Module

1. GRANT OF LICENSE. Formdocs LLC grants you the following rights provided that you comply with all terms and conditions of this EULA:


Flexible Active Shutter Control Interface using the MC1323x

Bachmann PrintBoy SDK HTML Edition API Reference for CodeWarrior C/C++ Developers version 7.0

The following document contains information on Cypress products.

AN1991. Audio decibel level detector with meter driver

AN LPC1700 RTC hardware auto calibration. Document information. RTC, Hardware Auto Calibration, LPC1700, Graphic LCD

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

Select Internet. Standard Terms and Conditions relating to the supply of online backup services by Select Internet

Welcome to Maritime Information Systems Merchant Vessel Database (MVDB)

END USER LICENSE AGREEMENT FOR SLICKEDIT(R) CORE SOFTWARE IMPORTANT

END-USER LICENSE AGREEMENT FOR DIGIMETRICS AURORA SOFTWARE

TTL to RS232 Adapter User Guide

Software Real Time Clock Implementation on MC9S08LG32

EULA - Page 2 of 5 any service, account, computer systems or networks associated with the Internet-based services provided by ESI-TECNALIA.

LIMITED WARRANTY. (i) repair the defective portion of the BlackBerry Device without charge to YOU with new or reconditioned parts;

This AGREEMENT, dated, is entered into by and between:

P O W E R S U P P L Y M A N U A L

Exeba -ATS. User Guide. Escan Technologies Corporation

GENERAL TARIFF. 2) Internet Service is provided at C&W's discretion, depending on the availability of suitable facilities and equipment.

Warranty Terms. QLogic-provided cables, optics and other accessories are warranted for ninety (90) days from date of purchase.

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

SOFTWARE LICENSE AGREEMENT

In-Situ Inc. Warranty / Terms & Conditions / Software License. This warranty policy applies to items that shipped prior to January 1, 2012.

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

NOTICE SOFTWARE END USER LICENSE AGREEMENT

BROCADE COMMUNICATIONS SYSTEMS, INC. END USER SOFTWARE LICENSE AGREEMENT FOR BROCADE IP ANALYTICS PACK FOR VMWARE VREALIZE OPERATIONS

XANGATI END USER SOFTWARE LICENSE TERMS AND CONDITIONS

AN3265 Application note

Partners in Care Welch Allyn Connex Software Development Kit License Agreement

IRTC Compensation and 1 Hz Clock Generation

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

MOTOROLA MOBILITY INC. LIMITED GLOBAL WARRANTY MOTOROLA TABLET COMPUTER

Mayfair EULA for Journal Office

ECC Board of Trustees

1. INTERPRETATIONS AND DEFINITIONS Whenever used in this Agreement, the following terms shall have the meaning set out below:

BLACKBERRY AUTHORIZED ONLINE RETAILER BLACKBERRY HANDHELD REPAIR SERVICE TERMS AND CONDITIONS

Infineon Technologies North America Corp. Terms and Conditions of Sale

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

FRANZ SOFTWARE LICENSE AGREEMENT

AN2680 Application note

If you do not wish to agree to these terms, please click DO NOT ACCEPT and obtain a refund of the purchase price as follows:

TALECH SAAS SERVICES ORDER FORM. Fax:

REPAIR SERVICES AND PROCESSING FEES.

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

General Porting Considerations. Memory EEPROM XRAM

PL-1, Pocket Logger B

Temperature & Humidity SMS Alert Controller

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

PLEASE READ THIS AGREEMENT CAREFULLY. BY INSTALLING, DOWNLOADING OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT.

TOOLS for CC121 Installation Guide

Quick Installation Guide TK-209K TK-409K

QuickBack. User s Guide

AN3998 Application note

AD9125-EBZ Quick Start Guide

AN3252 Application note

CereVoice Cloud Text To Speech Web Service Terms and Conditions Of Usage Agreement

Terms and Conditions- OnAER Remote Monitoring Service

Triton Systems of Delaware, LLC. Warranty Statement

Tower Software License Agreement

INTEL SOFTWARE LICENSE AGREEMENT (OEM / IHV / ISV Distribution & Single User)

YAMAHA ASIO DirectKS Driver for Windows Owner's Manual

AN3332 Application note

Limited Warranty for PV Modules

Value Extended Warranty and Premium Extended Warranty. Terms and Conditions

ZIMPERIUM, INC. END USER LICENSE TERMS

AGS. Owner's Manual. Xantrex Automatic Generator Start Control System

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

Programming Audio Applications in the i.mx21 MC9328MX21

LS Retail Customer Agreement for Software Products in Microsoft Managed Service

The following document contains information on Cypress products.

End User License Agreement for the Intel(R) Software Development Products

PocketSuite Terms of Service. Last modified: November 2015

Triton Systems of Delaware, LLC Warranty Statement / Return Policy

TECHNICAL NOTE 7-1. ARCNET Cable Length vs. Number of Nodes for the HYC9088 in Coaxial Bus Topology By: Daniel Kilcourse May 1991.

How To Use Hp Bsm Integration For Bmbsm (Bms) On A Pc Or Macbook (Bmb) With A Microsoft Powerbook (Mmb) On An Ipa (Bsm) With An Ipam

POWER GEAR SLIDE OUT MANUAL

Limited Warranty Letter for BYD Photovoltaic Module

AVerMedia AVerKey imicro User s Manual

TRIAL AGREEMENT FOR QUALIANCE

ecopy Business Automation Services Software License Agreement

2 How to Set the Firewall when Using OptoLyzer Suite?

Old Company Name in Catalogs and Other Documents

ALPHA TEST LICENSE AGREEMENT

Transcription:

Fujitsu Microelectronics Europe Application Note MCU-AN-300067-E-V11 FR FAMILY 32-BIT MICROCONTROLLER MB91460 CLOCK MONITOR APPLICATION NOTE

Revision History Revision History Date Issue 2008-06-02 V1.0, First draft, HPi 2008-06-03 V1.1, Updated introduction and Key feature section, HPi This document contains 12 pages. MCU-AN-300067-E-V11-2 - Fujitsu Microelectronics Europe GmbH

Warranty and Disclaimer Warranty and Disclaimer To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts its warranties and its liability for all products delivered free of charge (eg. software include or header files, application examples, target boards, evaluation boards, engineering samples of IC s etc.), its performance and any consequential damages, on the use of the Product in accordance with (i) the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. In addition, to the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of the Product and any consequential damages in cases of unauthorised decompiling and/or reverse engineering and/or disassembling. Note, all these products are intended and must only be used in an evaluation laboratory environment. 1. Fujitsu Microelectronics Europe GmbH warrants that the Product will perform substantially in accordance with the accompanying written materials for a period of 90 days form the date of receipt by the customer. Concerning the hardware components of the Product, Fujitsu Microelectronics Europe GmbH warrants that the Product will be free from defects in material and workmanship under use and service as specified in the accompanying written materials for a duration of 1 year from the date of receipt by the customer. 2. Should a Product turn out to be defect, Fujitsu Microelectronics Europe GmbH s entire liability and the customer s exclusive remedy shall be, at Fujitsu Microelectronics Europe GmbH s sole discretion, either return of the purchase price and the license fee, or replacement of the Product or parts thereof, if the Product is returned to Fujitsu Microelectronics Europe GmbH in original packing and without further defects resulting from the customer s use or the transport. However, this warranty is excluded if the defect has resulted from an accident not attributable to Fujitsu Microelectronics Europe GmbH, or abuse or misapplication attributable to the customer or any other third party not relating to Fujitsu Microelectronics Europe GmbH. 3. To the maximum extent permitted by applicable law Fujitsu Microelectronics Europe GmbH disclaims all other warranties, whether expressed or implied, in particular, but not limited to, warranties of merchantability and fitness for a particular purpose for which the Product is not designated. 4. To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH s and its suppliers liability is restricted to intention and gross negligence. NO LIABILITY FOR CONSEQUENTIAL DAMAGES To the maximum extent permitted by applicable law, in no event shall Fujitsu Microelectronics Europe GmbH and its suppliers be liable for any damages whatsoever (including but without limitation, consequential and/or indirect damages for personal injury, assets of substantial value, loss of profits, interruption of business operation, loss of information, or any other monetary or pecuniary loss) arising from the use of the Product. Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect Fujitsu Microelectronics Europe GmbH - 3 - MCU-AN-300067-E-V11

Contents Contents REVISION HISTORY... 2 WARRANTY AND DISCLAIMER... 3 CONTENTS... 4 1 INTRODUCTION... 5 1.1 Key Features... 5 2 CLOCK MONITOR... 6 2.1 Block Diagrams... 6 2.2 Operation... 6 2.3 Registers... 7 2.3.1 Monitor Configuration Register (CMCFG)... 7 2.3.2 Clock Source Configuration Register (CSCFG)... 8 3 SOFTWARE EXAMPLE... 9 3.1 Basic Functionality of the Clock Monitor... 9 4 ADDITIONAL INFORMATION... 10 LIST OF FIGURES... 11 LIST OF TABLES... 12 MCU-AN-300067-E-V11-4 - Fujitsu Microelectronics Europe GmbH

Chapter 1 Introduction 1 Introduction The Clock Monitor is a module that outputs internal clock signals to a terminal to externally monitor them. The Clock Monitor provides a function to divide the frequency of a clock signal before it outputs to the terminal, thus allowing the clock signal to be used as an event at which external circuits act in synchronization with a MCU function. Not all devices are having this feature. Please refer datasheet of corresponding device to check availability of this function. 1.1 Key Features Divide an internal clock signal to output it to a terminal (MONCLK) Maximum frequency that can be monitored on a terminal (MONCLK) is 50MHz A dedicated MONCLK pin is available and no port function registers are required to set for enabling it. Division ratios: CLK/1, CLK/2, CLK/3,..., CLK/16 Programmable mark level (output L or H before enabling the clock output) Glitch free output enable Fujitsu Microelectronics Europe GmbH - 5 - MCU-AN-300067-E-V11

Chapter 2 Clock Monitor 2 Clock Monitor THE BASIC FUNCTIONALITY OF THE CLOCK MONITOR IS EXPLAINED 2.1 Block Diagrams Figure 2-1 shows the internal block diagram of a Clock Monitor. 2.2 Operation Figure 2-1: Clock Monitor Due to the glitch free switching mechanism it is necessary to follow these rules when switching the clock source (CMCFG3:0) or the pre-scalar ratio (CMPRE3:0): - The CMPRE3:0 registers can only be written if the CMSEL3:0 registers are currently 0x00. - The CMPRE3:0 registers can only be written if the CMSEL3:0 registers are written to 0x00 within the same write access. - Between 2 write accesses to CMPRE/CMCFG there must be at least 2 cycles of the divided monitor clock. - For changing the selector value, the MONCLK must be disabled. MCU-AN-300067-E-V11-6 - Fujitsu Microelectronics Europe GmbH

Chapter 2 Clock Monitor 2.3 Registers 2.3.1 Monitor Configuration Register (CMCFG) This register selects output settings of an internal clock signal Bit No. Name Explanation Value Operation 0000 Source clock (selected by CMSEL) divided by 1 (Initial) 0001 Source clock (selected by CMSEL) divided by 2 7,6,5,4 CMPRE3- Select an output CMPRE0 frequency prescaler 1110 Source clock (selected by CMSEL) divided by 15 1111 Source clock (selected by CMSEL) divided by 16 0000 MONCLK output disabled (high impedance) (Initial) 3,2,1,0 CMSEL3- CMSEL0 Select a clock source 0001 OSCMAIN 0010 OSCSUB 0011 CLKRC 0100 CLKSUBRC 0101 CLKMAIN 0110 CLKSUB 0111 CLKMOD 1000 Clock modulator observer output* 1001 PLL output after 1/g divider (Auto Gear) 1010 PLL output after 1/m divider 1011 CLKCAN 1100 CLKPLLFB 1101 CLKB 1110 CLKP 1111 CLKT *Silicon evaluation purposes only, not available for customer applications. Table 2-1: CMCFG Fujitsu Microelectronics Europe GmbH - 7 - MCU-AN-300067-E-V11

Chapter 2 Clock Monitor 2.3.2 Clock Source Configuration Register (CSCFG) Operation for Channel (2n+0) or Bit No. Name Explanation Value (2n+1) EDSU/MPU is (clock) disabled [Initial 0 7 EDSUEN EDSU/MPU Enable value] 1 EDSU/MPU is (clock) enabled 0 PLL is in the un-locked state 6 PLLLOCK PLL Lock 1 PLL is in the locked state 0 CLKRC is set to 100kHz [Initial value] 5 RCSEL CLKRC Selector 1 CLKRC is set to 2MHz MONCLK mark level is low [Initial Clock Monitor 0 4 MONCKI value] MONCLK inverter 1 MONCLK mark level is high LCD Controller is sourced by Sub Clock Source 0 Oscillator 3 CSC3 Selection for LCD LCD Controller is sourced by RC Controller 1 Oscillator (100kHz) Sub clock Calibration is sourced by Clock Source 0 Sub Oscillator 2 CSC2 Selection for Sub Sub clock Calibration is sourced by RC clock calibration 1 Oscillator(100kHz) Real Time Clock is sourced by Main 00 Oscillator Real Time Clock is sourced by Sub CSC1, Clock Source 01 1,0 CSC0 Oscillator Selection for RTC Real Time Clock is sourced by RC 10 Oscillator(100kHz) 11 Setting prohibited Table 2-2: CSCFG MCU-AN-300067-E-V11-8 - Fujitsu Microelectronics Europe GmbH

Chapter 3 Software Example 3 Software Example EXAMPLE FOR CLCOK MONITOR 3.1 Basic Functionality of the Clock Monitor The following example sets clock source and clock divider. /* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics Europe GmbH */ /*---------------------------------------------------------------------------*/ void InitClockMonitor(unsigned char divider, unsigned char clk_source) { /* disable MonClk output */ CMCFG = (CMCFG & 0xF0); while (CMCFG & 0x0F) { HWWD_CL = 0; } /* Set Pre scalar value */ CMCFG = (CMCFG & 0x0F) (divider << 4); } /* Enable MonClk output */ CMCFG = CMCFG (clk_source & 0x0F); Note: Maximum frequency that can be monitored on a terminal (MONCLK) is 50MHz Fujitsu Microelectronics Europe GmbH - 9 - MCU-AN-300067-E-V11

Chapter 4 Additional Information 4 Additional Information Information about FUJITSU Microcontrollers can be found on the following Internet page: http://mcu.emea.fujitsu.com/ The software examples related to this application note is: 91460_monclk It can be found on the following Internet page: http://mcu.emea.fujitsu.com/mcu_product/mcu_all_software.htm MCU-AN-300067-E-V11-10 - Fujitsu Microelectronics Europe GmbH

List of Figures List of Figures Figure 2-1: Clock Monitor... 6 Fujitsu Microelectronics Europe GmbH - 11 - MCU-AN-300067-E-V11

List of Tables List of Tables Table 2-1: CMCFG... 7 Table 2-2: CSCFG... 8 MCU-AN-300067-E-V11-12 - Fujitsu Microelectronics Europe GmbH