What is the difference between USB HID GENERIC and LITE version?

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

What is the difference between USB HID GENERIC and LITE version?

跳至解决方案
5,766 次查看
rysardsuboc
Contributor II

What is the difference between USB HID GENERIC and LITE version? I used KL82z board and SDK 2.0 samples projects

0 项奖励
回复
1 解答
5,171 次查看
miduo
NXP Employee
NXP Employee

Hi,

For SDK 2.0, the USB examples are found in the \boards\<board_name>\usb_examples folder. For device examples, there are ‘lite’ versions available, which consist of a more tightly coupled example for smaller code size. The non-lite version is more generic for an easier to use example, with the tradeoff of larger code size. The \docs\usb\USB Stack Device Reference Manual.pdf document has more details on the differences. 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
5,171 次查看
geoffsokoll
Contributor I

Where can one find this USB Device Reference Manual ?  I've searched through all of the SDK directories I have for various FRDM boards, and it isn't anywhere to be found...

0 项奖励
回复
5,171 次查看
miduo
NXP Employee
NXP Employee

Are you make sure that the SDK installed correct? And what USB stack document can you found from the /DOC directory?

0 项奖励
回复
5,171 次查看
geoffsokoll
Contributor I

I've installed the SDK's by drag and dropping into the "Installed SDKs" window within MCUXpresso.

The docs directory only has two pdf's, and neither relate to USB.  See below example for FRDM-K64F.  Similar results for other boards I have (eg K22F, KL27Z, KL28Z etc).

Capture.PNG

0 项奖励
回复
5,169 次查看
mjbcswitzerland
Specialist V

Hi Geoff

It may be that you need to specify that you want the USB library when generating the package. If you don't do this the documents may be missing.

I have attached a copy that I have.

Regards

Mark

 


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html


USB: http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF
USB composites: http://www.utasker.com/kinetis/USB_Device.html
USB-CDC host<->device video: https://www.youtube.com/watch?v=XhISV1czIo4&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=16

0 项奖励
回复
5,169 次查看
geoffsokoll
Contributor I

Thanks Mark.  I did specify the USB stack for all of my recent SDK builds - see below

Capture.PNG

0 项奖励
回复
5,172 次查看
miduo
NXP Employee
NXP Employee

Hi,

For SDK 2.0, the USB examples are found in the \boards\<board_name>\usb_examples folder. For device examples, there are ‘lite’ versions available, which consist of a more tightly coupled example for smaller code size. The non-lite version is more generic for an easier to use example, with the tradeoff of larger code size. The \docs\usb\USB Stack Device Reference Manual.pdf document has more details on the differences. 

0 项奖励
回复