IP Interface

PMC825 Ethernet /UDP Interface Issue P (23/8/10) PMC825 Ethernet/UDP/IP Interface page 1 of 27 PMC825 Ethernet /UDP Interface Issue P (23/8/10) ...
Author: Marsha Greer
7 downloads 4 Views 419KB Size
PMC825 Ethernet /UDP Interface

Issue P (23/8/10)

PMC825 Ethernet/UDP/IP Interface

page 1 of 27

PMC825 Ethernet /UDP Interface

Issue P (23/8/10)

• Human readable and editable configuration data file stored on microSD/microSDHC card

• Each CAN channel can be assigned individual IP addresses and port numbers for host communication

• DHCP client functionality

• UDP/IP support with configurable MAC addresses, IP addresses and port numbers

• RJ-45 connector with link and activity LEDs

• Configurable 10/100/1000 BaseT Ethernet

• Integrated MAC and PHY

• Full-duplex network communication module

Ethernet Interface Features

page 2 of 27

PMC825 Ethernet /UDP Interface

16 bits

Data Area

Data Area

Message Count Service/Response Code

Operation Code

Frame Counter (bits 0-15)

Frame Counter (bits 16-31)

Packet Type (0x0001)

Issue P (23/8/10)

• Packet Type: Identifies packet structure, set to 0x0001 (fixed value) • Frame Counter: 32-bit unsigned integer, incremented for each packet • Operation Code: 16-bit signed integer, indicating packet content and structure: a.) CAN_NOOP = 0 b.) CAN_WRITE = 1 c.) CAN_READ = 2 d.) CAN_CTRL = 3 e.) CAN_WRITE_RSP = 4 f.) CAN_READ_RSP = 5 g.) CAN_CTRL_RSP = 6 h.) CAN_STATUS = 7 • Message Count, Service/Response Code: Operation Code dependant parameter • Data Area: Packet data area of variable length between 2 and 1402 Bytes.

General UDP Packet Structure

8-byte header max. 1402 Bytes

page 3 of 27

PMC825 Ethernet /UDP Interface

16 bits

CAN Message #n

CAN Message #1

CAN Message #0

Message Count

CAN_WRITE (0x0001)

Frame Counter (bits 0-15)

Frame Counter (bits 16-31)

Packet Type (0x0001)

Issue P (23/8/10)

• Packet Type: 0x0001 • Frame Counter: 32-bit unsigned integer, incremented for each packet • Operation Code: a.) CAN_WRITE = 1 b.) CAN_READ = 2 • Message Count: Variable number of CAN messages in this packet with 1 = n