2305179_en-US

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

2305179_en-US

2305179_en-US

usb host with CODEC(i2S)

hi NXP team.

I am developing a project using LPC5528. lpc5528 I2S RX receives I2S tx signals from an external source and outputs digital signals to usb speakers via USB. This requires a USB HOST+i2s component solution. But I didn't find such a program in the routines. Can you provide me with such a program?

I'm developing a project using LPC5528. The LPC5528 I2S RX receives I2S TX signals from an external device, and outputs digital signals to a USB speaker via USB. This requires a solution using USB HOST + I2S components. However, I couldn't find such a solution in the example code. Could you provide a solution like this?


thanks

LPC55xxRe: usb host with CODEC(i2S)

Hi @harry3 

Thanks for your post,

There is not a solution that accomplishes with the requirements you mentioned, but you could use as reference the examples of host_audio_speaker it has the options of bm or freertos (Included in SDK_25.12.00_LPCXpresso55S28).

carlos_o_0-1770140902886.png

Also, there are two examples of I2S one using DMA and the other using interrupts, please refer to these examples. 

carlos_o_1-1770141287616.png



The final implementation is up to you, feel free to reach out with any questions in the developing process of the solution.  

Re: usb host with CODEC(i2S)

Hi @harry3 

Please also at the codec path to the MCU Assembler settings 

carlos_o_0-1770396866380.png

let me know if this solves the issue. 

Re: usb host with CODEC(i2S)

Hi Carlos.

I was already doing that when I came out with this question.

I had already done it this way when this problem arose.

thanks

harry



Re: usb host with CODEC(i2S)

Hi @harry3 

Thanks for clarifying.

Please also add the folder to Path and Symbols -> Source location to be recognized as a folder with source files:

carlos_o_0-1770659481917.png


You could confirm that the change make effect when the folder symbol has a blue C. 


Re: usb host with CODEC(i2S)

hi Carlos,

I'm very sorry that I made a mistake with the attachment just now. Please refer to this initial attachment.


thanks

harry

Re: usb host with CODEC(i2S)

hi carlos,

Thank you very much for your support.
 
I just found the problem of MCLk having no output. I will further develop this project and will continue to consult you if I encounter any problems in the future.
 
thanks
harry 
Tags (1)
No ratings
Version history
Last update:
‎02-12-2026 02:34 AM
Updated by: