7" Capacitive Display (Touch) not working with iMX6 and Aster Carrier Board

I recently connected the 7" capacitive touch display to an Aster carrier board to see if I could get make it work. I was able to get the resolution changed using U-boot but I could never get the touch feature working.

I followed the instructions using the First Steps with Capacitive Touch. I tried all of the commands for the iMX6 but nothing would make a difference. I even tried flipping each end of the connector to see if it would help.

I also tried two separate displays and two separate cables.

Below are two text files. One is a dmesg log and the other is the output for fw_printenv fdt_fixup.

link text

I also took photos (below) of my installation.

link text

Any suggestions would be greatly appreciated. Thanks.

Scott

Hi @sbickle99

Your connections are correct. Since you are using the dedicated Interface Connector, you need to setup fdt_fixup differently. You applied the settings for the touch adapter which is needed only for the Colibri Evaluation Board.

Best regards, Jaski

Hi Jaski,

Thanks. I should have known better. I actually tried the other setup first but it didn’t work so I tried the ‘dedicated Interface Connector’ option just to see if it would make a difference.

My current fdt_fixup setup is below. Unfortunately it hasn’t made a difference.

setenv fdt_fixup 'fdt addr ${fdt_addr_r} && fdt set /soc/aips-bus@02100000/i2c@021a8000/atmel_mxt_ts@4a status okay'

Just to be clear, should I notice the touch working on the linux desktop after trying this command? Trying the modprobe atmel_mxt_ts option also does nothing.

Are there any other commands or tests I can run that help clarify things? Thanks again.

Scott

Hi Jaski,

I decided to try the display using WinCE and the touch works just fine. So, I can confirm that the connections and hardware are working properly.

I’m just not able to get it working with Linux, which is what I need for our application.

Scott

Hi Jaski,

I tried again using Linux and received the following output when executing the modprobe atmel_mxt_ts command.

[  337.296977] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_EIM_CS1 already requested by 21b8000.weim; cannot claim for 2-00a
[  337.308324] imx6dl-pinctrl 20e0000.iomuxc: pin-80 (2-004a) status -22                                                     
[  337.314913] imx6dl-pinctrl 20e0000.iomuxc: could not request pin 80 (MX6DL_PAD_EIM_CS1) from group mxt-ts  on device 20e0c
[  337.326808] atmel_mxt_ts 2-004a: Error applying setting, reverse things back                                              
root@colibri-imx6:~# [  337.462408] atmel_mxt_ts 2-004a: Direct firmware load for maxtouch.cfg failed with error -2          
[  337.470831] atmel_mxt_ts 2-004a: Falling back to user helper                                                              
[  337.488264] atmel_mxt_ts 2-004a: T100 Touchscreen size X799Y479                                                           
[  337.496087] input: Atmel maXTouch Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-004a/input/input7 
[  337.512584] atmel_mxt_ts 2-004a: Family: 164 Variant: 11 Firmware V1.2.AA Objects: 41  

Any ideas on why I’m getting these errors? Thanks.

Scott

hi @sbickle99

Thanks for the log. You need to set the uboot variable fdt_file device tree file to imx6dl-colibri-aster.dtb.
You can do this in two ways, either from Uboot or Linux.

UBoot: # setenv fdt_file 'imx6dl-colibri-aster.dtb' 
Linux : fw_setenv fdt_file imx6dl-colibri-aster.dtb

We need to add this in the documentation. Sorry for the Inconvenience.

Best regards, Jaski

Hi Jaski,

Thanks! It’s working now.

Scott

Perfect that it works. Thanks for the feedback.