| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ Target Communication
The UDP send block configures the target's on-board Ethernet driver to receive a uint8 vector that it sends as a UDP message to the host. Models can contain only one C6000 UDP Send block.
To use this block with the C6416, C6713, or C6713 DSK targets, you must meet the following requirements.
Install the D.signT DSK-91C111 Ethernet adapter daughter card.
Install the Texas Instruments TMS320C6000 TCP/IP stack software.
Msg input format must be a uint8 vector with UDP format. To use variable length messages, supply the message length for each message as input to the Len port. Message length can be any integer value in bytes up to the input width of signal at the Msg port.
C6000 UDP Send blocks operate only to generate code for the target Ethernet driver. They do not perform any function in simulation and they output zero.
Note To use the UDP Send and Receive blocks, for network processing, you must include the C6000 IP Config block to set up the IP drivers for the target Ethernet network. |

Specify the IP address to which the block sends the message. If you enter the address 255.255.255.255, the block broadcasts message to any listening IP address. If you enter a specific IP address, you limit the block to sending the message to the specified address.
Specify the port on the host to which the block sends the message. Port numbers range from 1 to 65535.
Specify the local IP port the block sends the message from. If you accept the default value of –1, the network automatically selects the local IP port for sending the message.
If the address you are sending to expects the message to come from a specific port, enter that port address in this parameter. If you entered a port number in the UDP Receive block option Remote IP port to receive from, enter that port identifier in this parameter also.
Adds a block input port that lets you specify the number of bytes to send for each UDP message. The maximum allowed value is 1472 bytes. Use the input to dynamically the change the length of each message if necessary.
C6000 TCP/IP Receive, C6000 TCP/IP Send, C6000 UDP Receive

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |