ST7735

Use this section to discuss your embedded Flowcode projects.
WingNut
Posts: 254
http://meble-kuchenne.info.pl
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

ST7735

Post by WingNut »

Which component can be used to implement this display? I have a couple of these but not sure which flowcode component can be used to develop a circuit

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Soooo the only component I can get to actually print anything on the display is by using ili9163c1. It pretty much does everything it should except that it is desperately slow updating the screen. I've tried different clock speeds and even clock settings.
Is there anything that i can do to this driver to improve the speed or does it need a whole new component?
I'm using the AZDelivery module https://www.amazon.co.uk/gp/product/B07 ... UTF8&psc=1

N
Attachments
18f2620 st7735 oled test.fcfx
(12.2 KiB) Downloaded 96 times

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Can anyone give a pointer for this?

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: ST7735

Post by mnfisher »

I've ordered one and will have a play when it arrives...

Martin

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Thanks Martin. For info this module performs the same https://www.amazon.co.uk/gp/product/B07 ... UTF8&psc=1

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: ST7735

Post by mnfisher »

First contact....

The board arrived and works well using the Adafruit code - and is very similar to the ST7789 (which I did some work on before...) I modified the code to use transactions for SPI transfers - and needed new init data. And so far- nothing :-( I can't see how the initialisation data I send differs from the Adafruit init - and despite my best efforts I couldn't get an oscilloscope to record the SPI transactions (from the Adafruit code - though managed with mine - which is maybe a clue).
So - next step is to program another Arduino as an SPI slave to record the data passed and see if anything stands out...
Note I've used an Arduino Nano as a test bed (initially I intended to use ESP32 - but there is an issue 'downgrading' the CAL_SPI component when changing target)

If anyone would like to try some debugging
st7735.fcfx
(41.08 KiB) Downloaded 93 times
Note this just attempts to init the display and then fill with a colour... There is a fair bit of debug code - and currently working t the CS/SS line myself (have tried both ways.) I have 'reset' pin connected to the Arduino reset pin so don't call reset macro (and I've tried both ways)

Martin

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Ohh. And i thought it was just a case of a slight modification to the GLCD (ILI9163C) macro which seems to work but is very very slow

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Ive tried this a while back and it works fine. https://simple-circuit.com/st7735-tft-l ... -compiler/
Is it any use to you?

N

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: ST7735

Post by mnfisher »

Yes - I used the Adafruit code as well...

It does look too only by a modification of the 7789 though - so once we are talking to it we are good... Fingers crossed.

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: ST7735

Post by WingNut »

Ive switched back and forth between the 7789 driver and the ILI9163C and the ILI9163C is a definitely a little faster

Post Reply