<?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: SPI communication, clocking data from a Slave device in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159390#M9470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Welcome to the forum.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;. . . Is it correct that to generate the SPI clock for every byte on I want to receive, I have to write a dummy byte into the SPID register and send it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 03:46:10 GMT</pubDate>
    <dc:creator>rocco</dc:creator>
    <dc:date>2012-05-03T03:46:10Z</dc:date>
    <item>
      <title>SPI communication, clocking data from a Slave device</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159389#M9469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working on the SPI bus on the MC9S08. The writing to the slave works, whereas I am having a few problems with the reading part.&lt;/P&gt;&lt;P&gt;I see the command I send to the slave to go to read mode correctly sets the MISO line low and it is waiting for the SPI clock to spit out some data.&lt;/P&gt;&lt;P&gt;My question therefore is quite simple: Is it correct that to generate the SPI clock for every byte on I want to receive, I have to write a dummy byte into the SPID register and send it? I can't seem to find another way to generate the SPI clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any hints&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 00:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159389#M9469</guid>
      <dc:creator>DannyP</dc:creator>
      <dc:date>2012-05-03T00:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication, clocking data from a Slave device</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159390#M9470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Welcome to the forum.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;. . . Is it correct that to generate the SPI clock for every byte on I want to receive, I have to write a dummy byte into the SPID register and send it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 03:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159390#M9470</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2012-05-03T03:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication, clocking data from a Slave device</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159391#M9471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to one&amp;nbsp;of the posts within &lt;A __default_attr="110420" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/110420" jivemacro="thread" title="this"&gt;this&lt;/A&gt;&amp;nbsp;recent thread for a&amp;nbsp;basic SPI master communications code example.&amp;nbsp; It provides a single&amp;nbsp;function that is capable of both send and receive SPI operations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SPI-communication-clocking-data-from-a-Slave-device/m-p/159391#M9471</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-05-03T09:56:40Z</dc:date>
    </item>
  </channel>
</rss>

