How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk

ソリューションへジャンプ
1,101件の閲覧回数
dawnpaul100
Contributor II

As per the calculation the BCLK frequency  required is 2304000Hz. I seem to be getting the FXCOMCLK7 clkin(23.04Mhz) as a multiple of BCLK required. But MCLK also has to be multiple of BCLK. But MCLK seem to be not using the fractional clock divider output. Please share some inputs to configure the clock correctly

dawnpaul100_0-1733122438837.png

 

タグ(2)
0 件の賞賛
返信
1 解決策
1,046件の閲覧回数
dawnpaul100
Contributor II
The noise sound issue is resolved after updating the Dma input buffer to the I2S. I was using same address as DMA source address. Updated it to a ring buffer as in SDK example to resolve the issue. Thanks

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,069件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @dawnpaul100 

Please tell me how many channels does your I2S have?

 

BR

Alice

0 件の賞賛
返信
1,064件の閲覧回数
dawnpaul100
Contributor II

 

2 channels. I think I am able to generate the clocks properly. MCLK is 46.08 Mhz, Bclk is 2.304 Mhz(Verified with DSO). Audio is playing with small noise in the output sound. Could you share some inputs to debug. Do we need to update any setting for the codec when we update the the sampling rate to 48 khz in 24 bit mode. I have used sdk example lpcxpresso55s69_dev_audio_speaker_freertos as reference

dawnpaul100_0-1733304380033.png

 

0 件の賞賛
返信
1,047件の閲覧回数
dawnpaul100
Contributor II
The noise sound issue is resolved after updating the Dma input buffer to the I2S. I was using same address as DMA source address. Updated it to a ring buffer as in SDK example to resolve the issue. Thanks
0 件の賞賛
返信