SPI with extension A0/DC #2352
ErikJensen1
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Your idea with the 9 bit is exactly the 3-wire SPI solution available with many displays. Maybe your display already has this mode. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many controllers have this extra pin A0/DC and it is not a problem for the parallel port solution except you need an extra output pin. If you use at serial solution like SPI this extra pin is difficult to implement and time consuming for the cpu.
Could it be an idea to put data in a buffer with 9 bits and in the spi interrupt routine set/reset the A0/DC output pin and then send the 8 bit SPI data? Or are there any other smart solutions to solve this? Buy the display with another controller that avoid the A0/DC is of course a solution.
Best regards
Erik
Beta Was this translation helpful? Give feedback.
All reactions