IMPROVING NOISE IMMUNITY FOR SERIAL INTERFACE

Similar documents
LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Bi-directional level shifter for I²C-bus and other systems.

Pre-tested System-on-Chip Design. Accelerates PLD Development

AN111: Using 8-Bit MCUs in 5 Volt Systems

Application Note, V 2.2, Nov AP32091 TC1766. Design Guideline for TC1766 Microcontroller Board Layout. Microcontrollers. Never stop thinking.

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

DS1307ZN. 64 x 8 Serial Real-Time Clock

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

FEATURES DESCRIPTION. PT6321 Fluorescent Display Tube Controller Driver

Low-Jitter I 2 C/SPI Programmable Dual CMOS Oscillator

11. High-Speed Differential Interfaces in Cyclone II Devices

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

RS485 & RS422 Basics

Title: Low EMI Spread Spectrum Clock Oscillators

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

DS1621 Digital Thermometer and Thermostat

Application Note AN:005. FPA Printed Circuit Board Layout Guidelines. Introduction Contents. The Importance of Board Layout

AND8229/D. An Introduction to Transient Voltage Suppression Devices APPLICATION NOTE

Modification of an AOR AR-8600 receiver to tune it with a ACECO FC-3002 frequency finder

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

This application note is written for a reader that is familiar with Ethernet hardware design.

Push-Pull FET Driver with Integrated Oscillator and Clock Output

ZL40221 Precision 2:6 LVDS Fanout Buffer with Glitchfree Input Reference Switching and On-Chip Input Termination Data Sheet

Lecture 24. Inductance and Switching Power Supplies (how your solar charger voltage converter works)

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

HT7660. CMOS Switched-Capacitor Voltage Converter. Features. Applications. General Description. Block Diagram

AN Opto-electrical isolation of the I 2 C-bus (operating the bus between points with different local ground potential) Document information

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

HT9170 DTMF Receiver. Features. General Description. Selection Table

MicroMag3 3-Axis Magnetic Sensor Module

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

4 OUTPUT PCIE GEN1/2 SYNTHESIZER IDT5V41186

Power Supplies. 1.0 Power Supply Basics. Module

HT1632C 32 8 &24 16 LED Driver

Radiowe zdalne sterowanie

Kit Watt Audio Amplifier

DS1621 Digital Thermometer and Thermostat

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

unit : mm With heat sink (see Pd Ta characteristics)

2 TO 4 DIFFERENTIAL PCIE GEN1 CLOCK MUX ICS Features

Line Reactors and AC Drives

LM386 Low Voltage Audio Power Amplifier

AN203: 8-bit MCU Printed Circuit Board Design Notes

Evaluating AC Current Sensor Options for Power Delivery Systems

HT12A/HT12E 2 12 Series of Encoders

Application Examples

Output Filter Design for EMI Rejection of the AAT5101 Class D Audio Amplifier

Section 3. Sensor to ADC Design Example

FAN5346 Series Boost LED Driver with PWM Dimming Interface

CAN Bus Transceivers Operate from 3.3V or 5V and Withstand ±60V Faults

Figure 1 FPGA Growth and Usage Trends

AN460 Using the P82B96 for bus interface

Signal Types and Terminations

APPLICATION NOTE. AVR042: AVR Hardware Design Considerations. AVR 8-bit Microcontrollers. Features. Description

Output Ripple and Noise Measurement Methods for Ericsson Power Modules

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

3-Phase DC Brushless Motor Pre-Drivers Technical Information NJM2625A

Wireless Temperature

Printed Circuit Boards. Bypassing, Decoupling, Power, Grounding Building Printed Circuit Boards CAD Tools

Power supply output voltages are dropping with each

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

ADS9850 Signal Generator Module

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

Step Response of RC Circuits

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

SPI Flash Programming and Hardware Interfacing Using ispvm System

PAM8403. Description. Pin Assignments. Features. Applications. Typical Applications Circuit. A Product Line of. Diodes Incorporated

HT12D/HT12F 2 12 Series of Decoders

Arbitration and Switching Between Bus Masters

Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

DDR SDRAM Memory Termination USING THE LX1672 AND LX1673 FOR DDR SDRAM MEMORY TERMINATION INTEGRATED PRODUCTS. Microsemi

Using FPGAs to Design Gigabit Serial Backplanes. April 17, 2002

ICS SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

CMOS, the Ideal Logic Family

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

SELECTION GUIDE. Nominal Input

LC7218, 7218M, 7218JM

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators

LMS is a simple but powerful algorithm and can be implemented to take advantage of the Lattice FPGA architecture.

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

IDT80HSPS1616 PCB Design Application Note - 557

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

Experiment # (4) AM Demodulator

CMR Series Isolated 0.75W Single and Dual Output Isolated DC/DC Converters

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

ATE-A1 Testing Without Relays - Using Inductors to Compensate for Parasitic Capacitance

NJU6061. Full Color LED Controller Driver with PWM Control GENERAL DESCRIPTION PACKAGE OUTLINE FEATURES

The Programming Interface

Circuits with inductors and alternating currents. Chapter 20 #45, 46, 47, 49

What Determines FPGA Power Requirements?

Signal Integrity: Tips and Tricks

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

Single Transistor FM Transmitter Design

Transcription:

IMPROVING NOISE IMMUNITY FOR SERIAL INTERFACE July 2014 Lattice Semiconductor 5555 Northeast Moore Ct. Hillsboro, Oregon 97124 USA Telephone: (503) 268-8000 www.latticesemi.com 1 Improving Noise Immunity for Serial Interface

Introduction Serial interfaces like SPI or I 2 C are common methods of communication between ICs or devices. The I 2 C interface has two wires (lines), one is clock and the other is data. The data is transferred serially from one device to another at the frequency determined by the clock. The protocol of communication between the two devices should meet all the required specifications of the serial interfaces, in order to send and receive correct data. FPGAs and CPLDs are programmable devices which often implement serial interface controller using HDL (Hardware Description Language) so that the user can define any general purpose I/O (GPIO) as serial interface ports. The serial interface specification for high speed data transfer (400 khz and faster) recommends a 50 ns noise filter on the inputs to prevent double-clocking and miss-communication. However, programmable devices generally do not have built-in noise filters on their GPIO pins. In a complex system there can be noise from a variety of sources such as: switching noise from power supplies, other devices, or the environment itself. Any or all of these may cause an intermittent error in serial communication. This paper discusses some techniques to improve noise immunity for the serial interfaces implemented in devices which do not have built-in noise filter for the serial interface. Techniques to improve noise immunity External RC Filter Adding an external RC low-pass filter on the serial interface pins is one way of implementing a noise filter. However, a simple RC filter with time constant of 50 ns also slows the rising edges and presents a considerable load to the driving pins. A slow edge is more susceptible to noise and the large capacitive load can cause groundbounce within the device. The circuit shown in Figure 1 is a good compromise; providing noise reduction without slowing the edge too much or loading down the driver pins. This circuit can be used on both the Master and Slave devices on any given bus. The exact component values for C f, R S1, R S2, and R pull-up depend upon supply voltage and level of noise reduction desired. 2 Improving Noise Immunity for Serial Interface

Figure 1: External Low Pass Noise Filter Circuit The value of the series resistor(s) (R S1 and R S2 ) will effectively raise the logic low output level on to the bus from the device being filtered. If the value of the series resistor(s) is too large, then the voltage swing on the serial bus will be too small for reliable communication. Thus, the value of the series resistor(s) has to balance between enough filtering without reducing the low voltage margin. The tables below show suggested values of components that balance these issues and consider the other serial interface specifications for either a 3.3 V or 2.5 V system. The 3.3 V system has about 100 mv better noise margin over the 2.5 V system, based on the values in the tables. Time constant = R S1 *C f in seconds. Margin to V IL = V IL (max) V OL (calculated) = 0.3 VDD [V OL (max) + VRs (voltage drop on both R S1 and R S2 )] 3 Improving Noise Immunity for Serial Interface

Table 1: Component Values for: V DD =3.3 V V IL (max)=0.99 V V OL (max) =0.4 V Table 2: Component Values for: V DD =2.5 V V IL (max)=0.75 V V OL (max) =0.4 V Decoupling Supply There are instances where noise on supplies associated with serial interfaces may cause error in communication. Reducing such noise can be accomplished with simple LC filtering circuit. An inductor or Ferrite Bead of about 4-10 uh, with good current carrying characteristics and low resistance should be placed in series with the voltage source to choke off the high frequency noise. Ferrite Bead Inductors such as Murata BLM31B601S, BLM11B601SPB, or equivalent offer good inductive supply isolation. After the inductor multiple capacitors of different values are typically used. The smaller valued capacitor is better at filtering out the highest frequency component of the noise 4 Improving Noise Immunity for Serial Interface

while the larger valued capacitor is more effective at filtering out the lower frequency component of the noise. Figure 2 shows a typical circuit configuration. Figure 2: Typical Supply Decoupling Circuit Digital Filter In FPGA designs that implement a soft core serial interface, a pair of digital filters can be added; one for the data and one for the clock. Figure 3 is a generic circuit of a scalable single filter that can be realized in VHDL or Verilog. The size of the filter, or number of taps, is based on the oscillator (OSC) frequency and the desired filter time. The filter should have a minimum of three taps. Table 3 lists some recommended frequencies and number of filter taps to provide effective filtering. Generally speaking, both of the serial signals (data and clock) should have identically sized filters. The exception would be if the data and clock have a known relationship that does not meet the specification. Then one of the filters could be extended to properly align the signals at the outputs. 5 Improving Noise Immunity for Serial Interface

Figure 2: Digital Filter Circuit Table 3: Digital Filter Taps and Filter Time Based on OSC Frequencies 6 Improving Noise Immunity for Serial Interface

Summary For reliable Serial communication, it is essential to minimize the effect of external noise from the data and clock lines. The techniques discussed in this white paper can be used to improve the reliability of serial communication in noisy environments. One or more of the techniques described above may be helpful for designers working with serial interfaces on devices such as the ones mentioned below: Any FPGA or CPLD using GPIOs for serial interface ports Any device without built-in noise filter on the serial ports MachXO2-EFB, POWR1220AT8, POWR1014A, POWR6AT6 Additionally, it is advised that the designer follows the serial interface specifications, when implementing the above techniques. 7 Improving Noise Immunity for Serial Interface