Documentation for KSDK functions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Documentation for KSDK functions

ソリューションへジャンプ
1,973件の閲覧回数
leeshaver
Contributor III

I'm working on a project using the TWR-KV31F120M. It seems that the processor and/or board are only currently supported with the KSDK, unlike the KV10 TWR board, which means that I'm stuck using the fsl Components in Processor Expert. So far the documentation I've been able to find on the fsl Components is far more limited in scope than the documentation available for "native" PEx Components. In particular, the documentation available for the PEx ADC component, particularly the usage examples, is far more helpful than the documentation for fsl_adc. The functions exposed by the "native" Components are also much more useful in getting things up and running quickly.

So far the only resource I've found for the fsl components are the html pages loaded by right-clicking on the Component and selecting "Help on Component". The code examples I've encountered all seem to ignore the fsl libraries, or are at least wrapping them in a higher level API if they are, in fact, depending on them.

Are there other resources available that will help me in this endeavor?

Also, is the lack of "native" PEx support a result of the age of this chip? Should I expect it to have similar support to the KV10 in the future? If so, how far away is that future?

タグ(4)
1 解決策
1,290件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lee shaver,

      My screenshotted is from KDS(Knietis design studio), actually KSDK is like  the sample code driver,  you can call the API function  directly,  you don't need to write the bottom driver by youself.

    You mentioned fsl_adc, that is still from our KSDK, it is API function lib, you just need to call it directly.

    Every function meaning in the module, you can refer to our Kinetis SDK API reference manual.pdf, just like the following picture:

pastedImage_0.png

After you install our KSDK, you will find the document in the path:C:\Freescale\KSDK_1.0.0\doc.

All the component from KSDK is high level,  if you want to see how to use it , you can refer to the example in this path:C:\Freescale\KSDK_1.0.0\demos

if you want to see the bottom code, you can use the peripheral initialization compnent in the KDS:

pastedImage_1.png

these components have the detail informtaion in the help on component.

Wish my answer helps you!

If you still have question, please let me know~


Have a great day,
jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
1,290件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lee shaver,

       Thank you for your interest in our kinetis product.

       Yes, the PE in our Coderwarrior and KDS is still not support the KV31 board now.

        But except the KSDK support the TWR-KV31F120M, there still have some bareboard sample code for your reference, it is based on IAR IDE.

      The KV31 sample code download link is :

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=TWR-KV31F120M_SC&location=null&WT_T...

      I think PE will support our KV31 chip in the near future, but about the time, I need to check with PE department, it may need time to get feedback. If they reply me, I will tell you!

     So, please wait patiently.

    Thanks a lot for your understanding.

Regards,

Jingjing

0 件の賞賛
返信
1,290件の閲覧回数
ryancalder
Contributor I

Jingjing,

Thank you for looking into this.  Support for the KV31 board is very important to me as well.

Regards,

Ryan Calder

0 件の賞賛
返信
1,290件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ryan Calder,

  I find our new lunched KDS 1.1.0 is supporting the KV31 now, you can try it,

  the download link is : http://www.freescale.com/zh-Hans/webapp/sps/site/prod_summary.jsp?code=KDS_IDE&fpsp=1&tab=Design_Too...

pastedImage_1.png

  please downloader the new soft.

  If you still have question ,  please let me know!


Have a great day,
(my name)

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,290件の閲覧回数
leeshaver
Contributor III

Jingjing,

That support you screenshotted is from the KSDK and only has fsl Components available, as mentioned in my original post.

Are you aware of any code samples that use the fsl components, if documentation is unavailable?

0 件の賞賛
返信
1,291件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lee shaver,

      My screenshotted is from KDS(Knietis design studio), actually KSDK is like  the sample code driver,  you can call the API function  directly,  you don't need to write the bottom driver by youself.

    You mentioned fsl_adc, that is still from our KSDK, it is API function lib, you just need to call it directly.

    Every function meaning in the module, you can refer to our Kinetis SDK API reference manual.pdf, just like the following picture:

pastedImage_0.png

After you install our KSDK, you will find the document in the path:C:\Freescale\KSDK_1.0.0\doc.

All the component from KSDK is high level,  if you want to see how to use it , you can refer to the example in this path:C:\Freescale\KSDK_1.0.0\demos

if you want to see the bottom code, you can use the peripheral initialization compnent in the KDS:

pastedImage_1.png

these components have the detail informtaion in the help on component.

Wish my answer helps you!

If you still have question, please let me know~


Have a great day,
jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,290件の閲覧回数
leeshaver
Contributor III

Hi Jingjing,

KDS alone (without the KSDK installed) does not support the TWR board, which was what I was trying to communicate. Once you install the KSDK to KDS it adds the board to the list that you screenshotted. While there is still a high level API exposed, it is fairly different from the KDS/PEx API that was available for the KV10.

Thank you for pointing out where the documentation for the KSDK is stored - it seems to be what I was looking for.

0 件の賞賛
返信
1,290件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lee shaver,

     KDS alone is supporting the KV31F512VLL12 now,  and KV31F512VLL12 is the MCU in the TWRKV31,you still can create a KDS project for it. You can just choose the peripheral initialization compnent which I already mentioned, that is not the high level.

But about other components, it is really different from the KDS that was available for the KV10, you should use the SDK components instead.

    SDK is the design trend for our new kinetis.

    About the document, just refer to the Kinetis SDK API reference manual.pdf.

    SDK also have some KDS examples for your reference.

Wish it help you!

Regards,

Jingjing

0 件の賞賛
返信