AnsweredAssumed Answered

SPI RECEIVE DATA

Question asked by prieur.jean on Jun 10, 2013
Latest reply on Jun 12, 2013 by prieur.jean
Hello,

I am programming a resistive touch screen controller, the AR1021-I/SS.

http://ww1.microchip.com/downloads/en/DeviceDoc/41393B.pdf

This device communicates with a SPI port. Data are transmitted on SDO at SCK falling edge, but we can also configure the chip on SDA.

For the moment I just want to get back data of the touch screen controller, according to this figure:
SPIfigure.JPG

IRQ is an interruption which goes high when the user touch the screen.

What is the proper way to generate the clock 5 times (like beat banging) on SCK? I try GPIO_SetBits/GPIO_ResetBits on SCK but it didn't works... 

Thanks !

Outcomes