STM32: Write XPT2046 resistive touch screen driver (analog SPI)

​ 1. Environment introduction The microcontroller adopts:STM32F103ZET6 Programming software:cone5 Programming language:C language Programming style:Register development. Target chip:XPT2046—Standard SPI interface timing 2. Introduction of XPT2046 chip 2.1 Function XPT2046 is a 12-bit ADC chip, which can be used as an ordinary ADC chip, but is generally used on resistive touch screens to facilitate positioning of touch […]

Read More