1 2 Previous Next 17 Replies Latest reply on Nov 9, 2020 4:36 AM by LePo_1062026

    PSoC 6 (CY8CKIT-062-BLE): cannot display QRCode on the screen

    FaSa_4703936

      I am using the CE223727 (EmWin_EInk_Display) example project. The objective is display some info on the screen and a QRCode.

      I am using the following 2 functions: GUI_QR_Create and GUI_QR_Draw from the library emWin. When i 'Build' the project I have no problem at all, but when I 'Debug' it stops into the function GUI_QR_Create and it goes to an error handler.

      Here's a snippet of the code I use:

         /*QRCode*/

          GUI_HMEM qrCode = GUI_QR_Create("Display Something", 33*33, GUI_QR_ECLEVEL_H,0); //UTF-8 text to be used for the QR-code

         

          GUI_QR_Draw( qrCode, 15*8, 95);  //Handle of the QR-code to be drawn.

       

       

          /* Send the display buffer data to display*/

          UpdateDisplay(CY_EINK_FULL_4STAGE, true);

      And as soon as I do Step into after the first line it falls into __WEAK void Cy_SysLib_ProcessingFault.

      Do you know what causes this behavior and how can I solve this issue?

        1 2 Previous Next