<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using Zephyr flash driver with custom SPI driver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112837/using-zephyr-flash-driver-with-custom-spi-driver</link><description>Hi, 
 
 
 
 
 
 
 I am using an external flash on the NRF52840DK via SPI and have established working communication with the flash memory. However, I need to disable CONFIG_SPI and CONFIG_GPIO in the current project because we use input capture, which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jul 2024 14:33:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112837/using-zephyr-flash-driver-with-custom-spi-driver" /><item><title>RE: Using Zephyr flash driver with custom SPI driver</title><link>https://devzone.nordicsemi.com/thread/492764?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4708cd8-980d-4b8d-b115-4b71819ea75e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;May I know your intention for using&amp;nbsp;&lt;span&gt;external flash? To use&amp;nbsp;external flash for mcuboot or develop it as &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/drivers/spi_flash"&gt;this driver&lt;/a&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can refer to &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-7-device-driver-model/topic/driver-implementation/#Writing-Device-Drivers-in-Zephyr"&gt;this tutorial&lt;/a&gt; to write a custom device driver in Zephyr or check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91021/mcuboot-adding-custom-serial-flash-driver-as-secondary-partition/383961"&gt;this post&lt;/a&gt; which explains how to add an out of tree custom driver to zephyr/drivers/flash (no patching of Zephyr).&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>