F2838x-M4 TCP Send
Libraries:
C2000 Microcontroller Blockset /
F2838x /
M4
C2000 Microcontroller Blockset /
F28M35x /
M3
C2000 Microcontroller Blockset /
F28M36x /
M3
Description
The TCP Send block sends data to a remote host or another hardware board over a TCP/IP network. The server (client mode) must be up and running before deploying the model that contains the TCP Send block to the target.
The block sends data either in blocking mode or in non-blocking mode. In blocking mode, the model blocks the execution while it waits for the data to be sent completely. In non-blocking mode, the model runs continuously. To set the block in blocking mode, select the Wait until previous packet transmitted option.
Note
Your antivirus software or firewall might block TCP traffic. Configure the software to allow traffic from a specific IP port number.
Due to RAM memory limitations on the F2838x(ARM Cortex-M4), loading application to RAM is not supported for this block.
CPU Timer 2 of F2838x Arm Cortex-M core (Connectivity Manager) provides time base to lwIP stack. It is configured to trigger an interrupt every 1 ms. This timer should not be re-configured if Ethernet blocks are being used in the model. If the corresponding interrupt is armed through Hardware Interrupt block, it will run the interrupt handler every 1 ms.
Ports
Input
Output
Parameters
Version History
Introduced in R2020b