EWBS Receiving Module Communication specifications

Similar documents
BULLETIN 1203-GD2, -GK2 & 1336-GM2 DF1 MESSAGING (FULL DUPLEX / POINT-TO-POINT)

Control Characters used in DirectNET

Specification. for. Serial Interface DN-C635

Specification. For. Serial Interface DN-T645/625

CONNECTION TO A HOST COMPUTER

1. Implemented CM11 protocol

The RS-485 user manual for B800 series communication

DirectNET Host. Communications Programs. In This Chapter...

V850ES/SG3, V850ES/SJ3

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

RS485 INSTRUCTION MANUAL. DM4500 Series. Page 1 of 6

Table of Contents. VM201 Protocol

TECHNICAL BULLETIN [ 1 / 8 ]

Doc. No: D Rev. 01 Last revision: TEST1 ROLLER 20 ROLLER 10/10PN ROLLER 20PN INTERFACING MANUAL

Fingerprint_Protocol_All_English

The data link layer has a number of specific functions it can carry out. These functions include. Figure 2-1. Relationship between packets and frames.

ADT Frame Format Notes (Paul Suhler) ADI ADT Frame Format Proposal (Rod Wideman)

VS-LC101/ VS-LC102 RS-232 command set

Card Dispensing/Collecting Machine

Instruction manual CIU Prime type 880 (CIU858 emulation)

Terminal Command VA Instruction Manual. Ver.1.02

OSI Data Link Layer. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

PTB605. Transmission Protocol. version 13 05/03/2002

IBM Library/Drive Interface Specification

INTRODUCTION...2 GENERAL INFORMATION...3

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa

Modbus/TCP is supported on some controllers. See QCI-AN028 Modbus TCP.

HDV100A3 Command Response Protocol

HDMI Protocol Analyzer VA Terminal Command Instruction Manual. Ver.1.00

THT-500-A/R (C5) 1. System Configuration COMMUNICATION INSTRUCTION MANUAL. No. THT5CE

Serial Interface Communication Protocol

Hematology Analyzer. Serial Communication Protocol. 1.7 release

ANNEXURE 6: RESUME OF THE PROPOSED ADJUDICATOR

SPBUS PROTOCOL SPECIFICATION

Communication. Outline of Communication. Merits

Wireless Modem Exchange (WMX) Protocol Description

OPERATION MANUAL Card Reader Communication

Outline. EEC-484/584 Computer Networks. Data Link Layer Design Issues. Framing. Lecture 6. Wenbing Zhao Review.

FW UPGRADE SPECIFICATION

User Guide. Modbus Module. For Digistart soft starters. Part Number: Issue: 3.

C-MAX CME8000-BUS. Module Layout CME8000-BUS-LP02 RS232. Industrial Module with CME8000 receiver IC. Short Description

LomaLink User s Guide

Up to three (3) RIO-RS232 modules may be attached to one RIO-PBA Profibus adapter.

Ultrabeam RCU-06 USB port description

Lecture 26: Data Link Layer

Solutions for Chapter similar to 1 and 3

Communication Protocol for Solder Feeder (SFR) Programmer s Guide

<dalf1_api.doc> API Interface. Revision 0.10 Nov 30, 2006

( ) old style CPU board ( ) new style CPU board. Circled items show differences for each board

Internet Networking recitation #2 IP Checksum, Fragmentation

PayLink-IP/232 Configuration Guide 2005 Lava Computer MFG Inc.

Communication protocol

1. Introduction. 2. Installation MODBUS INTERFACE

EITF25 Internet Techniques and Applications L3: Data Link layer. Stefan Höst

CS 421: Computer Networks SPRING MIDTERM I April 7, minutes

Appendix) Specifications of Monitor & Control Rev. 4.0 July 13, 2016

[DP19] DN-500CD. Serial Command Protocol Guide

Serial Communication Protocols

A Half-duplex Synchronous Serial Fieldbus S 2 CAN with Multi-host Structure

Proposed PLDM support over NC-SI RBT Commands (Work-In-Progress)

The MMDVM Specification ( )

Revision 6: Red text Incorporate comments from January 5, 2004 conference call. Minor wording changes.

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

Operating instructions

CPE 548 Exam #1 (50 pts) February 17, 2016

APPENDIX RC4500 GUI Graphical User Interface for RC4500 Antenna Control Unit

Network Layer PREPARED BY AHMED ABDEL-RAOUF

HAI Network Communication Protocol Description

TSIN02 - Internetworking

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

Compact Card Dispenser

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

11 Serial Communications

4.2 Programming with MotionWiz

EZ Protocol. Communication Protocol for EZPLC. For use of EZAutomation and AVG Customers with EZPLC Products. Copyright 2005 AVG

PRECISION DIGITAL CORPORATION

K -B U S R. R S485/ K N X C onverter. U ser m anual-v er.1 BTPT-01/ KNX/EIB Intelligent Installation Systems

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

APPLICATION NOTES - PIGNONE P6008 RTU CUSTOM PROTOCOL

Vanguard Managed Solutions

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

The Data Link Layer Chapter 3

Chapter 6 The Link Layer and LANs

Communications Protocol

Leica LP C (Laser Printer for Cassettes) System Requirement & Specifications

ECR-Interface ZVT-Protocol. Transport-Protocol Application-Protocol

Overview. Internetworking and Reliable Transmission. CSE 561 Lecture 3, Spring David Wetherall. Internetworking. Reliable Transmission

2.4 Error Detection Bit errors in a frame will occur. How do we detect (and then. (or both) frames contains an error. This is inefficient (and not

Ethereal Exercise 2 (Part B): Link Control Protocol

Transmission SIGNALs

General Remote Interface Description. en General Remote Interface Description

THERMO-CON. Model No. HECR002-A5. Keep available whenever necessary.

ATID UHF RFID READER Protocol. July 2009 ATID900F - V0.0.3

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

COMP 273 Winter asynchronous I/O April 5, 2012

Communication Protocol/ Data Sheet

Comms. Serial Communication

ELEN Network Fundamentals Lecture 15

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Transcription:

2017/01/05 EWBS Receiving Module Communication specifications v1.00 Century

Revision history Revision Date Changes 1.00 2017/01/05 Initial Release.

1 Serial communication specifications Asynchronous serial 115,200bps, 8bit, 1 stop bit, no parity, no flow control, signal level TTL. Half duplex protocol must be sent from the host side first. It will never be sent from the module side first. First, the host sends a command packet (variable length of packet length 6 to 16 bytes) to the module, in response the module responds with a response packet of almost the same format. 1.1 Command packet format (host ->module) Header (5Bytes) Body (0~255Bytes) STX TYPE CmdCode Data Size SUM Data (0x02) (0x1D) (Data Size Bytes) Trailer (1Byte) ETX (0x03) "STX" is start command and fixed value. "TYPE" specifies 0x1D which means module. "CmdCode" specifies the command code given to the module. "DataSize" specifies the length of data (parameter to command) to be sent with this packet. "Data length" differs for each command and possible to be 0 bytes. "SUM" is the checksum of the packet. It is a 2's complement of the value added STX to ETX in full (excluding checksum area). It judges that the packet is normal if the value is 0 by 8 bits masked from the value added STX to ETX including checksum in full to receive data. 1.2 Response packet format (module -> host) Header (5Bytes) Body (0~255Bytes) STX ACK or CmdCode Data Size SUM Data (0x02) NAK (Data Size Bytes) Trailer (1Byte) ETX (0x03) "ACK or NAK" specifies ACK (0x06) in case of command packet receive as normal, and specifies NAK (0x15) in case of error. "CmdCode" is copied same one of the received command packet. "DataSize" and "Data" are the same as command packets, but the data length and data varies depends on the command in case of ACK. 1 byte of data (Reason) will be returned in case of NAK. Data+0: error code (defined for each command) "SUM" is treated as command packet.

2 Transmission/reception processing on the module side 2.1 Receive normal packets Check parameters with each command. If an abnormal parameter, return NAK packet. If there is no problem, return ACK packet after processing. 3 Processing procedure example on the host side 3.1 Send a command packet. Receive packet header 4 bytes with timeout 100 ms. If it can not receive it, it is an error. 3.2 Check the validity of the packet header. If the packet header is incorrect, eg, the beginning is not STX, it is an error. 3.3 If the packet header is valid, received "data size in packet header + 2 (SUM + ETX)" It is an error if it can not be received. OK if the checksum is normal. * Depending on the command, it takes time to process on the module side, so it may be necessary to take a longer timeout.

4 Module Command Details * "Transmission data length" and "transmission data" indicate data to be sent to the module in the command packet. * "Reply data length" "Reply data" indicates data in a response (ACK) packet when the command is normally accepted. * When offset + 0x82 (W) is written, it indicates that the WORD value (BigEndian: the byte order is opposite to x86 CPU) exists at the byte offset 0x82, 0x83 of the transmission (reception) data area. * When you write offset + 0x82 (L), it indicates that there is a LONG value (BigEndian:the byte order is opposite to x86 CPU) at byte offsets 0x82,0x83,0x84,0x85 of the transmission (reception) data area. * When offset + 0x82 (D) is written, it indicates that there is a DWORD value(bigendian:the byte order is opposite to x86 CPU) at byte offsets 0x82,0x83,0x84,0x85 of the transmission (reception) data area. * When offset + 0x02 (16) is written, it indicates the area of 16 bytes from the byte offset 0x02 of the transmission (reception) data area. 4.1 Module command code definition CMD_GET_EWBS_INFO 0x11 Information (Acquired version etc.) CMD_GET_EWBS_STATUS 0x26 Get status of EWBS signal. CMD_GET_EWBS_RSSI 0x27 Acquisition of RSSI and CNR value of tuner. CMD_GET_EWBS_TXT 0x28 Acquisition of EWBS text data. CMD_GET_AREA_CODE 0x24 Acquisition of area code and reception channel. CMD_SET_AREA_CODE 0x25 Set area code and receive channel.

Command name CMD_GET_EWBS_INFO CmdCode 0x11 Get the firmware version of the module Transmit data length 0 Transmission data - Reply data length 11Bytes Reply data offset +0x00(8): Identification character string "EWBS_mod" offset +0x08: Version H Example:0x01 offset +0x09: Version M Example:0x03 offset +0x10:Version L Example:0x10 In this case Ver 1.3.16

Command name CMD_GET_EWBS_STATUS CmdCode 0x26 Get the reception status of the module. Transmit data length 0 Transmission data - Reply data length 1Byte Reply data offset +0x00: reception status Bit 0: EWBS receive 0: EWBS signal is not received. 1: EWBS signal is being received. Bit 1: availability for sound playback 0: Do not playback sound. 1: Playback sound.

Command name CMD_GET_EWBS_RSSI CmdCode 0x27 Acquisition of RSSI and CNR value of tuner Transmit data length 0 Transmission data - Reply data length 8Bytes Reply data offset +0x00(L):RSSI The actual value is RSSI/10 offset +0x04(D):CNR The actual value is CNR/10000

Command name CMD_GET_EWBS_TXT CmdCode 0x28 Acquisition of EWBS text data Transmit data length 0 Transmission data - Reply data length 1~121Bytes Reply data offset +0x00: Text data size offset +0x01(120): text data

Command name CMD_GET_AREA_CODE CmdCode 0x24 Acquisition of area code and reception channel. Transmit data length 0 Transmission data - Reply data length 3Bytes Transmission data offset +0x00(W):Area Code If area code is not set, 0x0FFF is returned. offset +0x02 : Receive channel

Command name CMD_SET_AREA_CODE CmdCode 0x25 Set area code and receive channel. Transmit data length 3Bytes Transmission data offset +0x00(W):Area Code If you do not set the area code, please set 0x0FFF. Values that can be set are 0x0000 to 0x0FFF. offset +0x02 : Receive channel Reply data length 0 Reply data -