電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>類型>參考設(shè)計>CN0416-用戶指南Wiki

CN0416-用戶指南Wiki

2021-03-23 | pdf | 444.24KB | 次下載 | 3積分

資料介紹

This version (03 Jan 2021 21:57) was approved by Robin Getz.The Previously approved version (17 Jul 2019 01:26) is available.Diff

EVAL-CN0416-ARDZ Shield Overview

CN0416 is an isolated and non-isolated RS-485 transceiver board which allows easy implementation of asynchronous serial (UART) data transmission between multiple Arduino form factor systems or nodes, especially over long distances. The circuit uses the ADM2682E RS-485 transceiver for isolated communications and the LTC2865 for non-isolated RS-485 communications. Both can be configured to either full-duplex or half duplex operation and with open or terminated transmission lines. The circuit has on-board RJ-45 ports which allows the use of the common CAT5 cable for fast physical wiring of nodes. The termination resistance is catered by default to the CAT5 cable characteristic impedance of 100 ohms but can be configured to support the standard RS485 cable impedance of 120 ohms. The cable also carries power supply lines which are by default unpowered but can be connected to a 3.3V supply from the board's low-dropout voltage regulator, ADP7102. The system has an on-board 10-pin connector compatible with the ADALM-UARTJTAG which allows for serial connections to a PC or other device.

The ADM2682E is capable of a data rate up to 16 Mbps and has true fail-safe receiver inputs with adjusted differential voltage threshold. It provides 5 kV signal isolation using the iCoupler data channel and 5 kV power isolation using the isoPower integrated dc-to-dc converter.

The LTC2865 is capable of a data rate up to 20 Mbps and has full fail-safe receiver inputs. An internal window comparator determines the fail-safe condition without the need to adjust the differential input voltage thresholds.


RS-485 Communications

CN0416 can be configured to different settings and operations of the RS-485 communication standard using multiple on-board physical switches. There are three different switches to be configured for both isolated and non-isolated operations as shown below:


The switches shown in the image above provide the following functions.

Switch Function
S1 Configures Address of RS-485 Node
S2 Selects Isolated vs non-Isolated Part and Half/Full Duplex Mode
S4 Selects Physical Layer Half/Full Duplex Mode of non-Isolated LTC2865
S5 Selects Physical Layer Half/Full Duplex Mode of Isolated ADM2682E
S6 Selects Termination Resistance of non-Isolated LTC2865
S7 Selects Termination Resistance of Isolated ADM2682E

Summary of Switch Configurations

In summary, all switch positions for the configurable settings of the CN0416 in RS-485 communications are shown below. (Switch positions that do not matter for a setting are NA)

RS-485 Configuration Switch Positions
S2 S4 S5 S6 S7
Isolated, Full Duplex, and Terminated 2 NA 2 NA 2
Isolated, Full Duplex, and Open 2 NA 2 NA 1
Isolated, Half Duplex, and Terminated 1 NA 1 NA 2
Isolated, Half Duplex, and Open 1 NA 1 NA 1
Non-Isolated, Full Duplex, and Terminated 3 2 NA 2 NA
Non-isolated, Full Duplex, and Open 3 2 NA 1 NA
Non-isolated, Half Duplex, and Terminated 4 1 NA 2 NA
Non-isolated, Half Duplex, and Open 4 1 NA 1 NA

Isolated vs Non-Isolated RS-485 Operation

CN0416 can be configured to use either the ADM2682E or the LTC2865 for Half/Full Duplex RS-485 transmission. The difference between the part selected is that the ADM2682E provides complete signal and power isolation, where as the LTC2865 does not isolate the standard RS-485 transmission.

Switch S2 Position Duplex Mode Operation Part Used
Position 1 HALF Duplex (Isolated) Signal and Power Isolated RS-485 ADM2682E
Position 2 FULL Duplex (Isolated) Signal and Power Isolated RS-485 ADM2682E
Position 3 HALF Duplex (Non-Isolated) Non-Isolated RS-485 LTC2865
Position 4 FULL Duplex (Non-Isolated) Non-Isolated RS-485 LTC2865

Full Duplex or Half Duplex Operation

CN0416 can be configured to either full-duplex operation or half-duplex operation depending on the application. Switch S4 and S5 controls this setting with the differential RS-485 lines, and switch S2 controls the driver and receiver Enable.

Mode Operation Switch Position Requirements
Isolated Half-Duplex RS-485 S5 = Position 1 (HALF) & S2 = Position 1 (HALF ISO)
Full-Duplex RS-485 S5 = Position 2 (FULL) & S2 = Position 2 (FULL ISO)
Non-Isolated Full-Duplex RS-485 S4 = Position 2 (FULL) & S2 = Position 3 (FULL NON_ISO)
Half-Duplex RS-485 S4 = Position 1 (HALF) & S2 = Position 4 (HALF NON_ISO)
  • When S4 and S5 are in switch position 1, S2 MUST be placed in switch position 1 or 4, depending on the part you are using.
  • When S4 and S5 are in switch position 2, S2 MUST be placed in switch position 2 or 3, depending on the part you are using.

Cable Length and Termination Selection

The data rate of RS-485 communications varies with the cable length. Below is a figure showing the relationship of data rate and cable length.


The type of termination also depends on the cable length as well as the cable characteristic impedance. The ordinary CAT5/CAT5E cable has a characteristic impedance of 100 ohms while the RS-485 standard cable has 120 ohms.

By default, the parallel termination resistance is 100 ohms which supports CAT5/CATE cables. But, this can be reconfigured to 120 ohms by disconnecting solder jumpers JP4, JP6, JP8 and, JP10 and shorting solder jumpers JP3, JP5, JP7, JP9.


Switch S6 and S7 controls the type of termination of the RS-485 lines.

Mode Switch S6 and S7 Position Termination Type
Isolated S7 = Position 1 (OPEN) No Line Termination
S7 = Position 2 (TERM) Parallel Resistance Termination
Non-Isolated S6 = Position 1 (OPEN) No Line Termination
S6 = Position 2 (TERM) Parallel Resistance Termination
  • When S6 and S7 are in switch position 1, there is no RS-485 termination. This is suitable for low-power, short transmissions over a total distance less than 0.78 m.
  • When S6 and S7 are in switch position 2, a parallel resistance termination is inserted. This is suitable for long distance, high power transmissions not exceeding a total distance of 4000 ft.

Hex Switch Addressing

The hex switch can be used to easily setup node addressing when the CN0416 is connected to a microcontroller via the Arduino headers. Bits are connected to analog inputs A0-A3 by default, which can be read as digital inputs by most Arduino platforms. Alternative bit mapping can be selected by resistor-stuff options on the CN0416, shown in parentheses. The bit values of the gpio pins used in node addressing are shown below.

GPIO / Arduino Pin Connection
S1 Hex Switch Position AIN0 (D7) AIN1 (D6) AIN2 (D5) AIN3 (D4)
0 Low Low Low Low
1 Low Low Low High
2 Low Low High Low
3 Low Low High High
4 Low High Low Low
5 Low High Low High
6 Low High High Low
7 Low High High High
8 High Low Low Low
9 High Low Low High
A High Low High Low
B High Low High High
C High High Low Low
D High High Low High
E High High High Low
F High High High High

RJ-45 Connection and Wiring Multi-Node Systems

The CN0416 has four RJ-45 ports, P4 and P5 for isolated communications and P6 and P24 for non-isolated communications. Each pair has a cross-over connection with each other. This facilitates the use of either a straight-through or crossover CAT5 cable.

With a straight-through connection, the CAT5 cable should connect two boards using the same port, e.g. (P4 of a master node is connected to P4 of a slave node in isolated communications).
With a crossover connection, the CAT5 cable should connect two boards using opposite ports, e.g. (P6 of a master node is connected to P24 of a slave node in non-isolated communications).

Below shows illustrations of connecting multiple nodes using either a straight-through or a crossover cable for both isolated and non-isolated communications.

For Isolated Communications:

For Non-Isolated Communications

ADALM-UARTJTAG Connection

The CN0416 has a 10 pin 5×2 connector to interface with an ADALM-UARTJTAG. The yellow LED DS2 will indicate a live connection between the two devices.

For half duplex set-ups, the ADALM-UARTJTAG needs to be setup for RS485 communications.

Schematic, PCB Layout, Bill of Materials

EVAL-CN0416-ARDZ Design & Integration Files

  • Schematics
  • PCB Layout
  • Bill of Materials
  • Allegro Project

End of Document

評論

查看更多

下載排行

本周

  1. 1電子電路原理第七版PDF電子教材免費下載
  2. 0.00 MB  |  1491次下載  |  免費
  3. 2單片機典型實例介紹
  4. 18.19 MB  |  95次下載  |  1 積分
  5. 3S7-200PLC編程實例詳細(xì)資料
  6. 1.17 MB  |  27次下載  |  1 積分
  7. 4筆記本電腦主板的元件識別和講解說明
  8. 4.28 MB  |  18次下載  |  4 積分
  9. 5開關(guān)電源原理及各功能電路詳解
  10. 0.38 MB  |  11次下載  |  免費
  11. 6100W短波放大電路圖
  12. 0.05 MB  |  4次下載  |  3 積分
  13. 7基于單片機和 SG3525的程控開關(guān)電源設(shè)計
  14. 0.23 MB  |  4次下載  |  免費
  15. 8基于AT89C2051/4051單片機編程器的實驗
  16. 0.11 MB  |  4次下載  |  免費

本月

  1. 1OrCAD10.5下載OrCAD10.5中文版軟件
  2. 0.00 MB  |  234313次下載  |  免費
  3. 2PADS 9.0 2009最新版 -下載
  4. 0.00 MB  |  66304次下載  |  免費
  5. 3protel99下載protel99軟件下載(中文版)
  6. 0.00 MB  |  51209次下載  |  免費
  7. 4LabView 8.0 專業(yè)版下載 (3CD完整版)
  8. 0.00 MB  |  51043次下載  |  免費
  9. 5555集成電路應(yīng)用800例(新編版)
  10. 0.00 MB  |  33562次下載  |  免費
  11. 6接口電路圖大全
  12. 未知  |  30320次下載  |  免費
  13. 7Multisim 10下載Multisim 10 中文版
  14. 0.00 MB  |  28588次下載  |  免費
  15. 8開關(guān)電源設(shè)計實例指南
  16. 未知  |  21539次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935053次下載  |  免費
  3. 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
  4. 78.1 MB  |  537793次下載  |  免費
  5. 3MATLAB 7.1 下載 (含軟件介紹)
  6. 未知  |  420026次下載  |  免費
  7. 4OrCAD10.5下載OrCAD10.5中文版軟件
  8. 0.00 MB  |  234313次下載  |  免費
  9. 5Altium DXP2002下載入口
  10. 未知  |  233046次下載  |  免費
  11. 6電路仿真軟件multisim 10.0免費下載
  12. 340992  |  191183次下載  |  免費
  13. 7十天學(xué)會AVR單片機與C語言視頻教程 下載
  14. 158M  |  183277次下載  |  免費
  15. 8proe5.0野火版下載(中文版免費下載)
  16. 未知  |  138039次下載  |  免費