Hi, I'm trying to read/write some register of am335x, but it is some odd, because some registers I get access and other the read command hangs u-boot. The target is configure i2c-2.
when I access i2c-1 everything works fine.
address range:0x4802_A000 0x4802_AFFF 4KB I2C1 Registers
example: readw(0x4802A000);
but i2c-2 hangs.
0x4819_C000 0x4819_CFFF 4KB I2C2 Registers
example: readw(0x4819C000);
that happens with other registers too. how can I enable to access the i2c-2 registers to proper init i2c-2 with i2c_init() function?
* package version: am335x_6.00
* Datasheet with register map: SPRUH73I – October 2011 – Revised August 2013