how to send a sinusoidal signal on lpc1788 gpio dac pin .

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by uttamraj09 on Tue Oct 07 10:20:19 MST 2014
hello everyone!

I am a newbie in embedded C programming .I want to send a sinusoidal signal on P0.26 pin, which is a dac gpio pin, and check it on an oscilloscope. For my hardware stuff, i have an olimex 4'3 board with LPC 1788 embedded on it. I am using the demo program provided by the olimex which can be found under https://www.olimex.com/Products/Modules/LCD/MOD-LCD4.3''/open-source-hardware .  I also got a sample dac sinewave code from lpcware cmsis code which was provided under http://www.lpcware.com/content/nxpfile/lpc177x-and-lpc178x-cmsis-compliant-standard-peripheral-firmware-driver-library-keil  inside the example folder. Can anyone please give me some hints on how i can adapt the Dac_SineWave code from CMSIS library to my olimex demo program ?

thanks in advance ;)