RP2040-HAT-C SDK provides various ethernet network examples using RP2040 and W5100S. If you want to use a different MCU instead of the rp2040, please refer to this article.
I use STM32F411 instead of RP2040 for example.
1. Set SPI and 1ms Timer to connect to W5100S in your MCU.
2. Generate code with toolchain or IDE you have.
3. Copy & paste libraries and port folder to your project from W5100S-HAT-C SDK
4. Edit the files in the port folder with your MCU dependent code.Some code generators place initializing functions in main, so you can ignore this case.
5. Copy & paste main.c code W5100S-HAT-C SDK, leaving MCU dependent code.
6. Build and download to your MCU. you can see result through uart terminal.
Comments
Please log in or sign up to comment.