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 Peter,

     

    I am not able to fully test this driver, but I created a configuration + dts overlay for W25Q32:

    w25qxx_config_and_overlay.zip

     

    the .conf file goes into the ../spi_flash/boards/ folder, and the .overlay goes in ../spi_flash folder.

     

    It tried atleast to read the JEDEC ID when I scoped the MOSI + CLK line:

     

    Could you try this configuration + overlay and see if it works/compiles at your end? Feel free to change the settings in the overlay file to match your GPIO settings and spi frequency etc.

     

    Kind regards,

    Håkon

Children
Related