2020-06-25 10:26 AM
Hey,
I want to use the stm32h743 mcu, and to connect with a touch screen interface RGB Bus.
in the EVB there is a capacitive touch screen.
Does someone used before a ressistive touch screen with the mcu, including a resistive touch controller ?
i would like to hear some recommendations.
thanks!
peleg
2020-06-25 10:57 AM
Touchscreen controllers tend to be pretty autonomous chips, usually connected through I2C, but otherwise entirely independent from the host mcu. So there's nothing like "this is the best touchscreen controller for STM32H7".
Pick one based on your requirements on speed, precision, cost, etc, read the documentation, get samples, implement the interface for a prototype, evaluate... the usual life cycle of any project.
JW
2020-06-26 12:42 AM
Resistive touch screens do not require a controller. A 4-wire resistive touch screen needs 2 ADC and 2 digital I/O pins, a 5-wire 1 ADC and 4 GPIOs. Any STM32 with enough pins can handle that.
2020-06-26 02:09 AM
hey, thank you for your answer.
i use 4 wire.
As i understand, there are 4 analog inputs, (Xp Xn Yp Yn) and 1 interrupt digital input when a touch occures.
what do i miss?
can you expain more ? why do no the a controller like AD7889?
if its helpful , i attech th D.s of the touch screen.
Best regards
Peleg
2020-06-26 02:50 AM
4-wire analog touch basics:
The 4 wires are called left, right, top, bottom.
To get the Y (vertical) position
To get the X (horizontal) position
To determine whether it is touched
There are more sophisticated methods to get the touch strength, but this is enough for starters.
Any STM32 can do that, if there are 2 ADC and 2 additional GPIO pins free. Of course I will not hold you back if you want to use an external controller for something that the MCU can do on its own.