rtd CM35I2C03HR User Manual

I2c communication module
Table of Contents

Advertisement

Quick Links

CM35I2C03HR
I2C Communication Module
User's Manual
BDM-610020163 Rev. A
RTD Embedded Technologies, Inc.
AS9100 and ISO 9001 Certified

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CM35I2C03HR and is the answer not in the manual?

Questions and answers

Summary of Contents for rtd CM35I2C03HR

  • Page 1 CM35I2C03HR I2C Communication Module User’s Manual BDM-610020163 Rev. A RTD Embedded Technologies, Inc. AS9100 and ISO 9001 Certified...
  • Page 2 RTD Embedded Technologies, Inc. 103 Innovation Boulevard State College, PA 16803 USA Telephone: 814-234-8087 Fax: 814-234-5218 www.rtd.com sales@rtd.com techsupport@rtd.com...
  • Page 3: Revision History

    Failure to follow the instructions found in this manual may result in damage to the product described in this manual, or other components of the system. The procedure set forth in this manual shall only be performed by persons qualified to service electronic equipment. Contents and specifications within this manual are given without warranty and are subject to change without notice. RTD Embedded Technologies, Inc. shall not be liable for errors or omissions in this manual, or for any loss, damage, or injury in connection with the use of this manual.
  • Page 4: Table Of Contents

    FB_DMAm_Last_Action (Read/Write) 5.1.3 FB_DMAm_Setup (Read/Write) 5.1.4 FB_DMAm_Stat_Used (Read/Write) 5.1.5 FB_DMAm_Stat_Invalid (Read/Write) 5.1.6 FB_DMAm_Stat_Overflow (Read/Write) 5.1.7 FB_DMAm_Stat_Underflow (Read/Write) 5.1.8 FB_DMAm_Stat_Complete (Read/Write) 5.1.9 FB_DMAm_Current_Buffer (Read-Only) 5.1.10 FB_DMAm_COUNT (Read-Only) 5.1.11 FB_DMAm_RD_FIFO_CNT(Read-Only) | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 5 5.2.11 READ_FIFO_COUNT (Read-Only) BAR2: Flash Programmer (Reserved) ............................27 5.3.1 SERIAL_NUMBER (Read-Only) Troubleshooting Additional Information PC/104 Specifications ................................29 PCI and PCI Express Specification ............................29 Limited Warranty | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 6 Figure 5: CN9 / CN10 / CN11 Cabled I2C Connector ............................13 Figure 6: Example 104™Stack ....................................15 Figure 7: CM35I2C03HR Block Diagram ................................16 Figure 8: I2C Read Flow chart ....................................18 Figure 9: I2C Write Flow chart ....................................18 Figure 10: NXP PCA9616 Example Circuit ................................
  • Page 7: Introduction

    Introduction Product Overview The CM35I2C03HR is an I2C interface module that provides six independent host interfaces in a PCIe/104 format. Two types of output buffers are provided by this module: one for standard I2C bus and another for differential I2C bus.
  • Page 8: Contact Information

    If you are having problems with your system, please try the steps in the Troubleshooting section of this manual on page 28. For help with this product, or any other product made by RTD, you can contact RTD Embedded Technologies technical support via the following methods: Phone: 1-814-234-8087 Monday through Friday, 8:00am to 5:00pm (EST).
  • Page 9: Specifications

    -1.0 o(dif)(p-p) voltage Pullup Resistors pull-up resistor on DSCLM and DSDAM connected to V rail DD(B) Pulldown Resistors pull-down resistor on DSCLP and DSDAP connected to V rail | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 10: Functional Characteristics

    Functional Characteristics Table 4: Functional Characteristics Symbol Parameter Value Unit GBC_SYS_CLK_FREQ System Clock Frequency I2C Write FIFO Size 4096 D-Words I2C Read FIFO Size 4096 D-Words | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 11: Board Connection

    Handle the board in an antistatic environment, and use a grounded workbench for testing and handling of your hardware. Physical Characteristics STEP model is available upon request; contact RTD Tech Support for more information. • Weight: Approximately 0.12 lbs. (55 g) •...
  • Page 12: Connectors And Jumpers

    IPD1-06-S-K. Pin 1 is indicated by a square pad on both the top and bottom of the board. Figure 3: CN3 / CN5 / CN6 Cabled I2C Connector I2C_INT_P I2C_INT_N I2C_CLK_N I2C_CLK_P I2C_DATA_P I2C_DATA_N Table 5 CN4 Cabled I2C Connector Pin Assignments | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 13: Cn4: Stacking I2C Connector

    Pin 1 is indicated by a square pad on both the top and bottom of the board. This connector is shares the same I2C interface with CN3. The CM35I2C03HR-SS version of board uses a stack through connector. This allow the CM35I2C03HR to be stack above or below the DM35MRM128HR.
  • Page 14: Jumpers

    This jumper is used to set the voltage level of the I2C Interface. This rail powers the user side of the I2C and onboard pull up resistors. The user can select to power interface from either 3.3V or 5V. Position Description 3.3V (Default) Table 8 JP2/JP3/JP4 –Voltage Select Jumper | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 15: Steps For Installing

    11. Re-connect the power cord and apply power to the stack. 12. Boot the system and verify that all of the hardware is working properly. Figure 6: Example 104™Stack | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 16: Functional Description

    Functional Description Block Diagram The Figure below shows the functional block diagram of the CM35I2C03HR. The various parts of the block diagram are discussed in the following sections. PCIe to I2C Interface TX/RX TX/RX CN11 FIFOs FIFOs TCA39306 PCA9616 TX/RX...
  • Page 17 I C transaction. Read B[0] of I2C_BUS_CTRL to verify I C transaction as completed. Read INT_STAT to verify no errors have occurred Read I C data from READ_FIFO | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 18: I2C Read Process

    C read command. The CM35I2C03HR will handle the ACK/NACK handshaking. Once the user set the GO/BUSY bit, this bit will be held low until the bus returns to idle state. Once GO/BUSY is high, the user should check to see if any status bits have been set to indicate an error has occurred.
  • Page 19: Nxp Pca9616 Driver Information

    C communication up to 3m at 1Mhz clock rates. NXP PCA9616 Buffer Any I2C device connected to the CM35I2C03HR differential ports requires a PCA9616. Figure 10 is a reference example circuit for the NXP PCA9616. The single ended I C (pins 2, 4, 7) should be connected to the I C slave device, as the CM35I2C03HR is the host.
  • Page 20: Differential Cabling

    C interface is designed for 100Ω impedance transmission lines. Using the termination circuit shown above, RTD suggest using CAT5, CAT6, or CAT7 data cable for cabling between host and slave. CAT5, CAT6 and CAT7 provide 4 twisted pairs, the 4 pairs can be used for 3 signals (INT, CLK, DATA) and power.
  • Page 21: Register Address Space

    ‘0’. This is typically used for interrupt status registers. • Read Only: This register can only be read. NOTE: Writing to Read-Only registers may have unexpected results. Function Block Mapping Below is the Function Block slot mapping for the CM35I2C03HR Table 9: Function Block Mapping Slot Description Connector...
  • Page 22: Error! Switch Argument Not Specified.bar2: Functional Block Standard Dma

    Used_Desc bit (below) if the next buffer has the Used bit set. However, it will not generate an interrupt, and will not PAUSE the DMA engine. Examples are continuous output from a DAC, or very large Pre-trigger buffering using system memory. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 23: Fb_Dmam_Stat_Used (Read/Write)

    This is the size in bytes of the buffer for DMA Channel m, buffer n. It must be an integer number of double-words (i.e. b[1:0] are reserved). The actual size is FB_DMAm_SIZEn + 4 Bytes. The maximum buffer size is 16MB. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 24: Fb_Dmam_Ctrln (Read/Write)

    The bits are cleared by writing 0x00 to the byte. • B1: Terminated (R/C): DMA engine sets to ‘1’ to indicate that this buffer was terminated early at the request of the associated Function Block. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 25: Bar2: I2C Host Controller

    ‘0’ indicates that the event has not occurred. Writing a ‘1’ will clear that bit. If bits 3:0 are set high the I2C bus halt after complete current packet. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 26: Write_Fifo (Read/Write)

    B[8] – 1 = I2C Device Address, 0 = I2C Data 5.2.11 READ_FIFO_COUNT (R This register shows the current number bytes of data that are in the read FIFO. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 27: Bar2: Flash Programmer (Reserved)

    BAR2: Flash Programmer (Reserved) This function block is used to write new firmware to the CM35I2C03HR. This allows RTD to provide updates to CM35I2C03HR without the need to returning the board back to the factory. Table 12: Flash Programmer Functional Block...
  • Page 28: Troubleshooting

    If problems persist, or you have questions about configuring this product, contact RTD Embedded Technologies via the following methods: Phone: +1-814-234-8087 E-Mail: techsupport@rtd.com Be sure to check the RTD web site (http://www.rtd.com) frequently for product updates, including newer versions of the board manual and application software. | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc.
  • Page 29: Additional Information

    PCI and PCI Express Specification A copy of the latest PCI and PCI Express specifications can be found on the webpage for the PCI Special Interest Group: www.pcisig.com | www.rtd.com CM35I2C03HR User’s Manual RTD Embedded Technologies, Inc. BDM-610020163 Rev. A...
  • Page 30: Limited Warranty

    RTD Embedded Technologies, Inc. warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from RTD Embedded Technologies, Inc. This warranty is limited to the original purchaser of product and is not transferable.
  • Page 31 RTD Embedded Technologies, Inc. 103 Innovation Boulevard State College, PA 16803 USA Telephone: 814-234-8087 Fax: 814-234-5218 www.rtd.com sales@rtd.com techsupport@rtd.com Copyright 2024 by RTD Embedded Technologies, Inc. All rights reserved.

Table of Contents