4 years, 3 months ago.
Problem with SPI0 and SPI1 (MyTouch library)
I have a problem using a touch screen on a program.
I'm developing with the FRDM-KL25Z from Freescale and I connect to it an TFT display with SSD1289 lcd driver plus Touch sensor controlled by the XPT2046 touch controller.
I'm using this library for control the touch screen : - https://developer.mbed.org/users/micchassek/code/MyTouch/ -
I use it with success but not all the times.
with this definition of the object "touch":
the program works fine.
but if I use this(that the main difference is to use the SPI1 instead the SPI0):
the program doesn't works and this not mean that I can't only use the touch but all the program doesn't run.
anyone of you should know the issue? Thanks
4 years, 2 months ago.
Just verified with my logic analyzer: PTD7, 6, 5 SPI works fine for me.