SENA HD1200 User Manual

Page 35

Advertising
background image

Starter Kit and User Manual for the HelloDevice 1200

32

byte.

Number of Bytes

Type

1 2 3 4 5

6 7

~

Write
command

0x78

Dual-Port RAM
Address
(0x000 ~ 0x7EF)

Data length
(0x001 ~ 0x5AA)

Interrupt
Flag

Data
(Max. 1450 bytes)

Table 6.5. the HelloDevice Dual-Port RAM Write protocol

If you want to generate interrupt into user device after writing data to Dual-Port RAM, you have to set interrupt

flag as 0xAA when you transmit TCP packet.

Let’s say that you want to write a 4-byte data of 0x12345678 to the Dual-Port RAM address 0x0FF of the

HelloDevice, you should send the command as listed in table 6.6.

0x78

0x00 0xFF 0x00 0x04 0xAA 0x12 0x34 0x56 0x78

Command Address

Length

Interrupt

Data

Table 6.6. Example of Dual-Port RAM Write command

6.3 Setting Up Hardware

6.3.1 the HelloDevice Dual-Port RAM Demo Board

A Demo Board is designed to supply power to the HelloDevice, to provide interface with Ethernet by RJ45

connector, and to communicate with your board through Dual-Port RAM using Dual-Port RAM interface

connector. Depending on the your board implementation, he can run simple I/O control demo and A/D converter

demo by using built-in components of the Demo Board. Demo Board is composed of the following modules.

!" The HelloDevice interface

40 pin connector for the HelloDevice interface

!" User board interface

1 channel A/D converter

4 point Input switch / 4 point output LED

26 pin Dual-Port RAM interface connector

20 pin I/O, A/D converter interface connector

!" Power adapter jack

Advertising