usb host with CODEC(i2S)

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

usb host with CODEC(i2S)

Jump to solution
2,477 Views
harry3
Contributor III

hi NXP team,

我使用LPC5528开发一个项目, lpc5528 I2S RX 接收来自外接的I2S tx信号,通过USB输出数字信号给usb扬声器。这需要用到USB HOST+i2s 的组件方案。但是我在例程中没有找到这样的方案。请问可以提供一个这样的方案吗?

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

Labels (1)
0 Kudos
Reply
1 Solution
2,227 Views
harry3
Contributor III

hi Carlos,

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

 

thanks

harry

View solution in original post

0 Kudos
Reply
7 Replies
2,368 Views
harry3
Contributor III

hi carlos,

     出这个问题的时候我已经是这样做的了。

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

thanks

harry

 

 

0 Kudos
Reply
2,310 Views
carlos_o
NXP TechSupport
NXP TechSupport

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. 

 

0 Kudos
Reply
2,228 Views
harry3
Contributor III

hi Carlos,

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

 

thanks

harry

0 Kudos
Reply
2,454 Views
carlos_o
NXP TechSupport
NXP TechSupport

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.  

0 Kudos
Reply
2,406 Views
harry3
Contributor III

hi carlos
我现在开发这个项目遇到问题,我把CODEC的文件夹以及包含的文件拷贝到项目的目录下。在编译的时候总是提示在DEBUG文件夹没有找到我添加的文件夹。请问要添加文件夹需要怎么配置IDE呢?
I'm currently encountering a problem while developing this project. I copied the CODEC folder and its contained files into the project directory. During compilation, it always prompts that the folder I added cannot be found in the DEBUG folder. How do I need to configure the IDE to add the folder?

thanks
Harry

0 Kudos
Reply
2,387 Views
carlos_o
NXP TechSupport
NXP TechSupport

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. 

0 Kudos
Reply
2,213 Views
harry3
Contributor III

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 
0 Kudos
Reply