How LPC5514JBD64 connect Audio Codec

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How LPC5514JBD64 connect Audio Codec

跳至解决方案
1,205 次查看
shaozhongliangs
NXP Employee
NXP Employee

Customer: Shenzhen DJI

PN:LPC5514JBD64 

Project:handle charging accessory

Question:

   DJI is evaluating LPC5514JBD64 in handle charging accessory. It need 4 channel MICs input. Customer wanted to how  the LPC5514JBD64 connect with Audio Codec. Customer asked if we could provide a reference schematics.

   Customer confused about the Flexcomm description: Only Flexcomm0~5 could service as I2S Master? If yes, Flexcomm0~5 each just provide one channel I2S, how to connect 4 MICs?

shaozhongliangs_0-1681872223686.png

shaozhongliangs_1-1681872242579.png

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,161 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Yes, If the other data line is connected to FC6_DATA, the FC6_SCK /FC6_WS  pins can work as normal GPIOs.

BR

XiangJun Rong

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,196 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, ZhongLiang,

As the following screenshot, all the FC modules including the FC0 to FC7 support I2S mode, each FC module can function as either I2S transmitter or Receiver but not both. In other words, you can connect each Mic to any one of FCx.

As you know that the I2S module only has two slots(left slot and right slot), any FC module from FC0 to FC7 supports I2S mode. But there is TDM mode(Time Division Module), which consists of multiple slots, the FC0~FC5 supports 2 slots, the FC6 and FC7 support at most 8 slots.

In conclusion, you can use any 4 FC modules out of 8 FC modules to connect to 4 Mics.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1681883862527.png

 

0 项奖励
回复
1,185 次查看
shaozhongliangs
NXP Employee
NXP Employee

@xiangjun_rong @Thank you for your reply. DJ evaluating some quad audio Codecs which have block diagrams like the attached screenshot. Apart from TDM mode as you mentioned, customer would use the two data lines(DO12,DO34) to transfer 4-channel audio data.

shaozhongliangs_0-1681957299065.png

  Customer is wondering if it is OK to use the following PIOs in Flexcomm6 to connect the four signals mentioned above?

shaozhongliangs_1-1681957323666.png

 

shaozhongliangs_2-1681957323710.png

 

shaozhongliangs_3-1681957323741.png

 

shaozhongliangs_4-1681957323797.png

 

 

0 项奖励
回复
1,183 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, I have to say that you have to use two FC modules instead of one, because you have two data pins.

One solution is that you use independent SCK/WS/Data pins for each FC module, for example

FC5_SCK/FC5_WS/FC5_DATA to one Mic, FC6_SCK/FC6_WS/FC6_DATA to another Mic.

Another solution:

FC5_SCK/FC5_WS/FC5_DATA to one Mic. Connect FC5_SCK/FC5_WS to another Mic,FC6_DATA to another mic.

There is Chapter 36: LPC55S1x/LPC551x Sys_ctrl in UM11295.pdf, one FC module clock and frame clock can be shared with another one.

Hope it can help you

BR

XiangJun Rong

 

 

 

0 项奖励
回复
1,175 次查看
shaozhongliangs
NXP Employee
NXP Employee

@xiangjun_rong Thank you!  DJI will try the solution 2 FC5_SCK/FC5_WS/FC5_DATA to one Mic. Connect FC5_SCK/FC5_WS to another Mic, FC6_DATA to another mic.” , because it may be a better choice to user application.

    Here is a new question:

       If the other data line is connected to FC6_DATA, can the FC6_SCK /FC6_WS  pins work as normal GPIOs?

0 项奖励
回复
1,162 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Yes, If the other data line is connected to FC6_DATA, the FC6_SCK /FC6_WS  pins can work as normal GPIOs.

BR

XiangJun Rong

0 项奖励
回复