<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC1833 SSP in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1422963#M48110</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the SPI protocol does not use any handshaking signal, the spi master transmits/receives data from slave spi in a blind mode, the master spi receiver will receive 0xFFFF in 16 bits mode when the slaver spi is not connected generally.&lt;/P&gt;
&lt;P&gt;In conclusion, there is not any way for the master spi to know if the slave spi device is connected or not, but as a trick, I think if you receive multiple 0xFFFF(if you do not receive 0xFFFF with slave spi device is connected, you can connect a pull-up resistor on the MISO pin), you see that slave is connected.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 00:53:27 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2022-03-04T00:53:27Z</dc:date>
    <item>
      <title>LPC1833 SSP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1422683#M48107</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;We are using LPC1833 SSP peripheral for communicating with SPI Flash.&lt;/P&gt;&lt;P&gt;We are using it in polling mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Function&amp;nbsp;SSP_ReadWrite (Inbuilt CMSIS library function) is used for accessing SPI flash.&lt;/P&gt;&lt;P&gt;When IC is connected function works fine, but when IC is not connected then also functions does not give error and works normally.&lt;BR /&gt;&lt;BR /&gt;How can we identify that Read/Write gets failed when IC is not connected or due to any other failure?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 12:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1422683#M48107</guid>
      <dc:creator>Anonymous-III</dc:creator>
      <dc:date>2022-03-03T12:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1833 SSP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1422963#M48110</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the SPI protocol does not use any handshaking signal, the spi master transmits/receives data from slave spi in a blind mode, the master spi receiver will receive 0xFFFF in 16 bits mode when the slaver spi is not connected generally.&lt;/P&gt;
&lt;P&gt;In conclusion, there is not any way for the master spi to know if the slave spi device is connected or not, but as a trick, I think if you receive multiple 0xFFFF(if you do not receive 0xFFFF with slave spi device is connected, you can connect a pull-up resistor on the MISO pin), you see that slave is connected.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 00:53:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1422963#M48110</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-03-04T00:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1833 SSP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1423280#M48116</link>
      <description>&lt;P&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 12:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1833-SSP/m-p/1423280#M48116</guid>
      <dc:creator>Anonymous-III</dc:creator>
      <dc:date>2022-03-04T12:29:19Z</dc:date>
    </item>
  </channel>
</rss>

