6 Replies Latest reply on Dec 15, 2015 3:09 AM by user_1377889

    strange problem with HD44780-LCD-Controller

    andreas.kreuzer.ak2_1499391

      I have a very strange problem with a LCD-Display and I need some help.

         

      My setup is a CY8CKIT-049-42xx with PSoC 4, a HD44780-LCD display with 2x16-characters.

         

      I used the bootloadable-example and added the LCD-Component 2.10 (name LCD) and mapped the output to Port P2.0-6, connected to the display as described in the datasheet.

         

      I checked several times all the cables and tried several options but the strange behaviour stayed.

         

      Here is my code in main, with comments what happens on the display:

         
          int main()    
      {    
          LCD_Start();    
          LCD_PrintString("Test");  // only "t" is displayed.    
          CyDelay(500);    
          
          uint8 i=0;    
          for(i=0;i<80;i++)    
          {    
                     LCD_PrintInt8(i);  // This prints 0-F in the upper left corner of the LCD. but only one digit    
                    CyDelay(333);    
          }    
          j++;    
          LCD_PrintString("Hallo");  // only "o" is printed    
          CyDelay(500);       
      }   
         

      What puzzles me is the fact, that it prinzipally seems to work. The character 0-F are printed fine.

         

      But neither PrintString nor PutChar or any other functions seem to work.

         

      Can anybody help? Did I forget so set anything?

         

      Thanks

         

      Andreas