Open Waldik opened 11 years ago
Hi Waldik,
I haven't time to look into this in detail until the weekend. My first guess is, that the SPI peripheral is shared with I2C.
Regards Adrian
SPI is definitely not the issue as I did not use SPI in this library :-P
Further discussion of the issue in this thread: http://forum.stellarisiti.com/topic/299-grlib-for-adafruit-320x240x18-tft-display/
Hi, I tested Stellaris-grlib-driver-Adafruit-TFT-ILI9325 library and work perfect. But, when I connect one sensor to I2C (sensor work fine without TFT library), he doesn't work. I found the problem in:
-> in function void Adafruit320x240x16_ILI9325Init(void) // Initializing display { LCDWriteData(0); } -> void LCDWriteData(const unsigned short usData) { LCD_DATA_WRITE(usData >> 8); // Send higher byte }
This function LCD_DATA_WRITE(usData >> 8) make somethink (I don't know what) and the I2C are disabled (I see, in the register MSMON is 0x00 (before 0x03, what is OK)).
Have You some idea, where is the problem? Thank you, Waldik.