| ??? 04/27/08 11:13 Read: times |
#154032 - Silabs C8051F020 and LCD busy bit |
The following code to check the Busy bit works fine with a P89C51RD2 and the HD44780 LCD displays OK.
void chkBusy (void) // Check if LCD ready to accept next command { LCD_PORT = 0xff; // Set data port for input while (BusyBit) // Remain in loop till busy bit is high { LCD_ENB = 0; bitDelay(); // A 5us delay for a defined pulse LCD_ENB = 1; } } However with the Silabs chip, I am configuring P0 as the LCD_Port in the cross bar in Push-Pull mode. And the above function does not work. ( But if I use a fixed 2ms delay instead of checking the Busy bit then the display if OK - so not to doubt the LCD , connections etc. ) Any pointers to what could be wrong ? Thanks Raghu |
| Topic | Author | Date |
| Silabs C8051F020 and LCD busy bit | 01/01/70 00:00 | |
| of course, it don't | 01/01/70 00:00 | |
| Pushpull... | 01/01/70 00:00 | |
| Problem solved | 01/01/70 00:00 | |
| Misinterpreting | 01/01/70 00:00 | |
| Another one on the Silabs IDE.. | 01/01/70 00:00 | |
| SiLabs to Keil | 01/01/70 00:00 | |
| post this in the SILabs forum | 01/01/70 00:00 | |
| editor is not keil | 01/01/70 00:00 | |
| never used it, but .... | 01/01/70 00:00 | |
ASS U ME | 01/01/70 00:00 | |
| my very reason for not doing the push-pull | 01/01/70 00:00 |



