cancel
Showing results for 
Search instead for 
Did you mean: 

SPI transfer fail in communicating with xpt4096 in STM32MP151AAC?

yrkim05
Associate II

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 1
yrkim05
Associate II

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.