stm32mp1-baremetal icon indicating copy to clipboard operation
stm32mp1-baremetal copied to clipboard

Ethernet example please

Open Undercroft opened this issue 2 years ago • 2 comments

Hi Dan,

thanks for providing these introductory projects. If possible, could you provide a very basic ethernet example? E.g maybe just hook up to a network with ARP and send or receive a UDP datagram.

All the best

Undercroft avatar May 02 '22 16:05 Undercroft

Hi, Based on a quick comparison between the H7 and MP1 ETH peripherals, it looks like the MP1 ETH peripheral features are a superset of the H7 ones. So, in theory it should be possible to use ST's H7 example projects as a starting point (similar to porting USB from H7 to MP1). I see several examples using lwip such as these. Probably a good place to start?

Are you using the Discovery board, or a custom board?

danngreen avatar May 03 '22 16:05 danngreen

Thanks. I'm not that familiar with the lwip examples so can't really comment. I have a STM32MP157D-DK1.

Edit: I just had a look and they could be promising.

Undercroft avatar May 03 '22 21:05 Undercroft