Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPD on Tinkerboard #75

Open
alr2000 opened this issue Aug 2, 2017 · 1 comment
Open

EPD on Tinkerboard #75

alr2000 opened this issue Aug 2, 2017 · 1 comment

Comments

@alr2000
Copy link

alr2000 commented Aug 2, 2017

Hi, I´m trying to port the EPD device code for Tinkerboard.
I´m using Tinkerboard 1.9 OS. The gpio pins are fully compatible with the one on raspberry pi. I adapted the gpio.c and edp_io.h to match the tinkerboard gpio and spi device. But when I run the epd_test 2.0 I get:

28558861-25c8d6fe-7114-11e7-9779-fea3d4c8361f

I used this epd device on raspberry with the epd_test 2.0 without problems.

After a few test I discover that the spi behavior on Tinkerboard differs from Raspberry pi and the one indicated in the DS.
I send 3 bytes[0x80,0x82,0x81] with mode 0 and bit 8 bits per word, with no delay on raspberry:
img_1845
I send 3 bytes[0x80,0x82,0x81] with mode 0 and bit 8 bits per word, with no delay on tinkerboard.
img_1847

As you can seen the raspberry does a clock pause between each byte, but the tinkerboard doesn´t do this pause. Could it be the problem? I don´t now how sensitive is the clock pin on the display, but according with the DS, the behavior should be like the raspberry.
28871583-873cdfd0-7785-11e7-9cc1-b1803a51a0bc
I did a post on PiSupply/PaPiRus#140 where there is more info about the issue.

@repaper @CharmingSu

@shawaj
Copy link
Collaborator

shawaj commented Aug 21, 2017

The fix for this is shown here

PiSupply/PaPiRus#140 (comment)

We should incorporate into gratis repo at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants