0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
TMC2084

TMC2084

  • 厂商:

    SMSC

  • 封装:

  • 描述:

    TMC2084 - Standalone Mode CircLink Controller - SMSC Corporation

  • 数据手册
  • 价格&库存
TMC2084 数据手册
TMC2084 Standalone Mode CircLinkTM Controller Datasheet PRODUCT FEATURES Low Power CMOS, 3.3 Volt Power Supply with 5 Volt Tolerant I/O Enhanced Token Passing Protocol from ARCNET − − − − Maximum 15 node per network Token Retry Mechanism 64/128 Byte Per Packet Consecutive Node ID Assignment Feature Rich Transmit Trigger: − After receiving OUTPUT DATA packet or expiring onchip timer − Continuous transmission − External trigger input Flexible Transceiver Interface: − RS-485 transceiver + twist pair cable − RS-485 transceiver + pulse transformer + twist pair cable − Hybrid transceiver (HYC4000 or HYC2000 from SMSC Japan) − Fiber Optics also supported Memory Mirror − Shared Memory Within Network Network Standard Time − Network Time Synchronization − Automatic Time Stamping Coded Mark Inversion − Intelligent 1-Bit Error Correction − Magnetic Saturation Prevention 48-Pin TQFP Package; Green, Lead-free Package also available − Body size: 7 × 7mm; pitch: 0.5mm; lead-free Temperature Range from 0 to 70 degrees C Standalone I/O Mode Operates without MCU − Supports 16 Bit Input and 16 Bit Output Up to 14 Intelligent Remote I/O Ports: − Programmable with 8-bit basis (16 to 32 outputs; 0 to 16 inputs) − Selectable output type (push-pull or open-drain) − The part of port is definable as strobe outputs and/or external trigger inputs − The anti-chatter circuit on the input port can be set in ON/OFF − The sampling frequency of the anti-chatter circuit can be set (19.1Hz/1.22KHz) SMSC TMC2084 Page 1 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet ORDERING INFORMATION Order Number(s): TMC2084-HD for 48 pin TQFP package TMC2084-HT for 48 pin TQFP package (green, lead-free) 80 Arkay Drive Hauppauge, NY 11788 (631) 435-6000 FAX (631) 273-3123 Copyright © 2006 SMSC or its subsidiaries. All rights reserved. Circuit diagrams and other information relating to SMSC products are included as a means of illustrating typical applications. Consequently, complete information sufficient for construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility is assumed for inaccuracies. SMSC reserves the right to make changes to specifications and product descriptions at any time without notice. Contact your local SMSC sales office to obtain the latest specifications before placing your product order. The provision of this information does not convey to the purchaser of the described semiconductor devices any licenses under any patent rights or other intellectual property rights of SMSC or others. All sales are expressly conditional on your agreement to the terms and conditions of the most recently dated version of SMSC's standard Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors known as anomalies which may cause the product's functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com. SMSC is a registered trademark of Standard Microsystems Corporation (“SMSC”). Product names and company names are the trademarks of their respective holders. SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSE OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT; TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Revision 0.1 (03-31-06) Page 2 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet TABLE OF CONTENTS Chapter 1 1.1 1.2 1.3 1.4 1.5 2.1 2.2 General Description ............................................................................................................. 5 About CircLink ..................................................................................................................................... 5 About TMC2084 .................................................................................................................................. 5 Block Diagram ..................................................................................................................................... 7 Pin List................................................................................................................................................. 8 Pinout ................................................................................................................................................ 12 Chapter 2 2.1.1 2.1.2 2.2.1 2.2.2 2.2.3 Functional Description....................................................................................................... 13 General...................................................................................................................................................13 Configuration Examples..........................................................................................................................15 Configuration Using Shared Pins............................................................................................................16 Configuration Through the Network ........................................................................................................21 Returning Configuration Data .................................................................................................................29 Packets TMC2084 Can Receive.............................................................................................................30 Packets TMC2084 Can Transmit............................................................................................................31 Format of COMMAND Packets...............................................................................................................32 Format of OUTPUT DATA Packets ........................................................................................................35 Configuring I/O Port Directions ...............................................................................................................36 Open-Drain Mode ...................................................................................................................................36 Initializing OUTPUT PORTs ...................................................................................................................36 Switching Timing In OUTPUT PORTs ....................................................................................................36 Format of Input Data Packets .................................................................................................................38 Flag Descriptions ....................................................................................................................................41 Pulse Level Width Of Each Output Flag .................................................................................................42 Network Configuration....................................................................................................................... 13 Initial Configuration............................................................................................................................ 16 2.3 2.4 2.5 Types of Packets............................................................................................................................... 30 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 Command Packets ............................................................................................................................ 32 OUTPUT PORTs............................................................................................................................... 34 2.6 2.7 2.8 2.9 2.10 2.11 2.12 3.1 3.2 3.3 3.4 INPUT PORT..................................................................................................................................... 37 2.6.1 2.7.1 2.7.2 FLAG OUTPUT ................................................................................................................................. 40 Status Bits ......................................................................................................................................... 42 NST Time Stamps ............................................................................................................................. 45 2.9.1 2.9.2 Time Synchronization .............................................................................................................................46 Carry Output ...........................................................................................................................................46 CMI Coding .................................................................................................................................... 48 RAM Image On Host Side.............................................................................................................. 48 Configuration Flow ......................................................................................................................... 51 Chapter 3 Operating Conditions......................................................................................................... 53 Absolute Maximum Ratings .............................................................................................................. 53 Typical Operating Conditions ............................................................................................................ 53 DC Characteristics ............................................................................................................................ 53 AC Characteristics............................................................................................................................. 55 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 Timing Measurement Points ...................................................................................................................55 CMI Transmit And Receive Waveforms (nCMIBYP = H) ........................................................................56 RZ Transmit And Receive Waveforms (nCMIBYP = L) ..........................................................................57 External Trigger Input .............................................................................................................................57 Other Timing Specifications ....................................................................................................................58 3.5 3.6 3.7 3.8 Package Outline ................................................................................................................................ 59 Device Marking.................................................................................................................................. 61 Oscillator Circuit ................................................................................................................................ 62 Basic Device Connections ................................................................................................................ 63 SMSC TMC2084 Page 3 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Chapter 4 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 APPENDIX ......................................................................................................................... 64 Connecting A/D and D/A.........................................................................................................................64 Connecting Watchdog Timer ..................................................................................................................65 Using SLT4 Plus RS485 .........................................................................................................................65 Considerations for Shared Pins When Port D is Configured as INPUT PORT .......................................66 Case Where Port A and B are Unused ...................................................................................................67 Case Where Port C is Unused................................................................................................................68 Case Where Port D is Unused................................................................................................................68 Initial Configuration for OUTPUT PORT (LED Display Example) ...........................................................69 Width of Reset Signal .............................................................................................................................70 Application Circuit Examples............................................................................................................. 64 4.2 4.3 Output Current from Shared Pins...................................................................................................... 72 Values of Pull-Up and Pull-Down Resisters...................................................................................... 73 LIST OF FIGURES Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 TMC2084 Block Diagram..........................................................................................................................7 TMC2084 Pin Configuration....................................................................................................................12 Network Configuration Example 1: S Single Host and 15 Nodes............................................................15 Network Configuration Example 2: Dual Hosts and 6 Nodes ..................................................................15 Functional Diagram Of FLAG OUTPUT..................................................................................................40 Functional Diagram of NST Carry Output Generation Section................................................................46 nNSTCOUT Output Timing Example For Bits NSTC3 - 0 = 2h...............................................................47 State Transition Diagram for CMI ...........................................................................................................48 Initialization Procedure ...........................................................................................................................51 Procedure to change the configuration through the network during operation ....................................52 Input Signal Measurement Points .......................................................................................................55 LIST OF TABLES Table 1 Table 2 Table 3 Table 4 Truth Table Of Bits FOSL3 - 0 ................................................................................................................40 Bits NSTPRE2 – 0 And NST Resolution.................................................................................................46 Bits NSTC3 – 0 vs. Carry Output Bit.......................................................................................................47 CircLink Controller Comparison Table ....................................................................................................74 Revision 0.1 (03-31-06) Page 4 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Chapter 1 1.1 General Description About CircLink The CircLink networking controller was developed for small control-oriented local network data communication based on ARCNET’s token-passing protocol that guarantees message integrity and calculatable maximum delivery times. In a CircLink network, when a node receives the token it becomes the temporary master of the network for a fixed, short period of time. No node can dominate the network since token control must be relinquished when transmission is complete. Once a transmission is completed the token is passed on to the next node (logical neighbor), allowing it to be come the master. Because of this token passing scheme, maximum waiting time for network access can be calculated and the time performance of the network is predictable or deterministic. Industrial network applications require predictable performance to ensure that controlled events occur when required. However, reconfiguration of a regular ARCNET network becomes necessary when the token is missed due to electronic and magnetic noise. In these cases, the maximum wait time for sending datagrams can not be guaranteed and the real-time characteristic is impaired. CircLink makes several modification to the original ARCNET protocol (such as maximum and consecutive node ID assignment) to avoid token missing as much as possible and reduce the network reconfiguration time. CircLink implements other enhancements to the ARCNET protocol including a smaller-sized network , shorter packet size, and remote buffer mode operation that enable more efficient and reliable small, control-oriented LANs. In addition, CircLink introduces several unique features for reducing overall system cost while increasing system reliability. CircLink can operate under a special mode called “Standalone” or “I/O” mode. In this mode, CircLink does not need an administrating CPU for each node. Only one CPU is needed to manage a CircLink network composed of several nodes, reducing cost and complexity. In a CircLink network, the data sent by the source node is received by all other nodes in the network and stored according to node source ID. For the target node the received data is executed per ARCNET flow control and the data is stored in its buffer RAM. The receiving node processes the data while the remaining nodes on the network discard the data when the receiving node has completed. This memory-mirroring function assures higher reliability and significantly reduces network traffic. Network Standard Time (NST) is also a unique CircLink feature. NST is realized by synchronizing the individual local time on each network node to the clock master in the designated node from which the packet is sent. CircLink also uses CMI code for transmitting signals, rather than the dipulse or bipolar signals that are the standard ARCNET signals. Since CMI encoding eliminates the DC element, a simple combination of a standard RS485 IC and a pulse transformer can be used to implement a transformercoupled network. 1.2 About TMC2084 The TMC2084 is CircLink’s standalone mode controller acting as an intelligent remote I/O controller that uses the enhanced token passing protocol. TMC2084 I/O nodes are controlled by the Host node (TMC2074/72) via the network. Thus, TMC2084 enables a single-processor with multi-remote I/O controllers environment at reasonable cost. SMSC TMC2084 Page 5 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet The TMC2084 has thirty-two I/O port lines featuring programmable direction, with 8-bit basis (output: 16 to 32 bit; input: 0 to 16 bit). The maximum number of nodes per network is fifteen, including the host node. This configuration enables a processor to control a total of 448 (14 × 32) remote I/O lines. The Output Port type is selectable from either open-drain or push-pull, while one part of the I/O ports is definable as either output pins for network status monitoring, strobe output pins to handshake with AD or DA converter, or input pins for external trigger. TMC2084 also has additional functions including the function to notify the host of its status, the states of its Output Ports and settings, the function to send packets with timestamp, and the function to synchronize the on-chip timer to the host. This rich feature set is contained in a single 48-pin TQFP package. Revision 0.1 (03-31-06) Page 6 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 1.3 Block Diagram Command Register NST Time Stamp Configuration Register Flags Enhanced Token Passing Protocol Microsequencer CMI Receive Data Buffer Status Clear Signal RXIN CMI Demodulator Receiver S-P PA[7:0] General Purpose I/O PB[7:0] PC[7:0] PD[7:0] PGS[2:0] TXEN CMI Modulator RZ Modulator P-S Transmit Data MUX TXD X2 X1 VDD VSS NID[3:0] PSSL nCMIBYP Configuration Register nRESET Figure 1 - TMC2084 Block Diagram SMSC TMC2084 Page 7 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 1.4 PIN NO. 2-9 Pin List SIGNAL NAME BUFFER TYPE BY DETAILED DESCRIPTION FUNCTION General Purpose I/O Group A PA0 - 7 O42/OD4 General Purpose I/O Port A. An output-only port. The type of output can be selected using the PAOD bit, configured through the network. PAOD = 0 selects push-pull; PAOD = 1 selects open-drain (default). General Purpose I/O Group B PB0 - 7 O42/OD4 General Purpose I/O Port B. An output-only port. The type of output can be selected using PBOD bit, configured through the network. PBOD = 0 selects push-pull; PBOD = 1 selects open-drain (default). General Purpose I/O Group C General Purpose I/O Port Bit 0. IT/O42/OD4 PC0 A bi-directional port. The port direction can be specified using the shared pin PGS0. PGS0 = L specifies input; PGS0 = H specifies output. The type of output can be selected using PCOD bit, configured through the network. PCOD = 0 selects push-pull; PCOD = 1 selects open-drain (default). PIN NAME nPISTR1 IT External Trigger Input 1 The input pin for external trigger signal. If the shared pin PGS0 is set to L while "6h" or “7” is set using TXTRG3 - 0 bits that are configured through network then this port is configured for the external trigger input. General Purpose I/O port C bit 1 to 7. A bi-directional port. The direction of port and the type of output are configured using the same way as PC0. Port A bit 0 - 7 (output-only) 10-11, 14-19 Port B bit 0 - 7 (output-only) 20 Port C bit 0 External Trigger Input 1 21-23, 26-29 Port C bit 1 - 7 PC1 - 7 IT/O42/OD4 Revision 0.1 (03-31-06) Page 8 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet PIN NO. 30 SIGNAL NAME Port D bit 0 BUFFER TYPE BY DETAILED DESCRIPTION FUNCTION General Purpose I/O Group D The bit 0 of Port D. IT/O42 PD0 A bi-directional port. The port direction can be specified using the shared pin PGS1. PGS1 = L specifies input; PGS1 = H specifies output. PIN NAME nPISTR2 IT External Trigger Input 2 The input port of external trigger signal. If the shared pins PGS0 and PGS1 are set to L and H respectively while either "6h" or "7h" is set using TXTRG3 – 0 bits that are configured through network, then this port is configured for the external trigger input port. The configuration bit 0 of the own node ID. For detailed information, see the section on Configuration Using Shared Pins. The bit 1 of Port D. A bi-directional port. The port direction is configured using the same way as PD0. The configuration bit 1 of the own node ID For detailed information, see the section on Configuration Using Shared Pins. The bit 2 of Port D. A bi-directional port. The port direction is configured using the same way as PD0. The configuration bit 2 of the own node ID For detailed information, see the section on Configuration Using Shared Pins. The bit 3 of Port D. A bi-directional port. The port direction is configured using the same way as PD0. The configuration bit 3 of the own node ID For detailed information, see the section on Configuration Using Shared Pins. The bit 4 of Port D. A bi-directional port. The port direction can be specified using the shared pin PGS1. PGS1 = L specifies input; PGS1 = H specifies output. PGS2 should be set to L. The bit0 of FLAG OUTPUT. A bi-directional port. Setting the shared pin PGS2 to H configures FLAG OUTPUT mode. For detailed information of the flag, see the section on Configuration Through Network. Page Size Selection. For detailed information, see the section on Configuration Using Shared Pins. External Trigger Input 2 31 (Node ID Configuration Bit 0) Port D bit 1 (NID0) PD1 (IT) IT/O42 (Node ID Configuration Bit 1) 32 Port D bit 2 (NID1) PD2 (IT) IT/O42 (Node ID Configuration Bit 2) 33 Port D bit 3 (NID2) PD3 (IT) IT/O42 (Node ID Configuration Bit 3) 34 Port D bit 4 (NID3) PD4 (IT) IT/O42 FLAG OUTPUT bit0 FO0 O42 (Page Size Selection) (PSSL) (IT) SMSC TMC2084 Page 9 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet PIN NO. 35 SIGNAL NAME Port D bit 5 PIN NAME PD5 BUFFER TYPE BY FUNCTION IT/O42 DETAILED DESCRIPTION The bit 5 of Port D. A bi-directional port. The port direction is configured using the same way as PD4. The bit1 of FLAG OUTPUT. The FLAG OUTPUT mode is configured using the same way as PD4. For detailed information of the flag, see the section on Configuration Through Network. Configuration bit 0 of port direction. For detailed information, see the section on Configuration Using Shared Pins. The bit 6 of Port D. A bi-directional port. The port direction is configured using the same way as PD4. The bit2 of FLAG OUTPUT. The FLAG OUTPUT mode is configured using the same way as PD4. For detailed information of the flag, see the section on Configuration Through the Network. Configuration bit 1 of port direction. For detailed information, see the section on Configuration Using Shared Pins. The bit 7 of Port D. A bi-directional port. The port direction is configured using the same way as PD4. Network Status Monitoring output. The FLAG OUTPUT mode is configured using the same way as PD4. For detailed information see the section on Configuration Through the Network. The configuration bit 2 of port direction. For detailed information, see the section on Configuration Using Shared Pins. The input for the reset signal. The signal for hardware reset is connected to this active low pin. This pin functions as the input for either the oscillator or the external clock. Oscillator output. Transmit enable output (active high) Transmit data output. Specifies bypassing of CMI encoder/ decoder. For detailed information, see the section on Configuration Using Shared Pins. FLAG OUTPUT bit1 FO1 O42 (Port Direction Configuration - bit 0) 37 Port D bit6 (PGS0) PD6 (IT) IT/O42 FLAG OUTPUT bit2 FO2 O42 (Port Direction Configuration - bit 1) 38 Port D bit 7 (PGS1) PD7 (IT) IT/O42 Network Status Monitoring output nRCNERR O42 (Port Direction Configuration - bit 2) 41 43 44 46 47 Reset Input Oscillator/ External Clock Input Oscillator Output Transmit Enable Output Transmit Data Output (CMI bypass configuration) (PGS2) (IT) nRESET X1 X2 TXEN TXD Reset and Clock ICS IC OX Transceiver Interface O42 O42 (IT) (nCMIBYP) Revision 0.1 (03-31-06) Page 10 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet PIN NO. 48 39, 40 13, 25, 42 1, 12, 24, 36, 45 SIGNAL NAME Receive Data Input Test Mode PIN NAME RXIN BUFFER TYPE BY FUNCTION IT DETAILED DESCRIPTION Receive data input. Test mode. This pin must be tied to Vdd. Power supply pin. This pin is connected to the power supply voltage (3.3V). Ground pin. This pin is connected to the ground level (0V). Power Supply Ground Test Pin nTMODE IT_PU nSMODE Power Supply Pin Vdd Vss - Description of buffer types: IC IT IT_PU ICS O42 OD4 OX Input, CMOS Level Input, TTL Level Input, TTL Level with pull-up Input, CMOS Level with Schmitt Trigger Output, IOL = 4 mA, IOH = -2 mA Open-drain Output, IOL = 4 mA Oscillator Output SMSC TMC2084 Page 11 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 1.5 Pinout Vss PD5 PD4 PD3 PD2 PD1 PD0 PC7 PC6 PC5 PC4 Vdd 36 35 34 33 32 31 30 29 28 27 26 25 PD6 PD7 nTMODE nSMODE nRESET Vdd X1 X2 Vss TXEN TXD RXIN 37 38 39 40 41 42 43 44 45 46 47 48 24 23 22 21 20 19 18 17 16 15 14 13 Vss PC3 PC2 PC1 PC0 PB7 PB6 PB5 PB4 PB3 PB2 Vdd TMC2084 1 2 3 4 5 6 7 8 9 10 11 12 Vss PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PB0 PB1 Figure 2 - TMC2084 Pin Configuration Revision 0.1 (03-31-06) Page 12 Vss SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Chapter 2 2.1 2.1.1 Functional Description Network Configuration General Host Node and I/O Node A CircLink network can consist of a single host node/multi I/O node, or multiple host nodes/single I/O, or multiple host nodes and multiple I/O nodes. The host node is directly connected to the system (external) CPU, which controls all communications to or from it. The device that can be used for the host node should be a TMC2072/74 that is configured to operate in Peripheral mode; the TMC2084 is dedicated for the use as an I/O node only (Standalone mode). The I/O nodes do not require the CPU and they are controlled indirectly via the network by the CPU through the host node. The CircLink network allows a combination of host nodes and I/O nodes up to 15 nodes total. Every CircLink network must have at least one host node. The host node controls the following I/O node functions: Input and output activities on a port (sending and receiving data and initializing the port) Setting various configuration data Request for configuration data Activation of transmission activity Software reset These functions are controlled through the network. Section 2.1.2 shows two examples: network configuration example 1 (single host) that includes one host node and fourteen I/O nodes, and network configuration example 2 (dual host) that includes two host nodes and four I/O nodes. When multiple hosts are used, I/O nodes should be grouped so that each host can control its corresponding group as shown in network configuration example 2: Host 1 controls both I/O1 and -2; Host 2 controls both I/O-3 and -4. Node ID Any node that belongs to a network should have a unique identification number (ID). The ID is configured using shared pins NID3 - 0. When shared pin PSSL is set to L, the allowable range of the node ID is 1 trough 7; it is 1 through 15 when the PSSL pin is set to H. 0 is not allowed for any node ID. Consecutive node ID numbers (beginning with 1) are assigned to nodes in a network. Consecutive node ID numbers should be used, because each unused ID number between 2 working node IDs causes a latency of 93.6 μs (2.5 Mbps operation) every time a token is sent and thus degrades overall network performance. SMSC TMC2084 Page 13 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet MAXID The MAXID defines the maximum node ID of the network and is configured through the network using the MAXID3 – 0 bits. Configuring the MAXID for the network when the number of nodes is less than the upper limit that is defined as 7 for PSSL = L and 15 for PSSL = H in the protocol enables tokens to circulate only among the existing nodes. The allowable MAXID range is 2 through 7 for PSSL = L and 2 through 15 for PSSL = H. Both 0 and 1 are not allowed. The node ID should be assigned consecutively starting with 1 and the MAXID should be equal to the number of nodes. Typically, all nodes should have the same value for MAXID. However, the node that requires MAXID is the node that has the largest ID number in the network and the remaining nodes can be left to use the default value: 7 for PSSL = L and 15 for PSSL = H (in this case the maximum ID is assigned to the host node). In the case where configuration items other than MAXID also can use their corresponding default values, configuration through the network is not required. Transmission Rate Transmission Rate defines a common rate for all nodes. The transmission rate for TMC2072/74 is configured using either an internal register or an external pin; for TMC2084, it is configured by the value that is equal to one eighth of the input clock. TRANSMISSION RATE 5 Mbps 4 Mbps 2.5 Mbps 2 Mbps 1.25 Mbps 1 Mbps 625 Kbps 500 Kbps 312.5 Kbps CLOCK FREQUENCY 40 MHz 32 MHz 20 MHz 16 MHz 10 MHz 8 MHz 5 MHz 4 MHz 2.5 MHz CLOCK SOURCE External clock only External clock or crystal resonator External clock or crystal resonator External clock or crystal resonator External clock or crystal resonator External clock only External clock only External clock only External clock only The acceptable frequency of an external crystal resonator is limited to the range of 10 MHz to 32 MHz due to the limitation of the onchip oscillator’s performance. Please use the external clock module if a frequency other than the above is needed. Revision 0.1 (03-31-06) Page 14 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.1.2 Configuration Examples CPU Host TMC2072/74 MAXID=15 ID=1 Transceiver Termination R Termination R Transceiver MAXID=15 ID=2 Transceiver MAXID=15 ID=3 Transceiver MAXID=15 ID=4 Transceiver MAXID=15 ID=15 I/O -1 TMC2084 I/O -2 TMC2084 I/O -3 TMC2084 I/O -14 TMC2084 Switches etc. Figure 3 - Network Configuration Example 1: S Single Host and 15 Nodes Host 1 TMC2072/74 CPU MAXID≥6 ID=1 Switches etc. LED etc. Switches etc. LED etc. LED etc. LED etc. *1 Switches etc. Max 15 Nodes CPU Host 2 TMC2072/74 MAXID=6 ID=6 Transceiver Transceiver Termination R Termina-ti on R Transceiver MAXID=15 ID=2 Transceiver MAXID=15 ID=3 Transceiver MAXID=15 ID=4 Transceiver MAXID=15 ID=5 I/O -1 TMC2084 I/O -2 TMC2084 I/O -3 TMC2084 I/O -4 TMC2084 Switches etc. LED etc. Switches etc. LED etc. LED etc. Switches etc. Switches etc. Group controlled by Host 1 *1 Because a token is still passed to node 6 even if nodes 2 to 5 are off. Figure 4 - Network Configuration Example 2: Dual Hosts and 6 Nodes LED etc. Switches etc. Group controlled by Host 2 SMSC TMC2084 Page 15 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.2 Initial Configuration Initial configuration can be performed two ways: through shared pins or through the network. 2.2.1 Configuration Using Shared Pins Basic items related to communication are configured using the shared pins. The configuration is performed after reading the states of pins PD7 - 0 and TXD at the rising edge of the reset signal. Since these pins remain in their high-impedance states (input states) during reset, connecting pull-up resisters to them causes High level input and connecting pull-down resisters to them causes Low level input. The items configured here are essential to send or receive packets within the network. Additional detail items may be configured if necessary using configuration through the network as described below. nCMIBYP (Shared with TXD) This pin specifies whether CMI coding is bypassed. Low: the CMI coding is bypassed High: the CMI coding is not bypassed. NID3 - 0 (Shared with PD3 - 0) (RZ coding for HYC4000/2000) (CMI coding for RS-485/CAN transceiver) These three pins specify the node ID within the range 1 through 15. NID3 and NID0 correspond to MSB and LSB respectively. Low causes 0; High causes 1. When PSSL is set to Low, NID3 causes 0. Note: DO NOT set low level for all pins. PSSL This pin selects the page size. Low: 128 bytes/page (the maximum number of nodes = 7): All of the NID3, MAXID3 and CMID3 bits are fixed to 0. Burst Transmission Period = 1.07 ms × 2.5/R (R = Transmission Rate in Mbps) High: 64 bytes/page (the maximum number of nodes = 15) Burst Transmission Period = 0.79 ms × 2.5/R (R = Transmission Rate in Mbps) Two types of page sizes out of the four types that TMC2072/74 supports can be configured for TMC2084: 64-byte and 128-byte modes. A common page size must be configured for all nodes including host nodes. The data size that TMC2084 can send to or receive from the host in all modes is only the 8 bytes that are taken from the page; 64 bytes or 128 bytes of data can be transmitted only between host nodes. PGS2 - 0 These three pins specify I/O port direction as shown in the table below. (Shared with PD4) (Shared with PD7 - 5) Revision 0.1 (03-31-06) Page 16 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet PGS2 PGS1 PGS0 L L L L H H H L L H H L L H L H L H L H L Push-pull only PD7 - 4 Input Output PD3 - 0 Input Output Input FLAG OUTPUT Output PC7 - 0 Input Output Input Output Input Output Input O.D / Push-pull PB7 - 0 PA7 - 0 Input Pins for External Trigger nPISTR1 nPISTR2 nPISTR1 nPISTR1 nPISTR2 nPISTR1 Output Output H H H L : Low ; H : High Port D Considerations Output O.D : Open-drain. The pins PA7 – 0 and PB7 – 0 are output-only. Example 1: Configuring Port D as OUTPUT PORT or FLAG OUTPUT - The case where the configuration by the shared pins is the same as the initial data from the OUTPUT PORT configured The figure below shows the case where the initial data from the OUTPUT PORT does not conflict with the configuration by shared pins even if port D is configured as the OUTPUT PORT or FLAG OUTPUT. Port D remains in high-impedance state while the reset signal (nRESET) remains low. OUTPUT PORT remains in high-impedance state during the period from the falling edge of reset to the beginning of the first output data received. During these high-impedance periods, each input to port D is defined by the external pull-up (High) or pull-down (Low) resister. When port D is configured as FLAG OUTPUT, it starts driving right after the deassertion of the reset signal. SMSC TMC2084 Page 17 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Only port D remains in Hi-Z while nRESET = L Configuration by shared pins L H Setting Value Register PD7-0 Output port Clock Reset nRESET Reset generator Reset signal Inside of LSI Example 2: Configuring Port D as OUTPUT PORT - The case where the configuration by the shared pins is different from the initial data from the OUTPUT PORT configured. The figure below shows the case where the initial data from the OUTPUT PORT does conflict with the configuration by shared pins when port D is configured as an OUTPUT PORT. Port D remains in high impedance state while the reset signal (nRESET) remains low. Also, the OUTPUT PORT remains in highimpedance state during the period from the falling edge of reset to the beginning of the first output data received. During reset, the external tri-state buffer is enabled and the values configured by the shared pins are inputted to port D. After the reset signal is deasserted, the tri-state buffer is disabled and the initial data from the OUTPUT PORT is defined by an external pull-up (High) or pull-down (Low) resister. If initial data from the OUTPUT PORT is needed during the reset, use an external gate as shown in the figure below to define the data from OUTPUT PORT while the nRESET remains at low level. A hold time greater than 5 ns is required to retrieve the data configured by the shared pins and place it in the onchip memory. Thus, a buffer is added to provide a delay time for the control signal of an external tristate buffer. Revision 0.1 (03-31-06) Page 18 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Only port D remains in Hi-Z while nRESET = L Configuration by shared pins L H Configuration for initial data of Output Port L H Logic Gate Register PD7-0 Output port Delay >5ns Reset generator nRESET Reset signal Output of logic gate: • Initial L: Outputs L during reset (AND circuit) • Initial H: Outputs H during reset (OR circuit) Note: No gate required if you do not care output during reset. Inside of LSI SMSC TMC2084 Page 19 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Example 3: Configuring Port D as an INPUT PORT The figure below shows the case where the port D is configured as INPUT PORT. The port D remains in high impedance state while the reset signal (reset) remains low level. During this high-impedance state, data defined by an external pull-up (High) or pull-down (Low) resister must be inputted to port D and any external input data to port D should be inhibited to avoid conflict. This requires the external tri-state buffer to inhibit input data during the reset period. A hold time greater than 5 ns is required to retrieve the data configured by the shared pins and place it on the onchip memory. Thus, the buffer is added to provide a delay time for the control signal of the external tri-state buffer. Only port D remains in Hi-Z while nRESET = L. Configuration by shared pins L H Register PD7-0 Input data Delay >5ns Reset generator nRESET Reset signal Inside of LSI Revision 0.1 (03-31-06) Page 20 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.2.2 Configuration Through the Network Additional items configured using this feature. The configuration is performed with an INITIAL SETTING packet received from the host node. If the default is acceptable for all items that require configuration via the network and the NST carry output (i.e. nNSTCOUT described later) is not used, then configuration by the INITIAL SETTING packet is unnecessary. The configuration by INITIAL SETTING packet is valid only before receiving the START TRANSMIT command (described later). After receiving the START TRANSMIT command, the INITIAL SETTING packet is ignored. Format of INITIAL SETTING Packet From host node (transmit) to I/O node (receive) Name SID DID C.P Adrs. * 00h 01h 02h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Initial value -----0 PBOD PAOD 0 BSTSEN D 0 CMIERR EMGYMD MD MAXID3 - 0 TXTRG3 - 0 0 0 NST7 - 0 NST15 - 8 NSTC3 - 0 CMID3 - 0 BRE -7Fh 0Fh 00h 80h 00h --- Host node ID I/O node ID or 00h (broadcasted) C.P = 38h/78h ••• * DATA0 38h/78h DATA1 39h/79h DATA2 3Ah/7Ah DATA3 3Bh/7Bh DATA4 3Ch/7Ch DATA5 3Dh/7Dh NST-L 3Eh/7Eh NST-H 3Fh/7Fh Note: *Addresses in 64-byte mode/Addresses in 128-byte mode SMSC TMC2084 ••• PACKET ID code 0 0 1 PCOD POSTRM POSTRD ACHTBY D LY P FOSL3 - 0 NSTCOM ACHTFR D Q NSTPRE2 - 0 0 Page 21 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Register Description (DATA1: Various Configurations) Name Drs. Bit 7 0 Bit 6 PCOD Bit 5 PBOD Bit 4 PAOD Bit 3 BSTSEN D Bit 2 Bit 1 Bit 0 BRE DATA1 39h/79h BRE CMIERR EMGYMD MD Enables or disables receiving broadcast 0: Receiving broadcast is disabled. 1: Receiving broadcast is enabled (default). When the broadcast packet is received by the BRE=0 setting, it is disregarded. (It doesn't become a receiving error.) EMGYMD Configures emergency mode (Assertion of MYRECON causes dropping from network). 0: Does not initialize OUTPUT PORT (high-impedance state) when MYRECON is asserted. 1: Initializes OUTPUT PORT (high-impedance state) when MYRECON is asserted (default). CMIERRMD Configures the CMI error mode. 0: Does not discard the packet when CMIECC is asserted in it. 1: Discards the packet when CMIECC is asserted in it (default) BSTSEND Configures Recon-burst signal transmit (Assertion of MYRECON causes dropping from network). 0: Does not transmit Recon-burst signal when MYRECON is asserted. 1: Transmits Recon-burst signal when MYRECON is asserted (default). PAOD Configures port A pins (PA7 - 0) as open-drain outputs. 0: Configures port A pins (PA7 - 0) as push-pull outputs (totem pole). 1: Configures port A pins (PA7 - 1) as open-drain outputs (default). PBOD Configures port B pins (PB7 - 0) as open-drain outputs. 0: Configures port B pins (PB7 - 0) as push-pull output (totem pole). 1: Configures port B pins (PB7 - 1) as open-drain outputs (default). PCOD Configures port D pins (PD7 - 0) as open-drain outputs. 0: Configures port D pins (PD7 - 0) as push-pull output (totem pole). 1: Configures port D pins (PD7 - 1) as open-drain outputs (default). Revision 0.1 (03-31-06) Page 22 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Register Description (DATA2: MAXID and nPOSTR Related) Name Adrs. Bit 7 Bit 6 Bit 5 Bit 4 0 Bit 3 Bit 2 0 Bit 1 Bit 0 DATA2 3Ah/7Ah POSTRM POSTRD ACHTBY P D LY MAXID3 - 0 Configure the maximum ID number with range 1 to 15 (MAXID4 is fixed to 0) MAXID3: MSB; MAXID0: LSB Configuring PSSL = Low causes MAXID3 to be fixed to 0. Default: MAXID3 - 0 = 1111 ACHTBYP Configures the bypass or not for Anti-chatter circuit on input ports. 0: Enable the anti-chatter circuit (default) 1: Bypass (Disable) the anti-chatter circuit Note: When the transmit trigger (TXTRG3-0) setting is set to “By the external trigger”, bypass is automatic. POSTRDLY Configures delay time for the OUTPUT PORT strobe (nPOSTR). 0: From the transition of port A to the falling edge of strobe at least 11 times of Tx (default) 1: From the transition of port A to the falling edge of strobe at least 43 times of Tx. Note: Tx = Period of input clock (11 × Tx = 550 ns and 43 × Tx = 2.15 μs @20 MHz input) POSTRMD Configures output mode for the OUTPUT PORT strobe signal (nPOSTR). 0: Asserts OUTPUT PORT strobe signal after initializing OUTPUT PORT and after receiving the OUTPUT DATA packet (default). 1: Asserts only after receiving the OUTPUT DATA packet. Note: Initializing OUTPUT PORT means Initialization by both the INITIALIZE OUTPUT PORT command and the assertion of MYRECON in emergency mode (EMGYMD = 1). SMSC TMC2084 Page 23 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Register Description (DATA3: This register selects the transmit trigger in FLAG OUTPUT.) Name Adrs. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DATA3 3Bh/7Bh TXTRG3 - 0 FOSL3 - 0 These bits select the transmit trigger. TXTRG3 - 0 The trigger condition to send the INPUT DATA packet is configured. The transmit trigger is enabled after receiving the START TRANSMIT command. TXTRG 3 2 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 The transmit trigger to send the INPUT DATA packet is generated upon ... Receiving the OUTPUT DATA packet Receiving the OUTPUT DATA packet or expiring on-chip timer (3.3 ms) Receiving the OUTPUT DATA packet or expiring on-chip timer (6.6 ms) Receiving the OUTPUT DATA packet or expiring on-chip timer (13.1 ms) Receiving the OUTPUT DATA packet or expiring on-chip timer (26.2 ms) Receiving the OUTPUT DATA packet or expiring on-chip timer (104.8 ms) By the external trigger (with NST latch) By the external trigger (without NST latch) Reserved (unused) Reserved (unused) Reserved (unused) Reserved (unused) Reserved (unused) Reserved (unused) Receiving own token Receiving the COMMAND packet 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 Receiving the OUTPUT DATA packet: A single transmit trigger is generated after receiving the OUTPUT DATA packet that is destined for this node or broadcasted is received. The INPUT DATA packet is transmitted after receiving the token (i.e., the token destined for this node). Receiving the OUTPUT DATA packet or expiring on-chip timer: A single transmit trigger is generated after either receiving the OUTPUT DATA packet that is destined for this node or broadcasted, or expiring on-chip timer. The INPUT DATA packet is then transmitted after receiving the token. Note: This on-chip timer is cleared by an of three events: receiving the START TRANSMIT command; receiving the INITIALIZE OUTPUT PORT command; or transmitting an INPUT DATA packet after receiving a data packet. Revision 0.1 (03-31-06) Page 24 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet By the external trigger: The rising edge on the external trigger input pin (nPISTR1 or nPISTR2) latches the input data and generates the trigger. The INPUT DATA packet is then transmitted after receiving the token. Either nPISTR1 or nPISTR2 is selected as the external trigger input pin depending on the I/O port direction configured by pins PGS2 - 0. If all of ports are configured as OUTPUT PORTs by the configuration feature for I/O port direction, then this external trigger cannot be used. When the NST value latch is used, both the NST value and input data are latched simultaneously and the latched NST value is transmitted. When the NST value latch is not used, the last NST value is transmitted regardless to latching the input data. (Both the input data and NST value latches are cleared to zero by hardware at initialization.) Receiving the token allows the actual transmission of packets. Thus, the delay time from the trigger to the actual transmission can vary. If two consecutive external triggers are inputted, it can not be determined which trigger caused the data transmission since it depends on when the token was received. Using nTXDONE (transmit completion flag) of the FLAG OUTPUT allows an easy handshake. Trigger input is inhibited during transmission process nPISTR1/2 nTXDONE Whenever the token is received: With this condition, the trigger is always generated. The INPUT DATA packet is transmitted whenever own token is received. Receiving COMMAND packet: A single transmit trigger is generated whenever either the START TRANSMIT or INITIALIZE OUTPUT PORT command that is destined for this node or broadcasted is received. The INPUT DATA packet is then transmitted upon receiving the token (The transmit trigger caused by the INITIALIZE OUTPUT PORT command is valid after receiving the START TRANSMIT command). Note that the Return Setting and SOFTWARE RESET commands do not cause any transmit trigger. For detail information on each command, see section 2.4 COMMAND packet. NOTE: A single transmit trigger is generated each time the START TRANSMIT command is received regardless of the configuration for the transmit trigger. Additionally, a single transmit trigger is generated at the time the INITIALIZE OUTPUT PORT command is received after receiving the START TRANSMIT command. Completion of transmission SMSC TMC2084 Page 25 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet FOSL3 - 0 Select FLAG OUTPUT. These bits select the flags that are outputted to the upper 4 bits of port D. For detailed information, see section of 2.7 FLAG OUTPUT. FOSL 2 1 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 Default 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 FO3 (PD7) FO2 (PD6) FO1 (PD5) nTXDONE FO0 (PD4) nNSTCOUT NSTUNLOC nTKN2ME NSTUNLOC nTKN2ME NSTUNLOC nTKN2ME nPOSTR nNSTCOUT NSTUNLOC nRCNERR nTXDONE nNSTCOUT nNSTCOUT NSTUNLOC (Fixed to High) (Fixed to High) (Fixed to High) Revision 0.1 (03-31-06) Page 26 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Register Description (DATA4: NST carry-related configuration) Name Adrs. Bit 7 Bit 6 Bit 5 0 Bit 4 0 Bit 3 Bit 2 Bit 1 Bit 0 DATA4 3Ch/7Ch NSTCOM ACHTFR Q D NSTC3 - 0 NSTC3 – 0 These bits select the NST carry (default: NSTC3 - 0 = 0000) 0000: 1st digit (carry period = NST resolution X 2^1) nd 0001: 2 digit (carry period = NST resolution X 2^2) rd 0010: 3 digit (carry period = NST resolution X 2^3) th 0011: 4 digit (carry period = NST resolution X 2^4) :: : th 1110: 15 digit (carry period = NST resolution X 2^15) th 1111: 16 digit (carry period = NST resolution X 2^16) ACHTFRQ Configures the sampling frequency for Anti-chatter circuit on input ports. 0: Sampling frequency is 1.22 kHz (default) 1: Sampling frequency is 19.1Hz (52 ms period) NOTE: When the transmit trigger (TXTRG3-0) setting is set to “By the external trigger”, bypass is automatic. The above-mentioned sampling frequency is the value when the input clock is 20 MHz. The sampling frequency doubles when the input clock is 40 MHz, and half when the input clock is 10 MHz. NSTCOMD Configures the output mode of NST carry (NST carry is outputted via nNSTCOUT) 0: Active low pulse output with the pulse Level Width resolution selected by the bits NSTPRE2 – 0 1: Clock output with the duty ratio 50% (default) SMSC TMC2084 Page 27 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Register Description (DATA5: Clock master ID and NST resolution) Name Adrs. Bit 7 Bit 6 NSTPRE2 - 0 Bit 5 Bit 4 0 Bit 3 Bit 2 Bit 1 Bit 0 DATA5 3Dh/7Dh CMID3 - 0 CMID3 - 0 These bits define the clock master ID in the range of 1 to 15 (CMID4 is fixed to 0) CMID3: MSB; CMID0: LSB PSSL = Low causes CMID3 = 0. Default: CMID3 - 0 = 0000 (Asynchronous to NST: free running) If a non-zero value is set in bits CMID3 – 0, the synchronization to NST begins when a packet is received from the next CMID. NSTPRE2 - 0 These bits define the NST resolution (default: NSTPRE2 - 0 = 000) 000: 1.6 μs 001: 3.2 μs 010: 6.4 μs 011: 12.8 μs 100: 25.6 μs 101: 51.2 μs 110: 102.4 μs 111: 204.8 μs (Maximum period = 104.9 ms) (Maximum period = 209.7 ms) (Maximum period = 419.4 ms) (Maximum period = 838.9 ms) (Maximum period = 1.68 s) (Maximum period = 3.35 s) (Maximum period = 6.71 s) (Maximum period = 13.42 s) NOTE: The above data are for 20 MHz input. (For 40 MHz input they are half; for 10 MHz input they double) Revision 0.1 (03-31-06) Page 28 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.2.3 Returning Configuration Data When the RETURN SETTING command is received before receiving the START TRANSMIT command, the RETURN SETTING packet is broadcasted upon receiving the next own token. Items configured using the INITIAL SETTING packet are transmitted as the RETURN SETTING packet. After receiving the START TRANSMIT command, any RETURN SETTING command is ignored. For detail information on each command, see the section of 2.4 COMMAND packets. Format of the RETURN SETTING Packet From I/O node (transmit) to host node (receive) Name SID DID C.P Adrs. * 00h 01h 02h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ID of I/O node 00h (always broadcasted) C.P = 38h/78h * ••• DATA0 38h/78h DATA1 39h/79h DATA2 3Ah/7Ah DATA3 3Bh/7Bh NSTCOM ACHTFR DATA4 3Ch/7Ch D Q DATA5 3Dh/7Dh NST-L 3Eh/7Eh NST-H 3Fh/7Fh * Addresses in 64-byte mode/Addresses in 128-byte mode “000” or “PGS2-0” is selected using the RETURN SETTING command. ••• PACKET ID code 0 0 1 PCOD 1 PBOD 0 PAOD 0 POSTRM POSTRD ACHTBY D LY P FOSL3 - 0 0 0 0 NSTPRE2 - 0 *2 0 BSTSEN D 000 / PGS2-0 *2 CMIERR EMGYMD MD 0 TXTRG3 - 0 NSTC3 - 0 CMID3 - 0 BRE NST7 - 0 NST15 - 8 PGS2-0 sets status of the I/O ports direction for the configuration using shared pins. SMSC TMC2084 Page 29 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.3 2.3.1 Types of Packets Packets TMC2084 Can Receive TMC2084 can receive the three types of packets from the host node: the Initial Setting, Command and OUTPUT DATA packets. The packet is identified using the packet ID code included in the first data byte (DATA0) of it and any packet that has undefined code is discarded. Packet’s RAM image on the host node is shown below. Adrs. *1 00h 01h 02h Name SID DID C.P INITIAL SETTING Packet COMMAND Packet ID of host node ID of I/O node or 00h (broadcasted) C.P = 38h/78h *1 OUTPUT DATA Packet 38h/78h 39h/79h 3Ah/7Ah 3Bh/7Bh 3Ch/7Ch 3Dh/7Dh 3Eh/7Eh 3Fh/7Fh *1 Addresses in 64-byte mode/Addresses in 128-byte mode ••• DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H PACKET ID code = 010 Various configuration data MAXID, nPOSTR-related Transmit trigger , FLAG OUTPUT selection NST carry -related Clock master ID, NST resolution *2 PACKET ID code = 100 Command code 0 Command code 0 Lower byte of NST (for the time synchronization use*2) Upper byte of NST (for the time synchronization use*2) In the case where the originator of the packet is the clock master (CM) node. If the originator of the packet is not the clock master (CM) node, then the time synchronization is not used. ••• PACKET ID code = 000, OPICDONE clear Status clear Port A output data Port B output data Port C output data Port D output data 0 Revision 0.1 (03-31-06) Page 30 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.3.2 Packets TMC2084 Can Transmit TMC2084 can send two types of packets: the Return Setting and INPUT DATA packets. It sends the RETURN SETTING packet during the period from the deassertion of reset signal to receiving the START TRANSMIT command. After receiving the START TRANSMIT command it sends INPUT DATA packets. For more information, see section of 2.4 COMMAND packets. Packet’s RAM image on the host node is shown below. Adrs. * 00h 01h 02h Name SID DID C.P RETURN SETTING Packet ID of I/O node 00h (always broadcasted) C.P = 38h/78h * INPUT DATA Packet 38h/78h 39h/79h 3Ah/7Ah 3Bh/7Bh 3Ch/7Ch 3Dh/7Dh 3Eh/7Eh 3Fh/7Fh * Addresses in 64-byte mode/Addresses in 128-byte mode ••• PACKET ID code = 011 DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H Various configuration data MAXID, nPOSTR-related configuration data Transmit trigger, FLAG OUTPUT selections NST carry-related configurations Clock master ID, NST resolution configurations SMSC TMC2084 Page 31 Lower byte of NST (time stamp) Upper byte of NST (time stamp) DATASHEET ••• PACKET ID code = 001, OPICDONE, configuration data of PGS2 – 0 pins Status Port A OUTPUT PORT data Port B OUTPUT PORT data Port C input data or port C OUTPUT PORT data Port D input data or port D OUTPUT PORT data Revision 0.1 (03-31-06) Standalone Mode CircLinkTM Controller Datasheet 2.4 2.4.1 Command Packets Format of COMMAND Packets Adrs. * 00h 01h 02h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 From host node (transmit) to I/O node (receive) Name SID DID C.P ID of host node ID of I/O node or 00h (broadcasted) C.P = 38h/78h * ••• DATA0 38h/78h DATA1 39h/79h DATA2 3Ah/7Ah DATA3 3Bh/7Bh DATA4 3Ch/7Ch DATA5 3Dh/7Dh NST-L 3Eh/7Eh NST-H 3Fh/7Fh * Addresses in 64-byte mode/Addresses in 128-byte mode RETURN SETTING Command (CMD7 - 0 = 000P - 0001 = 01h or 11h) Operation: Requests sending the configuration data configured via the network (i.e., RETURN SETTING packet). 3bit Data of Bit2-0 on DATA0 in the RETURN SETTING packet, is selected by the “P” option. P=0 (CMD=01h) : Bit2-0 is all zero (Compatible with TMC20080) P=1 (CMD=11h) : Bit2-0 is PGS2-0 which is I/O ports direction status This command is ignored after receiving the Start Transmit packet. Response: The RETURN SETTING packet is broadcasted upon receiving own token. (Refer to 2.2.3) Revision 0.1 (03-31-06) ••• PACKET ID code 1 0 0 00h CMD7 - 0 00h CMD7 - 0 (repeat the same data twice) 00h NST7 - 0 NST15 - 8 0 Page 32 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet START TRANSMIT command (CMD7 - 0 = 0000 - 0011 = 03h) Operation: Enables the transmit trigger and starts the transmission of the INPUT DATA packet. After receiving this command, packets the TMC2084 can transmit are limited to INPUT DATA packets. The SOFTWARE RESET command disables transmission from the TMC2084. Response: The INPUT DATA packet is broadcasted only one time upon receiving own token regardless of the transmit trigger configuration. After that the transmissions depend on the transmit trigger configuration. NOTE: If the transmit trigger is configured for the external trigger and: If the external trigger input (either nPISTR1 or 2) is low when TMC2084 comes out of reset, then both the input data and the NST are returned with zeroes set as their values. If the external trigger input is High, it returns the data taken from the INPUT PORTs and NST at the time the INITIAL SETTING packet is received. However, when the NST latch is not used, typically current contents of the counter are transmitted as the NST value. For the START TRANSMIT commands that are received after the first START TRANSMIT command, it returns the data that are taken from the input data and the NST at the time the preceding external trigger is inputted. However, when the NST latch is not used, usually the current contents of the counter are transmitted as NST value. INITIALIZE OUTPUT PORT command (CMD7 - 0 = 0000 to 0111 = 07h) Operation: Places all of OUTPUT PORTs in high-impedance state. Response: If any START TRANSMIT command is already received, then TMC2084 sends the INPUT DATA packet upon receiving own token. Otherwise, it sends nothing. SOFTWARE RESET command (CMD7 - 0 = 1000 to 1111 = 8Fh) Operation: Executes the software reset (i.e., it resets the communication section of the TMC2084), sets all I/O ports to high-impedance state and initializes the configuration data configured through the network to default values, then adds TMC2084 to the network automatically. The transmit trigger is also disabled (disabled transmission). Response: None *NOTE: After receiving the software reset command, software reset is executed within 100 μS (@2.5 Mbps) or less. (The100 μS becomes 50 μS at 5 Mbps, and 200 μS at 1.25 Mbps) SMSC TMC2084 Page 33 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.5 OUTPUT PORTs These ports output the data included in the OUTPUT DATA packet received from the host node. The received data are outputted to the OUTPUT PORTs that are configured using the I/O port direction configuration feature, and the data destined for the INPUT PORT and FLAG OUTPUT are not outputted to pins. The output type is only available for the port A, B and C: Either push-pull or open-drain output type is selectable for them through network using the PAOD, PBOD and PCOD bits. OUTPUT DATA packets also include the area to clear NST and various status bits. All ports that are configured for the FLAG OUTPUT mode, except for pins PD7 – 4, are placed in the highimpedance state until the first OUTPUT DATA packet is received, regardless the output type configured. Dropping from the network causes high-impedance state for them (depending on the EMGYMD configured). Initializing OUTPUT PORTs to high-impedance is also possible using a command. In addition, the output port is initialized (high-impedance state) by the hardware reset and the software reset command. Revision 0.1 (03-31-06) Page 34 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.5.1 Format of OUTPUT DATA Packets Adrs. * 00h 01h 02h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 From host node (transmit) to I/O node (receive) Name SID DID C.P ID of host node ID of I/O node or 00h (broadcasted) C.P = 38h/78h * ••• DATA0 38h/78h DATA1 39h/79h DATA2 3Ah/7Ah DATA3 3Bh/7Bh DATA4 3Ch/7Ch DATA5 3Dh/7Dh NST-L 3Eh/7Eh NST-H 3Fh/7Fh * Addresses in 64-byte mode/Addresses in 128-byte mode PA7 - 0, PB7 - 0, PC7 – 0 and PD7 - 0 These pins accept data that are outputted to the corresponding port. However, data on the bits that are configured as both the INPUT PORTs and the FLAG OUTPUTs (PD7 - 4) are not outputted to pins. RXERR CMIECC NSTUNLOC MRCV TKNRETF RCPUM POR MYRECON OPICDONE 1: Clears RXERR flag 1: Clears CMIECC flag 1: Clears NSTUNLOC flag 1: Clears MRCV flag 1: Clears TKNRETF flag 1: Clears RCPUM flag 1: Clears POR flag 1: Clears MYRECON flag 1: Clears OPICDONE flag 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected 0: Unaffected ••• PACKET ID code 0 RXERR 0 CMIECC 0 NSTUNL OC 0 MRCV SMSC TMC2084 Page 35 OPICDON E TKNRETF RCPUM 0 POR MYRECO N PA7 - 0 PB7 - 0 PC7 - 0 PD7 - 0 NST7 - 0 NST15 - 8 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.5.2 Configuring I/O Port Directions The direction of each I/O port is configured using shared pins PGS2 - 0. For detailed information, see the section on Configuration Using Shared Pins. 2.5.3 Open-Drain Mode Either push-pull or open-drain output type is configurable for ports A, B, and C through the network using PAOD, PBOD, and PCOD. For detailed information, see the section on Configuration Through Network. 2.5.4 Initializing OUTPUT PORTs OUTPUT PORTs are initialized to high-impedance by the following events: Node dropped from network (EMGYMD = 1; MYRECON asserted) For detailed information, see EMGYMD in the section on Configuration Through Network. The INITIALIZE OUTPUT PORT command is received Hardware reset The SOFTWARE RESET command is received The data from the OUTPUT DATA packet are outputted to the corresponding port again when the OUTPUT DATA packet is received. 2.5.5 Switching Timing In OUTPUT PORTs To prevent simultaneously switching OUTPUT PORTs which would generate noise, a time delay is provided for each group ports. The delay time depends on the input clock: 50 ns at 20 MHz clock. The figure below shows timing relationships between the OUTPUT PORT and the output strobe flag, nPOSTR. Revision 0.1 (03-31-06) Page 36 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet • MYRECON asserted (EMGYMD=1) Tx X 14 / Tx X 46 (700 ns / 2.3 μs @ 2.5 Mbps) INITIALIZE OUTPUT PORT command received Tx X 11 / Tx X 43 (550 ns / 2.15 μs @ 2.5 Mbps OUTPUT DATA packet received * First receiving Tx X 11 / Tx X 43 (550 ns / 2.15 μs @ 2.5 Mbps * Subsequent receiving Tx X 12 / Tx X 44 (600ns / 2.2 μs @ 2.5 Mbps) PA7 - 0 Tx • • Tx PB7 - 0 PC7 - 0 Tx PD7 - 0 (nPOSTR) POSTRDLY = 0 : Tx ×11~14 POSTRDLY = 1 : Tx×43~46 Tdr Tdr: Period of transmission rate (400 ns @ 2.5 Mbps) Tx: Period of input clock (50 ns @ 20 MHz) Tdr = 8 × Tx 2.6 INPUT PORT In the following events, Data from the INPUT PORTs are broadcasted using the INPUT DATA packet: Own token is received immediately after the START TRANSMIT command is received. Own token is received after the transmit trigger is issued. Own token is received immediately after the OUTPUT PORT command is received. Also, the following data are transmitted together with the data from INPUT PORTs: Various statuses PGS2 – 0 ― Configuration data of I/O direction (see the section of Configuration Using Shared Pins) NST15 – 0 ― Time stamp (see the section of NST) The data from the OUTPUT PORTs are retransmitted (feed backed) to the bits that are configured as OUTPUT PORTs. However, if bits PD7 – 4 are configured as FLAG OUTPUT, ”1” is transmitted to each corresponding bit. Additionally, if the transmit trigger is configured as the external trigger, ”0” is transmitted to the corresponding trigger input pin: PC0 or PD0. No INPUT DATA packet is transmitted before the START TRANSMIT command is received from the host (i.e., the transmission function is activated). Once the START TRANSMIT command is received, the transmission of the INPUT DATA packet commences depending on the transmit trigger mode configured through network using bits TXTRG3 - 0. For detailed information, see sections 2.2.2 Configuration Through Network and 2.4 Command Packets. SMSC TMC2084 Page 37 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.6.1 Format of Input Data Packets Adrs. * 00h 01h 02h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 From I/O node (transmit) to host node (receive) Name SID DID C.P ID of I/O node 00h (always broadcasted) C.P = 38h/78h * ••• DATA0 38h/78h DATA1 39h/79h DATA2 3Ah/7Ah DATA3 3Bh/7Bh DATA4 3Ch/7Ch DATA5 3Dh/7Dh NST-L 3Eh/7Eh NST-H 3Fh/7Fh * Addresses in 64-byte mode/Addresses in 128-byte mode Revision 0.1 (03-31-06) ••• PACKET ID code 0 RXERR 0 CMIECC 1 NSTUNL OC 0 MRCV Page 38 OPICDON E TKNRETF RCPUM PGS2 - 0 POR MYRECO N PA7 - 0 PB7 - 0 PC7 - 0 PD7 - 0 NST7 - 0 NST15 - 8 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet PA7 - 0, PB7 - 0, PC7 – 0 and PD7 - 0 Each of these bits transmits the state of a port. The data from the OUTPUT PORTs are transmitted (feedback) to the bits that are configured as OUTPUT PORTs. However, if bits PD7 – 4 are configured as FLAG OUTPUT, ”1” is transmitted to the corresponding bit. Additionally, if the transmit trigger is configured as the external trigger, ”0” is transmitted to either PC0 or PD0 pin that corresponds to the trigger input pin, nPISTR1 or nPISTR 2 respectively. PGS2 - 0 Configuration data of I/O port direction For detail information, see the section of Configuration Using Shared Pins. 1: Receiving error was detected. 1: Error correction was performed during CMI decoding. NSTUNLOC MRCV TKNRETF RCPUM 1: NST unlock state was detected. 1: Own packet was received. 1: Token retry was encountered. 0: No error was detected. 0: No own packet was received. 0: No token retry was encountered. 0: No error was detected. 0: No error was detected. RXERR CMIECC 1: The C.P value in the received packet was different from 38h/78h. 0: The C.P value in the received packet was equal to 38h/78h. POR 1: Either hardware or software reset was asserted. 0: No reset was asserted. MYRECON 1: Dropping from network caused the RECON timer to expire. 0: No timeout was encountered. OPICDONE 1: The INITIALIZE OUTPUT PORT command was executed. 0: The INITIALIZE OUTPUT PORT command was not executed. After receiving the START TRANSMIT command, TMC2084 commences the transmission of the above data: configuration data (3 bits), status data (9 bits) input data (32 bits) and NST(16 bits). For detail information on each status bit, see the section 2.8 Status Bits. NST15 - 0 (Time stamp) TMC2084 sends the INPUT DATA packet with time information (NST value) attached. When the transmit trigger is configured as the external trigger mode that uses NST latch, the NST value taken at the time the input data is latched is transmitted. In the external trigger mode that does not use the NST latch, the preceding NST value is transmitted regardless of the input data latch (For detail information on the transmit trigger, see the section on Configuration Through the Network). SMSC TMC2084 Page 39 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.7 FLAG OUTPUT Tying the shared pin PGS2 to high level configures the upper four bits of port D to be FLAG OUTPUT port. When the FLAG OUTPUT configuration is used, the OUTPUT PORT feature using the OUTPUT DATA packet is not available. The flags start to drive within two system clock cycles after the de-assertion of reset. The FLAG OUTPUT port outputs six different flags: MSB (FO3) always outputs nRCNERR; the lower three bits (FO2 – 0) output a set of three flags that is selected from five flags using the bits FOSL3 – 0 that are configured through network. Shared pin PGS2 nRCNERR Bit7 of Data5 in Output Data packet 3 FO3 (PD7) 1 0 Config. via network FOSL3 - 0 nPOSTR nTXDONE nNSTCOUT NSTUNLOC nTKN2ME 5 to 3 MUX 3 3 1 3 0 3 FO2-0 (PD6 - 4) Bit6 - 4 of Data5 in Output Data packet When PGS2=1, driving starts within 2 clock cycles after de-assertion of reset. Figure 5 - Functional Diagram Of FLAG OUTPUT Table 1 - Truth Table Of Bits FOSL3 - 0 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 FOSL 2 1 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 FO3 (PD7) FO2 (PD6) FO1 (PD5) nTXDONE nPOSTR nNSTCOUT NSTUNLOC nRCNERR nTXDONE nNSTCOUT nNSTCOUT NSTUNLOC FO0 (PD4) nNSTCOUT NSTUNLOC nTKN2ME NSTUNLOC nTKN2ME NSTUNLOC nTKN2ME Default (Fixed to High) (Fixed to High) (Fixed to High) Revision 0.1 (03-31-06) Page 40 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.7.1 Flag Descriptions nPOSTR The strobe pulse for the OUTPUT PORT (active low). This can be used as the strobe signal for such as an external DA converter (see the examples of application circuits in the section of the Appendix). The following events assert nPOSTR: OUTPUT DATA packet was received. The INITIALIZE OUTPUT PORT command was received when POSTRMD = 0 had been configured through network. Dropped from network due to EMGYMD = 1 (MYRECON asserted) when POSTRMD = 0 had been configured through network. The nPOSTR outputs a pulse after the OUTPUT DATA packet is received and the state of OUTPUT PORT is stabled. As the delay time from the settling of OUTPUT PORT state to the output of strobe pulse, one of two delay times is selectable using the POSTRDLY bit that is configured through network. PA7-0 PB7-0 PC7-0 PD7-0 nPOSTR POSTRDLY=0: Tx X (11 to 14) POSTRDLY=1: Tx X (43 to 46) Tdr Tx: Input clock period Tdr: Transmission rate period nTXDONE The pulse that indicates the completion of transmitting the INPUT DATA packet (active low). The pulse Level Width is Tdr (= transmission rate period). This can be used as the trigger signal for such as an external AD converter (see the example of application circuits in the section of the Appendix). NST carry pulse (active low or clock). For detail information, see the section of NST. The output flag that indicates the synchronization status between own and clock master’s NSTs (active high). The asynchronous state (unlocked state) causes High level. For detail information, see the section of NST. The pulse that indicates that own token was received (active low). The pulse Level Width is Tdr ( = transmission rate period). The output flags that indicates network error (active low). This is asserted in the event of dropping from network (MYRECON asserted), expiring idle timer or token retry and it is reset upon receiving own token. nNSTCOUT NSTUNLOC nTKN2ME nRCNERR SMSC TMC2084 Page 41 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet • Dropping from network (MYRECON asserted) • Expiring idle timer • Token retry Own token received nRCNERR Error 2.7.2 Pulse Level Width Of Each Output Flag nTXDONE Tdr nTKN2ME Tdr nNSTCOUT (NSTCOMD = 0) Resolution of NST (Configured by bits NSTPRE2 – 0) Tdr: Transmission rate period 2.8 Status Bits TMC2084 has multiple status bits that indicate its various states and transmits them as a part of the INPUT DATA packet. Setting anyone of these statuses bits to "1" causes it to keep its value until it is cleared. Any status bit is cleared when the OUTPUT DATA packet in which its corresponding status bit is set to "1" is received. Also, they are cleared by the hardware reset and receiving the SOFTWARE RESET command. RXERR Indicates that the device stopped receiving a packet since it detected an error during it (the packet was discarded). 1: Receiving error is detected 0: Non error Revision 0.1 (03-31-06) Page 42 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet This flag is asserted in the following events: a) CP error The C.P in the received packet exceeded the Page Size (40h or 80h) or it was equal to the value (01h or 02h) that means the header area. Potential causes: Incorrect configuration in host node side. b) Frame error The packet data of which frame format violated the token passing protocol was received. Potential causes: Mismatch in the configuration for such as transmission rate or coding scheme. c) Length error The data size that was actually received was different from the value C.P indicated. The device failure is only potential cause. d) CRC error The received packet data had incorrect CRC code. Potential causes: Unreliable physical line. e) CMI decoding error (CMIERRMD = 1) The CMI demodulator encountered error correction. (This is considered as an error only if CMIERRMD = 1 is configured through network) NOTE: No error source bit is available for RXERR. CMIECC Indicates that CMI decoder corrected an error in the received data. 1: An error was corrected. 0: Non error NOTE: The state transition diagram for CMI describes that no potential symbol received is regarded as the nearest potential symbol received. For an example, receiving no potential symbol 10 allows the CMI receiver to interpret that the correct symbol either 11 or 00 was changed to 10 due to an error. Receiving another 11 illegally immediately after symbol 11 enables the CMI receiver to think that the correct symbol would be 00, inversely if the preceding 00 is received then the correct symbol would be 11. On the other hand, receiving another 11 (00) immediately after 11 (00) allows selecting 01 as correct symbol. For more information, see section 2.10 CMI Coding. NSTUNLOC Indicates the NST synchronization state between the CM and own nodes. For detail information, see the section 2.9 NST Time Stamps. 1: Not locked to NST of the CM node. 0: Locked (synchronized) to NST of the CM node. Although this flag has the same meaning as the NSTUNLOC bit of the FLAG OUTPUT, it acts differently: This status bit: Once It is set to ”1,” it remains in the ”1” state until it is cleared. FLAG OUTPUT: The Lock/Unlock sate is reflected to the output pin immediately. If own node is the CM node, this flag always is ”0.” SMSC TMC2084 Page 43 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet If other node is CM node, this flag is ”1” by default. Be sure to clear this bit before you use it to confirm the synchronization to the CM node. *About approval condition for Synchronous lock /unlock state - Unlock to lock state (NSTUNLOC=0) The difference between own NST and NST from CM node enters within +/-2. And NST from CM node must be received three times or more continuously, and all of those differences must be within +/-2. - Lock to unlock state (NSTUNLOC=1) The difference between own NST and NST from CM node doesn’t enter within +/-2. Or NST from CM node must be received three times or more continuously, and all of those differences are not within +/-2. MRCV Indicates that own packet was received normally. 1: Own packet was received. 0: Own packet was not received. Receiving the broadcasted packet or others packet does not affect this bit. TKNRETF Indicates that a token was retransmitted (Token retry). 1: Token retry was performed; 0: No token retry was performed When a token did not arrive at the destination (own ID + 1), TMC2084 transmit it to the same destination one more time. This may happen when the next node does not exist or some reason like noise prevents token to arrive at the destination (own ID + 1). When nonconsecutive node ID numbers are used, this always happen at the neighboring node of unused ID number. RCPUM Indicates that the C.P in the received packet had an invalid value; the correct value is 38h for PSSL = H or 78h for PSSL = L. Potential cause: the host node has an incorrect configuration. The received packet is discarded. 1: The C.P in the received packet had a value other than 38h/78h. 0: It had 38h/78h. In the event that the C.P in the received packet exceeded the Page Size (40h for PLLS = H or 80h for PSSL = L) or it was equal to the value (01h or 02h) that means the header area, RXERR is asserted instead of RCPUM. RCPUM=1 is generated by receiving the broadcast packet that it transmits when the TMC2072/74 is set to Standalone mode when BRE=1 is set. Revision 0.1 (03-31-06) Page 44 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet POR Indicates that hardware reset or receiving the SOFTWARE RESET command caused software reset. 1: Either hardware or software reset was performed. 0: No reset was performed. MYRECON Indicates that RECON timer has expired, dropping the node from the network. When no node recognized its own node, i.e., no own token received during the time period of 52 ms (@2.5 Mbps), the RECON timer expires. 1: The RECON timer expired. 0: The RECON timer did not expire. OPICDONE Indicates that the INITIALIZE OUTPUT PORT command was executed. 1: The INITIALIZE OUTPUT PORT command was executed. 0: It was not executed. 2.9 NST Time Stamps TMC2084 can handle packets with an attached time stamp. The time stamp is known as NST (Network Standard Time). Every node in the network has its own clock that is synchronized to the NST of the clock master node (CM node). Only one clock master node is allowed to exist in a network. NST has 16-bit length and is included in the last two bytes of the packet that is sent or received. The NST has a different meaning depending on whether it is in a received or transmitted packet. Packet Type Received packet (transmitted from CM node) Received packet (transmitted from non-CM node) Transmitted packet Usage of NST Synchronization with CM node Receiving time stamp Transmitting time stamp The NST used in the time stamp usually represents the time at which the packet is transmitted (see Y in the figure shown below). If you need the time stamp that represents the time at which data on an INPUT PORT is taken using the external trigger, please configure bits TXTRG3 – 0 = 6h (i.e., external trigger using NST latch). The time stamp represents the time at which the external trigger is inputted (see X in the figure shown below). RXIN TXD NST15 - 0 X Own token 15.6 μs @ 2.5 Mbps INPUT DATA packet 68.4 μs @ 2.5 Mbps Token for Next node Y External trigger inputted Latches data on INPUT PORT NST is also latched when TXTRG3-0 = 6h TXTRG3-0 = 6h TXTRG3-0 = 0h-5h, 7h and Eh : Sends NST(X) : Sends NST(Y) Revision 0.1 (03-31-06) SMSC TMC2084 Page 45 DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.9.1 Time Synchronization Receiving the packet from the clock master after configuring both bit sets CMID3 – 0 and NSTPRE2 - 0 to the appropriate values enables synchronization with NST. CMID3 - 0 NSTPRE2 - 0 The ID number for the clock master. It must be in the range 1 to 15 (1 to 7 for PSSL = L). The resolution of NST. Its range must be the system clock period multiplied by 32 to 4096. NOTE: All nodes must have a common resolution. (Except for the asynchronous case). Table 2 - Bits NSTPRE2 – 0 And NST Resolution 2 0 0 0 0 1 1 1 1 NSTPRE 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 Dividing Ratio 1: 32 1: 64 1: 128 1: 256 1: 512 1: 1024 1: 2048 1: 4096 Resolution and NST Period @ 20 MHz Clock 105 ms 1.6 μs 210 ms 3.2 μs 409 ms 6.4 μs 839 ms 12.8 μs 1,680 ms 25.6 μs 3,360 ms 51.2 μs 6,710 ms 102.4 μs 13,420 ms 204.8 μs The local time is synchronized each time with unicasted or broadcasted packet received from the CM node that is specified by bits CMID3 – 0 and even with any packet that the CM node transmits. The NSTUNLOC pin of FLAG OUTPUT and the NSTUNLOC status bit indicate whether the device is synchronized to the NST of CM node. For detailed information, see the sections on FOSL3 – 0 in Configuration Through the Network and the Status Bits. 2.9.2 Carry Output Configuring both the bit sets FOSL3 - 0 (flag selection) and NSTC3 – 0 through the network enables the nNSTCOUT pin (NST carry output) of the FLAG OUTPUT to output the operating state of NST counter. Additionally, configuring the NSTCOMD bit through the network enables the selection of output type from either pulse (NSTCOMD = 0) or clock (NSTCOMD = 1: default). Controls time synchronization NST NSTPRE2 - 0 Specifies resolution 16 16 to1 MUX Selects output digits 2 to1 MUX Clock Pulse generator NSTCOMD Selects output type 1 nNSTCOUT 0 Time stamp for transmit packet NSTC3 - 0 4 Figure 6 - Functional Diagram of NST Carry Output Generation Section Revision 0.1 (03-31-06) Page 46 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Table 3 - Bits NSTC3 – 0 vs. Carry Output Bit 3 0 0 0 1 NSTC 2 1 0 0 0 0 0 1 ··· 1 1 0 0 1 0 1 Carry Output Bits NST bit 0 NST bit 1 NST bit 2 ··· NST bit 15 Output period of Carry Resolution X 21 Resolution X 22 Resolution X 23 Resolution X 215 NST0 NST1 NST2 . . . nNSTCOUT (Pulse) Resolution X 1 nNSTCOUT (Clock) Resolution X 2 (NSTC + 1) Figure 7 - nNSTCOUT Output Timing Example For Bits NSTC3 - 0 = 2h The NST feature as a network standard time allows multiple nodes to output the synchronous NST carry. It is suitable for LED lamp controlling applications. (CM node) nNSTCOUT (Node a) nNSTCOUT (Node b) nNSTCOUT Phase error = Resolution X 1.5 (guideline) The carry output starts driving with High level when the devise comes out of reset. The condition for the pin to start driving the carry output depends on the configuration of bits CMID3 – 0 as shown in the table below: Bits CMID3 - 0 Own ID or 0 ID of other node Start Condition Of Carry Output When the INITIAL SETTING packet is received When a packet is received from CM node (regardless the destination of packet) SMSC TMC2084 Page 47 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 2.10 CMI Coding TMC2084 supports CMI coding and RZ coding as the coding scheme for media interface. Features of CMI Coding: Low DC component This makes external circuitry to prevent the pulse transformer from magnetic saturation unnecessary when it is used for isolation in RS485, since in CMI coding the same bit is never repeated more than two consecutive times. Limited possible states allows easy self-correction The self-correction capability of CMI may correct an error caused by jitter or one shot noise. The CMIECC status bit reports whether the self-correction was made. The bit CMIERMD that is configured through the network specifies whether the self-corrected packet is treated as a normally-received packet. Usually it is not a problem to treat it as a normal packet *1 Faulty correction made by CMI causes the assertion of CRC check and the RXERR status bit reports this event. In this case, the received packet should be discarded. *1 The CMIERRMD bit is by default configured to "The packet is discarded." 0 11 01 1 1 1 00 0 Figure 8 - State Transition Diagram for CMI The shared pin nCMIBYP is used to select either the CMI or RZ coding: nCMIBYP = H selects CMI coding; nCMIBYP = L selects RZ coding. For detail information on CMI coding, see the data sheet for TMC2072 or TMC2074. 0 1 01 0 2.11 RAM Image On Host Side The image of on-chip RAM in the host node is shown below. The area labeled as ”I/O-n” shows the packet data received from each I/O node and the area labeled as ”host ” shows the state of the transmission page of host node. I. Page Size configuration: 64 byte/page (PSSL = H) The following conditions apply: Host node ID = MAXID Revision 0.1 (03-31-06) Page 48 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet The number of I/O nodes = m (possible setting: m = 14 max, ID = 1 to 14 and MAXID = 15) One host node (required setting: ID = m + 1 and MAXID = m+1) 00 Page: 1 (ID = 1) I/O-1 10 20 30 00 Page: 2 (ID = 2) I/O-2 10 20 30 00 Page: 3 (ID = 3) I/O-3 10 20 30 ••• 00 Page: m (ID = m) I/O-m 10 20 30 0 01h 1 00h 2 38h 3 4 5 6 7 8 9 A B C D E F DATA0 02h 00h 38h DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H DATA0 03h 00h 38h DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H DATA0 DATA1 ••• DATA2 DATA3 DATA4 DATA5 NST-L NST-H m 00h 38h DATA0 DID 38h DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H 00 m + 1 Page: m + 1 (ID = m + 1) Host 10 20 30 DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 Reserved Reserved SMSC TMC2084 Page 49 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet II. Page Size configuration: 128 byte/page (PSSL = L) The following conditions apply: Host node ID = 1 The number of I/O nodes = m (required setting: m = 6 max, ID = 2 to 6 and MAXID = m + 1) One host node (required setting: ID = 1 and MAXID = m+1) 0 00 10 Page: 1 (ID = 1) Host 20 30 40 50 60 70 00 10 20 Page: 2 (ID = 2) I/O-1 30 40 50 60 70 00 10 20 Page: 3 (ID = 3) I/O-2 30 40 50 60 70 ••• 00 10 20 Page: m (ID = m+1) I/O-m 30 40 50 60 70 m+1 03h 02h 01h 1 DID 2 78h 3 4 5 6 7 8 9 A B C D E F DATA0 00h 78h DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H DATA0 00h 78h DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H DATA0 DATA1 ••• DATA2 DATA3 DATA4 DATA5 NST-L NST-H 00h 78h DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 NST-L NST-H Revision 0.1 (03-31-06) Page 50 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 2.12 Configuration Flow TMC2072/74 (Host side) Power ON TMC2084 (I/O side) Release reset Release reset Joins network after own initial configuration Joins network automatically after reading pins then waits for receiving The case where I/O side can accept its default configuration and NST carry is not used Unicasts INITIAL SETTING packet Receives INITIAL SETTING packet and loads initial configuration data then waits for receiving Unicasts RETURN SETTING command packet Receives RETURN SETTING command then waits for token Timeout Illegal contents Optional W aits for RETURN SETTING packet I/O Receives RETURN SETTING packet then checks its contents Broadcasts RETURN SETTING command then waits for receiving Sends START TRANSMIT command; After this no INITIAL SETTING packet nor RETURN SETTING command packet should be sent Generates transmit trigger after receiving START TRANSMIT command then waits for token After this, ignores INITIAL SETTING packet and RETURN SETTING command packet Broadcasts INPUT DATA packet Completion of initial configuration Completion of initial configuration Figure 9 - Initialization Procedure SMSC TMC2084 Page 51 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet TMC2072/74 (Host side) TMC2084 (I/O Side) Unicasts SOFTWARE RESET command packet • Receives SOFTWARE RESET command packet then: • Resets its communication section • Changes data configured via network back to default setting • Re-joins network then waits for receiving Unicasts INITIAL SETTING packet Receives INITIAL SETTING packet and loads initial configuration data then waits for receiving Unicasts RETURN SETTING command Timeout Revision 0.1 (03-31-06) Receives RETURN SETTING command then waits for token Optional Waits for RETURN SETTING packet Figure 10 - Procedure to change the configuration through the network during operation Illegal contents Receives RETURN SETTING packet then checks its contents Broadcasts RETURN SETTING command then waits for receiving Sends START TRANSMIT command; After this no INITIAL SETTING packet nor RETURN SETTING command packet should be sent Generates transmit trigger after receiving START TRANSMIT command then waits for toke After this, ignores INITIAL SETTING packet and RETURN SETTING command packet Broadcasts INPUT DATA packet Completion of initial configuration Completion of initial configuration Page 52 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Chapter 3 3.1 Operating Conditions Absolute Maximum Ratings (Vss = 0 V) Parameter Supply Voltage Input Voltage (X1 pin) Input Voltage (except X1 pin) Output Voltage Input Current Maximum Power Dissipation Average Power Dissipation Note Storage Temperature Pd (AVE) is average per a day. Symbol Vdd Vin Vin Vout Iin Pd (MAX) Pd (AVE) Tstg Rating –0.3 to +5.0 –0.3 to Vdd +0.3 –0.3 to +7.0 –0.3 to Vdd +0.3 ±10 350 200 –40 to +125 Unit V V V V mA mW mW °C NOTE: 3.2 Typical Operating Conditions (Vss = 0 V) Parameter Supply Voltage Operating Ambient temperature Input Voltage (except X1 pin) Input Rising or Falling time Note Symbol Vdd Ta Vin dt/dV fX1 ΔfX1 Rating 3.0 to 3.6 0 to +70 –0.3 to +5.5 0 to 5 2.5 to 40 ±100 Unit V °C V ns/V MHz ppm Input Clock Frequency Input Clock Frequency Tolerance NOTE: dt/dV applies to pins nPISTR1, nPISTR2, RXIN and X1 (configured for the external clock input). 3.3 Symbol VIH1 VIL1 VIH2 VIL2 DC Characteristics Parameter High Level Input Voltage (TTL Level) Low Level Input Voltage (TTL Level) High Level Input Voltage (CMOS Level) Low Level Input Voltage (CMOS Level) IC ICS IC ICS 0.8 X Vdd 0.8 X Vdd 0.2 X Vdd 0.2 X Vdd IT 0.8 Buffer Type IT Conditions Min 2.2 Typ Max Unit V V V V SMSC TMC2084 Page 53 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Symbol IIH IIL IOZ VHY VOH Note Parameter High Level Input Current Low Level Input Current Buffer Type Common Except IT_PU IT_PU Conditions Vin = Vdd Vin = Vss Vout = Vdd or Vss IOH = -1mA IOH = -2mA IOL = 1mA IOL = 4mA (absolute value) Min –10 –10 –200 –10 Typ Max 10 10 10 10 Unit μA μA μA V V Output Off State Leakage Current Schmitt Trigger Hysteresis Voltage High Level Output Voltage Common ICS O42 1.0 Vdd-0.5 0.8 X Vdd Vss + 0.5 0.4 VOL Note Low Level Output Voltage O42/OD4 V IOHM Note IOLM Note IDD NOTE: Maximum High Level Output Current Maximum Low Level Output Current Operating Current (No Load) Excludes X2 pin. O42 2 mA O42/OD4 fX1 = 20MHz fX1 = 40MHz 15 25 4.5 mA mA Revision 0.1 (03-31-06) Page 54 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 3.4 3.4.1 AC Characteristics Timing Measurement Points VIHA Input signal VILA 2.2V Output signal 1.4V 0.8V Figure 11 - Input Signal Measurement Points Buffer type: IC ICS IT : VIHA = 0.8 X Vdd , VILA = 0.2 X Vdd (X1) : VIIHA= 0.8 X Vdd , VILA = 0.2 X Vdd (nRESET) : VIHA = 2.2V, VILA = 0.8V (excluding both nRESET and X1) SMSC TMC2084 Page 55 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 3.4.2 CMI Transmit And Receive Waveforms (nCMIBYP = H) TXEN 1.4V t1 t3 TXD 1.4V t7 t4 t6 t5 t2 Data ‘1’ Data ‘1’ Data ‘0’ t8 RXIN Data ‘1’ t9 t12 t11 t10 Data ‘1’ Data ‘0’ Symbol t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 Note 1: Parameter TXEN Active to First TXD Low Last TXD High to TXEN Inactive Data ' 1 : Low Level Width of TXD Data ' 1 ' : High Level Width of TXD Data ' 0 ' : Low Level Width of TXD Data ' 0 ' : High Level Width of TXD Data ' 0 ' : Period of TXD Data ' 0 ' : Duty Ratio of TXD Data ' 1 ': Low Level Width of RXIN Data ' 1 ' : High Level Width of RXIN Data ' 0 ' : Low Level Width of RXIN Data ' 0 ' : High Level Width of RXIN Data ' 0 ' : Period of RXIN Data ' 0 ' : Duty Ratio of RXIN MIN 2Tdr - 40 3Trd / 8 - 40 7Tdr / 8 7Tdr / 8 3Tdr / 8 3Tdr / 8 7Tdr / 8 3/8 TYP 2Tdr 3Tdr / 8 Tdr Tdr Tdr / 2 Tdr / 2 Tdr 1/2 Tdr Tdr Tdr / 2 Tdr / 2 Tdr 1/2 MAX Unit ns ns ns ns ns ns ns ns ns ns ns ns Comments Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 9Tdr / 8 9Tdr / 8 5Tdr / 8 5Tdr / 8 9Tdr / 8 5/8 Tdr represents the period of communication rate (transmission rate). (2.5 Mbps: Tdr = 400 ns) Revision 0.1 (03-31-06) Page 56 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 3.4.3 RZ Transmit And Receive Waveforms (nCMIBYP = L) TXEN 1.4V t1 t3 TXD 1.4V t4 t2 t5 t6 RXIN t8 Symbol t1 t2 t3 t4 t5 t6 t7 t8 Parameter TXEN Active to First TXD Low Last TXD High to TXEN Inactive Low Level Width of TXD High Level Width of TXD Period of TXD Low Level Width of RXIN High Level Width of RXIN Period of RXIN t7 MIN 7Tdr / 4 to 40 3Trd / 4 to 40 20 20 3Tdr / 4 TYP 7Tdr / 4 3Tdr / 4 Tdr / 2 Tdr / 2 Tdr Tdr / 2 Tdr / 2 Tdr MAX 5Tdr / 4 Unit ns ns ns ns ns ns ns ns Comments Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1: Tdr represents the period of communication rate (transmission rate). (2.5 Mbps: Tdr = 400 ns) 3.4.4 External Trigger Input PC7-0, PD7-0 t1 Valid t2 nPISTR1, nPISTR2 t3 t4 Symbol t1 t2 t3 t4 Parameter Setup Time Of Data (Referenced to rising edge of nPISTR1 or nPISTR2) Hold Time Of Data (Referenced to rising edge of nPISTR1 or nPISTR2) Active Period Of nPISTR1 or nPISTR2 Inactive Period Of nPISTR1 or nPISTR2 MIN 30 30 50 50 TYP MAX Unit ns ns ns ns Comments Note1 Note1 SMSC TMC2084 Page 57 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet NOTE 1: When the transmit trigger is configured as the external trigger (TXTRG = 6 or 7), this applies to the timing to capture the transmit data. 3.4.5 Other Timing Specifications t1 X1 Configuration data t2 t3 PD7-0, TXD t6 nRESET t4 Symbol t1 t2 t3 f3 t3x f3x Δf3 t4 t5 t6 t7 Note 1: Note 2: Note 3: Parameter Clock High Level Width (External Clock) Clock Low Level Width (External Clock) Clock Period (External Clock) Clock Frequency (External Clock) Clock Period (Crystal Resonator) Clock Frequency (Crystal Resonator) Clock Frequency Tolerance nRESET Low Level Width nRESET High Level Width Data Setup Time (Referenced To Rising Edge Of nRESET) Data Hold Time (Referenced To Rising Edge Of nRESET) t7 t5 MIN 10 10 25 2.5 31.25 10 –100 6Tx 3Tx 30 5 TYP MAX Unit ns ns ns MHz ns MHz PPM ns ns ns ns Comments 400 40 100 32 +100 Note 1 Note 1 Note 2, Note 3 Note 2, Note 3 Note 4 Note 4 For oscillator circuit component values, see the section 3.7 Oscillator Circuit. Tx represents the clock period that is applied to X1. (Tx = 50 ns @20 MHz) This applies to the stable crystal oscillator after the power supply voltage exceeds Vdd (min). Vdd (min) = 3.0 V for TMC2084. This specifies the read timing of shared pins. Note 4: Revision 0.1 (03-31-06) Page 58 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 3.5 Package Outline D D1 Ze N 1 Zd W www M e A2 A Revision 0.1 (03-31-06) ccc R1 0. m 25m R2 T L L1 SMSC TMC2084 H Page 59 DATASHEET A1 E1 E Standalone Mode CircLinkTM Controller Datasheet TMC2084 OUTLINE SYMBOL A A1 A2 D D1 E E1 H L L1 e T W www R1 R2 ccc N NOTES: 1) 2) Controlling Unit: millimeter. Package body dimensions D1 and E1 do not include the mold protrusion. Maximum mold protrusion is 0.25 mm. ITEMS Overall Package Height Standoff Body Thickness X Span X body Size Y Span Y body Size Lead Frame Thickness Lead Foot Length Lead Length Lead Pitch Lead Foot Angle Lead Width Lead position Tolerance Lead Shoulder Radius Lead Foot Radius Coplanarity Pin count MIN 0.05 1.35 8.8 6.9 8.8 6.9 0.09 0.45 0° 0.17 -0.04 0.08 0.08 TYP 0.6 1.0 0.5 Basic 0.22 48 MAX 1.6 0.15 1.45 9.2 7.1 9.2 7.1 0.2 0.75 7° 0.27 0.04 0.2 0.08 Revision 0.1 (03-31-06) Page 60 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 3.6 NOTE: Device Marking The character style may be slightly different from that of actual devices. 36 25 37 24 TMC2084-HT Weekly_Code-Lot_Code1 Lot_Code2 e2 48 13 1 12 SMSC TMC2084 Page 61 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 3.7 Oscillator Circuit Internal clock Inside of LSI X1 X2 Reference Values (For fundamental tone) F = 20 to 32 MHz R fb R out Symbol Rfb Rout Cin Cout Reference Value 51 Kohm 51 Ohm 22 pF 22 pF C in C out F = 10 MHz Symbol Rfb Rout Cin Cout [ CAUTION ] Reference Value 51 Kohm 51 Ohm 22 pF 22 pF Above R, C values may not be correct for a crystal you select. You may have to determine the correct values. If you use an overtone type crystal, follow the manufacturer’s recommendations for connection details. Revision 0.1 (03-31-06) Page 62 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 3.8 Basic Device Connections P GS 2 L H H P GS 1 L H P GS 0 L H PSSL L PD7 PD6 PD5 n RE SE T PD4 PD3 PD2 PD1 PD0 X2 (O) X1 (I) H NID3 L H NID2 L H NID1 L H NID0 L Power supply voltage for offset resistors must be unified at all nodes in a network. Pull-up or pull-down resister P C7 n CMIB YP L H P C6 P C5 P C4 TXE N TXD P C3 P C2 P C1 RS-485 transceiver I C DE A B Lin e_ Lin e_ Dr v D Rcv RE R L RXIN P C0 P B7 PB6 P B5 PB4 n TMODE n SMODE P D7 -0 P B3 PB2 P B1 PB0 VDD VDD + VDD VSS VSS VSS VSS P A7 PA6 P A5 PA4 P A3 PA2 P A1 PA0 SMSC TMC2084 Page 63 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Chapter 4 4.1 4.1.1 APPENDIX Application Circuit Examples Connecting A/D and D/A Conversion nNSTCOUT nTXDONE (External trigger input) Integrator Type A/D CLK STC (Start of conversion) A- IN EOC (Completion of conversion) DATA10 - 0 Analog input PC0/nPISTR1 PD3-0, PC7-1 D/A PB7-0, _PA7-0 nPOSTR DI15 - 0 A-OUT STRB Analog output Revision 0.1 (03-31-06) Page 64 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 4.1.2 Connecting Watchdog Timer Power supply monitor IC with WDT (MB3794 from Fujitsu) nPOSTR nTXDONE nRESET CK1 CK2 RESET Cw Cp INH nPOSTR D S Q Power supply monitor IC with WDT (TPS3823 from TI) nTXDONE nRESET CK Q R WDTI MR RESET External reset input 4.1.3 Using SLT4 Plus RS485 Pulse Transformer SLT-4 from Nagano JRC RS-485 Driver/Receiver SN75LBC180A from TI, etc. DE Y D TXEN TXD Line – 1 1 Cct Vcc R3 R1 Z A Drv 1 Line – 1 B Rcv R4 R2 RE R RXIN Cct: Optional Reference values at Vcc=5V R1 = R2 = 18K ohm R3 = R4 = 1K ohm It must connect Pull-up resister on TXD pin. (use CMI code) SMSC TMC2084 Page 65 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 4.1.4 Considerations for Shared Pins When Port D is Configured as INPUT PORT PGS2 PGS1 PGS0 PSSL L H H L H L H 74HC244/541, etc. L PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 L H H L H L H L NID3 NID2 NID1 NID0 nRESET Revision 0.1 (03-31-06) Page 66 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 4.1.5 Case Where Port A and B are Unused Although both port A (PA7 - 0) and port B (PB7 - 0) are output-only ports, input buffers exist to send (feedback) the states of the OUTPUT PORT to the host node. The OUTPUT PORT remains in its highimpedance (floating) state during both reset (nRESET = Low) and the period from de-assertion of reset (nRESET = High) to the first OUTPUT DATA packet received. Thus, the input node of the input buffer may be placed in the open state (undefined) during the high-impedance state. This can cause a punch-through current through the input buffer. To avoid this, either a pull-up or a pull-down resister should be added externally to each pin of both ports A and B so that each added resister can define the input sate of the corresponding input buffer during the high-impedance state. L H Output Buffer PAD7-0 PB7-0 Input buffer No pull-up/down resister causes the input its open state during Hi-Z state. Either a pull-up or a pull-down resister is required externally connected to each pin of both unused ports A and B as described above. L H H L H L H L ← A pull-up or pull- down resister is needed for each pin. PA7, PB7 PA6, PB6 PA5, PB5 PA4, PB4 PA3, PB3 PA2, PB2 PA1, PB1 PA0, PB0 ← A pull-up or pullL H H L H L H L down resister is needed for each pin. SMSC TMC2084 Page 67 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 4.1.6 Case Where Port C is Unused When the port C (PC7 - 0) is unused, its I/O port direction bits (PGS2 - 0) must be configured so that they specify INPUT PORT and either a pull-up or pull-down resister should be added externally to each pin of the INPUT PORT to define the state of the corresponding pin as shown below: L H ← PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 A pull- up or pull–down resister is always required for a group of 4 pins if and only if they are input port. Be sure to connect to input port. ← L H A pull- up or pull–down resister is always required for a group of 4 pins if and only if they are input port. 4.1.7 Case Where Port D is Unused When port D (PD7 - 0) is unused, its I/O port direction bits (PGS2 - 0) must be configured so that they specify INPUT PORT and either a pull-up or a pull-down resister should be added externally to each pin of the INPUT PORT to define the state of the corresponding pin as shown below: Revision 0.1 (03-31-06) Page 68 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet PGS2 L PGS1 L PGS0 L H PSSL L H PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 Be sure to connect to input port. (PGS2 = PGS1 = Low) L H H L H L H L NID0 NID1 NID2 NID3 4.1.8 Initial Configuration for OUTPUT PORT (LED Display Example) The initial state of OUTPUT PORT is high-impedance (floating) state. It remains in its high-impedance (floating) state during both reset (nRESET = Low) and the period from de-assertion of reset (nRESET = High) to the first OUTPUT DATA packet received. To avoid this, either a pull-up or a pull-down resister should be added externally to each pin of the OUTPUT PORT to ensure the inactive sate of the corresponding pin during the high-impedance state. * If the low level causes inactive state (LED turns off), an external pull-down resister is required. LED LED Output port N-MOS Output port NPN SMSC TMC2084 Page 69 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet * If the high level causes inactive state (LED turns off), an external pull-up resister is required. LED Output port IOL < 4 mA 4.1.9 Width of Reset Signal In an actual operating environment, the following considerations are needed for the width of the reset signal that is applied to the nRESET pin: Oscillator Startup Time at Power-up (Tstart) The oscillator startup time (Tstart) is required for the crystal oscillator to stabilize. The startup time is required for TMC2084 regardless of whether a crystal oscillator or an external clock is used. After the oscillator startup time, the input clock to X1 pin becomes normal (after approximately 20 ms). The reset signal must stay low longer than 6(Tx) is required after Tstart. Revision 0.1 (03-31-06) Page 70 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet Vdd(max): 3.6V Vdd(min): 3.0V Vdd Oscillator startup time (Tstart) Crystal oscillator → Stable > 6 X Tx nRESET VIL : 0.2 X Vdd Output Stabilization Time for Shared Pins (Tphz and Tplz) The low level on reset input pin (nRESET) sets the high-impedance state for shared pins (PD7 - 0 and TXD). Since each pin has either a pull-up or a pull-down resister, it stabilizes to high or low level after sufficient time. The length of stabilization time (Tphz and Tplz) depends on the resister value connected. Therefore, the duration of reset signal must be longer than Tphz + Tplz + setup time (30 ns). > Tphz (or Tplz) + 30 ns nRESET VIH (0.8 X Vdd) VIL (0.2 X Vdd) Tphz or Tplz > 30 ns Pull-up resister is used PD7-0, TXD → High impedance state VIH (2.2V) VIL (0.8V) Pull-down resister is used SMSC TMC2084 Page 71 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet 4.2 Output Current from Shared Pins The output current from the PD7/nRCNERR pin is specified as IOL = 4 mA (Max). However, this pin should drain no current when it is used as the OUTPUT PORT pin (PD7) (PGS2 = Low). Otherwise, configuration by the shared pin can not be performed correctly. In the following example, the low level on PD7 pin turns on the LED; R1 limits LED current; and the pulldown resister R2 is used for configuration (PGS2 = Low) using the shared pin during reset. The voltage level on PD7 pin during the reset (PD7 is in high-impedance state) will be as follows: Assuming Vdd = 3.3 V, Vf = 2 V, R1 = 330 Ω and R2 = 10 kΩ, the current (IR2) flows in R1 and R2 from Vdd is: IR2 = (Vdd - Vf) ÷(R1 + R2) = (3.3 V - 2 V) ÷ (330 Ω + 10000 Ω) = 126 μA. . Thus, the voltage level of PD7 pin during reset is IR2 × R2 = 126μA × 10 kΩ = 1.3V and this exceeds the . maximum low level input voltage 0.8V. This makes the configuration PGS2 = Low impossible. . . Vdd=3.3V R1 Hi-Z state PD7 R2 IR2 LED Vf=2V The pull-up resister R2 in the figure below allows the configuration PGS2 = High correctly because no current flows through R2 during high-impedance state in reset phase. This enables LED to monitor the nRCNERR signal. R2 nRCNERR (PD7) IOL LED < 4 mA The same considerations are needed for other shared pins (PD6 - 0 and TXD). In the high-impedance state during reset, careful attention should be paid for the current and voltage caused by the pull-up and pull-down resisters. Revision 0.1 (03-31-06) Page 72 SMSC TMC2084 DATASHEET Standalone Mode CircLink TM Controller Datasheet 4.3 Values of Pull-Up and Pull-Down Resisters Care must be taken when selecting the values of the pull-up and pull-down resisters used for ports A, B, C and D and shared pins (PD7 - 0 and TXD): Higher resistance values result in longer stabilization time for the transition from the active state to the high-impedance state. Shorter stabilization time follows from use of less resistance. However, lower resistance allows a higher output current in the drive state and wastes output current, limiting the necessary load current. As a guideline, a 10 kΩ resister can typically be used; If shorter transition time from the active state to the high-impedance state is needed, use 4.7 kΩ. SMSC TMC2084 Page 73 Revision 0.1 (03-31-06) DATASHEET Standalone Mode CircLinkTM Controller Datasheet Table 4 - CircLink Controller Comparison Table CircLink ITEMS TMC2072 TMC2074 TMC2084 * Common Power supply voltage Temperature range Package Maximum Data Rate HUB function Transmission code TXEN polarity setting NodeID, MaxID, PageSize setting Data Rate Prescaler setting Page-Size Max. Node count Operation Mode * Peripheral Mode (With CPU mode) Internal RAM size Data Bus width Support CPU New Flag for Warning Timer General Purpose-I/O * Standalone Mode (No CPU control mode) 3.3V +/-0.3V 5V tolerant I/O 0 to +70C TQFP-100 pin 14x14x1.4mm Body 0.5mm Pitch 5 Mbps External 2 ports CMI / RZ code Pin setting Pin / Bit setting Pin / Bit setting 32/64/128/256 bytes 31/15/7/3 nodes Peripheral mode Only 1 kBytes 8/16 bit Bus Type: MUX/Non-MUX none 8 bit 3.3V +/-0.3V 5V tolerant I/O 0 to +70C VTQFP-128 pin 14x14x1.0mm Body 0.4mm Pitch 5 Mbps External 2 ports CMI / RZ code Pin setting Pin / Bit setting Pin / Bit setting 32/64/128/256 bytes 31/15/7/3 nodes Peripheral/Standalone mode 1 kBytes 8/16 bit Bus Type: MUX/Non-MUX none 8 bit 3.3V +/-0.3V 5V tolerant I/O 0 to +70C TQFP-48 pin 7x7x1.4mm Body 0.5mm Pitch 5 Mbps none CMI / RZ code Active-High Only Shared Pins none 64/128 bytes 15/7 nodes Standalone mode Only - CPU Type: nRD&nWR/DIR&nDS CPU Type: nRD&nWR/DIR&nDS Number of I/O Port Variable Settings by Tx Trigger Receive Broadcast Send Status Anti-Chatter Sampling Freq. - IN : 16 OUT : 16 Pins 7 kinds No No 2.44 kHz IN : 0/ 8/16 OUT : 32/24/16 Shared Pins and a Packet 10 kinds Yes Yes 1.22 kHz/19.1 Hz Revision 0.1 (03-31-06) Page 74 SMSC TMC2084 DATASHEET
TMC2084 价格&库存

很抱歉,暂时无法提供与“TMC2084”相匹配的价格&库存,您可以联系我们找货

免费人工找货