{"id":1061,"date":"2026-06-01T10:44:00","date_gmt":"2026-06-01T10:44:00","guid":{"rendered":"https:\/\/aadhuniklabs.com\/casp-blog\/?p=1061"},"modified":"2026-06-01T11:08:05","modified_gmt":"2026-06-01T11:08:05","slug":"lwip-ethernet-communication-with-casp","status":"publish","type":"post","link":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/","title":{"rendered":"LwIP Ethernet Communication with CASP"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">CASP supports exchanging data between micro-controller and host computer with very low latency Ethernet communication. Data received from the micro-controller can then be used in CASP models on host computer or can be visualized with the help of CASP GUI widgets such as plotters, dials, 2D\/3D graphs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This example project demonstrates how to establish Ethernet communication between the STM32 board with on-board Ethernet and the host (native) computer using CASP. We try to acquire analog periodic signal from the target board to the host PC through Ethernet and plot the signal on the host computer. UDP protocol is used for communicating between the target board and the host PC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pre-Requisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">STM32H743 Nucleo board that supports LwIP stack.<\/li>\n\n\n\n<li class=\"\">A suitable signal generator to test the Ethernet latency of complete setup. If no signal generator is available, user can use Arduino Due or any CASP supported micro-controller board that can generate a DAC output, to generate a sine wave signal at frequencies between 1 to 100Hz<\/li>\n\n\n\n<li class=\"\">CASP software is installed along with CASP Python Libraries (optional).<\/li>\n\n\n\n<li class=\"\">STM32 BSP is installed.<\/li>\n\n\n\n<li class=\"\">The project files are located at CASP installed directory \u2018CASP\/support\/examples\/communication\/5_lwip\u2019. These are also available for download at this <a href=\"https:\/\/aadhuniklabs.com\/casp\/casp_web_examples\/communication\/5_lwip.zip\">link<\/a>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Connection Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"2044\" height=\"1172\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=1000%2C573&amp;ssl=1\" alt=\"\" class=\"wp-image-1079\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?w=2044&amp;ssl=1 2044w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?resize=300%2C172&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?resize=1000%2C573&amp;ssl=1 1000w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?resize=150%2C86&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?resize=768%2C440&amp;ssl=1 768w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?resize=1536%2C881&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">CASP Model for Arduino Due<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"904\" height=\"557\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-3.png?fit=904%2C557&amp;ssl=1\" alt=\"\" class=\"wp-image-1082\" style=\"aspect-ratio:1.4622432060253492;width:816px;height:auto\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-3.png?w=904&amp;ssl=1 904w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-3.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-3.png?resize=150%2C92&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-3.png?resize=768%2C473&amp;ssl=1 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Connect Arduino Due to the host PC via a USB cable.<\/li>\n\n\n\n<li class=\"\">Note the serial port number to which the board is connected to the host PC, from the host operating system.<\/li>\n\n\n\n<li class=\"\">Run CASP and load the \u2018sig_gen_model\u2019 project. Set the Signal Generator block frequency between 1Hz to 100Hz.<\/li>\n\n\n\n<li class=\"\">Open Home-&gt;Simulation-&gt;Setup Simulation Parameters menu item. Under TargetHW-&gt;General tabs set \u2018Target Programmer Port\u2019 parameter to the serial port to which the board is connected.<\/li>\n\n\n\n<li class=\"\">Build the model and program the board by clicking on Run button.<\/li>\n\n\n\n<li class=\"\">After the board is programmed check whether the on-board LED is blinking and the DAC output is giving a sine wave with specified frequency.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">CASP Model for STM32H743 Nucleo Board<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"904\" height=\"557\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-4.png?fit=904%2C557&amp;ssl=1\" alt=\"\" class=\"wp-image-1084\" style=\"aspect-ratio:1.5237449812034882;width:905px;height:auto\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-4.png?w=904&amp;ssl=1 904w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-4.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-4.png?resize=150%2C92&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/model-4.png?resize=768%2C473&amp;ssl=1 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Connect STM32 board to the host PC via a USB cable.<\/li>\n\n\n\n<li class=\"\">Note the serial port number to which the board is connected to the host PC, from the host operating system.<\/li>\n\n\n\n<li class=\"\">Run CASP and load the \u2018target_model\u2019 project.<\/li>\n\n\n\n<li class=\"\">Open Home-&gt;Simulation-&gt;Setup Simulation Parameters menu item. Under TargetHW-&gt;General tabs set \u2018Target Programmer Port\u2019 parameter to the serial port to which the board is connected.<\/li>\n\n\n\n<li class=\"\">Build the model and program the board by clicking on Run button.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">CASP Model that runs on Host Computer<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"926\" height=\"600\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native.wsp_-1.png?fit=926%2C600&amp;ssl=1\" alt=\"\" class=\"wp-image-1086\" style=\"aspect-ratio:1.52792151237256;width:920px;height:auto\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native.wsp_-1.png?w=926&amp;ssl=1 926w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native.wsp_-1.png?resize=300%2C194&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native.wsp_-1.png?resize=150%2C97&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native.wsp_-1.png?resize=768%2C498&amp;ssl=1 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Run CASP and open the&nbsp;project &#8216;CASP\/support\/examples\/communication\/5_lwip\/native_model\/native_model.prj&#8217; from CASP installed directory.<\/li>\n\n\n\n<li class=\"\">&nbsp;Open the \u2018native.wsp\u2019 workspace file. Double click on the \u2018Serial SimPanel\u2019 block and set \u2018Serial Port Settings-&gt;Serial Port\u2019 parameter to the serial port to which the board is connected as shown in below figure.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"927\" height=\"608\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native1.png?fit=927%2C608&amp;ssl=1\" alt=\"\" class=\"wp-image-1088\" style=\"aspect-ratio:1.52792151237256;width:929px;height:auto\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native1.png?w=927&amp;ssl=1 927w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native1.png?resize=300%2C197&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native1.png?resize=150%2C98&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/native1.png?resize=768%2C504&amp;ssl=1 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Click Run button to build the model and start simulation. &nbsp;A simulation panel window should open and communicate with the board.  Screen shots for 10 Hz and 100 Hz sine wave input at the ADC port of Arduino Uno are shown below.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"964\" height=\"536\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image007-3.jpg?fit=964%2C536&amp;ssl=1\" alt=\"\" class=\"wp-image-1091\" style=\"aspect-ratio:2.195942338494394;width:942px;height:auto\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image007-3.jpg?w=964&amp;ssl=1 964w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image007-3.jpg?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image007-3.jpg?resize=150%2C83&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image007-3.jpg?resize=768%2C427&amp;ssl=1 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"964\" height=\"535\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image009-2.jpg?fit=964%2C535&amp;ssl=1\" alt=\"\" class=\"wp-image-1093\" srcset=\"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image009-2.jpg?w=964&amp;ssl=1 964w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image009-2.jpg?resize=300%2C166&amp;ssl=1 300w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image009-2.jpg?resize=150%2C83&amp;ssl=1 150w, https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/image009-2.jpg?resize=768%2C426&amp;ssl=1 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">From the above screen shot, for the frequency of 100Hz, the number of sample points are enough to plot a reasonably smooth wave form. This indicate that the overall sampling rate of the setup (Nucleo Board ADC sampling rate + the Ethernet communication cycle time between target board and the host PC) is less than 500 micro-seconds. The measured round trip time between the host computer and STM32 board is around 200 micro seconds.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Links<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\"><a href=\"https:\/\/aadhuniklabs.com\/casp-blog\/installing-casp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Installing CASP<\/a><\/li>\n\n\n\n<li class=\"\"><a href=\"https:\/\/aadhuniklabs.com\/casp-blog\/updating-casp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Updating CASP<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CASP supports exchanging data between micro-controller and host computer with very low latency Ethernet communication. Data received from the micro-controller can then be used in CASP models on host computer&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1079,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_view_id":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[88,72,27,85],"tags":[93,94],"post_folder":[70],"class_list":["post-1061","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-communication","category-examples","category-microcontroller-boards","tag-communication","tag-stm32"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LwIP Ethernet Communication with CASP<\/title>\n<meta name=\"description\" content=\"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LwIP Ethernet Communication with CASP\" \/>\n<meta property=\"og:description\" content=\"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/\" \/>\n<meta property=\"og:site_name\" content=\"CASP Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-01T10:44:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-01T11:08:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2044\" \/>\n\t<meta property=\"og:image:height\" content=\"1172\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"AadhunikLabs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AadhunikLabs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/\"},\"author\":{\"name\":\"AadhunikLabs\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#\\\/schema\\\/person\\\/4b27a4300337e4cc03b790befda00fe7\"},\"headline\":\"LwIP Ethernet Communication with CASP\",\"datePublished\":\"2026-06-01T10:44:00+00:00\",\"dateModified\":\"2026-06-01T11:08:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/\"},\"wordCount\":605,\"publisher\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/circuit-1.png?fit=2044%2C1172&ssl=1\",\"keywords\":[\"Communication\",\"STM32\"],\"articleSection\":[\"Arduino\",\"Communication\",\"Examples\",\"MC Boards\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/\",\"url\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/\",\"name\":\"LwIP Ethernet Communication with CASP\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/circuit-1.png?fit=2044%2C1172&ssl=1\",\"datePublished\":\"2026-06-01T10:44:00+00:00\",\"dateModified\":\"2026-06-01T11:08:05+00:00\",\"description\":\"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/circuit-1.png?fit=2044%2C1172&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/circuit-1.png?fit=2044%2C1172&ssl=1\",\"width\":2044,\"height\":1172},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/lwip-ethernet-communication-with-casp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LwIP Ethernet Communication with CASP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#website\",\"url\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/\",\"name\":\"CASP Blog\",\"description\":\"Let&#039;s make for fun\",\"publisher\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#organization\",\"name\":\"CASP Blog\",\"url\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/casp_logo.png?fit=747%2C157&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/casp_logo.png?fit=747%2C157&ssl=1\",\"width\":747,\"height\":157,\"caption\":\"CASP Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/#\\\/schema\\\/person\\\/4b27a4300337e4cc03b790befda00fe7\",\"name\":\"AadhunikLabs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/AL_Logo-Inv-Circle-96x96.webp\",\"url\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/AL_Logo-Inv-Circle-96x96.webp\",\"contentUrl\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/AL_Logo-Inv-Circle-96x96.webp\",\"caption\":\"AadhunikLabs\"},\"sameAs\":[\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\"],\"url\":\"https:\\\/\\\/aadhuniklabs.com\\\/casp-blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LwIP Ethernet Communication with CASP","description":"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/","og_locale":"en_US","og_type":"article","og_title":"LwIP Ethernet Communication with CASP","og_description":"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.","og_url":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/","og_site_name":"CASP Blog","article_published_time":"2026-06-01T10:44:00+00:00","article_modified_time":"2026-06-01T11:08:05+00:00","og_image":[{"width":2044,"height":1172,"url":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png","type":"image\/png"}],"author":"AadhunikLabs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"AadhunikLabs","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#article","isPartOf":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/"},"author":{"name":"AadhunikLabs","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#\/schema\/person\/4b27a4300337e4cc03b790befda00fe7"},"headline":"LwIP Ethernet Communication with CASP","datePublished":"2026-06-01T10:44:00+00:00","dateModified":"2026-06-01T11:08:05+00:00","mainEntityOfPage":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/"},"wordCount":605,"publisher":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#organization"},"image":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=2044%2C1172&ssl=1","keywords":["Communication","STM32"],"articleSection":["Arduino","Communication","Examples","MC Boards"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/","url":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/","name":"LwIP Ethernet Communication with CASP","isPartOf":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#primaryimage"},"image":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=2044%2C1172&ssl=1","datePublished":"2026-06-01T10:44:00+00:00","dateModified":"2026-06-01T11:08:05+00:00","description":"This example project demonstrates a model that establishes ethernet communication between the STM32 Nucleo board and the host PC.","breadcrumb":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#primaryimage","url":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=2044%2C1172&ssl=1","contentUrl":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=2044%2C1172&ssl=1","width":2044,"height":1172},{"@type":"BreadcrumbList","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/lwip-ethernet-communication-with-casp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aadhuniklabs.com\/casp-blog\/"},{"@type":"ListItem","position":2,"name":"LwIP Ethernet Communication with CASP"}]},{"@type":"WebSite","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#website","url":"https:\/\/aadhuniklabs.com\/casp-blog\/","name":"CASP Blog","description":"Let&#039;s make for fun","publisher":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aadhuniklabs.com\/casp-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#organization","name":"CASP Blog","url":"https:\/\/aadhuniklabs.com\/casp-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/05\/casp_logo.png?fit=747%2C157&ssl=1","contentUrl":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/05\/casp_logo.png?fit=747%2C157&ssl=1","width":747,"height":157,"caption":"CASP Blog"},"image":{"@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/#\/schema\/person\/4b27a4300337e4cc03b790befda00fe7","name":"AadhunikLabs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/04\/AL_Logo-Inv-Circle-96x96.webp","url":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/04\/AL_Logo-Inv-Circle-96x96.webp","contentUrl":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/04\/AL_Logo-Inv-Circle-96x96.webp","caption":"AadhunikLabs"},"sameAs":["https:\/\/aadhuniklabs.com\/casp-blog"],"url":"https:\/\/aadhuniklabs.com\/casp-blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/aadhuniklabs.com\/casp-blog\/wp-content\/uploads\/2026\/06\/circuit-1.png?fit=2044%2C1172&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/posts\/1061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/comments?post=1061"}],"version-history":[{"count":7,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/posts\/1061\/revisions"}],"predecessor-version":[{"id":1100,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/posts\/1061\/revisions\/1100"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/media\/1079"}],"wp:attachment":[{"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/media?parent=1061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/categories?post=1061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/tags?post=1061"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/aadhuniklabs.com\/casp-blog\/wp-json\/wp\/v2\/post_folder?post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}