HD Audio bus using I2S/SAI?

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

HD Audio bus using I2S/SAI?

跳至解决方案
4,274 次查看
bowerymarc
Contributor V

Has anyone worked out whether its possible, and have examples or source code etc. for interfacing an HD Audio type of Codec to a kinetis using the I2S/SAI port?

Example codecs: CODECs | WM8860 | Wolfson Microelectronics and CS4207 : Low Power 4-In/6-Out HD Audio Codec with Headphone Amp

Some great features on these kinds of parts for portable apps.

Thanks!
Marc

标记 (1)
0 项奖励
回复
1 解答
2,069 次查看
bowerymarc
Contributor V

well I read chapters 5 and 6 of the HD Audio spec (http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/high-definition-a...)

and it looks like it won't work, mainly due to the audio output being clocked on alternating edges of the bit clock, and the bit clock running at 24MHz, max for the Kinetis (otherwise, maybe could have run the SAI at double speed...)

Note for Freescale: consider adding HD Audio mode ability to the SAI peripheral!

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,070 次查看
bowerymarc
Contributor V

well I read chapters 5 and 6 of the HD Audio spec (http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/high-definition-a...)

and it looks like it won't work, mainly due to the audio output being clocked on alternating edges of the bit clock, and the bit clock running at 24MHz, max for the Kinetis (otherwise, maybe could have run the SAI at double speed...)

Note for Freescale: consider adding HD Audio mode ability to the SAI peripheral!

0 项奖励
回复
2,069 次查看
Paul_Tian
NXP Employee
NXP Employee

Hi, Marc

Standing on Kinetis point, there is only I2S interface between Codec and Kinetis. So you can refference this applicaton note for your application. In this applicaiton note, you can find it uses four FIFOs and Ping-Pong mode. http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4520.pdf?fsrch=1&WT_TYPE=Applicatio... Notes&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation&sr=1

Hope my reply can help you.

Best Regards

Paul

0 项奖励
回复
2,069 次查看
bowerymarc
Contributor V

HI Paul,

Actually no, that's no help.  I've seen that app note, and it doesn't address this.  The I2S bus on the Kinetis is SAI, can be configured for many different formats aside from strictly I2S.  So my question still remains, whether it's possible to configure this port to be compatible with HD Audio Codecs to the extent of basic functions like getting audio in and out, for example with the codecs linked above.

Best,

Marc

0 项奖励
回复