WinCE waveform generation

Vahub
Hi,

I have s3c6410 ARM 11 board.It has Win CE6.0.

I loaded GPIO Driver (.dll file) to system.
How can I generate a simple sine wave on 8bit port?
8 pin of s3c6410 connected to DAC.

Please help me.
I asked this question before and nobody help me.

Regards,

vahub
Nobody to Answer!!!!!!!!???
Please help me

davef
As soon as someone says WinCE I ignore the post.

The problem you are trying to solve is more generic that the title
suggests.  

What kind of a DAC do you have to use?  SPI or I2C?  Using a port to
"bit-bang" to an SPI or I2C device is one way, but I have never done it.

You could generate a sine wave, with 8 bit resolution using a 8 bit port
and a R2R ladder network

http://en.wikipedia.org/wiki/Resistor_ladder,  


> 8 pin of s3c6410 connected to DAC.

do you mean "8 pins of one 8 bit port connected to some sort of a DAC"?

Are you talking about a parallel DAC rather than the more common serial
DAC?

vahub
Hi davef,

Thanks to your replay.

I used TLC7528 DAC form Texas Instruments.
Please keep in your mind this type of DAC is a R2R.

I know that I can connect 8 pin of Processor to DAC.

my problem is:
""I DON'T KNOW HOW TO WRITE A SIMPLE PROGRAM THAT IT USE TIMER IN WINCE.""

In other word,I done this before with ATMega16 AVR, and now, I don't know
how to use timer to generate delay time.

Please help me.
I'm beginner in this issue and this is my final project.

Best Regards,
vahub

davef
WELL, NEITHER DO I.

All my experience is with the ATmega32 and 32u4 and I have only played a
bit with the timers on them.

Good luck!