[W7500x] GPIO 포트에 대해서 질문이있습니다.
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
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: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by becky ·
안녕하세요
해당핀은 GPIO, UART0, SPI1로 사용할 수있는데 사용중이 아니신것 아닌가요?
high로 유지하고 있으면 문제가 발생하는 부분이 무엇인가요?
해당 핀은 GPIO로 control이 가능합니다.
감사합니다
RE: RE: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by Member 11116 ·
안녕하세요. UART0, SPI1를 사용하고 있지는 않고 GPIO로 활용하려고 합니다.
GPIO로 초기화 후에 쓰려고 하는데 초기화도 안되고 제어도 되지 않고 high 상태를 유지하고 있어서 문제입니다.
RE: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by becky ·
해당 핀은 GPIO로 제어가 가능합니다
main기능이 uart로 설정되어있으므로 AFConfig를 통해 GPIO로 바꾸신후 제어해보시기 바랍니다
GPIO 제어하는 부분 코드 올려주시면 확인해드리겠습니다
RE: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by Member 11116 ·
이런식으로 작성을 했습니다만 계속 하이상태만을 유지하고 있습니다.
RE: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by becky ·
안녕하세요
PAD_AFConfig()함수에서 PAD_PC로 되어있네요.
PAD_PA로 수정 바랍니다.
RE: [W7500x] GPIO 포트에 대해서 질문이있습니다.
by Member 11116 ·
아 제가 옮겨 적다가 잘못 적은 것 같습니다… PC도 사용하고 PA도 사용합니다…
이제야 발견했네요 감사합니다.