Skip to content

W5100S-EVB-Pico OLED/DHCP

W5100S-EVB-Pico OLED/DHCP

eric_g

Published May 03, 2022

43 UCC

22 VAR

Components

Hardware components

x 1


x 1

Project description

DETAILS WIZnet의 W5100S-EVB-Pico 보드에 OLED를 추가하고 DHCP 동작 시험을 해 보았습니다. 핀 구성은 아래 그림처럼 지난번 pico 보드에서 연결한 것과 동일하게 하였습니다. 처음에 로고를 출력하고 multicore_launch_core1() 함수를 이용해서 이더넷 처리와 메인함수를 코어 2개에 분리해서 동시에 처리하도록 하였습니다. 그래서 이더넷 처리와 다른 OLED와 CLI등 동시에 실행 가능합니다. void apInit(void) { ? ? cliOpen(_DEF_UART1, 115200); ? ? canOpen(_DEF_CAN1, CAN_NORMAL, CAN_CLASSIC, CAN_1M, CAN_1M); ? ? for (int i=0; i<32; i+=1) ? ? { ? ? ? ? lcdClearBuffer(black); ? ? ? ? lcdPrintfResize(0, 40-i, green, 16, " -- WIZnet --"); ? ? ? ? lcdDrawRect(0, 0, LCD_WIDTH, LCD_HEIGHT, white); ? ? ? ? lcdUpdateDraw(); ? ? ? ? delay(10); ? ? }…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.