This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Generate Sine Wave with OMAP LCDK 138

Other Parts Discussed in Thread: OMAPL138

Hello

I am trying to generate and hear the sine wave from the first example in the Book by Donald Reay with no success.

So far I have downloaded the LCDK files from the ftp site. changed the include file to #include "L138_LCDK_aic3106_init.h", and also changed the original line of L138_initialise_intr(...) to the following line: L138_initialise_intr(FS_48000_HZ,ADC_GAIN_0DB,DAC_ATTEN_0DB,LCDK_LINE_INPUT);

I have selected the L138_eXperimenter_V2.ccxml file, and included all necessary paths after downloading the c6sdk_02_00_00_00. In build settings I use LCDKOMAPL138. Initially, CCS complained about not finding the following

#include "stdio.h"
#include "stdlib.h"
#include "types.h"
#include "evmomapl138.h"
#include "evmomapl138_timer.h"
#include "evmomapl138_gpio.h"
#include "evmomapl138_i2c.h"
#include "evmomapl138_mcasp.h"
#include "evmomapl138_aic3106.h"

I found them after installing c6sdk_02_00_00_00 I believe, it seemed to have worked since it seems to build fine.

The code builds with no complains and enters into debugger mode, I hit run, but the interrupt4 never enters, so I only hear noise.

Thank you for your help

C