Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enc28j60 和 NRF 引脚定义偏了 #17

Open
wuhanstudio opened this issue Jun 11, 2021 · 1 comment
Open

enc28j60 和 NRF 引脚定义偏了 #17

wuhanstudio opened this issue Jun 11, 2021 · 1 comment

Comments

@wuhanstudio
Copy link

最近用 enc28j60 一直获取不到 IP,然后发现引脚似乎定义错了,原理图上分别是 PD5, PD4, PD3:

image

但是代码里是 PD6,PD5,PD4:

// WIRELESS
#define PIN_NRF_IRQ GET_PIN(D, 4) // PD4 : NRF_IRQ --> WIRELESS
#define PIN_NRF_CE GET_PIN(D, 5) // PD5 : NRF_CE --> WIRELESS
#define PIN_NRF_CS GET_PIN(D, 6) // PD6 : NRF_CS --> WIRELESS

@mysterywolf
Copy link
Member

https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32l475-atk-pandora
请到这里边提pr,
这个仓库的源码没有更新,比较老了
可以看这个仓库的手册,但是不要看源码,看源码到master仓库里。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants