<?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>Managing Two SPI Masters and One SPI Flash Slave</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80908/managing-two-spi-masters-and-one-spi-flash-slave</link><description>I currently use an NRF52810 to write a firmware in an external flash, then an STM32 will read this firmware and download it in its internal flash. The communication between the NRF flash and the flash STM is done by SPI. The problem I am facing is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Oct 2021 11:38:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80908/managing-two-spi-masters-and-one-spi-flash-slave" /><item><title>RE: Managing Two SPI Masters and One SPI Flash Slave</title><link>https://devzone.nordicsemi.com/thread/335284?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 11:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f893e935-315e-4cb6-9d70-1f4606b4cdfe</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would have checked both the SPI pins (CLK, MISO and MOSI) and the Chip Select pin (CSN). Can it be that the STM32 is driving&amp;nbsp;the CSN&amp;nbsp;pin high, while the nRF52 is trying to drive&amp;nbsp;CSN low? Maybe you can consider having a 10kohm pull-up on the CSN pin, and it&amp;#39;s only driven low by the STM32 and nRF52 when in use?&lt;/p&gt;
&lt;p&gt;Do you have a logic analyzer trace of the SPI and CSN pins when driven by the nRF52?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>