'[HD44780] Controller received data whist busy' error while simulating


Closed Thread
Results 1 to 3 of 3
  1. #1

    Default '[HD44780] Controller received data whist busy' error while simulating

    I am getting '[HD44780] Controller received data whist busy' error while simulating in proteus. Is there any delay I should consider, if then when and how much? Thanks

    code:
    Code:
    	
    Gosub clear lcd
    
    main:
    ' other calculations
    LCDOUT $FE,$80,"P>",DEC P1,".",DEC P2,DEC P3,"  ","CURRENT"
    LCDOUT $FE,$C0,"I>",DEC I1,".",DEC I2,DEC I3,"  ","TEM>",DEC S1,DEC S2,".",DEC S3
    LCDOUT $FE,$90,"D>",DEC D1,".",DEC D2,DEC D3 ;," ", DEC DEL
    LCDOUT $FE,$D0,"SET TEMP>",DEC T1,DEC T2,".",DEC T3
    goto main

    clear_lcd:
    LCDOUT $FE,$01,$02
    return
    ___________________
    WHY things get boring when they work just fine?

  2. #2
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: '[HD44780] Controller received data whist busy' error while simulating

    Well the most obvious thing is your calling a sub that doesn't exist.

    Second would be better if you showed all your code as it's not obvious where the snippet shown fits.

    Just sayin'.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: '[HD44780] Controller received data whist busy' error while simulating

    According to the data sheet most instructions take 3 cycles except "Clear display" which takes 165. Suggest you explicitly declare the defines related to LCD operation and specifically LCD_COMMANDUS and LCD_DATAUS. Play with these values till Proteus is happy or turn off the warning if it works in your real world config.

    George

Similar Threads

  1. Replies: 2
    Last Post: - 15th December 2012, 02:19
  2. display received data
    By NURULHAIZA in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th May 2010, 07:03
  3. 4 or 8 bit LCD data bus (HD44780)
    By sumkrnboy in forum General
    Replies: 1
    Last Post: - 10th May 2008, 22:05
  4. DS18B20 Busy Flag
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th November 2006, 14:21

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts