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.

TMS570LS3137: EMIF interfacing with LCD

Part Number: TMS570LS3137

Hello,

In our target platform we are using Emif D0-D7 data lines mux with LCD and Flash chip.

Initially we verified LCD connection with GPIO and EVK and we want to port that code on target platform.

we are trying to push the data by giving

#define EMIF_ADDRESS_CS4 *((uint8_t*)0x68000000) 

EMIF_ADDRESS_CS4 = lcd_data; 

But we are not able to see the data on pin pads so Please let us know how can we write data D0-D7 pins.

 we did the pin muxing as below

 pinMuxReg->PINMMR12 = PINMUX_BALL_A14_RMII_RXD_1 | PINMUX_BALL_K15_EMIF_DATA_0 | PINMUX_BALL_G19_MIBSPI1NENA | PINMUX_BALL_H18_MIBSPI5NENA; 

pinMuxReg->PINMMR11 = PINMUX_BALL_K17_EMIF_nCS_3 | PINMUX_BALL_M17_EMIF_nCS_4 | PINMUX_BALL_L15_EMIF_DATA_1 | PINMUX_BALL_P1_RMII_RXD_0;

Hope it is correct.

Regards,

Rohini 

  • Hi Rohini,

    The EMIF can be used to interface a LCD for example TFT display. 

    Your code below should be able to toggle the EMIF data pins (D[7:0]).

    #define EMIF_ADDRESS_CS4 *((uint8_t*)0x68000000) 

    EMIF_ADDRESS_CS4 = lcd_data;