странно что в комплекте нет демо-программ под AIC23 для КИТа
I2C - только для управления. для передачи/привема аудиоданных используется McBSP
еще в CCS есть такая штука как "Data Converter Plug-In" - она генерит header-файлы и упр.структуры под ацп и цап производства TI
UPDтэкс, а разве пример
из комплекта поставки не юзает аудиокодек???
..\boards\dsk6455_v2\examples\tone\tone.c :
Код
/*
* ======== tone.c ========
*
* This example uses the AIC23 codec module of the DSK6455A Board Support
* Library to generate a 1KHz sine wave on the audio outputs for 5 seconds.
* The sine wave data is pre-calculated in an array called sinetable. The
* codec operates at 48KHz by default. Since the sine wave table has 48
* entries per period, each pass through the inner loop takes 1 millisecond.
* 5000 passes through the inner loop takes 5 seconds.
*
* To run this example, connect a pair of headphones to the headphone connector
* then load and run tone.out. You will hear a 1KHz tone for 5 seconds.
*/
Сообщение отредактировал Doka - Jan 8 2008, 19:18