<?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: Master-Slave implementation between a GB60 and a GT16 MCU in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143229#M6524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi jccastaneda,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;That would depend a&amp;nbsp;lot on what you are trying to do... But the biggest problem with SPI is that the slave cannot initiate a message on its own.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 05:19:42 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2007-08-17T05:19:42Z</dc:date>
    <item>
      <title>Master-Slave implementation between a GB60 and a GT16 MCU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143228#M6523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;We would like to implement a Master-Slave system between a GB60 and a GT16 MCU;&amp;nbsp; what would be the best serial channel (SPI or SCI)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143228#M6523</guid>
      <dc:creator>jccastaneda</dc:creator>
      <dc:date>2007-08-17T05:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Master-Slave implementation between a GB60 and a GT16 MCU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143229#M6524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi jccastaneda,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;That would depend a&amp;nbsp;lot on what you are trying to do... But the biggest problem with SPI is that the slave cannot initiate a message on its own.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:19:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143229#M6524</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-08-17T05:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Master-Slave implementation between a GB60 and a GT16 MCU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143230#M6525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The main advantage that SPI has, compared with SCI, is that generally the data transfer will be much faster.&amp;nbsp; But this assumes that the two MCU are typically located on the same board, or perhaps on different boards within the same equipment.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The primary advantage of SCI is that it will usually consume less pins on the MCU, and transmission distances can be much greater with the use of buffers (RS232 or RS485).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;As Peg explained, the SPI&amp;nbsp;slave cannot initiate a data transfer, so you might require an additional handshake connection between the two devices (in addition to slave select SS), for the slave to signal the master that it has data to send.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Another approach is to use a dual SPI master arrangement.&amp;nbsp; Here, each end of the link would default to being a slave device, to be able to receive any data sent (and return response data).&amp;nbsp; However, operation would revert to master operation when either end requires to initiate the sending of data.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Whether you use SPI or SCI you will likely need a basic&amp;nbsp;communications protocol.&amp;nbsp; This would be devised to suit the type of data being transferred.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 11:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Master-Slave-implementation-between-a-GB60-and-a-GT16-MCU/m-p/143230#M6525</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-08-17T11:59:48Z</dc:date>
    </item>
  </channel>
</rss>

