<?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: SegLCD_LDD Problem with multiple clock sources in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402076#M3206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rolf,&lt;/P&gt;&lt;P&gt;I have reproduced the issue and I have reported it to the Processor Expert development team. They will fix it.&lt;/P&gt;&lt;P&gt;Please, use the workaround you have described above in the meantime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 11:52:25 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2015-06-16T11:52:25Z</dc:date>
    <item>
      <title>SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402072#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;after enabling a 2nd clock source for my KL46Z CPU the lcd controller stopped showing anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After comparing the source codes with one and two clock sources, I found out that in method "SegLCD_Init(LDD_TUserData *UserDataPtr)" the line "LCD_PDD_EnableDevice(LCD_BASE_PTR,PDD_ENABLE);" disappeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to call the disappeared method by myself, although it's an internal PEx method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 16:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402072#M3202</guid>
      <dc:creator>rolfbensch</dc:creator>
      <dc:date>2015-05-27T16:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402073#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same thing happens with I2C_LDD. The device and the interrupt won't be enabled if I'm using multiple clock sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 08:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402073#M3203</guid>
      <dc:creator>rolfbensch</dc:creator>
      <dc:date>2015-05-29T08:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402074#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When you add second clock configuration into the CPU component the default state of the SegLCD_LDD component&amp;nbsp; in this clock configuration is disabled, see the following screenshot of Component Inspector (use the Advanced view):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9957i7B65A712DF0FC085/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The source code of the SegLCD_LDD Init method is modified. The following code is generated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SegLCD1_SetClockConfiguration(DeviceDataPrv, Cpu_GetClockConfiguration()); /* Set Initial according speed CPU mode */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(instead of LCD_PDD_EnableDevice(LCD_BASE_PTR,PDD_ENABLE); /* Enable device */)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SegLCD1_SetClockConfiguration() method contains the following code that enables or disables the LCD device according to selected clock configuration of the CPU:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;** ===================================================================&lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; SegLCD1_SetClockConfiguration (component SegLCD_LDD)&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description :&lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This method changes the clock configuration. During a clock &lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configuration change the component changes it's setting &lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; immediately upon a request.&lt;/P&gt;&lt;P&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This method is internal. It is used by Processor Expert only.&lt;/P&gt;&lt;P&gt;** ===================================================================&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;void SegLCD1_SetClockConfiguration(LDD_TDeviceData *DeviceDataPtr, LDD_TClockConfiguration ClockConfiguration)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; SegLCD1_TDeviceData *DeviceDataPrv = (SegLCD1_TDeviceData *)DeviceDataPtr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; switch (ClockConfiguration) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case CPU_CLOCK_CONFIG_0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeviceDataPrv-&amp;gt;EnMode = TRUE;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the flag "device enabled" in the actual speed CPU mode */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LCD_PDD_SetClkSource(LCD_BASE_PTR, LCD_PDD_ALTERNATE_CLK); /* Set CLK source */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LCD_PDD_SetAlternateClkDivider(LCD_BASE_PTR, 0x01U); /* Set value of LCD Alternate divider */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LCD_PDD_SetClkPrescaler(LCD_BASE_PTR, 0x04U); /* Set value of LCD clock prescaler */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeviceDataPrv-&amp;gt;EnMode = FALSE;&amp;nbsp;&amp;nbsp; /* Set the flag "device disabled" in the actual speed CPU mode */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; HWEnDi(DeviceDataPtr);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable/disable device according to status flags */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want the SegLCD_LDD component (LCD device) to be enabled in all (both) clock configurations you must select the "This component enabled" value in the "CPU clock/configuration selection/Clock configuration 1" property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 11:31:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402074#M3204</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-06-09T11:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402075#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm enabling both clock configurations for the SegLCD_LDD component, the LCD device stays disabled until I add "LCD_PDD_EnableDevice(..);" as first command into main.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bildschirmfoto vom 2015-06-11 10_29_47.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2124i7C49B16A675FFF9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto vom 2015-06-11 10_29_47.png" alt="Bildschirmfoto vom 2015-06-11 10_29_47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm working with one clock configuration for the SegLCD_LDD component, the LCD device stays disabled, even if I manually switch to the active CPU clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bildschirmfoto vom 2015-06-11 10_27_26.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24004iC6B99A0E20C16257/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto vom 2015-06-11 10_27_26.png" alt="Bildschirmfoto vom 2015-06-11 10_27_26.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both configurations I checked "Enable in init. code" and "Auto initialization".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said in my first posting, everythig is working fine if I'm using one CPU clock. But in the meantime I need 4 cpu clock settings with disabled LCD for the 4th cpu clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 08:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402075#M3205</guid>
      <dc:creator>rolfbensch</dc:creator>
      <dc:date>2015-06-11T08:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402076#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rolf,&lt;/P&gt;&lt;P&gt;I have reproduced the issue and I have reported it to the Processor Expert development team. They will fix it.&lt;/P&gt;&lt;P&gt;Please, use the workaround you have described above in the meantime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402076#M3206</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-06-16T11:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: SegLCD_LDD Problem with multiple clock sources</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402077#M3207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SegLCD-LDD-Problem-with-multiple-clock-sources/m-p/402077#M3207</guid>
      <dc:creator>rolfbensch</dc:creator>
      <dc:date>2015-06-17T10:07:19Z</dc:date>
    </item>
  </channel>
</rss>

