<?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>S12 / MagniV MicrocontrollersのトピックHC9S12 SPI Interface to NXP SC16IS760 UART</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HC9S12-SPI-Interface-to-NXP-SC16IS760-UART/m-p/182317#M6696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone interfaced the 9S12 to a NXP SC16IS760 SPI UART?&amp;nbsp; I've built a test board (with logic level translators to go from a 5 Volt 9S12 to the 3.3V 16IS760) and can send / receive SPI data, but have no idea what responses I should expect from the UART device when sending configuration commands.&amp;nbsp; The NXP chip always replies with 0x00 and after completing the configuration I am not able to successfully send data through the UART (via the SPI bus) to the TTL level serial outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help (and code) would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Mar 2010 01:50:49 GMT</pubDate>
    <dc:creator>KH_SRNL</dc:creator>
    <dc:date>2010-03-11T01:50:49Z</dc:date>
    <item>
      <title>HC9S12 SPI Interface to NXP SC16IS760 UART</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HC9S12-SPI-Interface-to-NXP-SC16IS760-UART/m-p/182317#M6696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone interfaced the 9S12 to a NXP SC16IS760 SPI UART?&amp;nbsp; I've built a test board (with logic level translators to go from a 5 Volt 9S12 to the 3.3V 16IS760) and can send / receive SPI data, but have no idea what responses I should expect from the UART device when sending configuration commands.&amp;nbsp; The NXP chip always replies with 0x00 and after completing the configuration I am not able to successfully send data through the UART (via the SPI bus) to the TTL level serial outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help (and code) would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 01:50:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HC9S12-SPI-Interface-to-NXP-SC16IS760-UART/m-p/182317#M6696</guid>
      <dc:creator>KH_SRNL</dc:creator>
      <dc:date>2010-03-11T01:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: HC9S12 SPI Interface to NXP SC16IS760 UART</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HC9S12-SPI-Interface-to-NXP-SC16IS760-UART/m-p/182318#M6697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a bit difficult to diagnose your problem unless you post the SPI communications function code&amp;nbsp;that you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would seem that the SPI initialisation should configure CPOL = 0; CPHA = 1 to suit the UART device, and you will&amp;nbsp;need to explicitly control the&amp;nbsp;CS output signal, which would be derived from GPIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the MISO connection appears that it may be high-Z for some of the time, an external pullup resistor might be applied to this pin (at the input of the voltage translation buffer).&amp;nbsp; I assume that the voltage translation buffers are of the non-inverting type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test the SPI communications, it should be possible to write a non-zero value to one of the configuration registers, and then read back the stored register value to confirm the write.&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, 11 Mar 2010 23:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HC9S12-SPI-Interface-to-NXP-SC16IS760-UART/m-p/182318#M6697</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-03-11T23:46:37Z</dc:date>
    </item>
  </channel>
</rss>

