Using I2S Codec TLV320AIC23B with mbed
.
This note is currently under maintenance...
backgrounds
mbed (or LPC1768) has an I2S digital audio interface. So we can build the audio sytem using to enjoy high-quality sound via I2S Codec.
Mr.Simon Ford made audio system using his mbed and TLV320AIC23B (TI).
I also tried to make an audio system using AIC23B and my mbed and......... finally, I succeed;-) .
To control AIC23B... "Use the CMSIS, Luke! The CMSIS will be with you, always!"
NXP semiconductor shows us how to use peripherals on LPC17xx, for example LPC17xx CMSIS-Compliant Standard Peripheral Firmware Driver Library.For instance I used this examples about I2S.
When we use I2S DAC, 4pins are required as follows,
• TX_DIN
• TX_BCLK
• TX_WSCLK(LRCLK)
• TX_MCLK
Unfortunately LPC1768 has a TX_MCLK, but there's no TX_MCLK on mbed's DIP.
I decided to treat mbed as slave and AIC23B as master.AIC23B's MCLK connected external 12MHz-Xtal.
continued...
0 comments
You need to log in to post a comment