<?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 LCD with MC9S12NE64 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130231#M1307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help using a 2x16 LCD with a ST7036 controler. I conected the LCD over the SPI Port of my NE64. I checked the data comming out of the MOSI port and it seems to be right but nothing happens at the LCD. See the attached c Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if you have an idea. Any help would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Torsten&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2006 17:55:20 GMT</pubDate>
    <dc:creator>TorstenS</dc:creator>
    <dc:date>2006-09-14T17:55:20Z</dc:date>
    <item>
      <title>LCD with MC9S12NE64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130231#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help using a 2x16 LCD with a ST7036 controler. I conected the LCD over the SPI Port of my NE64. I checked the data comming out of the MOSI port and it seems to be right but nothing happens at the LCD. See the attached c Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if you have an idea. Any help would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Torsten&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 17:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130231#M1307</guid>
      <dc:creator>TorstenS</dc:creator>
      <dc:date>2006-09-14T17:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: LCD with MC9S12NE64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130232#M1308</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;FONT size="2"&gt;Torsten,&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;I cannot see where you are specifically activating and de-activating the SS line.&amp;nbsp; If this is supposed to occur automatically, as part of SPI operation, you might check that this is actually occurring.&amp;nbsp; Does the ST7036 expect SS to "frame" each byte that is sent?&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>Thu, 14 Sep 2006 23:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130232#M1308</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-09-14T23:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: LCD with MC9S12NE64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130233#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Torsten,&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;OK, so you are automatically generating the SS signal.&amp;nbsp; I notice that you have CPHA=0, CPOL=0.&amp;nbsp; I think the correct settings for the ST7036 should be CPHA=1, CPOL=1.&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, 15 Sep 2006 10:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130233#M1309</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-09-15T10:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: LCD with MC9S12NE64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130234#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Mac,&lt;BR /&gt;&lt;BR /&gt;you are right. I set CPHA and CPOL to 1. I have another problem. I think the SPI_SCK might not work. It is always at 0 and anytime when the SPI_SI is hi the SCK has a very small peak. &lt;BR /&gt;&lt;BR /&gt;I tested the Port S as nomal output port. It toggled every 200ms and only Pin 36 (SPI_SCK/PS6) stayed lo.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 16:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130234#M1310</guid>
      <dc:creator>TorstenS</dc:creator>
      <dc:date>2006-09-15T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: LCD with MC9S12NE64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130235#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Torsten,&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;Your symptoms do seem to suggest either a short somewhere on the board, or a faulty MCU.&amp;nbsp; I am not familiar with the 9S12NE64 - I assume that the pin PS6 is not an input only pin, when not using the SPI.&amp;nbsp; With the SPI enabled, and with CPOL now set to 1, the static state of SPI_SCK should definitely be high.&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;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 19:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LCD-with-MC9S12NE64/m-p/130235#M1311</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-09-15T19:48:45Z</dc:date>
    </item>
  </channel>
</rss>

