Resources reserved for USB MSD bare metal application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Resources reserved for USB MSD bare metal application

跳至解决方案
918 次查看
Weining
Contributor III

if I need to implement KSDK USB,  MSD function on MK66 without any RTOS system, what kinds of resource (timer, interrupt, RAM......) should I reserve for  the USB stack?

 

I used CMX USB stack with coldfire in the past, I knew that I need to reserve a PIT for the stack. But I don't see this requirement on  any KSDK documents.

标签 (1)
标记 (1)
1 解答
668 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, WeiNing,

It seems that we have not documentation to list the resource for USB example, you have to check the source code of USB stack to know the resource reserved.

BR

Xiangjun Rong

在原帖中查看解决方案

4 回复数
668 次查看
Weining
Contributor III

Hi Xiangjun,

Thanks a lot for your response.

Actually I am using MDK, KSDK and TWR-K65F180 to test the USB MSD stack. Yes I also try to read the code to learn what resources the stack uses, but I would like to see if there are any shortcuts.

when I used CMX USB stack, the document clearly mentioned that what kinds of resource we need to reserve for the stack. I don't see a document like that for Kinetis SDK.

Thank you,

Weining Li

0 项奖励
回复
669 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, WeiNing,

It seems that we have not documentation to list the resource for USB example, you have to check the source code of USB stack to know the resource reserved.

BR

Xiangjun Rong

668 次查看
Weining
Contributor III

Hi Xiangjun,

Thank you so much for your help.

Best regards,

Weining

0 项奖励
回复
668 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, WeiNing,

If you use K66 and want to know the required resource, I suggest you download KDS tools and KSDK tools, review the USB MSD example code, check the resource.

You can download KDS from the website:

Kinetis Design Studio Integrated Development Enviro|NXP

You can download KSDK from the website:

http://www.nxp.com/ksdk

You can check the code after you load the example of USB MSD from the SDK directory.

Hope it can help you.

BR

Xiangjun Rong