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

Cypress PSoC 5 (and PSoC 4) support for SPI I/F #396

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

christof65
Copy link
Contributor

both Cypress PSoC 5 and 4 are supported via the master SPI hardware interface.
SPI interface in Cypress PSoC Creator has to be set according to the display driver chip's protocol. (phase, clock rate)
Naming has to be consistent such that Creator code generation complies with naming within this file.
Should work (tm) with the majority of SPI enabled graphic chips, presently in use with DOGM128-6 display and STxxxx chip.

Support for Cypress SPI module on PSoC 5 / 4
Display controllers SSDxxxx and STxxxx may be supported according to H/W configuration of SPI module Cypress PSoC Creator dev. environment.
both Cypress PSoC 5 and 4 are supported via the master SPI hardware interface.
SPI interface in Cypress PSoC Creator has to be set according to the display driver chip's protocol. (phase, clock rate)
Naming has to be consistent such that Creator code generation complies with naming within this file.
Should work (tm) with the majority of SPI enabled graphic chips, presently in use with DOGM128-6 display and STxxxx chip.
@christof65
Copy link
Contributor Author

sorry, last commit is the one and only.
Had it in a wrong folder first.

@jasonkahana
Copy link

Christof,

By any chance do you have an example sketch that is PSoC code? That is, a PSoC workspace that is in .cydsn format that can be looked at in PSoC creator?

Thank you so much!!

@christof65
Copy link
Contributor Author

Jason,
could do this.
However, the project organization is such that it makes use of the u8glib library as a PSoC Creator library project. As such it needs some knowledge about this and how to deal with library projects, pragmas, etc. It is not so straight forward as the as the project needs to refer to lib and the lib itself needs to refer to the project (as some chip specific code is needed for stubbing the delay function required by u8glib)
I could provide a zipped Creator & Library project "as is" (Hello, world!) without any further support if you provide me an e-mail address
Christof

@alex-marinov
Copy link

Hi Christof,

Could I have a copy of your "Hello world" creator&library project please. Here is my email; [email protected]

Thanks,
Alex

@christof65
Copy link
Contributor Author

LCD_Display_DOGM128_6_Brd_049_Copy_01.cydsn.zip
img_1699

@alex-marinov
Copy link

Thanks, that's fantastic!

Alex Marinov, MSc.
Design Engineer
Marinov Engineering Ltd.
m: +44 7833 468181
w: www.marinoveng.co.uk

On 18 October 2016 at 10:56, christof65 [email protected] wrote:

LCD_Display_DOGM128_6_Brd_049_Copy_01.cydsn.zip
https://github.com/olikraus/u8glib/files/535892/LCD_Display_DOGM128_6_Brd_049_Copy_01.cydsn.zip
[image: img_1699]
https://cloud.githubusercontent.com/assets/329548/19472974/d305b854-9529-11e6-9512-7a5dde32d199.jpg


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#396 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAd6RCLOTOOei0SiiIdxjLTjNyTKeOwYks5q1Je_gaJpZM4Hr6u0
.

@olikraus
Copy link
Owner

Nice picture

@olikraus
Copy link
Owner

actually i am not able to properly pull this, because i am not working any more on this project.

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

Successfully merging this pull request may close these issues.

4 participants