<?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>8-bit MicrocontrollersのトピックMC9S08DZ128 Module pin sharing? Specifically can SPI be linked to 2 sets of pins.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08DZ128-Module-pin-sharing-Specifically-can-SPI-be-linked-to/m-p/382100#M21225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a design where I am using the SPI pins on MC9S08DZ128 (48 pin pkg) PTE4/SCL1/MOSI1 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PTE5/SDA1/MISO1 to interface to a peripheral device.&amp;nbsp; I would also like to use another peripheral device on a new iteration of this design, but unfortunately I can't access &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PT4 and PTE5&lt;/SPAN&gt; for this new device (long story).&amp;nbsp; I have wired the new device up to PTF2/TPM1CLK/SCL1 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PTF3/TPM2CLK/SDA1 thinking I could map these pins to PTE4 and 5, and control both devices using SPI (of course I have a separate chip select i/o to select the right device).&amp;nbsp; However, using processor expert (in CW 6.3), I am not understanding how to accomplish this.&amp;nbsp; Can you please assist me?&amp;nbsp; The datasheet overall block diagram shows the linkage between pins. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;When I did the hardware design for this several months ago, my thought process was: 1) If pin sharing/linking works, great! If not --&amp;gt; 2) Use I2C to emulate SPI (with a few caveats).. if this doesn't work --&amp;gt; 3) use the timers on those pins.... OR 4) bit bang SPI using pins as I/O .&amp;nbsp; But I'm really hoping the pins can be linked and so I can use the SPI module.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 22:05:42 GMT</pubDate>
    <dc:creator>photoman</dc:creator>
    <dc:date>2015-02-17T22:05:42Z</dc:date>
    <item>
      <title>MC9S08DZ128 Module pin sharing? Specifically can SPI be linked to 2 sets of pins.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08DZ128-Module-pin-sharing-Specifically-can-SPI-be-linked-to/m-p/382100#M21225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a design where I am using the SPI pins on MC9S08DZ128 (48 pin pkg) PTE4/SCL1/MOSI1 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PTE5/SDA1/MISO1 to interface to a peripheral device.&amp;nbsp; I would also like to use another peripheral device on a new iteration of this design, but unfortunately I can't access &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PT4 and PTE5&lt;/SPAN&gt; for this new device (long story).&amp;nbsp; I have wired the new device up to PTF2/TPM1CLK/SCL1 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PTF3/TPM2CLK/SDA1 thinking I could map these pins to PTE4 and 5, and control both devices using SPI (of course I have a separate chip select i/o to select the right device).&amp;nbsp; However, using processor expert (in CW 6.3), I am not understanding how to accomplish this.&amp;nbsp; Can you please assist me?&amp;nbsp; The datasheet overall block diagram shows the linkage between pins. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;When I did the hardware design for this several months ago, my thought process was: 1) If pin sharing/linking works, great! If not --&amp;gt; 2) Use I2C to emulate SPI (with a few caveats).. if this doesn't work --&amp;gt; 3) use the timers on those pins.... OR 4) bit bang SPI using pins as I/O .&amp;nbsp; But I'm really hoping the pins can be linked and so I can use the SPI module.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 22:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08DZ128-Module-pin-sharing-Specifically-can-SPI-be-linked-to/m-p/382100#M21225</guid>
      <dc:creator>photoman</dc:creator>
      <dc:date>2015-02-17T22:05:42Z</dc:date>
    </item>
  </channel>
</rss>

