A
anbeyon
Hi All,
I'm trying to use the PXA255 I2C controller and am having some problems
making it work.
I intend to use the controller, for the time being at least, from
managed .NET code running on compact framework.
I have written a c# class to read and write 32 bit numbers to Physical
IO register using VirtualAlloc and VirtualCopy and I think they work
OK.
I am able to turn an LED on the board On and OFF and also correctly
read the stare of the I2C bus from the bus monitr register IBMR.
However I am having trouble making the I2C controller do anything. I
think I have mis-understood the documentation.
I think I must be doing things in the wrong order or something.
Has anyone out there written any code that uses the I2C controller I
can take a peek at ?
I really appreciate some help. Thanks in advance
Anbeyon.
I'm trying to use the PXA255 I2C controller and am having some problems
making it work.
I intend to use the controller, for the time being at least, from
managed .NET code running on compact framework.
I have written a c# class to read and write 32 bit numbers to Physical
IO register using VirtualAlloc and VirtualCopy and I think they work
OK.
I am able to turn an LED on the board On and OFF and also correctly
read the stare of the I2C bus from the bus monitr register IBMR.
However I am having trouble making the I2C controller do anything. I
think I have mis-understood the documentation.
I think I must be doing things in the wrong order or something.
Has anyone out there written any code that uses the I2C controller I
can take a peek at ?
I really appreciate some help. Thanks in advance
Anbeyon.