I2C problem (registers not writable)
I am having problem using the I2C bus. I am using an ARM920T processor and trying to connect a realtime clock using the I2C bus. the I2C control register is at 0x54000000. I wrote a new value to I2CCON, but the value is still 0x0. The same thing happens to the other I2C registers. (GPIO registers at 0x56000000 are fine.)
I wrote the registers as a user space driver (mmap() the /dev/mem file), and I also setup the SDA and SCL pin in GPIO configuration before this. Could anybody give me some suggestions about what is (possibly) wrong? Thank you.
|All times are GMT -5. The time now is 12:08 AM.|