Ebyte E810-TTL-CAN01 User Manual
Ebyte E810-TTL-CAN01 User Manual

Ebyte E810-TTL-CAN01 User Manual

Ttl to can intelligent protocol conversion module
Table of Contents

Advertisement

Quick Links

Chengdu Ebyte Electronic Technology Co., Ltd.
E810-TTL-CAN01 User Manual
E810-TTL-CAN01 User Manual
TTL to CAN Intelligent Protocol Conversion Module
Co
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
0

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E810-TTL-CAN01

  • Page 1 Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual E810-TTL-CAN01 User Manual TTL to CAN Intelligent Protocol Conversion Module Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 2: Table Of Contents

    5.4.3 AT+CAN inquire/set transmitted CAN parameter info................... 5.4.4 AT+EXAT exit AT command ........................... 5.4.5 AT+E inquire/set command echo mode ......................Function:inquire/set command echo mode ......................Format:inquire ................................ 5.4.6 AT+MODBUSID inquire/set MODBUS ID ....................5.4.7 AT+MODE inquire/set operating mode ......................Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 3 7.3 Unable to use after parameter is changed ......................8. Soldering guidance ................................8.1 Reflow soldering temperature ............................. 8.2 Reflow soldering curve ............................... 9. Packing ....................................9.1 Anti-statistic pallet ..............................Revision history ..................................About us ..............................错误!未定义书签。 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 4: Product Overview

    Modbus ASCII/RTU protocol conversion. E810-TTL-CAN01 integrates one channel CAN-BUS interface and one channel UART TTL interface, which can realize mutual transparent transmission or Modbus protocol conversion between UART TTL signal and CAN-BUS.
  • Page 5: Application

    CAN ID 0x00000000 Flow Control Default operating mode Transparent transmission mode Receive all kinds of data Default device address Modbus device address Default device address is 1 Time 10ms Frame sub-packing parameter Byte 1000byte Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 6: Size And Pin Definition

    State indicator When there is data transfer, the STE pin is low level 22~25 Hardware control Hardware control flow pin RTS flow pin Hardware control Hardware control flow pin CTS flow pin Ground Ground Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 7: Mode Instructions

    Configuration mode, see Chapter 5: Instructions on Entering Command Configuration 4.2 UART connection The level for E810-TTL-CAN01 is 3.3V,it can be connected to UART interface of MCU directly. 4.3 Data conversion method ⚫ There are four data conversion method: transparent conversion, transparent tape identification conversion, protocol conversion and MODBUS conversion;...
  • Page 8: Transparent Conversion

    "transparent". The E810-TTL-CAN01 module can convert the valid data received by the CAN bus to the UART, and the UART outputs the same data. Similarly, the module can also convert the data received by the UART to the CAN bus, and realize transparent conversion between UART and CAN.
  • Page 9: Can Message Converts To Frames In Uart

    All data in the data field of the CAN message frame is sequentially filled into the serial frame data; the converter receives and converts immediately after detecting the data on the CAN bus. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 10: Conversion Example(Transparent Conversion

    4.4.2 CAN message converts to frames in UART Assume that the frame information of CAN message is "standard frame" and the frame ID (ID1, ID2) is set to 0060, then the conversion format is as shown below. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 11: Transparent Tape Identification Conversion

    ID remain unchanged during the conversion process. The corresponding format of data conversion is shown in Figure 4.1. If the received serial frame length is less than or equal to 8 bytes, the characters 1 to n (n is the serial frame Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 12: Can Message Converts To Frames In Uart

    Please note: whether the serial frame or CAN message is applied at the time of its frame format (standard frame or extended frame) should meet the previously configured frame format requirements, otherwise communication may fail. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 13: Conversion Example(Transparent Tape Identification

    Assume that the frame information converted into CAN message is "standard frame" and the frame ID (ID1, ID2) is set to 0060, then the conversion format is as shown in the figure below. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 14: Can Message Converts To Frames In Uart

    0x85 indicates that the frame format is an extended frame, the frame type is a data frame, and the data length is 5 The last four digits indicate that the CAN ID is 12345678. The last 8 bits are the data area, the effective length is 5, and the remaining bits are filled with 0. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 15: Protocol Mode

    E810-TTL-CAN01 User Manual 4.7 Protocol mode The data conversion format of E810-TTL-CAN01 module is as follows. Each CAN frame contains 13 bytes, and the 13-byte contents include CAN frame information + frame ID + frame data. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 16: Conversion Example(Protocol Mode

    Frames in UART transmit:05 00 00 06 78 12 34 56 78 90 00 00 00 0x05 indicates that the frame format is a standard frame, the frame type is a data frame, and the data length is 5. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 17: Can Message Converts To Frames In Uart

    The last four digits indicate that the CAN ID is 12345678. The last 8 bits are the data area, the effective length is 5, and the remaining bits are filled with 0, as shown below, Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 18: Modbus Mode

    E810-TTL-CAN01 User Manual 4.9 ModBus mode Modbus conversion mode supports RTU conversion mode. The E810-TTL-CAN01 module is used as a slave device to receive and respond to commands sent by the host (via the UART). The E810-TTL-CAN01 conversion module supports two Modbus commands: read register (function code 03) and write multiple registers (function code 16).
  • Page 19 Third frame: 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 Total:8 bytes of data Fourth frame: 0XAA 0XBB 0XCC Total: 3 bytes of data They are stored in the MODBUS cache address: (The address without data is 0x00) Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 20 01 03 10 00 01 00 02 00 03 00 04 00 00 00 00 00 00 00 00 1F 9F After the reading is completed, the 8 bytes of data are emptied, and the data after the address is moved forward by 8 data. As shown below: Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 21 Note: The register address of this command is only allowed to be 00 00 and is not allowed to be sent in format as follows: 01 10 00 00 05 0A 00 11 00 22 00 33 00 44 00 55 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 22: Operation Instructions

    For example, first use the software command to enter the command mode, and then short the CFG pin to GND. Because the hardware priority is high, it is now regarded as the hardware entry command mode. When the CFG pin goes high, it is directly the hardware exit. Command mode. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 23: Command Overview

    Invalid operator Invalid parameter Operation not allowed 5.4 Command list Test command CANFLT Inquire/set CAN filter info. Inquire/set CAN transmit parameter info. EXAT Exit AT command Inquire/set AT command echo MODBUSID Inquire/set MODBUS ID Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 24: Command Details

    8 modes in total: OFF receive all kinds of frame EDTF Receive extending data frame only ERTF Receive extending remote frame only Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 25: At+Can Inquire/Set Transmitted Can Parameter Info

    2 modes in total: NDTF transmitted standard data frame EDTF transmit extending data frame Example:AT+CAN=100,70,NDTF <CR> 5.4.4 AT+EXAT exit AT command Function:exit AT command Format:Set Transmit: AT+EXAT<CR> Return: <CR><LF>+OK<CR><LF> Example:AT+EXAT<CR> Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 26: At+E Inquire/Set Command Echo Mode

    Return: <CR><LF>+OK=<id><CR><LF> Transmit: AT+ AT+MODBUSID =<id><CR> Return: <CR><LF>+OK<CR><LF> Parameter: MODBUS ID range:0-255 Example:AT+MODBUSID=9 <CR> 5.4.7 AT+MODE inquire/set operating mode Function:inquire/set operating mode Format:inquire Transmit: AT+MODE <CR> Return: <CR><LF>+OK=<mode><CR><LF> Transmit: AT+MODE =<mode><CR> Return: <CR><LF>+OK<CR><LF> Parameter: Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 27: At+Mid Inquire Module Name

    Function:reset module Format:Set Transmit: AT+REBT<CR> Return: <CR><LF>+OK<CR><LF> Parameter:none Example:AT+ REBT <CR> <Note>:After successfully complete this command,send module is reset and will exit AT command. 5.4.11 AT+UARTPKT inquire/set UART sub=packing info. Function:inquire/set UART sub=packing info. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 28: At+Uart Inquire/Set Uart Parameter

    ODD(odd)、EVEN(even)、NONE(none) flowctrl flow control bit NFC(without flow control)、FC(with flow control) Example: AT+UART=9600,8,1,NONE,NFC<CR> 5.4.13 AT+VER inquire module version info. Function:inquire module version info. Format:inquire Transmit: AT+VER<CR> Return: <CR><LF>+OK=<ver><CR><LF> Parameter: ver version number Example:AT+VER<CR> Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 29: Hardware Design

    Please ensure the humidity is within limited range, some parts are sensitive to humidity.  Please avoid using modules under too high or too low temperature.  7.2 Unable to successfully set the command Please check if the instruction format is correct.  Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 30: Unable To Use After Parameter Is Changed

    Peak temp. 220-235℃ 230-250℃ Aveage ramp-down rate(Tp to Tsmax) Average ramp-down rate 6℃/second max 6℃/second max Time 25℃ to peak temperature Time to peak temperature for 25℃ 6 minutes max 8 minutes max Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 31: Reflow Soldering Curve

    Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual 8.2 Reflow soldering curve 9. Packing 9.1 Anti-statistic pallet Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 32: Revision History

    Revision About us Technical support: support@cdebyte.com Documents and RF Setting download link: www.ebyte.com Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com ------------------------------------------------------------------------------------------------- Fax: 028-64146160 ext. 821 Web: www.ebyte.com Address: Innovation Center D347, 4# XI-XIN Road,Chengdu, Sichuan, China...

Table of Contents