lpcware

LPC4088 的EMC如何設定去直接驅動LCD Driver ?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by wkliao on Tue Jan 01 20:37:29 CST 2013
目前使用的是ILI9341 TFT LCD Single Chip Driver,想要透過EMC控制器來驅動,硬體線路是採用”8080 MCU 16-bit bus interface”
LPC4088工作頻率是設定在120MHz,在LPCware上提供的範例程式內有EMC Driver(lpc_emc.c & lpc_emc.h)
但不清楚這些設定值的涵義,請幫忙提供針對此LCM設定參考值及說明,感謝~~
typedef struct
{
    uint8_t  CSn;         // 0/1/2/3
    uint8_t DataWidth;    // 8bit, 16bit, 32bit
    uint8_t PageMode;   // 1: asynchronous page mode enabled
    uint8_t ByteLane;   // 1: Read when active bits are low, 0: read when acrive bits are High
    uint8_t ExtendedWait;  //1: enabled
    uint8_t AddressMirror; // 1: reset memory map, 0: normal memory map

    uint8_t  WaitWEn;       // Delay from the chip select to the write enable (CCLK cycles)
    uint8_t  WaitOEn;       // Delay from the chip select or address change to output enable (CCLK cycles)
    uint8_t  WaitRd;        // Delay from the chip select to the read access (CCLK cycles)
    uint8_t  WaitPage;      // Delay for asynchronous page mode sequential accesses (CCLK cycles)
    uint8_t  WaitWr;        // Delay from the chip select to the write access (CCLK cycles)
    uint8_t  WaitTurn;      // The number of bus turnaround cycles
} EMC_STATIC_MEM_Config_Type;

Outcomes