Skip to content

enc28j60 和 NRF 引脚定义偏了 #17

@wuhanstudio

Description

@wuhanstudio

最近用 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions