Hello,
I've added the AN4263_SW folder to my project.
When compilizing it - I get all sorts of errors - such as - "type mismatch const struct 'D4CD_OBJECT_S' and 'void*' on the code line - while(pNewScreen->pObjects[ix] != NULL) in function static void D4CD_ChangeScreen(D4CD_SCREEN* pNewScreen, D4CD_SCREEN* pOldScreen) in the "d4cd_screen.c" file.
I get alot of errors such as this.
Does that make any sense?
Please don't refer me to other threads - I've read them all ...
Thanks,
Shany
Hello,
I'm using dt028a LCD with 8 bit parallel communication.
I don't understand the pin configuration process in d4cdlcdhw_gpio_8bit_cfg.h file.
This is it -
#define D4DLCD_EN 0 // EN
#define D4DLCD_EN_PORT PTAD // EN
#define D4DLCD_EN_DDR PTADD // EN
#define D4DLCD_RS 1 // RS
#define D4DLCD_RS_PORT PTAD // RS
#define D4DLCD_RS_DDR PTADD // RS
#define D4DLCD_RW 2 // RW
#define D4DLCD_RW_PORT PTAD // RW
#define D4DLCD_RW_DDR PTADD // RW
#define D4DLCD_BACKLIGHT 3 // BACKLIGHT
#define D4DLCD_BACKLIGHT_PORT PTAD // BACKLIGHT
#define D4DLCD_BACKLIGHT_DDR PTADD // BACKLIGHT
// I/O port CONFIG for parallel transfer
#define D4DLCD_DATA PTBD // 8bit bus
#define D4DLCD_DATA_DDR PTBDD // 8bit bus DDR
#define D4DLCD_DATA_PE PTBPE // 8bit bus PE
The connected pins to the LCD are on PTB(0-7)?
I don't understand the PTA port defintions - what is it used for?
Thanks,
Shany
Hello,
I posting my project here, hopfully it will help you help me...
A few things I would really like you to look at:
1. compilation errors.
2. My user configuations - I'm using MCF51AF256A with LCD - DT028A and touch screen controller AR1020.
communication - 8 bit paraller, on port PTA(0-7).
RS line(data/command) - PTF7
Backlight enable - PTF4
CS(en) - PTD7.
Please please please take a look at my configuration files and see if I'm OK.
3. I'm writing my own touch screen driver. Do I still hav to call priodically the D4CD_Poll() (I'm handling my own key handling)?
Is there anything I should know about this? ( the touch screen files are also in the project)
Thanks,
Shany