Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
<section begin="History" />
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X.Y.Z{{oldid|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"12508|Month Year2021/01/11}}|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBDFirst Release
|-
|-|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD|-|! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fbededed; padding:5px; color:#000000"|...2023/09/01|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...|! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fbededed; padding:5px; color:#000000"|...Add USB touchscreen
|-
|}
<section end="History" /><section begin="Body" />
==Touchscreen interface ==
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''=== Description ===''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''The Touchscreen interface is available on USB or I2C interface connectors.
ETRA Evaluation Kit uses, by default, the USB interface for connecting the touchscreen controller. Anyway, the I2C interface is available too and - optionally - can be activated in the device tree for enabling the I2C touch controller driver. === Description USB touchscreen === The USB OTG port - available on J16 connector - is configured as USB Host controller for driving the touchscreen. For this purpose, it is required to enable the <code>USB OTG ID</code> signals a low. This can be possible using the S1.4 DIP switch which forces the ID signal as low: [[File:ETRA-EVK-USB-touchscreen.png|thumb|center|300px|Touchscreen connector]] [[File:ETRA_EVK-S1.4-USB_OTG_ID.png|thumb|center|300px|USB OTG ID set to low]]
The Touchscreen interface available on the Evaluation Kit at the connector ''TBD:Jxxx''. === I2C touchscreen ===
''Jxx'' The I2C touchscreen interface is available on the Evaluation Kit at the connector J20. J20 is a ''TBD:connector6-type'' header pin Molex PicoBlade connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader I2C and operating system serial console)control signals needed by most of the capacitive TSC.
This interface can be configured to work with 3.3V (default) or 5V power and signal levels.
[[File:{{{nomeETRA-som}}EVK-EVBI2C-Touchscreen-connectortouchscreen.png|thumb|center|500px|Touchscreen connector]]
====Signals ====
The following table describes the interface signals:
{| class="wikitable"
! latexfontsize="scriptsize"| Pin#! latexfontsize="scriptsize"| SOM Pin#! latexfontsize="scriptsize"| Pin name! latexfontsize="scriptsize"| Pin function! latexfontsize="scriptsize"| Pin Notes
|-
|1,2,4,6,,7,8,10
| -
| N.A.DGND| N.C.Ground| Not connected
|-
| 32| J1J18.18948| RS232_RXTOUCH_SDA| Receive lineI2C_SDA
|
|-
| 3
| J1J18.18738| RS232_TXTOUCH_SCL| Transmit lineI2C_SCL
|
|-
| 94|J18.101| TOUCH_VDD| TSC power| powered through a control switch| -| DGND5|J18.201|TOUCH_INT|TSC interrupt|input|-|6|J18.199|TOUCH_RES| GroundTSC reset| output
|}
=== Device mapping ===
UART3 The device is typically mapped to <code>/dev/ttymxc2touchscreen0</code> device in Linux.  The peripheral touch controller is used as attached to the default serial console, both for the bootloader and the kernelgeneric Linux input event interface (evdev).
=== Device usage ===
The simplest tools for touch screen management are the <code>tslib</code> library and <code>ts_tools</code> utilities. To connect to calibrate the debug serial port: # connect touch screen, the DB9 adapter bracket to <code>ts_calibrate</code> command line tool is available. After calibration, the J22 connector on touch screen can be tested using the SBCX board# connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)# start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1graphical <code>ts_test</code> utility or the <code>ts_print</code> command line tool.
----
[[Category:ETRA]]
8,253
edits