Hello,

I'm working on a decoder for ST7735 TFT display controller. You can find a
draft of the decoder in the attachment. Currently it doesn't do much.

The protocol of ST7735 is based on SPI, but it also uses one additional
pin, DC, to distinguish data and commands. This is quite a common practice,
SSD1306 and compatible controllers do this as well.

Unfortunately I didn't find a way to combine input for my decoder from
different sources - in this case from spi and logic. Naturally I could just
write a decoder that wouldn't rely on spi decoder, but I would like to
avoid counting bits (which is already implemented in spi decoder) if
possible.

Here is how protocol looks like:

https://afiskon.ru/s/06/845b982943_temp.png

On the screenshot you can see the command 0x2A which if followed 3 data
bytes: 0x00, 0x02, 0x00. Note how CS and DC are changing. Ignoring DC is
not an option in this case since data length is varying for some commands.
Also I can't rely on CS since it can be changed after sending every byte.

How would you suggest to solve this issue?

-- 
Best regards,
Aleksander Alekseev

Attachment: st7735-v0.tgz
Description: application/gzip

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to