2016-06-25 05:29 AM
Hi Everyone,
I'm needing to attach a 4G radio (USB/Serial/PPP) to an STM32L475V. I would like
to use the STM32CubeMX Middlewares to enable and configure lwIP; however, lwIP
is not a Middlewares option when the selected MCU is STM32L475V. It appears that
lwIP is only available in STM32CubeMX (version 4.15.1) when the MCU has an ETH
peripherial. The STM32Cube_FW_L4_V1.5.0 Firmware Library does not contain lwIP.
My thought was to select an MCU that had an ETH peripheral (e.g. STM32F7),
enable/configure lwIP, generate code, then copy the generated lwIP code to the
STM32L475V project.
Does this sound like a reasonable alternative approach? Has anyone done
something similiar?
Thanks and Regards,
...doug
2016-06-27 05:38 AM
Hi kehn.doug,
It’s possible to use STM32CubeMX which allows generating initialization code.But, you have to choose another chip with Ethernet, as you don't have LwIP support on STM32L4.Also, I recommend you to have a look to the other LwIP examples under STM32cubeF7 package:STM32Cube_FW_F7_V1.4.0\Projects\STM32756G_EVAL\Applications\LwIPIt can help you as an implementation example to develop your own application.For more details about LwIP, you can refer to the following resources, it may help you in your application:- : “LwIP TCP/IP stack demonstration for STM32F4x7 microcontrollers� - : “Developing applications on STM32Cube with LwIP TCP/IP stack� - : paragraph ''B.3.6 LwIP'' for the STM32CubeMX LwIP side.Regards