We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using the phytec board with infineon 509 microcontroller. I need to acess the on-board RTC via I2C, however the SDATA and SCLK pins are tied to port6.5 and port6.4 which are not bit addressable. How should I read data from SDATA and at the same write data out to SCLK without them interfering with each other? (I am adapting code from the Bit_Bang example).
Take a look at the bitwise operators in your C book. Stefan