i moved the GLK from the PIC serial port to the I2C bus. Only problem is that there is high error (characters are lost, garbled, skipped). I have the bus speed set for 100kBps (10khz) operation.
I infact CAN connect to the GLK. my host unit ignores ACK.
i have tried various delay times in between sends, and nothing seems to work. are there any specific timing considerations i should be aware of?
(btw, display works great on PIC serial port:



this is a snippet of my write code:
Code: Select all
call i2c_start
movlw h'50' ;LCD write address
call i2c_write
movlw 'H'
call i2c_write
movlw 'e'
call i2c_write
movlw 'l'
call i2c_write
movlw 'l'
call i2c_write
movlw 'o'
call i2c_write
call i2c_stop