Need help with this code (ST7735 driver port)

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

https://github.com/Zvoc47/Adafru...

 

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.

Thank you.

Last Edited: Sat. Jun 18, 2016 - 10:42 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.