Hello,
On the CPLD which I am using I have a chip attached, via an I2C connection. This chip I control via my software driver. I now see something strange thing. When I set the clock-line, then the data-line goes low in case I do this with the following line of C-code:
port |= MASK_SCL;
But, when I apply the following C-code everyting goes fine:
mirror |= MASK_SCL; port = mirror;
Anyone got an idea? Perhaps it has something to do with the electronics? The current going down or something like that?
Kind regards, Harayasu