This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there any spi example of ncs v1.3 to refer to?

I tried to drive the flash device W25Q32 on ncs v1.3, but there was no proper spi routine to refer to.

Parents Reply
  • Hi ,


    I test the example used ncs v1.3 on PCA10090 0.9.0
    The example path is D:\ncs\v1.3.0\zephyr\samples\drivers\spi_flash\src\main.c
    The overlay path is D:\ncs\v1.3.0\zephyr\samples\drivers\spi_flash\nrf9160dk_nrf9160ns.overlay
    The conf path is D:\ncs\v1.3.0\zephyr\samples\drivers\spi_flash\boards\nrf9160dk_nrf9160ns.conf
    The dts path is D:\ncs\v1.3.0\zephyr\boards\arm\nrf9160dk_nrf9160\nrf9160dk_nrf9160_common.dts
    The log is as below:

    The cs-gpios = <&gpio0 13 0>; timing diagram is seems error.
    The timing diagram is as below:

    The test example is attached.

    nrf9160测试demo.rar
    Kind regards, Peter.Min

Children
Related