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.

I2C1 using logicpds OMAP-L138 SOM-M1

Other Parts Discussed in Thread: OMAP-L138

Hi,

I want to use the I2C1 on logicpds OMAP-L138 SOM-M1 by the DSP core. On the ARM I use Linux (distribution provided by logicpd).

The I2C1 and the UART2 of the OMAP-L138 share the same pins. The UART2 is the default terminal of the linux system. Due to that I am concerned, that the Linux System will manipulate the I2C-pinmux-configuration to be UART2.

If I configure the pinmux of I2C1-pin to be I2C1 (instead of UART2) and set the default terminal of the Linux system to UART0 or UART1, is it possible to use the I2C1-port by the DSP?

I need this information for the decision which I2C to use in my layout. I suppose the linux distribution can be compiled with the desired pinmux-options, however I have no opportunity, to test this at the moment.

Kind regards
Andi

  • Hi Andreas,

    You can use I2C1 by DSP Core .But before that you need to all the change in the U-boot and the Linux system to support this configuration.

    Regards

    Antony

    • --------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if it answers your question.
      --------------------------------------------------------------------------------------------------------
  • Thank you for this information. I have have considered this in the layout.

    For convenience I have some questions about software how to change the software-side.

    What is the correct way to change the pinmultiplexing configuration of the Linux system? We are using the Arago Linux, derived by TI's PSP (DaVinci-PSP-SDK-03.21.00.04.tgz). I found that for instance the kernel-code-file

    linux-03.21.00.04/arch/arm/mach-davinci/da850.c

    seems to contain pinmux configuration code. Do I have to change this file, or any other and recompile the kernel? Or are there any configurations files for the pinmultiplexing? Is there any documentation or wiki on TI's homepage on pinmux configuration using Linux?

    Some hints would help a lot. I did not find any information on how to configure Linux.

  • Hi Andreas,

    Please refer below threads which will help you to understand about pinmux setup in Linux. I did not find any TI wiki links.

    http://e2e.ti.com/support/embedded/linux/f/354/p/167148/609581.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/166504.aspx

    I hope this helps.