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.

pinmux setting

Other Parts Discussed in Thread: PCF8575

hi

i am presently working on 816x/393x spectral digital board . for using the gpio using sysfs entry we have to edit the /arch/arm/mach-omap2/board-ti816x.c with the funtion called TI816X_MUX(SC1_C4,OMAP_MUX_MODE1),  I tried but i am not able to find the significance of mode0,mode1,mode2 .....mode7.

please tell me for what purpose this value are used and how they are differ from each other.

  • Hi Vineet,
     
    Muxmodes are explained in the DM816X Datasheet. Please check Table 3-5 (column "MUXED") for explanation of what functions can be mapped out on each pin. Then Section 4.5, Table 4-9 gives the available muxmode values.
  • Hi Biser,

    i went through the datasheet and now i am able to select the right mux mode and toggle the value on the gpio pin. Thanks for that. I would like to light up the led present on board. For that i went through schematic and i came to know that the led are attached to the PCF8575 IO EXPANSION . I went through the program code for led but unable to locate evm816x.c, evm_12c.c files. can u please tell me where i can find these file.

  • Hi Vineet,
     
    I cannot answer this, as I only work on hardware issues. I have forwarded your question to the software experts.
  • Hi Vineet,

    These files are located in the test code from Spectrum Digital:

    1. http://support.spectrumdigital.com/boards/evm816x/reve/ - download the test code (ZIP) from the DM816x/C6A816x/AM389x EVM Software Resources section.

    2. http://support.spectrumdigital.com/boards/evm816xiodc/revc/ - download the test code (ZIP) from the DM816x/C6A816x/AM389x Expansion I/O Daughter Card Resources section.

    BR

    Pavel