cancel
Showing results for 
Search instead for 
Did you mean: 

lwIP stack not working on STM32L073

BChav.1
Associate III

Hi ,

I am working on STM32L073 controller that talks to host over ethernet .Controller has no onboard ethernet port hence it uses spi interface to communicate with LAN9250 ethernet IC . In initial stage, i was able to transmit and recive packet(observed on wireshark). Next task was to integrate lwIP stack in my code and use further. some how i managed to integrate the stack in my code. Now i want to use RAW api's to send udp packets to the host. after watching some tutorials in internet i found some code that uses UDP raw api's but i am not able to send or receive any packet. Can some one please help me to identify the issue/what is still missing in my code?

Sharing my workspace integrated with lwIP stack. Any inputs will be appreciated.

You can refer to core/src/udpClientRAW.c for udp api's used and ethernetif.c and lwip.c are available in same directory.You can refer to core/src/lwipopts.h to check if configurations are correct or not.

(Working first time on lwIP stack).

Thanks

0 REPLIES 0