<?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: Hard fault while configuring SEMC with DBI in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034893#M7336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I was able to resolve the hard fault issue but I have a different issue with the LCD now.&lt;/P&gt;&lt;P&gt;With the DBI_START set to 0xA0000000, I'm able to write commands to the LCD, say I'm able to write an invert display command and I can see it taking effect on the physical display. However, I'm unable to write any data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use&amp;nbsp;my_dbi[0x10000] for writing commands and this works. But, when I use&amp;nbsp;my_dbi[0x1000] to write data, say to write the color blue to the entire screen, that doesn't work. All I see is a random pattern on the screen. Please see the attached picture.&lt;span class="lia-inline-image-display-wrapper" image-alt="LCD_issue.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97035iA6C017C4C0DFD7C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="LCD_issue.JPG" alt="LCD_issue.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also tried a different address for the DBI_START as 0xB0000000. I'm not sure what is the problem here that's causing data not to be written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 20:13:59 GMT</pubDate>
    <dc:creator>thivya_ashokkum</dc:creator>
    <dc:date>2019-12-17T20:13:59Z</dc:date>
    <item>
      <title>Hard fault while configuring SEMC with DBI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034891#M7334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI there,&lt;/P&gt;&lt;P&gt;I'm trying to add an LCD (ST7789H2) to my project and I configured my SEMC dbi config as follows:&lt;/P&gt;&lt;P&gt;dbi_config.csxPinMux = kSEMC_MUXA8;&lt;BR /&gt; dbi_config.address = DBI_START;&lt;BR /&gt; dbi_config.memsize_kbytes = 32U*1024;&lt;BR /&gt; dbi_config.columnAddrBitNum = kSEMC_Dbi_Colum_9bit;&lt;BR /&gt; dbi_config.portSize = kSEMC_PortSize16Bit;&lt;BR /&gt; dbi_config.burstLen = kSEMC_Dbi_BurstLen16;&lt;/P&gt;&lt;P&gt;dbi_config.tCsxHold_Ns = 200;&lt;BR /&gt; dbi_config.tCsxInterval_Ns = 200;&lt;BR /&gt; dbi_config.tCsxSetup_Ns = 200;&lt;BR /&gt; dbi_config.tRdxHigh_Ns = 200;&lt;BR /&gt; dbi_config.tRdxLow_Ns = 200;&lt;BR /&gt; dbi_config.tRdxLow_Ns = 200;&lt;BR /&gt; dbi_config.tWexLow_Ns = 200;&lt;/P&gt;&lt;P&gt;I use the base address as A0000000 but when I try to write an 8-bit value as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;#define DBI_START&amp;nbsp; 0xA0000000U//(0xA0000000U)&lt;/P&gt;&lt;P&gt;uint16_t *my_dbi = (uint16_t *)DBI_START; // DBI Base address. */&lt;/P&gt;&lt;P&gt;my_dbi[0x10000] = Reg;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always hit a hard fault (Imprecise bus data error). Am I using the wrong address? Any help will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 20:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034891#M7334</guid>
      <dc:creator>thivya_ashokkum</dc:creator>
      <dc:date>2019-12-11T20:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hard fault while configuring SEMC with DBI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034892#M7335</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="352083" data-username="thivya.ashokkumar@qsc.com" href="https://community.nxp.com/people/thivya.ashokkumar@qsc.com"&gt;THIVYA ASHOK KUMAR&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;I think I'd like to know more information about the issue, so I was wondering if you can share the schematic of the LCD interface connection, in further, please share the demo code and tell me which line the code executes will trigger the hardfault interrupt.&lt;BR /&gt;Looking forward to your reply.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 10:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034892#M7335</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-12-16T10:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hard fault while configuring SEMC with DBI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034893#M7336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I was able to resolve the hard fault issue but I have a different issue with the LCD now.&lt;/P&gt;&lt;P&gt;With the DBI_START set to 0xA0000000, I'm able to write commands to the LCD, say I'm able to write an invert display command and I can see it taking effect on the physical display. However, I'm unable to write any data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use&amp;nbsp;my_dbi[0x10000] for writing commands and this works. But, when I use&amp;nbsp;my_dbi[0x1000] to write data, say to write the color blue to the entire screen, that doesn't work. All I see is a random pattern on the screen. Please see the attached picture.&lt;span class="lia-inline-image-display-wrapper" image-alt="LCD_issue.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97035iA6C017C4C0DFD7C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="LCD_issue.JPG" alt="LCD_issue.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also tried a different address for the DBI_START as 0xB0000000. I'm not sure what is the problem here that's causing data not to be written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034893#M7336</guid>
      <dc:creator>thivya_ashokkum</dc:creator>
      <dc:date>2019-12-17T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hard fault while configuring SEMC with DBI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034894#M7337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="352083" data-objecttype="3" href="https://community.nxp.com/people/thivya.ashokkumar@qsc.com"&gt;THIVYA ASHOK KUMAR&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I was wondering if you can share the sample code, as I don't have a clear idea of the below description.&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;I use my_dbi[0x10000] for writing commands and this works. But, when I use my_dbi[0x1000] to write data, say to write the color blue to the entire screen, that doesn't work. All I see is a random pattern on the screen. Please see the attached picture.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 09:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Hard-fault-while-configuring-SEMC-with-DBI/m-p/1034894#M7337</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-12-19T09:01:52Z</dc:date>
    </item>
  </channel>
</rss>

