could PSOC emWin support 4 gray e-ink

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
pewu_3988681
Level 1
Level 1

Hi Cypress :

I refer https://www.cypress.com/documentation/code-examples/ce223727-psoc-6-e-ink-display-interface-emwin-gr...    

the demo example is use mono e-ink

we would like to bring up 4 gray e-ink display .

1.  this is my PDL setting

pastedImage_4.png

2. after check emwin document ,  I config GUICC_1 to GUICC_2 in LCDConf.c

pastedImage_0.png

pastedImage_1.png

3. clean and build are ok.  After program , it boot hang at GUI_Clear  , GUI_DrawBitmap.  those API are in emwin lib .

     could help me check what I missed ?

4. attach CE223727.7z that I modified .

0 Likes
1 Solution

I had a look at the link you attached for the display you are using. Looks like the display is compatible only with the HULK evaluation kit and the Firmware programmer (MSP-EXP430G2) which is provided with the kit to load images on to the display.

When interfacing any display there are a number of steps that need to be followed for initialization and these steps are mentioned in the datasheet of the display driver. But I see only a quick start guide kind of documen available which uses the HULK eval kit and the Firmware programmer (MSP-EXP430G2) software.

I'm not sure where to look for it, please check with the display manufacturer. Once you find the initialization sequence for the display, please send those values using the SPI during the LCD Init. For example, in the code example CE223727, you will find the file "pervasive_eink_hardware_driver.c" where there is a function Pv_EINK_InitDriver(void) which does the initialization. You need to modify this file with your sequence.

Hope this helps. Let me know if you have any further queries.

Regards,

Dheeraj

View solution in original post

0 Likes
3 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Please let us know which display you are using. Check if the display has support for 2 bits per pixel (bpp). If you are using the display that comes with the CY8CKIT-028-EPD Shield, then note that using 4 grayscales (which is 2bpp) won't work since the display only supports 1bpp.

You can find this information in the datasheet in the section "Writing to Memory" here.

Attach the datasheet of your display for further help.

Regards,

Dheeraj

0 Likes

I had a look at the link you attached for the display you are using. Looks like the display is compatible only with the HULK evaluation kit and the Firmware programmer (MSP-EXP430G2) which is provided with the kit to load images on to the display.

When interfacing any display there are a number of steps that need to be followed for initialization and these steps are mentioned in the datasheet of the display driver. But I see only a quick start guide kind of documen available which uses the HULK eval kit and the Firmware programmer (MSP-EXP430G2) software.

I'm not sure where to look for it, please check with the display manufacturer. Once you find the initialization sequence for the display, please send those values using the SPI during the LCD Init. For example, in the code example CE223727, you will find the file "pervasive_eink_hardware_driver.c" where there is a function Pv_EINK_InitDriver(void) which does the initialization. You need to modify this file with your sequence.

Hope this helps. Let me know if you have any further queries.

Regards,

Dheeraj

0 Likes