W7500p ssp 사용과 관련하여
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: W7500p ssp 사용과 관련하여
by justinkim ·
안녕하세요
SSP와 SPI는 이름만 다르지 기존의 SPI 사용방식과 똑같습니다.
제가 보기에는 SSP0가 slave로 SSP1은 master로 셋팅이 되어있고 Slave와 master에 해당하는 핀이 물리적으로 서로 연결되어있다면 정상 동작해야 할 것처럼 보입니다. 하드웨어 구성이 정확히 어떻게 되는지 알아야 할 것 같습니다.
핀을 nomal Funtion이 아닌 다른 Funtion으로 사용하고 싶으시면
W7500x_gpio.c를 프로젝트에 포함시켜 주시고 아래와 같은 코드로 Function을 변경해주시면 됩니다.
PAD_AFConfig(PAD_PA, GPIO_Pin_11, PAD_AF2); // PAD Config – PA_11 used 3nd Function
PAD_AFConfig(PAD_PA, GPIO_Pin_12, PAD_AF2); // PAD Config – PA_12 used 3nd Function
PAD_AFConfig(PAD_PA, GPIO_Pin_13, PAD_AF2); // PAD Config – PA_13 used 3nd Function
PAD_AFConfig(PAD_PA, GPIO_Pin_14, PAD_AF2); // PAD Config – PA_14 used 3nd Function
감사합니다.
RE: W7500p ssp 사용과 관련하여
by bmtech21 ·
일단 표준 SPI통신은 동작하는 것 확인했습니다. 하지만 동시에 여러바이트를 송수신하는 경우가 안되는 것 같습니다.
물론 SPI가 아직 표준이 애매해서 이런 경우에 어떻게 동작시키는지 분명하지 않은데 만일 6바이트를 동시에 주고 받으려면 소프트웨어 SPI밖에 가능하지 않은가요? SSL을 내리고 한꺼번에 6개의 바이트를 송수신하고 이후에 SSL을 올리는 식으로 말입니다.
이런 경우에 DMA를 사용해야 하는가요? 아직 DMA부분은 개발이 안되었다고 하는데 언제정도 가능할까요?