<?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: KSDK, MQX, PE in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333246#M10727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried one form sample code of KDS(Comunication Demo) using the same function call from KSDK and works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now only difference is that I am using PE to generate peripheral driver for I2C(fsl_i2c).&lt;/P&gt;&lt;P&gt;1) Auto initilization does not work until I remove OSA_SemaCreate(&amp;amp;master-&amp;gt;irqSync, 0) in intilization rountine.&lt;/P&gt;&lt;P&gt;2) If I call I2C_DRV_MasterReceiveDataBlocking(), I got stuck when OSA_SemaCreate is in initilization. The call will get failed(0x02) if I remove OSA_SemaCreate...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like I need to enale OSA_Sema in interrupt. But, this component does not allow me to genrate ISR...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me if it is possible reason? And how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2014 14:06:02 GMT</pubDate>
    <dc:creator>a8Chcx</dc:creator>
    <dc:date>2014-12-09T14:06:02Z</dc:date>
    <item>
      <title>KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333241#M10722</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;BR /&gt;I am using K64F120 for my project. I generate the probject with MQX and PE using KDS, and works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I am using PE to generate I2C to read the sensor register on board using I2c Pheripheral driver. I have the following problems:&lt;/P&gt;&lt;P&gt;1) If I enable auto initilization for master, I can't get out initilization call...&lt;/P&gt;&lt;P&gt;2) If I do intilization in task and initilization is fine. When I call "I2C_DRV_MasterReceiveDataBlocking...", I can't get out this call...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me where I am wrong? HOw to use pheripheral driver to develop my I2C application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 20:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333241#M10722</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2014-12-08T20:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333242#M10723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the MQX driver?? You can find an example at the paths:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_1\mqx\examples\i2c&lt;/P&gt;&lt;P&gt;Please check the attached document, this document explains the IIC driver example, what to expect from the example and a brief introduction to the IIC driver API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol &lt;BR /&gt; &lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 22:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333242#M10723</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2014-12-08T22:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333243#M10724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX lite, not full MQX package because I want to add as less resource as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using lite MQX with PE in KDS... I can use PE to generate GPIO pheripheral driver to drive LEDs on board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I generate driver for I2C, I have the problems for auto initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it related to ISR for I2C? How can I configure ISR for I2C because there is no this option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 22:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333243#M10724</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2014-12-08T22:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333244#M10725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the below threads: &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.nxp.com/thread/327848" title="https://community.freescale.com/thread/327848"&gt;https://community.freescale.com/thread/327848&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.nxp.com/thread/316099" title="https://community.freescale.com/thread/316099"&gt;https://community.freescale.com/thread/316099&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 23:06:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333244#M10725</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2014-12-08T23:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333245#M10726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using KDS with PE. Then I add MQX, GPIO driver by using PE to create my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the peripheral driver to add I2C and use auto initialization, it causes running problem. Then I checked and the problem is created by semaphore created in Master_init function, If I disable it, it is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I am using receiveBlock function to read the accelerometer on board(Add==0x3A) and get failed(==0x02).&lt;/P&gt;&lt;P&gt; 1) Why is it failed on initialization?&lt;/P&gt;&lt;P&gt;2) Do you have a sample code how to use peripheral driver function calls to read/write I2C device?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christie&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 00:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333245#M10726</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2014-12-09T00:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK, MQX, PE</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333246#M10727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried one form sample code of KDS(Comunication Demo) using the same function call from KSDK and works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now only difference is that I am using PE to generate peripheral driver for I2C(fsl_i2c).&lt;/P&gt;&lt;P&gt;1) Auto initilization does not work until I remove OSA_SemaCreate(&amp;amp;master-&amp;gt;irqSync, 0) in intilization rountine.&lt;/P&gt;&lt;P&gt;2) If I call I2C_DRV_MasterReceiveDataBlocking(), I got stuck when OSA_SemaCreate is in initilization. The call will get failed(0x02) if I remove OSA_SemaCreate...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like I need to enale OSA_Sema in interrupt. But, this component does not allow me to genrate ISR...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me if it is possible reason? And how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 14:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/KSDK-MQX-PE/m-p/333246#M10727</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2014-12-09T14:06:02Z</dc:date>
    </item>
  </channel>
</rss>

