Closed
Description
I'm trying to get a ST7735 display to work with Trinket M0, and it seems that Trinket's SPI behaves very strangely. Here is a screenshot of a capture of a fragment of the transmission:
and here is a close-up on one of the fragments:
Here's the complete capture for analysis:
cap.logicdata.zip
And here is the code that I used to capture that:
>>> import busio, digitalio, board
>>> from adafruit_rgb_display import st7735
>>> cs = digitalio.DigitalInOut(board.APA102_MOSI)
>>> dc = digitalio.DigitalInOut(board.D0)
>>> rst = digitalio.DigitalInOut(board.D1)
>>> spi = busio.SPI(clock=board.D3, MOSI=board.D4)
>>> d = st7735.ST7735R(spi, cs=cs, dc=dc, rst=rst)
Looking at the capture, two things are immediately striking:
- the polarity of the data line is wrong
- there are strange blips happening on both clock and data lines in between the actual bytes being transmitted
Metadata
Metadata
Assignees
Labels
No labels