AnsweredAssumed Answered

LS1043A - I2C module registers accessibility issue

Question asked by Baba Tej Botcha on Apr 28, 2018
Latest reply on May 14, 2018 by Pavel Chubakov

I want to enable I2C1 module(INA220A) in LS1043A board. From reference manual of LS1043A, I2C module registers are accessible in supervisor mode only. Code warrior hello world project is setting up in EL3. So, i have changed the exceptionl level to EL1(supervisor mode) from EL3 and trying to access the I2C module registers. But, getting an synchronous exception and the reason is shown up in ESR_EL1 register as "Data Abort taken without a change in Exception level" even Pstate current exception value is 4(EL1). PFA for Exception register snapshot. Please let me know why we are getting exception even while accessing I2C registers in EL1 mode. Note: Even we tried in accessing EL2, EL3, still the result is same.