Timer0clk 문의
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: Timer0clk 문의
by song ·
문확인 해 보니 최신 버젼(1.0.9)이 아닌 구 version (1.0.5 메뉴얼 ) 내용이라
답변이 없는것 같아 다시 문의 드립니다.
W7500을 master로 하고 slave에 clock 및 sclk를 인가하기 위하여
clock을 생성 할 수 있는 방법을 문의 드립니다.
v1.0.5 기준 항목별 레시스터 주소 확인 방법과 setting 방법 입니다.
1개 항목을 예시로 안내해 주시면 검토 후 추가 질문 드리겠습니다.
RE: Timer0clk 문의
by Ricky ·
안녕하세요.
[color=#0040FF]1. TIMER0CLK source select register 부분 관련
resgister의 주소를 어떻게 확인 할 수 있으며 soft ware로 셋팅 할 수 있다고 되어 있는데
구체적인 setting 방법 안내 부탁드립니다.[/color]
→
[url]http://wizwiki.net/wiki/doku.php?id=products:w7500:documents[/url]페이지의
Reference Manual을 보시면 [url]http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w7500:w7500_rm_v108.pdf[/url]
여러 레지스터들이 존재 합니다.
레지스터에 대한 설명과 이해를 쉽게 하고자 구분을 하여 설명 하고 있습니다.
Reference Manual 382page에 Dual timer0_0 Registers 를 예를 들면
Dual timer0_0 Registers 이라는 그룹안에
Timer0_0 Load Register, imer0_0 Value Register, Timer0_0 Control Register, Timer0_0 Interrupt Clear Register,
Timer0_0 Raw Interrupt Status Register, Timer0_0 Masked Interrupt Status Register, Timer0_0 Background Load Register이 있습니다.
여기서 Dual timer0_0 Registers 이라는 그룹의 시작이 (Base address : 0x4000_1000)을 가진다는 말이며, 이후에 나오는 레지스터들을
Address offset : 0x??로 구분 하는 겁니다.
예를 들면
Timer0_0 Load Register는 Address offset : 0x00 즉, Base address : 0x4000_1000 + Address offset : 0x00 이며,
Timer0_0 Value Register는 Address offset : 0x04 즉, Base address : 0x4000_1000 + Address offset : 0x04 입니다.
해당 레지스터에 값을 쓰는 방법은 c언어 문법에서 변수 대입과 동일 합니다.
관련 예제는 [url]https://github.com/Wiznet/W7500[/url]에 존재 하니 확인 바랍니다.
[color=#0040FF]2) reset valeu 경우 32bit 레지스터를 셋팅하는데 Ox0000_0001 과 같이 많은 bit 를 할당 하는 이유는 무엇인지요?[/color]
→
32bit레지스터에 Reset value : 0x0000_0000와 같은 32bit 값을 할당함이 이상적이라 판단 됩니다.
[color=#0040FF]W7500을 master로 하고 slave에 clock 및 sclk를 인가하기 위하여
clock을 생성 할 수 있는 방법을 문의 드립니다.[/color]
→
SPI를 이용하기 위한 내용인가요?
해당 내용역시 [url]https://github.com/Wiznet/W7500[/url]에 관련 예제가 존재 하니 확인 바랍니다.
RE: Timer0clk 문의
by song ·
안녕하세요
기본적 이해도가 많이 부족한 상태에서 한 질문임에도 불구하고
요점을 정확히 파악하시고 답변 주신 점 감사드립니다.
업무 진행하는데 많은 도움이 되었습니다.
감사합니다.