<?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 SPI driver with generic device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117750/using-zephyr-spi-driver-with-generic-device</link><description>I need to connect a device to an nRF5340 SPI port without creating a custom driver. I&amp;#39;m tempted to use the nrfx_spim driver directly, but I&amp;#39;m trying to do it with Zephyr and the device tree. I&amp;#39;ve looked for examples of how to use the Zephyr SPI driver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jan 2025 05:33:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117750/using-zephyr-spi-driver-with-generic-device" /><item><title>RE: Using Zephyr SPI driver with generic device</title><link>https://devzone.nordicsemi.com/thread/517118?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 05:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f167e57d-5e24-4437-bc90-4e58e8589df8</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;I&amp;#39;m embarrassed to say that part of the problem was that I had the logic analyzer set for 3.3V logic, not realizing that the nRF7002 board uses 1.8V!&lt;br /&gt;&lt;br /&gt;But in the mean time I have switched over to using the nrfx_spim library instead, and have made good progress with it.&amp;nbsp; I feel SO much more comfortable working more directly with the lower level drivers and hardware than the Zephyr abstractions, after a few years of working with the nRF5 SDK.&lt;br /&gt;&lt;br /&gt;So there is no need to answer this original ticket, and feel free to delete it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Zephyr SPI driver with generic device</title><link>https://devzone.nordicsemi.com/thread/517087?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 19:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c23f6b3-bb5a-43ae-ac8d-e82a9479fcdd</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;I know that the SPI4 port is unusual, so I tried the same code with the SPI1 port at 8 MHz.&amp;nbsp; Same results:&amp;nbsp; The SCK, MOSI and MISO pins are stuck at ground, and the CS# pin seems to be floating (noise on the logic analyzer).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>