Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Generate Sine Wave with OMAP LCDK 138

$
0
0

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


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>