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

u8g_WriteEscSeqP() not working with USMP-P19801 (SEPS114A) #311

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

Have successfully brought up the SEPS114A by pasting SPI commands into into a 
file named u8g_dev_USMPP19801.cpp with suitable header files. Of course, have 
successfully brought up the display with a simple test sketch as well.

However, running the same initialization sequence through u8g_WriteEscSeqP() is 
not bringing the device up. Oscilloscope tests seem to confirm at least the CS 
pin is toggled during the process, though the timing may be wrong.

This is a rather nice wristwatch-sized full-color OLED module. Would be neat to 
properly support u8glib's fonts and graphics support.

Please examine the following code.

http://pastebin.com/6NLW4hiK

Note the rawDispInit() and dispCommand() functions do work in this context when 
uncommented.

Original issue reported on code.google.com by spamfree...@gmail.com on 20 Jan 2015 at 5:31

@GoogleCodeExporter
Copy link
Author

The sequence is empty:
tatic const uint8_t u8g_dev_usmpp19801_init_seq[] PROGMEM = {
        U8G_ESC_END
};
So it will not work. Also such displays (SSD1351) are better supported by 
uCglib.


Original comment by olikr...@gmail.com on 20 Jan 2015 at 5:54

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Thanks for the quick reply!

That sequence is just a commented out empty test sequence. The real sequence is 
above, and uses a preprocessor macro to abstract the comm_write() statements.

Original comment by spamfree...@gmail.com on 20 Jan 2015 at 5:58

@GoogleCodeExporter
Copy link
Author

Also, uCglib seems to use very similar constructs to manage displays. Not sure 
I will find it easier to port SEPS114A support there.

Original comment by spamfree...@gmail.com on 20 Jan 2015 at 6:06

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

No branches or pull requests

1 participant