<?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>Kinetis MicrocontrollersのトピックRe: How can I display anything on OLED display using SPI?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-display-anything-on-OLED-display-using-SPI/m-p/1007088#M56017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="353450" data-username="patrykokruta@student.agh.edu.pl" href="https://community.nxp.com/people/patrykokruta@student.agh.edu.pl"&gt;Patryk Okruta&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the OLED display, normally, you need to find some driver code for it, I search it from google, and find someone share the related code driver:&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://github.com/lorneb/Adafruit_SH1106" title="https://github.com/lorneb/Adafruit_SH1106"&gt;https://github.com/lorneb/Adafruit_SH1106&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So you can check it, whether your related SPI sendout command it correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;About the SPI chip driver, you need to check it with your OLED driver chip, the clock frequency, the Clock Phase and Clock Polarity is the same as your&amp;nbsp;OLED driver chip.The SPI_CS pin, I suggest you use the GPIO to control it, just make sure the CS wave is corrent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;About the OLED chip app driver, I suggest you refer to the examples in the github, it may useful to you. You also can check it with your OLED chip company, whether they already provide some C code about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;Have a great day,&lt;BR /&gt; Kerry&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt; min- padding: 0px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt; Note:&lt;BR /&gt; - If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt; min- padding: 0px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt; -------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Dec 2019 02:58:17 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-12-24T02:58:17Z</dc:date>
    <item>
      <title>How can I display anything on OLED display using SPI?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-display-anything-on-OLED-display-using-SPI/m-p/1007087#M56016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to display some random pixels on&amp;nbsp;&lt;A href="https://www.waveshare.com/1.3inch-oled-b.htm"&gt;this display&lt;/A&gt;&amp;nbsp;using SPI. As a master MCU I use KL46z. My whole code was written from scratch based on&amp;nbsp;&lt;A href="https://www.velleman.eu/downloads/29/infosheets/sh1106_datasheet.pdf"&gt;driver's datasheet&lt;/A&gt;. The problem is that i can't display anything and I don't know what I am doing wrong. I am looking for somebody who might have worked with such display or in general&amp;nbsp; used SPI to work with different display and could see if something's missing or whether I have some mistake in logic. I checked SPI signals with logic analyzer and they look fine.&amp;nbsp;&lt;A href="https://github.com/patrykokruta/oled"&gt;That's a repository&lt;/A&gt;&amp;nbsp;with a code. Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2019 22:31:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-display-anything-on-OLED-display-using-SPI/m-p/1007087#M56016</guid>
      <dc:creator>patrykokruta</dc:creator>
      <dc:date>2019-12-22T22:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display anything on OLED display using SPI?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-display-anything-on-OLED-display-using-SPI/m-p/1007088#M56017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="353450" data-username="patrykokruta@student.agh.edu.pl" href="https://community.nxp.com/people/patrykokruta@student.agh.edu.pl"&gt;Patryk Okruta&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the OLED display, normally, you need to find some driver code for it, I search it from google, and find someone share the related code driver:&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://github.com/lorneb/Adafruit_SH1106" title="https://github.com/lorneb/Adafruit_SH1106"&gt;https://github.com/lorneb/Adafruit_SH1106&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So you can check it, whether your related SPI sendout command it correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;About the SPI chip driver, you need to check it with your OLED driver chip, the clock frequency, the Clock Phase and Clock Polarity is the same as your&amp;nbsp;OLED driver chip.The SPI_CS pin, I suggest you use the GPIO to control it, just make sure the CS wave is corrent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;About the OLED chip app driver, I suggest you refer to the examples in the github, it may useful to you. You also can check it with your OLED chip company, whether they already provide some C code about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;Have a great day,&lt;BR /&gt; Kerry&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt; min- padding: 0px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt; Note:&lt;BR /&gt; - If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt; min- padding: 0px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="line-height: 15.0pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt; -------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Dec 2019 02:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-display-anything-on-OLED-display-using-SPI/m-p/1007088#M56017</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-12-24T02:58:17Z</dc:date>
    </item>
  </channel>
</rss>

