background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E810-TTL-CAN01 User Manual

Co

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co., Ltd.

23

MODE

Inquire/set operating mode

MID

Inquire device info.

RESTORE

Restore factory default

REBT

Reset command

UARTPKT

Inquire/set UART sub-packing parameter

UART

Inquire/set UART parameter

VER

Inquire/set version

5.4 Command details

5.4.1 AT test command

Function

test command

Format

Set

Transmit:AT<CR>
Return: <CR><LF>+OK<CR><LF>

Example

AT<CR>

5.4.2 AT+CANFLT Inquire/set CAN filter info.

Function

Inquire/set CAN filter info.

Format

inquire

Transmit:AT+CANFLT<CR>
Return: <CR><LF>+OK=<id,mask id,mode><CR><LF>
Set
Transmit: AT+ CANFLT =<id,mask id,mode><CR>
Return: <CR><LF>+OK<CR><LF>
Parameter

id

filter id, work with filter mask id

this parameter takes effect only in user-defined filtering mode.

mask id

filter mask id, work with id

this parameter takes effect only in user-defined filtering mode

mode

filtering mode

8 modes in total

OFF receive all kinds of frame

EDTF Receive extending data frame only
ERTF Receive extending remote frame only

Содержание E810-TTL-CAN01

Страница 1: ...u Ebyte Electronic Technology Co Ltd E810 TTL CAN01 User Manual Co Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 0 E810 TTL CAN01 User Manual TTL to CAN Intelligent Protocol Conversion Module ...

Страница 2: ...tape identification conversion 4 5 1 Frames in UART converts to CAN message 4 5 2 CAN message converts to frames in UART 4 6 Conversion example transparent tape identification 4 6 1 Frames in UART converts to CAN message 4 6 2 CAN message converts to frames in UART 4 7 Protocol mode 4 8 Conversion example Protocol mode 4 8 1 Frames in UART converts to CAN message 4 8 2 CAN message converts to fram...

Страница 3: ...ing 5 4 10 AT REBT reset module 5 4 11 AT UARTPKT inquire set UART sub packing info 5 4 12 AT UART inquire set UART parameter 5 4 13 AT VER inquire module version info 6 Hardware design 7 FAQ 7 1 Module is easy to damage 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 ...

Страница 4: ...TL 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 The CAN TTL 01 is compact and can be powered from any 3 3V or 5V power supply for easy integration into a variety of boards Half hole process with pin welding holes at the same time can be patched an...

Страница 5: ... system Parking equipment control Smart home 2 Technical Parameters 2 1 Limit parameter Main parameter Performance Note Min Max Voltage supply V 2 3 5 5 Voltage over 5 5V will cause permanent damage to module 5V and 3 3V are recommended Operating temperatur 40 85 Industrial grade 2 2 Operating parameter Category Items Value UART Baud rate 115200 bps Parity none Data bit 8 Stop bit 1 Flow Control o...

Страница 6: ...The module with low level input enters the hardware reset state and the module with high level input returns to the normal working state This function is used for reset operation in an emergency 17 CFG Hardware parameter setting pin For parameter setting it should be connected with GND in short circuit 18 Restore Restore default For restoring it should be connected with GND in short circuit for 5S...

Страница 7: ...ing 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 Bidirectional conversion between UART and CAN is available Data Conversion Method Data Con...

Страница 8: ...into the data field of the CAN message frame The converter receives and converts as soon as it detects that there is data on the serial bus The frame type and frame ID of the converted CAN message come from the user s prior configuration and the frame type and frame ID remain unchanged during the conversion process The corresponding format of data conversion is shown as below If the received seria...

Страница 9: ...12 2019 Chengdu Ebyte Electronic Technology Co Ltd 8 4 3 2 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 ...

Страница 10: ...ART converts to CAN message 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 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 bel...

Страница 11: ...sage and the frame ID to the converted serial frame In this way the receiver can clearly see the sender s CAN message to ensure more flexible use 4 5 1 Frames in UART converts to CAN message With the transparent conversion all the data of the serial frame is sequentially filled into the data field of the CAN message frame The converter receives and converts as soon as it detects that there is data...

Страница 12: ...nto the data field of the CAN message until its data is completely converted 4 5 2 CAN message converts to frames in UART Once data is detected on the CAN bus via the converter it is immediately received and converted When the converter receives a frame of CAN message the frame is immediately converted Whenever the conversion the CAN frame information and the frame ID are added to the serial frame...

Страница 13: ...Electronic Technology Co Ltd 12 4 6 Conversion example transparent tape identification 4 6 1 Frames in UART converts to CAN message 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 ...

Страница 14: ...xtension frames Frame type data frames ID 0x12345678 Data AAh BBh CCh DDh EEh Frames in UART receive 85 12 34 56 78 AA BB CC DD EE 00 00 00 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 f...

Страница 15: ...anual Co Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 14 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 ...

Страница 16: ...gdu Ebyte Electronic Technology Co Ltd 15 4 8 Conversion example Protocol mode 4 8 1 Frames in UART converts to CAN message 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 ...

Страница 17: ...o frames in UART CAN transmits Frame format extension frames Frame type data frames ID 0x12345678 Data AAh BBh CCh DDh EEh Frames in UART receives 85 12 34 56 78 AA BB CC DD EE 00 00 00 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 effe...

Страница 18: ...d the buffer has a total of 64 levels of buffer according to the addresses 0 63 The cache address starts from 0 to address 63 and can continuously buffer 8 frames of CAN data 8 bytes per frame a total of 64 bytes When the first frame of CAN data is received the CAN frame data is stored in address 0 and the received CAN frame data is sequentially stored in increasing order according to the address ...

Страница 19: ...cessfully the 8 The byte data will be emptied and the data after its address will move forward by 8 data such as When the module in MODBUS mode the CAN bus receives 4 frames of data First frame 0x01 0x02 0x03 0x04 Total 4 bytes of data Second frame 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F Total 6 bytes of data Third frame 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 Total 8 bytes of data Fourth frame 0XAA 0XBB 0X...

Страница 20: ... 00 00 00 08 44 0C When the slave receives the instruction it returns the buffer value inside the slave conversion module When no new CAN frame data is received the cache value read by the host is all 0 Return instruction Device Address Command No 03 Number of Bytes Returned Data 1 Data 2 Data n High 8 bits of CRC check Low 8 bits of CRC check Such as Once the slave receives instruction 01 03 00 0...

Страница 21: ...RC check Low 8 bits of CRC check Such as Write 5 bytes of data by writing a command 01 10 00 00 00 05 0A 00 11 00 22 00 33 00 44 00 55 write this instruction to the special tool Modbus CRC 16 calculator calculate the CRC check value And added to the instruction 01 10 00 00 00 05 0A 00 11 00 22 00 33 00 44 00 55 47 84 sent in HEX format 5 bytes of data will be written When written successfully the ...

Страница 22: ...ule After the module receives the 3 second timer expires and starts to start If any AT command is received within the timeout period it will successfully switch to the configuration mode after entering The module indicator flashes at a frequency of 5 Hz At this point the parameters can be configured For the parameter list and parameter description please refer to the following After the parameter ...

Страница 23: ... is successfully switched to the configuration mode Finally the serial device sends the command AT EXAT to the module After receiving the command the module returns OK and exits the configuration Then short circuit the reset RESET pin and the parameters take effect It is also possible to reset the module with the command AT REBT after successful configuration with the AT command parameters Note Af...

Страница 24: ...ansmit AT CR Return CR LF OK CR LF Example AT CR 5 4 2 AT CANFLT Inquire set CAN filter info Function Inquire set CAN filter info Format inquire Transmit AT CANFLT CR Return CR LF OK id mask id mode CR LF Set Transmit AT CANFLT id mask id mode CR Return CR LF OK CR LF Parameter id filter id work with filter mask id this parameter takes effect only in user defined filtering mode mask id filter mask...

Страница 25: ... in the parameter Example AT CANFLT 0 0 OFF CR 5 4 3 AT CAN inquire set transmitted CAN parameter info Function inquire set transmitted CAN parameter info Format Inquire Transmit AT CAN CR Return CR LF OK baud id mode CR LF Set Transmit AT CAN Return CR LF OK CR LF Parameter baud CAN baud rate unit kbps range 6 10 20 50 100 120 125 150 200 250 400 500 600 750 1000 id transmitted frame ID identifie...

Страница 26: ...ON turn on echo echo inputted command in AT command OFF turn off echo command is not echoed in AT command Example AT E ON CR 5 4 6 AT MODBUSID inquire set MODBUS ID Function inquire set MODBUS ID Format inquire Transmit AT AT MODBUSID CR Return CR LF OK id CR LF Set Transmit AT AT MODBUSID id CR Return CR LF OK CR LF Parameter id MODBUS ID range 0 255 Example AT MODBUSID 9 CR 5 4 7 AT MODE inquire...

Страница 27: ...LF Parameter name module name Example AT MID E810 TTL CR 5 4 9 AT RESTORE restore factory default setting Function restore factory default setting Format set Transmit AT RESTORE CR Return CR LF OK CR LF Parameter none Example AT RESTORE CR Note After successfully complete this command send AT REBT to restore 5 4 10 AT REBT reset module Function reset module Format Set Transmit AT REBT CR Return CR...

Страница 28: ... AT UARTPKT 1000 10 CR 5 4 12 AT UART inquire set UART parameter Function inquire set UART parameter Format inquire Transmit AT UART CR Return CR LF OK baud data stop parity flowctrl CR LF Set Transmit AT UART baud data stop parity flowctrl CR Return CR LF OK CR LF Parameter baud baud rate from 300 921600 data data bit 8 stop stop bit 1 2 parity ODD odd EVEN even NONE none flowctrl flow control bi...

Страница 29: ...ayer of the module contact part well grounded it must be close to the digital part of the module and routed in the Bottom Layer Assuming the module is soldered or placed over the Top Layer it is wrong to randomly route over the Bottom Layer or other layers which will affect the module s spurs and receiving sensitivity to varying degrees It is assumed that there are devices with large electromagnet...

Страница 30: ...ering guidance 8 1 Reflow soldering temperature Profile Feature Curve characteristics Sn Pb Assembly Pb Free Assembly Solder Paste Solder paste Sn63 Pb37 Sn96 5 Ag3 Cu0 5 Preheat Temperature min Tsmin Min preheating temp 100 150 Preheat temperature max Tsmax Mx preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 120 sec 60 120 sec Average ramp up rate Tsmax to Tp Average ramp...

Страница 31: ...Chengdu Ebyte Electronic Technology Co Ltd E810 TTL CAN01 User Manual Co Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 30 8 2 Reflow soldering curve 9 Packing 9 1 Anti statistic pallet ...

Страница 32: ...ssued by 1 0 2019 3 12 Original version Ray 1 1 2019 7 5 Revision Blue 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 ...

Отзывы: