W5500 with ESP8266 (RTOS SDK)
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 with ESP8266 (RTOS SDK)
by teddy ·
Hi, we didn’t have a library for the ESP8266 using FreeRTOS.
But I can offer a Library and Code at executed another OS.
Please, before import the IoLibrary, you must set the SPI pins and CS pin.
The IoLibrary is changed function names for didn’t conflict RTOS function names.
#include “wizchip_conf.h”
#include “loopback.h”
#define LOOPBACK_TASK_SIZE 256
#define LOOPBACK_TASK_PRIO 10
static OS_STK LoopBackTaskStk[LOOPBACK_TASK_SIZE];
void LoopBackTest(void);
void LoopBack_task(void *sdata);
void W5500_Initialze(void);
void print_network_information(void);
wiz_NetInfo defaultNetInfo = { .mac = {0x00,0x08,0xdc,0xff,0xee,0xdd},
.ip = {192,168,0,130},
//.ip = {222,98,173,241},
.sn = {255,255,255,0},
.gw = {192,168,0,1},
//.dns = {168, 126, 63, 1},
.dns = {8, 8, 8, 8},
.dhcp = NETINFO_STATIC};
unsigned char gServer_IP[4] = {192,168,0,5};
#endif
void UserMain(void)
{
}
#if 1 //teddy 191125
void csEnable(void)
{
}
void csDisable(void)
{
}
void spiWriteByte(uint8_t tx)
{
}
uint8_t spiReadByte(void)
{
}
void W5500_Initialze(void)
{
}
void print_network_information(void)
{
}
void LoopBackTest(void)
{
}
void LoopBack_task(void *sdata)
{
}