This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NCS1.8 how to change the SPI1 pins?

Hello,

NCS1.8.0   Windows10 X64;

spi_loopback test,default code default pins;it is ok.

when i change the SPI_1 pins ,

Failed to achieve the effect, still used the original pins.

  

thanks

Best Regards

yuyou

Parents
  • Hellow,

    thanks Simon.

    this is the answer.

    created file nrf52840dk_nrf52840.overlay as follow pic:

    SES

    reload project and rebuild, it still runing whit old pin.

    it means nrf52840dk_nrf52840.overlay not used.

    but,when i delete folder build_nrf52840dk_nrf52840

    and recreated,the pin had changed.

    VS CODE

    build it will changed.not need delete folder and recreate.

    thanks

    Best Regards

Reply
  • Hellow,

    thanks Simon.

    this is the answer.

    created file nrf52840dk_nrf52840.overlay as follow pic:

    SES

    reload project and rebuild, it still runing whit old pin.

    it means nrf52840dk_nrf52840.overlay not used.

    but,when i delete folder build_nrf52840dk_nrf52840

    and recreated,the pin had changed.

    VS CODE

    build it will changed.not need delete folder and recreate.

    thanks

    Best Regards

Children
Related