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

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

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

ソリューションへジャンプ
1,957件の閲覧回数
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 解決策
1,362件の閲覧回数
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 返答(返信)
1,362件の閲覧回数
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 件の賞賛
1,362件の閲覧回数
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 件の賞賛
1,362件の閲覧回数
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 件の賞賛
1,362件の閲覧回数
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 件の賞賛
1,362件の閲覧回数
geoffsokoll
Contributor I

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

Capture.PNG

0 件の賞賛
1,363件の閲覧回数
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 件の賞賛