u8glib icon indicating copy to clipboard operation
u8glib copied to clipboard

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

Open christof65 opened this issue 8 years ago • 8 comments

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 avatar Mar 08 '16 16:03 christof65

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

christof65 avatar Mar 08 '16 16:03 christof65

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!!

jasonkahana avatar Mar 13 '16 05:03 jasonkahana

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

christof65 avatar Mar 21 '16 12:03 christof65

Hi Christof,

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

Thanks, Alex

alex-marinov avatar Oct 17 '16 16:10 alex-marinov

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 https://github.com/olikraus/u8glib/pull/396#issuecomment-254461731, or mute the thread https://github.com/notifications/unsubscribe-auth/AAd6RCLOTOOei0SiiIdxjLTjNyTKeOwYks5q1Je_gaJpZM4Hr6u0 .

alex-marinov avatar Oct 18 '16 22:10 alex-marinov

Nice picture

olikraus avatar Oct 24 '16 05:10 olikraus

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

olikraus avatar Oct 24 '16 05:10 olikraus