USB -> I2S bridge on MKL26Z

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

USB -> I2S bridge on MKL26Z

2,135 Views
jasonlambert
Contributor III

Hi All,

Has anyone tried to port the USB OTG to I2S example for the LPC5411x device described in this app note to run on the MKL26Z? They are both M4 based devices and I bet the peripherals are pretty similar so the HAL should be similar.

I would like to make an application that is a simple USB device that has one I2S output that drives a DAC. The MKL26Z is the only device I have found that has one I2S channel hence the reason I selected that part. 

Any help would be great thanks. 

Jason  

0 Kudos
2 Replies

1,576 Views
mjbcswitzerland
Specialist V

Hi Jason

You can get USB audio class to I2S from the open source uTasker project on GitHub:
http://www.utasker.com/docs/uTasker/uTaskerUSB_Audio.pdf
including USB simulation in VisualStudio for complete analysis.

It has a proven setup for the KL43 to I2S or directly to the 12 bit DAC output, which is possibly compatible with the KL26.

For professional requirements the supported uTasker project is available which can be configured for your custom HW and chip to ensure immediate functionality.

Regards

Mark

P.S.The KL26 is Cortex M0+ (not M4). The LPC5411x has a USB FS 2.0 device and the KL26 has a FS USB2.0 OTG interface. These are quite different and I doubt that the the LPC and KL libraries supplied for the two parts will have any compatibility (especially since the Kinetis USB library originated from the Freescale libraries at the time when NXP and Freescale were competitors).


Complete KL26 solutions, training and support:http://www.utasker.com/kinetis.html
Kinetis KL26:
http://www.utasker.com/kinetis/FRDM-KL26Z.html
http://www.utasker.com/kinetis/TEENSY_LC.html

1,576 Views
jasonlambert
Contributor III

Thanks for the helpful information Mark I'll take a look at your uTask libraries and see if we can make them work. Thanks for contributing to the community.

Jason  

0 Kudos