NS9360. Errata _F. Release date: March 2008

Similar documents
NS9750B-0. Use in conjunction with: Errata , Rev G. Release date: May Phone: Web:

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification

Digi document reference number: _A

UART Application Kit for Digi Embedded Linux User's Manual

Concepts of Serial Communication

Basics of UART Communication

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 9, 2007 Document Release: Version 1.6 Device Affected: LPC2148

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Addressing scheme to address a specific devices on a multi device bus Enable unaddressed devices to automatically ignore all frames

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Emulating Dual SPI Using FlexIO

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 7, 2008 Document Release: Version 1.8 Device Affected: LPC2148

OUTLINE. SPI Theory SPI Implementation STM32F0 SPI Resources System Overview Registers SPI Application Initialization Interface Examples

Am186ER/Am188ER AMD continues 16-bit innovation

11 ASYNCHRONOUS SERIAL PORTS

Serial Communication. Simplex Half-Duplex Duplex

PCI LVDS 8T 8 Channel LVDS Serial Interface Dynamic Engineering 435 Park Drive, Ben Lomond, CA

AN Sleep programming for NXP bridge ICs. Document information

USER GUIDE EDBG. Description

Summer 2003 Lecture 21 07/15/03

EDBG. Description. Programmers and Debuggers USER GUIDE

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

Errata details published in this document refer to the following silicon: netx100, Revision A (Step A, ROM Rev. 2, Boot loader major vers.

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

PCI-HPDI32A-COS User Manual

Measuring Interrupt Latency

UNC20 Module. User's Manual. D Breisach, Germany D Breisach, Germany Fax +49 (7667)

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

ERRATA SHEET INTEGRATED CIRCUITS. Date: 2008 June 2 Document Release: Version 1.6 Device Affected: LPC2468. NXP Semiconductors

Universität Dortmund. IO and Peripheral Interfaces

Software Serial Port Implemented with the PCA

Configurable UART with FIFO ver 2.20

PMC-HPDI32A-ASYNC High-speed Serial I/O PCI Board

Interfacing an Intel386 TM EX Microprocessor to an CAN Controller

MAX32630 ERRATA SHEET

USIC. Universal Serial Interface Channel TTA Training

CPE/EE 421/521 Fall 2004 Chapter 4 The CPU Hardware Model. Dr. Rhonda Kay Gaede UAH. The CPU Hardware Model - Overview

Smart Card Bridge to Full-Speed USB, SPI, and UART Interfaces

Microcontroller basics

Module Introduction. PURPOSE: The intent of this module, is to explain several of the important features of Freescale s i.mx1 applications processor.

Serial Communication. Simplex Half-Duplex Duplex

RL78 Serial interfaces

8051 Serial Communication

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

Intel E8500 Chipset North Bridge (NB)

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M480 Series Errata Sheet

AN-1435 APPLICATION NOTE

DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Memory Expansion. Lecture Embedded Systems

MPC5200B (M62C) Errata Microcontroller Division

or between microcontrollers)

Errata: EP Silicon Revision: E2 Reference EP9307 Data Sheet revision DS667PP4 dated March 2005.

AN2442 Application note

BT-22 Product Specification

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

Frequently Asked Questions

PHY-Less Ethernet Implementation Using Freescale Power Architecture Based Microprocessors

An SPI interface for the 65(C)02 family of microprocessors

EECS 373 Design of Microprocessor-Based Systems

Real-Time Embedded Systems. CpE-450 Spring 06

DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA (831) Fax (831) Est.

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

MCS-51 Serial Port A T 8 9 C 5 2 1

EFM32 Series 0: DMA (ARM PrimeCell µdma PL230)

IDT Using the Tsi310 TM to Migrate I/O Adapters from PCI to PCI-X

Interfacing to the Motorola MCF5307 Microprocessor

MC68331 DEVICE INFORMATION (Issue 6-17 August, 1995) Rev. A and B Silicon E95B, E93N and F43E Mask Set

I/O Organization John D. Carpinelli, All Rights Reserved 1

Features: Analog to Digital: 12 bit resolution TTL outputs, RS-232 tolerant inputs 4.096V reference (1mV/count) 115K max speed

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics

MICROPROCESSOR BASED SYSTEM DESIGN

cpci-dart Base-Board & Daughter-Board

DYNAMIC ENGINEERING 150 DuBois St. Suite C, Santa Cruz, Ca Fax Est.

INTRODUCTION TO FLEXIO

Serial Peripheral Interface (SPI) Host Controller Data Sheet

EECS 373 Design of Microprocessor-Based Systems

< W3150A+ / W5100 Application Note for SPI >

TP6825. USB Full Speed Game Pad Controller. Data Sheet. Tenx reserves the right to change or discontinue this product without notice.

OPB Universal Serial Bus 2.0 Device (v1.00a)

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

Engineer-to-Engineer Note

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

MC68VZ328 Integrated Processor

Creating Power-Efficient Designs with the ArcticLink Solution Platform

ISim Hardware Co-Simulation Tutorial: Processing Live Ethernet Traffic through Virtex-5 Embedded Ethernet MAC

Typical modules include interfaces to ARINC-429, ARINC-561, ARINC-629 and RS-422. Each module supports up to 8 Rx or 8Tx channels.

eip-10 Embedded TCP/IP 10-BaseT Network Module Features Description Applications

HP 48 I/O Technical Interfacing Guide

PCI to SH-3 AN Hitachi SH3 to PCI bus

AN434: CP2110/4 Interface Specification

A ONE CHIP HARDENED SOLUTION FOR HIGH SPEED SPACEWIRE SYSTEM IMPLEMENTATIONS

NS9210/NS9215. Overview. Block Diagram. NS µ CMOS, 265-pin BGA. Features/Benefits. Platforms and Services.

UDP1G-IP reference design manual

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

Welcome to this presentation of the STM32 direct memory access controller (DMA). It covers the main features of this module, which is widely used to

AMD-8131 TM HyperTransport TM PCI-X Tunnel Revision Guide

xpico Wi-Fi Embedded Device Server Evaluation Kit User Guide

Transcription:

NS9360 Unused USB module can cause failures SPI boot fails intermittently - updated SPI slave data output high impedance control UART gap timer UART CTS-related transmit data errors Ethernet receive data overflow (ethernet receiver stall) Linked Ethernet TX buffer descriptors do not work with late collisions Errata 90000677-88_F Release date: March 2008 www.digi.com 1

Unused USB module can cause failures Unused USB module can cause failures The USB logic inside the NS9360 must be disabled when it is not used. Other sections, like the SPI DMA, fail because they enable the DMA logic that is also used by the USB, and with the USB in a random state due to being enabled and un-initialized can start random DMA operations. There are two ways to disable the USB logic. One uses software and one uses hardware. Software --Turn off the system clock to USB, and hold the USB Host and Device in Reset. Be aware reading any USB register results in a bus error, but with fewer clocks running less power is consumed. Software Workaround Code: Addition to startup code. /* * Hold USB Host and Device in Reset. Master Reset register Address: 9060 0000. * D11 = 1 holds Host, and D12 = 1 holds Device. */ bbus_reset: LDR R0, = BBUS_RESET_BASE LDR R1, [R0] /* Load the current value into R1 */ LDR R2, =0x1802 AND R1, R2, R1 /* Mask out the bits we care about */ STR R1, [R0] /* Put it back */ /* * Shut off the USB clocks for Host and Device. Clock Configuration register * Address: A090 017C. D14 = 0 disables Host, and D15 = 0 disables Device. */ LDR R0, = CLOCK_CONFIGURATION_REGISTER LDR R1, [R0] /* Load the current value into R1 */ LDR R2, =0xFFFF3FFF AND R1, R2, R1 /* Mask out the bits we care about */ STR R1, [R0] /* Put it back */ 2 NS9360 Errata

Unused USB module can cause failures Hardware - Reset the USB controller at power-up by providing an external clock. Hardware workaround: Always provide an external USB clock into pin F18 (x1_usb_osc). The USB controller uses synchronous resets, and needs this clock running during power-up reset. This clock does not need to be 48MHz. A lower frequency clock used elsewhere in the same design can be used. For example, the system clock or Ethernet clock. www.digi.com 3

SPI boot fails intermittently - updated SPI boot fails intermittently - updated SPI boot fails intermittently during power-on because of an initialization error. As a result, a manual reset to the NS9360 can sometimes be required after the initial power-up reset. SPI boot works reliably from push button reset. A failure can also occur if the software changes the system endian bit after boot-up (bit 3 in the Miscellaneous System Configuration register). This bit is set according to the bootstrap condition on gpio[44]. Hardware workaround: A board hardware work around can detect and recover from the error. The next diagrams show the timing for a proper boot-up and for an errored boot-up sequence: The board hardware workaround circuit that detects the unsuccessful boot-up is shown next. Digi recommends that you use a spare dynamic memory chip select in the workaround circuit. If the endian bit is never changed (bit 3 in the Miscellaneous System Configuration register), the circuit fed by reset_done (inverter, flip-flop and AND gate) can be omitted. If the err_detect_n flipflop has a Schmitt trigger clock input the Schmitt trigger buffer can also be omitted. 4 NS9360 Errata

SPI boot fails intermittently - updated Note: The Schmitt trigger buffer is required when both the err_detect_n (clock) and soft_reset_n (reset) inputs are driven. www.digi.com 5

SPI slave data output high impedance control This timing diagram illustrates the recovery process: SPI slave data output high impedance control There is a problem that occurs in slave mode when there are other slaves on the SPI bus. When the slave select signal is de-asserted, the data output pin fails to go into a high impedance state and interferes with any other slave that is trying to drive the data signal. Workaround: Do this for each SPI port. Externally buffer the data_out signal with a tri-state buffer and connect the select signal to the active low tri-state control pin. There should be a pullup resistor on the output of the buffer to prevent floating when no slaves are selected. Example: slave_select_n ( from ASIC ) dout dout ( to bus ) UART gap timer The start bit of a new character may not be detected when the character or buffer gap timer expires. Framing, parity, or data corruption occur when a start bit is missed. Software workaround: Three conditions have been identified for this erratum: Applications with a steady stream of receive data are not affected if the buffer gap timer is disabled. 6 NS9360 Errata

UART gap timer Applications where the gap between characters is fixed and the character gap timer period is configured to be less than the fixed period. The buffer gap timer must be disabled. Applications that have higher-level protocol error detection and recovery such as PPP can use both the buffer and character gap timers. Hardware workaround: Note: The hardware workaround requires that you have installed the appropriate software patch found in the NETOS SW Toolkit (on the Web). A hardware workaround eliminates the possibility of receiving a start bit when a character or buffer gap timer is expiring. The workaround drives the baud clock off-chip and synchronizes the incoming data with this clock. As a result, the buffer and character gap timers and the next start bit have a fixed and known relationship with each other. Limitations: The TMODE bit in the Bit-rate register must be cleared. Baud rates are limited to those available in x16 mode Baud rates with a divisor of 0 are not possible for all CPU frequencies. This translates to a maximum baud rate of 460k in x16 mode. Baud rates with a divisor of 1 are not possible for CPU frequencies below 147MHz. This translates to a baud rate of 230k in x16 mode. The buffer and character gaps must be an even multiple of the sample clock period. For a 96000bps UART in x16 UART mode, the equation is: Timer increment = ((1/9600) / 16) x 2 = 13.020us One GPIO per UART is required to output the baud clock. The baud clock can be output on the RI pin on each UART. This function is controlled by the RXEXT bit (27) in each Serial Bit-rate register. If multiple UARTs are running at the same baud rate, one baud clock can be used for the multiple UARTs. www.digi.com 7

UART CTS-related transmit data errors Workaround drawing R1 0 OHM RESET RXD[n] RXD_mod[n] PR D PR D RXD[n] CLK CLK UART GAP Timer workaround 74LV74 U1A CL 74LV74 U1B CL 3.3V 3.3V RXCLK[n] Add R1 instead of U1 to bypass this circuit UART CTS-related transmit data errors A problem occurs when the CTS flow control signal is de-asserted during the BCLK that begins processing a new character. This problem causes the previous character to be re-transmitted instead of getting the next character from the transmit FIFO. Software workarounds: Modify these bits in Serial Channel Control register A: Set the CTSTX bit (bit 23) to 0 to disable hardware-controlled CTSTX. Set the ERXCTS bit (bit 4) to enable the software CTS signal change interrupt. Update the serial transmit ISR to handle the CTS signal change. The maximum bytes in each DMA buffer descriptor is limited to 16 bytes. The maximum skid rate can be up to 16 characters. The serial monitor thread is changed to handle the missing CTS interrupt. See the appropriate (6.0 or 6.3) NET+OS SW toolkit (on the Web) for the required software workarounds. Hardware workarounds: For each UART, externally clock the CTS signal with the Txd_n signal to guarantee that CTS will not be seen de-asserting at the start of a character. 8 NS9360 Errata

Ethernet receive data FIFO overflow (Ethernet receiver stall) R2 0 OHM RESET CTS[n] CTS_mod[n] PR D CTS[n] CLK UART CTS Flow Control workaround U2 74LV74 CL TXD[n] Add R2 instead of U2 to bypass this circuit TXD[n] Ethernet receive data FIFO overflow (Ethernet receiver stall) The Ethernet receiver intermittently locks up in 100 Mbps half-duplex applications due to an overflow in the RX data FIFO. Workaround: Reset the RX Ethernet logic when an RX_OVFL_DATA interrupt is generated. Go to http://ftp1.digi.com/support/documentation/ and search for "ethernet_rx_lockup" to read the application note for instructions. Linked Ethernet TX buffer descriptors do not work with late collisions If the Ethernet transmitter locks up when a late collision occurs while transmitting an Ethernet packet consisting of multiple linked buffer descriptors, one of these situations occurs: The WRAP bit in the last entry of the embedded TXBD RAM is cleared. The WRAP bit is set in both the first and last entries in the TXBD RAM. Workaround: Software keeps a shadow copy of the TXBD RAM flags in main memory, and updates the copy only when the CPU accesses the TXBD RAM. When the CPU receives an Ethernet TX ERROR interrupt of any kind (that is, the TXERR bit is set in the Ethernet Interrupt Status register), which includes a late collision, the CPU takes this action: Reads the TX Error Buffer Descriptor Pointer register (TXERBD) which, in the case of the logic error, points to the location that has the bad W (wrap) bit. Copies the flags from the shadow TXBD RAM to the real TXBD RAM starting at the location pointed to by TXERBD and ending at the first shadow location that has the L (last) bit set, indicating the last buffer descriptor for the packet. This corrects the W bit errors. www.digi.com 9

Digi International World Headquarters 11001 Bren Road East Minnetonka, MN 55343 2008 Digi International Inc. Printed in the United States of America. All rights reserved. Digi, Digi International, the Digi logo, NetSilicon, a Digi International Company, NET+, NET+OS and NET+Works are trademarks or registered trademarks of Digi International, Inc. in the United States and other countries worldwide. All other trademarks are the property of their respective owners. Information in this document is subject to change without notice and does not represent a committment on the part of Digi International. Digi provides this document "as is," without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of, fitness or merchantability for a particular purpose. Digi may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in this manual at any time. This product could include technical inaccuracies or typographical errors. Changes are made periodically to the information herein; these changes may be incorporated in new editions of the publication. Online problem reporting: www.digi.com/support/eservice/login.jsp Documentation updates: Digi occasionally provides documentation updates on the Web site (www.digiembedded.com/support). Be aware that if you see differences between the documentation you received in your package and the documentation on the Web site, the Web site content is the latest version. Support: To get help with a question or technical problem with this product, or to make comments and recommendations about our products or documentation, use the contact information listed in this table: For Contact information: Technical support www.digiembedded.com/support United States: +1 877 912-3444 Other locations: +1 952 912-3444 Fax: 952-912-4952 PN (1P): 90000677-88 F