Sample code for USB HeadSet Application on KL Series

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sample code for USB HeadSet Application on KL Series

728 Views
yinyang
NXP Employee
NXP Employee

Do we have sample code on USB Headset application on KL series.

Requirement:

1. USB Audio Class Example for Headset application

2. Combine existing usb_speaker and usb_generator demo in KSDK USB stack

3. Expand the sample rate and bit depth to adapt to customer case

pastedImage_1.png

0 Kudos
2 Replies

563 Views
cutworth
NXP Employee
NXP Employee

Hi Yin Yang,

I am working on combining this demo based on KSDK. Will send you code once I finished.

Hao

0 Kudos

563 Views
mjbcswitzerland
Specialist V

Hi

There is a complete USB headset solution integrated in the uTasker project, usable on all Kinetis devices with USB. Using ADC/DAC or PWM output (when no DAC available) or I2S based audio device (with asynchronous synchronisation for zero drift and proven in product operation).

Eg. http://www.utasker.com/kinetis/BLAZE_K22.html#AUDIO where it is combined with CMSIS FFT for spectrum and waveform display at the same time.

If you have a real requirement, tell me which KL part you use I can configure it so you can see it in operation on whatever board you have - configuration for custom HW on any chip usually takes about 10..15 minutes. For special audio processors the audio processor may need to be set up specifically so may not be possible without more details.

Regards

Mark

0 Kudos