Arduino Due Cannot use pin as digital after analogRead in TFT + TouchScreen

Hi All,
I am using 3.95" TFT +TouchScreen from mcufriend
I am using A0 A1 A2 A3 A4 for LCD control Signals and A1 and A2

LCD_RD A0
LCD_WR A1
LCD_RS A2
LCD_CS A3
LCD_RST A4

LCD_D0 8
LCD_D1 9
LCD_D2 2
LCD_D3 3
LCD_D4 4
LCD_D5 5
LCD_D6 6
LCD_D7 7

Touch Screen Y+ A1
Touch Screen X- A2

Touch Screen X+ 7
Touch Screen Y- 6

I am using the adarfruit graphics and touch screen library.

The display works only once in tftpaint demo. The touch co-ordinates are not read and the Display Screen is not updated after calling TSPoint p = ts.getPoint();.

Any function to write to LCD does not work.

I am stuck up with this for a while.

Please help...