On the GPIO Driver

Vahub
Hi Friends,

I have a SCB6410 SDK board and I want to generate a Sine Wave or Pulse on
DAC.
To do this, I use 8-bit DAC and I handled it successfully with AVR.

But now, I want to connect it to 6410 GPIO and run it.

On the other hand, I'm beginner on windows programming and I have not any
idea on that.

I know that I have to connect DAC to GPIOs and after that work with them.
I have a DLL file for GPIO driver and a sample code in C#.
but I don't know how to use them.

Please let me know how can I generate my signal.
Actually, I want to know

1- How can I use driver in windows CE.
(My supplier said that:

1) copy GIODriver.dll to Files directory in your BSP.

 

2) add to platform.bib file:

GIOdriver.dll    $(_FLATRELEASEDIR)\GIODriver.dll   NK         SHMK

 

3) add to platform.reg :

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GIOdriver]

   "Prefix"="GIO"

   "Dll"="GIOdriver.dll"

   "Order"="200"

)

2- How to check that GPIO work correctly.


Please help me.

Thanks in Advance

vahub
No body to anser me!!!
please help me

Dezso
Is that gpio dll for 6410 or 2440?
What port are you trying to use?
Wince 6 I assume ?
C# ?