I2C example for AT91SAM9621 using at91sam9621ek_i2c.dll ?

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

FmcBm
Posts: 4
Joined: Thu Aug 05, 2010 2:21 pm

I2C example for AT91SAM9621 using at91sam9621ek_i2c.dll ?

Mon Oct 18, 2010 2:36 pm

Hi,

I created a Windows CE 6.0 image using the at91sam9621_ek BSP. Now I want to implement an I2C communication in my device software. What I search is an example how to use the at91sam9621ek_i2c.dll from the BSP to read and write data. I use the .NET Compact Framework and C# for developement.

I know there are the following exports:
I2C_Init
I2C_Deinit
I2C_Open
I2C_Close
I2C_Read
I2C_Write
I2C_Seek
I2C_IOControl
I2C_PowerDown
I2C_PowerUp
I2C_DllEntry

But I don't know how to call them and what parameters they expect.
Please could someone give me a small example how to use those DLLs from Atmel?

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 3 guests