I'm porting Adafruit's ST7735 driver to XMEGA. I've XMEGA-ified lots of code so it should be working, but I see no picture on the screen!
I would like if someone could test this code and look through it and tell me what I'm doing wrong.
Are you seeing the correct signals on the SPI pins? (MOSI and SCK)
Are the SPI signals going to the ST7735 too fast for the ST7735 to recognize?
Does the ST7735 under test work with a standard Arduino UNO or Nano?
I don't have any measurement equipment at the moment, but I believe the connection is established. I checked the pinouts and the code. It might be a problem there, but I doubt.
The SPI signals are going at clkPER/4 which is 8MHz. I tried clkPER/16, but it still didn't work.
I have an Arduino derivative called Croduino. It's the same as Arduino UNO, just very tiny. It has the ATmega328 chip and the graphics demo works there.
© 2022 Microchip Technology Inc.