Skip to main content
Associate II
August 14, 2024
Question

SPI transfer fail in communicating with xpt4096 in STM32MP151AAC?

  • August 14, 2024
  • 1 reply
  • 768 views

Dear All,

I have been developing touch screen with XPT4096.

When press touch screen, interrupt is generated.

Read Y, X, Z1, Z2, power down is sent to XPT4096.

During transferring message to XPT4096, transfer setup failed.

Please refer to waveform.

1CH : spi clock

2CH : interrupt

3CH : MOSI(to 4096)

4CH: MISO(from 4096)

touch_waveform_1.jpg

 

1 reply

yrkim05Author
Associate II
August 15, 2024

touch screen driver is xpt2046.

When press touch screen, interrupt is generated.

Interrupt thread is called and reading X, Y, Z by SPI.

SPI error happens on reading.

Please refer to the attached log.