<?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: twr-lcd start address in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442027#M25913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt;Hello&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt; &lt;SPAN&gt;Ankur&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can have a look to &lt;SPAN&gt;eGUI&lt;/SPAN&gt; graphic library &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/egui"&gt;www.freescale.com/egui&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWR-K60 examples use &lt;SPAN&gt;Flexbus&lt;/SPAN&gt; with the TWR-LCD. You can port the code to K70.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CS is configured as you said:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_BASE_&lt;SPAN class="GramE"&gt;ADDRESS&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;0x60010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_DC_ADDRESS&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;0x60000000&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_ADRESS_MASK&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;0x00010000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can write to data/command with the bit ‘x'&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;000&lt;STRONG style="mso-bidi-font-weight:normal;"&gt;x&lt;/STRONG&gt; 0000 0000 0000 &lt;SPAN class="GramE"&gt;0000 ,&lt;/SPAN&gt; that is the bit 16 in the address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the schematic (TWR-LCD) DC is connected to AD16, as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof:yes;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57552iEDDE9D04705267B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image001.png" alt="image001.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 22:25:55 GMT</pubDate>
    <dc:creator>LuisCasado</dc:creator>
    <dc:date>2015-09-17T22:25:55Z</dc:date>
    <item>
      <title>twr-lcd start address</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442025#M25911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using k70 tower board with twr-lcd (using flexbus ). flexbus dc address is 0x60000000 and flexbus base address is 0x60010000.&lt;/P&gt;&lt;P&gt;I'm writing command to dc address and data to base address. is it ok??&lt;/P&gt;&lt;P&gt;or is there any other specific lcd address where we have to write the data.&lt;/P&gt;&lt;P&gt;or any sample code for flex bus 8 bit data transfer(character values not image) to lcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2015 07:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442025#M25911</guid>
      <dc:creator>ankurchauhan</dc:creator>
      <dc:date>2015-09-12T07:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: twr-lcd start address</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442026#M25912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is not an exact example of what you are looking for. But you may find the examples in the thread below useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/341623"&gt;FlexBus in 16 bit mode and 8 bit access&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 17:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442026#M25912</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-09-17T17:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: twr-lcd start address</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442027#M25913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt;Hello&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt; &lt;SPAN&gt;Ankur&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can have a look to &lt;SPAN&gt;eGUI&lt;/SPAN&gt; graphic library &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/egui"&gt;www.freescale.com/egui&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWR-K60 examples use &lt;SPAN&gt;Flexbus&lt;/SPAN&gt; with the TWR-LCD. You can port the code to K70.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CS is configured as you said:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_BASE_&lt;SPAN class="GramE"&gt;ADDRESS&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;0x60010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_DC_ADDRESS&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;0x60000000&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;#define D4DLCD_FLEX_ADRESS_MASK&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;0x00010000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can write to data/command with the bit ‘x'&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;000&lt;STRONG style="mso-bidi-font-weight:normal;"&gt;x&lt;/STRONG&gt; 0000 0000 0000 &lt;SPAN class="GramE"&gt;0000 ,&lt;/SPAN&gt; that is the bit 16 in the address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the schematic (TWR-LCD) DC is connected to AD16, as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof:yes;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57552iEDDE9D04705267B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image001.png" alt="image001.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 22:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/twr-lcd-start-address/m-p/442027#M25913</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2015-09-17T22:25:55Z</dc:date>
    </item>
  </channel>
</rss>

