<?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: LCD HD44780, 4x20, MCUSLK, Assembly Language Examples? - Also, Keypad Help? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143284#M3539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;bigmac,&lt;BR /&gt;Thank you.&amp;nbsp; I took a look at that app. note and learned quite a bit.&amp;nbsp; I also read over the SPI app. note.&amp;nbsp; What are the basic steps in transitioning from the example setup to the SPI interface?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;-b&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 04:56:52 GMT</pubDate>
    <dc:creator>boogie76</dc:creator>
    <dc:date>2007-08-27T04:56:52Z</dc:date>
    <item>
      <title>9S12C32 - LCD HD44780, 4x20, MCUSLK, Assembly Language Examples? - Also, Keypad Help?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143282#M3537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for some example &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;initialization sequences&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;programs&lt;/SPAN&gt;&lt;SPAN&gt; in assembly to use with my LCD from Axiom (4x20) and my MCUSLK with a MC9S12C32.&amp;nbsp; Any links or code snippets would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, any Keypad code snippets or links for the same processor and board would be greatly appreciated....just some basic scanning routines, checks, etc.&amp;nbsp; The keypad is just a basic keypad from Axiom.&amp;nbsp; It is a 4x4 keypad.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;BR /&gt;Alban Edit: FSL Part Number must figure in Message Subject line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by Alban on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-08-23&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:41 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 03:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143282#M3537</guid>
      <dc:creator>boogie76</dc:creator>
      <dc:date>2007-08-20T03:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: LCD HD44780, 4x20, MCUSLK, Assembly Language Examples? - Also, Keypad Help?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143283#M3538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello b,&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;Have a look at application note AN1774.&amp;nbsp; It describes initialisation sequences for the LCD, and gives assembly code for the earlier HC12 devices.&amp;nbsp;&amp;nbsp;A simple parallel interface is assumed, either 8-bit or 4-bit.&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 suspect your board might use SPI interface using a shift register device.&amp;nbsp; If this is so, you will need to adapt the code accordingly.&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>Mon, 20 Aug 2007 09:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143283#M3538</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-08-20T09:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: LCD HD44780, 4x20, MCUSLK, Assembly Language Examples? - Also, Keypad Help?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143284#M3539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;bigmac,&lt;BR /&gt;Thank you.&amp;nbsp; I took a look at that app. note and learned quite a bit.&amp;nbsp; I also read over the SPI app. note.&amp;nbsp; What are the basic steps in transitioning from the example setup to the SPI interface?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;-b&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 04:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143284#M3539</guid>
      <dc:creator>boogie76</dc:creator>
      <dc:date>2007-08-27T04:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: LCD HD44780, 4x20, MCUSLK, Assembly Language Examples? - Also, Keypad Help?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143285#M3540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello b,&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 detail in the use of SPI in conjunction with a shift register will depend on how the LCD is connected to the shift register within your board.&amp;nbsp; There are a number of possibilities.&amp;nbsp; Some of these issues have been previously discussed in this forum -&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;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=482" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=482&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=2195" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=2195&lt;/A&gt;&lt;BR /&gt;&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 also found the attached code examples.&amp;nbsp; One of the examples was written in assembler for HC11, and is based on 8-bit mode.&amp;nbsp; The other example appears to have been sourced from Axiom, and may possibly be directly applicable to the hardware on&amp;nbsp;your board, but is written in C.&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>Tue, 28 Aug 2007 08:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12C32-LCD-HD44780-4x20-MCUSLK-Assembly-Language-Examples-Also/m-p/143285#M3540</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-08-28T08:48:17Z</dc:date>
    </item>
  </channel>
</rss>

