Quantcast
Viewing all articles
Browse latest Browse all 123889

Forum Post: RE: In HDVPSS how to use J5ECO I2C

[quote user="Pavel Botev"]

Have you modified the DM811x M3 firmware before compile? Do you have the same issue (i2c did not work) if you use the default (pre-built) M3 firmware?

Please make sure you have connected the VS application board correctly and steady to the base board.

[/quote]

I'm sure the vs application board have connected to the base board.And before confirming the i2c no effect,I have not modified the DM811X M3 firmware.

The J5ECO use I2c2,and the default setting like the following code:

        i2cInitParams[i2cId].opMode = I2C_OPMODE_INTERRUPT;
        i2cInitParams[i2cId].isMasterMode = TRUE;
        i2cInitParams[i2cId].is10BitAddr = FALSE;
        i2cInitParams[i2cId].i2cBusFreq = 400; /* Default, in Khz    */
        i2cInitParams[i2cId].i2cOwnAddr = 0;
I modified the opMode to I2C_OPMODE_POLLED,and it have no effect also.

The i2c could not Trigger interrupts.It stops in code "wait_for_bb" or "wait_for_pin".

[quote user="Pavel Botev"]Did you enable the functional clock from the DM811x PRCM towards the GPIO2 module?[/quote]

Did not  the clock from the DM811X PRCM towards the GPIO2  enable in the TI811x_evm_A8_ddr3.gel ?

Thanks for your reply.


Viewing all articles
Browse latest Browse all 123889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>