<?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 i.MX23 PXP programming for screen rotation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-PXP-programming-for-screen-rotation/m-p/149417#M768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try setting the screen orientation as portrait mode on i.MX23 EVK Windows Embedded CE 6.0. How can I succeed that Windows CE boots correctly on the portrait orientation mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified the Angle key value under HKEY_LOCAL_MACHINE\SYSTEM\GDI\ROTATION\ (90). The screen rotated but the bottom side of the screen remains black. Where does the problem arise from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;So I've decided the programming PXP directly through it's programmable registers. But I'm confused with it's driver source code. I can't know where I should change and which order?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;I've added a method to PxpClass.cpp as below and called with an IOCTL through an application but the screen has not rotated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;void PxpClass::PxpCustomOperation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_PXP_S0SCALE_MX23_WR(0x20002000);&amp;nbsp;&amp;nbsp;&amp;nbsp; // 1/2 downscale image&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp; HW_PXP_S0BACKGROUND_SET(0x00008000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_PXP_CTRL_SET((1 &amp;lt;&amp;lt; 8) | (3 &amp;lt;&amp;lt; 0)); // ROTATE, ENABLE, IRQ ENABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PXPDumpRegs();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Is there anybody encountered with such problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Thanks a lot for your clarification and helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Yasemin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2011 15:47:57 GMT</pubDate>
    <dc:creator>YaseminYILMAZ1z</dc:creator>
    <dc:date>2011-03-01T15:47:57Z</dc:date>
    <item>
      <title>i.MX23 PXP programming for screen rotation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-PXP-programming-for-screen-rotation/m-p/149417#M768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try setting the screen orientation as portrait mode on i.MX23 EVK Windows Embedded CE 6.0. How can I succeed that Windows CE boots correctly on the portrait orientation mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified the Angle key value under HKEY_LOCAL_MACHINE\SYSTEM\GDI\ROTATION\ (90). The screen rotated but the bottom side of the screen remains black. Where does the problem arise from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;So I've decided the programming PXP directly through it's programmable registers. But I'm confused with it's driver source code. I can't know where I should change and which order?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;I've added a method to PxpClass.cpp as below and called with an IOCTL through an application but the screen has not rotated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;void PxpClass::PxpCustomOperation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_PXP_S0SCALE_MX23_WR(0x20002000);&amp;nbsp;&amp;nbsp;&amp;nbsp; // 1/2 downscale image&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp; HW_PXP_S0BACKGROUND_SET(0x00008000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_PXP_CTRL_SET((1 &amp;lt;&amp;lt; 8) | (3 &amp;lt;&amp;lt; 0)); // ROTATE, ENABLE, IRQ ENABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PXPDumpRegs();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-1" style="font-family: courier new,courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Is there anybody encountered with such problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Thanks a lot for your clarification and helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif'; font-size: 2; "&gt;Yasemin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 15:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-PXP-programming-for-screen-rotation/m-p/149417#M768</guid>
      <dc:creator>YaseminYILMAZ1z</dc:creator>
      <dc:date>2011-03-01T15:47:57Z</dc:date>
    </item>
  </channel>
</rss>

