SENA HD1200 User Manual

Page 33

Advertising
background image

Starter Kit and User Manual for the HelloDevice 1200

30

Symbol Address

Description

INAddrMSB

0x7F4

MSB Address of the data to be sent to host PC when interrupt is generated into
the HelloDevice from user device

INAddrLSB

0x7F5

LSB Address of the data to be sent to host PC when interrupt is generated into
the HelloDevice from user device

INLenMSB

0x7F6

MSB length of the data to be sent to host PC when interrupt is generated into the
HelloDevice from user device

INLenLSB

0x7F7

LSB length of the data to be sent to host PC when interrupt is generated into the
HelloDevice from user device

OUTAddrMSB

0x7F8

MSB Address of the data to be read by user device when interrupt is generated
into user device

OUTAddrLSB

0x7F9

LSB Address of the data to be read by user device when interrupt is generated
into user device

OUTLenMSB

0x7FA

MSB length of the data to be read by user device when interrupt is generated
into user device

OUTLenLSB

0x7FB

LSB length of the data to be read by user device when interrupt is generated into
user device

INTR_R

0x7FE

Used that HelloDevice generates interrupt into user device.
If the HelloDevice sets this register value as 0xAA, interrupt will be generated
into user device.

INTR_L

0x7FF

Used that user device generates interrupt into the HelloDevice.
If user device sets this register value as 0xAA, interrupt will be generated into
the HelloDevice.

Table 6.1. the HelloDevice Dual-Port RAM interrupt control register

6.2 Communication Protocol

To read and write the HelloDevice Dual-Port RAM remotely on the Internet, the Internet socket interface

program should be implemented on the your PC to communicate with the HelloDevice. This socket interface is

usually implemented in the form of a socket program written in C or Java applet working on the web.

The Internet socket interface should be implemented to allow the TCP/IP protocol to communicate with the

HelloDevice, and it should send Read/Write command to the TCP port 6001 and current IP address of the

HelloDevice. The HelloDevice will interpret this command to read and write Dual-Port RAM of the HelloDevice.

The communication command and corresponding response between socket interface and the HelloDevice are

summarized in Table 6.2.

Direction

Command

Packets

User PC

the HelloDevice

Get command

#

Dual-Port RAM Read

Get response

$

Dual-Port RAM Write

Set command

#

Table 6.2 the HelloDevice Dual-Port RAM Read/Write Command and Response

Advertising