ice40 Oscillator Usage Guide

Similar documents
Advanced Features of the ispmach 4000ZE Family

SPI Slave to PWM Generation

Power Estimation and Management for LatticeECP2/M Devices

Reference Design RD1103

Temperature Monitoring and Fan Control with Platform Manager 2

Temperature Monitoring and Fan Control with Platform Manager 2

Power Consumption and Management for LatticeECP3 Devices

Simple Sigma-Delta ADC Reference Design

Panasonic Image Sensor Bridge

Implementing VID Function with Platform Manager 2

Sharing crystal with a MCU

R Using the Virtex Delay-Locked Loop

Programmable Clock Generator

STCL1100 STCL1120 STCL1160

STCL1100 STCL1120 STCL1160

The Frequency Divider component produces an output that is the clock input divided by the specified value.

HT8 MCU Internal Ultra-Low Power Consumption RTC Application Note

Capacitive Sensing Interface of QN908x

Single-wire Signal Aggregation Reference Design

MIPI D-PHY Interface IP

Best Design and Layout Practices for SiTime Oscillators

Arria V Timing Optimization Guidelines

Crest Factor Reduction

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM

Produces a selectable output voltage that is higher than the input voltage

Intel MAX 10 Analog to Digital Converter User Guide

Edition Published by Infineon Technologies AG Munich, Germany 2010 Infineon Technologies AG All Rights Reserved.

ML Bit Data Bus Input PLL Frequency Synthesizer

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

LM48821 Evaluation Board User's Guide

DS1075 EconOscillator/Divider

CE PSoC 6 MCU Breathing LED using Smart IO

esa Series Product Specification Doc. Version 1.7 General Purpose Tiny Controller with Four-Channel Speech and Melody Synthesis

4. Embedded Multipliers in Cyclone IV Devices

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

LP3943/LP3944 as a GPIO Expander

Converter IC for Cellular Phone. Mode Digitally-Controlled Buck. A 4 µa-quiescent-current Dual- Applications. Jianhui Zhang Prof.

Preliminary GHz Transceiver-µController-Module. Applications PRODUCT SPECIFICATION FEATURES MICROCONTROLLER MHz

VGA CMOS Image Sensor BF3905CS

Dual Programmable Clock Generator

Intel MAX 10 Analog to Digital Converter User Guide

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

Multi-Channel Digital Up/Down Converter for WiMAX Systems

FIR_NTAP_MUX. N-Channel Multiplexed FIR Filter Rev Key Design Features. Block Diagram. Applications. Pin-out Description. Generic Parameters

4. Embedded Multipliers in the Cyclone III Device Family

Produces a selectable output voltage that is higher than the input voltage

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

QuickBuilder PID Reference

EP93xx RTC Oscillator Circuit

Mixed-Signal Simulation of Digitally Controlled Switching Converters

DS1073 3V EconOscillator/Divider

Engineer-to-Engineer Note

Normal Oscillator Behavior (Device A) Figure 1. Normal Oscillator Behavior (Device A) ft = f0 1 + TC1 T T0

LatticeECP3 I/O Protocol Board to Texas Instruments ADC/DAC Adapter Board User Guide

Produces a selectable output voltage that is higher than the input voltage

Block Diagram. i_in. q_in (optional) clk. 0 < seed < use both ports i_in and q_in

HT67F86A Internal RTC Application Guidelines

Classic. Feature. EPLD Family. Table 1. Classic Device Features

AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Digital Systems Design

ibt-06 Series Bluetooth Module with HCI Interface ( Qualified QDID : B )

Advanced RTK GPS / Compass module with 100x100 mm ground plane and 32-bit MCU

ULTRA-LOW POWER OSCILLATOR 1-26MHz

High Resolution Pulse Generation

MAX 10 Analog to Digital Converter User Guide

MiniProg Users Guide and Example Projects

LV-Link 3.0 Software Interface for LabVIEW

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers

DS1065 EconOscillator/Divider

ATmega16A Microcontroller

CD4541BC Programmable Timer

16-Bit Hardware Pulse Width Modulator Data Sheet

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

ICS CLOCK SYNTHESIZER FOR PORTABLE SYSTEMS. Description. Features. Block Diagram PRELIMINARY DATASHEET

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES

RF4432 wireless transceiver module

Crystal Oscillator/Resonator Guidelines for ez80 and ez80acclaim! Devices

PCA bit I 2 C LED driver with programmable blink rates INTEGRATED CIRCUITS May 05. Product data Supersedes data of 2003 Feb 20

2.6GHz Bidirectional I 2 C BUS Controlled Synthesiser

DS4000 Digitally Controlled TCXO

PE713 FPGA Based System Design

EVAL-ADM8843. Evaluation Board for Charge Pump Driver for LCD White LED Backlights. Preliminary Technical Data

UG0362 User Guide Three-phase PWM v4.1

UXGA CMOS Image Sensor

AN Low Frequency RFID Card Reader. Application Note Abstract. Introduction. Working Principle of LF RFID Reader

1 Mbit (128K x 8) Static RAM

DS1267 Dual Digital Potentiometer Chip

NXP AN11155 sensor Application note

64-Macrocell MAX EPLD

128K x 8 Static RAM CY7C1019B CY7C10191B. Features. Functional Description. Logic Block Diagram. Pin Configurations

APPLICATION NOTE. AT11009: Migration from ATxmega64D3/128D3/192D3/256D3 Revision E to Revision I. Introduction. Features.

AN Extended Range Proximity with SMSC RightTouch Capacitive Sensors

DS1088L 1.0. PART FREQUENCY (MHz) TEMP RANGE PIN-PACKAGE DS1088LU C to +85 C 8 µsop. DS1088LU C to +85 C 8 µsop

PNI MicroMag 3. 3-Axis Magnetic Sensor Module. General Description. Features. Applications. Ordering Information

AN3332 Application note

BC68F2130 FSK Application Example

Integrated Radio Systems for Energy Harvesting

Using Differential I/O (LVDS, Sub-LVDS) in ice40 Devices

ZKit-51-RD2, 8051 Development Kit

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University

Transcription:

June 2016 Technical Note TN1296 Introduction The family, specifically Ultra, UltraLite and UltraPlus, features two on-chip oscillators. An ultra-low power 10 khz oscillator is provided for Always-On applications and background polling that allow higher power processors to remain in power-down or sleep mode, conserving overall power consumption. A low power 48 MHz oscillator with output divider is provided for sensor management and pre-processing functions. These oscillators are intended for general clocking of internal logic and state machines. Key Features Two oscillators are available to users: SB_LFOSC Low Frequency Oscillator High Frequency Oscillator with output divider On-Chip Oscillator Overview You can access the two modules: SB_LFOSC and SB_HSOSC with enabled inputs and which you can dynamically control as shown in Figure 1. SB_LFOSC runs at 10 khz and runs at maximum 48 MHz with output divider by 1, 2, 4 or 8. SB_LFOSC and provide internal clock sources to user designs. These clocks can directly route to the global clock network or to local fabric. Figure 1. On-Chip Oscillator CLKHF_EN CLKHF_PU CLKHF CLKLF_EN CLKLF_PU SB_LFOSC CLKLF 2016 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. www.latticesemi.com 1 TN1296_1.3

I/O Port Description Table 1. I/O Pin Name Pin Direction Description CLKHF_EN Enabling CLKHF output to be oscillating. I This does not stop the oscil- lator, but only disables the output. CLKHF O Oscillator Clock Output. CLKHF_PU I Powering up the. Table 2. SB_LFOSC Pin Name Pin Direction Description CLKLF_EN Enabling CLKLF output to be oscillating. I This does not stop the oscil- lator, but only disables the output CLKLF O Oscillator clock output CLKLF_PU I Powering up the SB_LFOSC Connectivity Guideline The and SB_LFOSC can be used as clock source. Their outputs are available for the user. They should be connected to the global clock network or local fabric. By default, the outputs will be routed to global clock network. To route to local fabric, please see the examples in the Appendix: Design Entry section. Note that Oscillator cannot provide accurate frequency. For applications that require more accuracy, it is recommended to use calibration circuit to support the oscillator used as clock source. Figure 2 shows an example of the use of a reference clock that is only temporarily available for calibration. Figure 2. Oscillator Calibration Example Internal 48 MHz Counter AP Reference Clock The calibration circuit for Oscillator can be improved for the purpose of power saving as shown in Figure 3. In this example, 10 khz oscillator is always on. Calibrated divider provides timing for LED on-off. When LED is on, SB_LFOSC Enable turns on 48 MHz oscillator ( turns on in two cycles). PWM provides accurate PWM for LED. Power benefit is 48 MHz only when LED is on and minimum power when LED is off. 2

Figure 3. Oscillator Used for Dynamic Clock Calibration That Can Be Used On Service LED Internal 10 KHz SB_LFOSC 16 Divider 10 Hz LED Control Enable Counter Preload Internal PWM LED PWM OUT AP 24 MHz Reference Enable LED PWM OUT For applications that need clocks within + 10% tolerance, such as USB Type-C PHY, a compensated clock generation logic must be used. An example clock generation logic for generating compensated 600 khz clock is shown in Figure 4. The target clock is generated by dividing the 48 MHz high speed clock by a variable divisor. The value of the divisor is dynamically calculated from the ratio of the high speed clock (48 MHz) frequency to the low speed clock (10 khz) frequency. The circuit described here uses some approximations to the calculations to achieve lower LUT utilization. The 600 khz output clock from this circuit is expected to be within + 10% range as the 10 khz slow speed clock is known to have under + 10% tolerance. Figure 4. Example Clock Generation Logic LFCK 10 khz HFCK 48 MHz Calibration design PHY Clock Please refer to UGxx for further details of this clock calibration design. Power Management Options When disabled, the SB_LFOSC and are in standby mode by default and consume only DC leakage. It is suggested to always enable SB_LFOSC and enable after there is an activity detected and the products return to full power mode for data analysis/processing. Technical Support Assistance Submit a technical support case via www.latticesemi.com/techsupport. 3

Revision History Date Version Change Summary June 2016 1.3 Updated Introduction section. Added UltraPlus. April 2015 1.2 Updated Connectivity Guideline section. Added example of clock generation logic. Updated Technical Support Assistance section. January 2015 1.1 Added support for UltraLite. June 2014 01.0 Initial release. 4

Appendix: Design Entry The following examples illustrate and SB_LFOSC usage with VHDL and Verilog. SB_LFOSC Usage with Verilog Synthesis Attributes /* synthesis ROUTE_THROUGH_FABRIC = <value> */ Value: 0: Use dedicated clock network. Default option. 1: Use fabric routes. Verilog Instantiation SB_LFOSC OSCInst1 (.CLKLF_EN(ENCLKLF),.CLKLF_PU(CLKLF_POWERUP),.CLKLF(CLKLF) ) /* synthesis ROUTE_THROUGH_FABRIC= [0 1] */; Usage with Verilog Synthesis Attributes /* synthesis ROUTE_THROUGH_FABRIC = <value> */ Value: 0: Use dedicated clock network. Default option. 1: Use fabric routes. Parameter Values The primitive contains the following parameter and their default values: Parameter CLKHF_DIV = 2 b00 : 00 = div1, 01 = div2, 10 = div4, 11 = div8 ; Default = 00 Verilog Instantiation OSCInst0 (.CLKHF_EN(ENCLKHF),.CLKHF_PU(CLKHF_POWERUP),.CLKHF(CLKHF) ) /* synthesis ROUTE_THROUGH_FABRIC= [0 1] */; Defparam OSCInst0.CLKHF_DIV = 2 b00; Oscillator Usage Guide 5