This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

clock on omap 3530 SOM module not output from the chip

Other Parts Discussed in Thread: OMAP3530

Hi;

We are trying to get the i2c clocks working on the omap 3530.  It is properly configured but the signals do not come out to the pins of the chip.  Is there some sort of pin map that is setup to bring out these signals that is not programmed?   Is there some other explanation?

Thank you in advance.

pkr

  • pkr:

    On OMAP3530 I2C1 and I2C4 are activated after reset and I2C2 and I2C3 interfaces are pin muxed as "safe_mode".

    In u-boot code, in ./board/ti/evm/evm.h is the following code: (u-boot-2009.11-psp03.00.01.06)

     MUX_VAL(CP(I2C1_SCL),  (IEN  | PTU | EN  | M0)) /*I2C1_SCL*/\
     MUX_VAL(CP(I2C1_SDA),  (IEN  | PTU | EN  | M0)) /*I2C1_SDA*/\
     MUX_VAL(CP(I2C2_SCL),  (IEN  | PTU | EN  | M0)) /*I2C2_SCL*/\
     MUX_VAL(CP(I2C2_SDA),  (IEN  | PTU | EN  | M0)) /*I2C2_SDA*/\
     MUX_VAL(CP(I2C3_SCL),  (IEN  | PTU | EN  | M0)) /*I2C3_SCL*/\
     MUX_VAL(CP(I2C3_SDA),  (IEN  | PTU | EN  | M0)) /*I2C3_SDA*/\
     MUX_VAL(CP(I2C4_SCL),  (IEN  | PTU | EN  | M0)) /*I2C4_SCL*/\
     MUX_VAL(CP(I2C4_SDA),  (IEN  | PTU | EN  | M0)) /*I2C4_SDA*/\

    This sets pin muxing to enable all four I2C interfaces.

    Linux Kernel can also change the pin muxing when an application opens/closes driver to a peripheral.

    It is best to read the Pad Config registers to see the current setting.

    Can you show us your application code which opens the i2c driver?

    Regards,

    Michael T

    PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • Which u-boot and kernel release are you using? I would suggest you to use devmem application to dump pad config register from kernel prompt, you can also directly change it run time for debugging purpose.

    Thanks,

    Vaibhav