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.

OMAP-L138 Using MMC/SD1 in 4 bit mode along with the LCD

Hi,

  I´m designing a custom board for the OMAP-138 and have a few doubts regarding the possible muxing options for peripherals.

I was wondering if it is possible to use the MMC/SD1 in 4 bit mode and the LCD peripheral simultaneously ?

 Also when using UART1 can I use the RTS and CTS signals as GPIO if I dont need flow control?

 

Any help on this regard is highly appreciated.

 

  • Hi Gus,

     Yes I have, The thing is if two peripherals share common pins it prompts an alarm but still leaves the pins selected.

    I just want to be sure that the is no problem with the selections I have made, that there are no conflicts between the SD1 and the LCD

    I´m attaching the .PIN file of my configuration for reference (The file extension is .txt you should change it to .pin in order to open it in theconfig utility)

    PRU0_R30[20]
    PRU0_R30[19]
    PRU0_R31[20]
    PRU0_R31[19]
    PRU0_R30[18]
    USB_REFCLKIN
    UART2_RTS
    UART2_CTS
    ECAP2_APWM2
    GP0[6]
    GP0[5]
    GP0[4]
    GP0[3]
    GP0[2]
    GP0[1]
    ECAP1_APWM1
    GP1[15]
    MII_TXEN
    MII_TXCLK
    MII_COL
    MII_TXD[3]
    MII_TXD[2]
    MII_TXD[1]
    MII_TXD[0]
    MII_RXCLK
    MII_RXDV
    MII_RXER
    MII_CRS
    MII_RXD[3]
    MII_RXD[2]
    MII_RXD[1]
    MII_RXD[0]
    MDIO_CLK
    MDIO_D
    I2C0_SCL
    I2C0_SDA
    UART2_RXD
    UART2_TXD
    UART1_RXD
    UART1_TXD
    SPI1_SCS[1]
    SPI1_SCS[0]
    SPI1_CLK
    SPI1_ENA
    SPI1_SOMI
    SPI1_SIMO
    GP2[9]
    GP2[8]
    GP2[7]
    GP2[6]
    GP2[5]
    GP2[4]
    GP2[3]
    GP2[2]
    GP2[1]
    GP2[0]
    GP3[15]
    EMA_CS[3]
    EMA_CS[4]
    GP3[12]
    EMA_WE
    EMA_OE
    GP3[9]
    EMA_WAIT[0]
    GP3[7]
    GP3[6]
    GP3[5]
    GP3[4]
    GP3[3]
    GP3[2]
    GP3[1]
    GP3[0]
    EMA_D[7]
    EMA_D[6]
    EMA_D[5]
    EMA_D[4]
    EMA_D[3]
    EMA_D[2]
    EMA_D[1]
    EMA_D[0]
    MMCSD0_CLK
    MMCSD0_CMD
    MMCSD0_DAT[0]
    MMCSD0_DAT[1]
    MMCSD0_DAT[2]
    MMCSD0_DAT[3]
    MMCSD0_DAT[4]
    MMCSD0_DAT[5]
    MMCSD0_DAT[6]
    MMCSD0_DAT[7]
    GP5[13]
    GP5[12]
    GP5[11]
    GP5[10]
    GP5[9]
    GP5[8]
    GP5[7]
    GP5[6]
    GP5[5]
    GP5[4]
    GP5[3]
    EMA_A[2]
    EMA_A[1]
    GP5[0]
    RESETOUT
    OBSCLK0
    GP6[13]
    GP6[12]
    UPP_CH1_CLK
    UPP_CH1_START
    UPP_CH1_ENABLE
    UPP_CH1_WAIT
    UPP_2xTXCLK
    PRU1_R30[9]
    UPP_D15
    UPP_D14
    UPP_D13
    UPP_D12
    UPP_D11
    UPP_D10
    UPP_D9
    UPP_D8
    UPP_D7
    UPP_D6
    UPP_D5
    UPP_D4
    UPP_D3
    UPP_D2
    UPP_D1
    UPP_D0
    LCD_D[7]
    LCD_D[6]
    LCD_D[5]
    LCD_D[4]
    LCD_D[3]
    LCD_D[2]
    LCD_D[1]
    LCD_D[0]
    LCD_D[15]
    LCD_D[14]
    LCD_D[13]
    LCD_D[12]
    LCD_D[11]
    LCD_D[10]
    LCD_D[9]
    LCD_D[8]
    MMCSD1_DAT[0]
    MMCSD1_CLK
    MMCSD1_CMD
    PRU1_R31[24]
    LCD_PCLK
    LCD_MCLK
    LCD_HSYNC
    LCD_VSYNC
    MMCSD1_DAT[3]
    MMCSD1_DAT[2]
    MMCSD1_DAT[1]
    PRU1_R31[1]
    LCD_AC_ENB_CS
    RTCK
    
    , if you could take a look I would appreciate it.

    The peripherals I`m using are:

     

    -EMIFA for 8 bit NAND FLASH

    -UART2 with flow control, UART 1 witout flow control

    -SP1 with 2 chip selects (0,1)

    -LCD

    -MMC/SD0 8 bit mode, MMC/SD1 4 bit mode

    -I2C0

    -uPP with one 16 bit channel only (CH1)

    -MII  and MDIO for ethernet

    -3 PRU1 pins,5 PRU0 pins

    -eCAP1 and eCAP2

    -41 GPIO pins

     

    Thank You

     

     

     

     

  • Haroldo said:

    I was wondering if it is possible to use the MMC/SD1 in 4 bit mode and the LCD peripheral simultaneously ?

    Yes, this is definitely possible.  Only the MMCSD1_DAT[7:4] pins are muxed with the LCD; in 4-bit mode, these pins are not used for MMC/SD operation.

    Haroldo said:
    Also when using UART1 can I use the RTS and CTS signals as GPIO if I dont need flow control?

    Yes.

  • Hi Gus,

     

     Thanks for the support and the quick response!