On 9/21/05, wei Wang <victor_wongwon@vict...> wrote: > I have problems configuring the I2C module.
> It seems that the I2C is deactivated.
This seems to be a common problem, you need to enable the I2C block
with the PERCFG register. This is documented in the DM642 manual. In
my BSP init code, I have:
after the DM642 is reset, it is not possible at all to write anything to the I2C
registers, all registers remain 0. Whatever function of the csl-I2c I call, the
registers remain 0. It seems that the I2C is deactivated. The procedure
described in spru175 (I2C peripherals reference manual) chap. 7
\'Programming guide\' is not enough. Something has to be done before
to wake up the I2C module.
Can anyone tell me what is required to activate the I2C module on the DM642? Is
there a documentation apart from the peripherals reference manual and the CSL
api reference that could be helpful?