Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
i need to know how to configure audio device before using (dsk5510_aic23.h)
because no out file created
#include "switchcfg.h"
#include<dsk5510.h>
#include<dsk5510_aic23.h>
DSK5510_AIC23_Config setup = {\
0x0017,\
0x0017,\
0x01ff,\
0x0015,\
0x0000,\
0x0000,\
0x0043,\
0x0081,\
0x0001\
};
void main()
{
DSK5510_AIC23_CodecHandle hCodec;
Int16 data;
/* Initialize the board support library, must be called first */
DSK5510_init();
/* Start the codec */
hCodec = DSK5510_AIC23_openCodec(0, &setup);
DSK5510_AIC23_setFreq(hCodec, DSK5510_AIC23_FREQ_8KHZ);
/* Audio loopback */
while (1) {
while (!DSK5510_AIC23_read16(hCodec, &data));
while(!DSK5510_AIC23_write16(hCodec, data));
}}
Aliaa Ibrahim Seleem
Faculty Of Engineering
Computer EngineeringDepartment
a...@gmail.com
------------------------------------
OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x