i've been fighting a similar fight a couple of days ago ... the routines in the last posts work but the basic idea is there ...
http://www.lcdforums.com/forums/viewtopic.php?t=1893
please let me know if you have problems with my technique .. and also any suggestions for improvements.
Search found 8 matches
- Wed Apr 14, 2004 10:29 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: PICF452 I2C routine in microchip C
- Replies: 1
- Views: 2583
- Wed Apr 14, 2004 4:18 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: LK404-55 I2C and CYGNAL 8051F020
- Replies: 7
- Views: 5097
i hope this helps
I was asking many of the same questions you're thinking right now ... i posted some of my code at this link in the hardware forum
http://www.lcdforums.com/forums/viewtopic.php?t=1893
you could check out the hail_LCD_display function. the basic stuff is there. i could send you the final code if you ...
http://www.lcdforums.com/forums/viewtopic.php?t=1893
you could check out the hail_LCD_display function. the basic stuff is there. i could send you the final code if you ...
- Wed Apr 14, 2004 3:20 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
some missing details ...
I forgot to mention ... I am running the PIC 18F452 with a 4MHz clock and soon to be 40MHz. I do not use any delays within the code to try to slow the transmission of data.
One suggestion - An even more efficient implementation can use ISRs to supervise the transmission of the data bytes if an ...
One suggestion - An even more efficient implementation can use ISRs to supervise the transmission of the data bytes if an ...
- Wed Apr 14, 2004 3:09 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
some working code for the masses!
OK! after 6 days of ponderation and deliberation about the true meaning of that criptic passage ala section 2.2.3 of our spec sheets.
Im posting some of my code that seems to be working for the sake of contributing to the wealth of knowledge at this forum. The code seems to be working fine. I can ...
Im posting some of my code that seems to be working for the sake of contributing to the wealth of knowledge at this forum. The code seems to be working fine. I can ...
- Wed Apr 07, 2004 9:22 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
The two GLC24064 displays that i purchased both send NACKs (most likely) when data was sent too quickly.
just to be clear, the NACK or ACK is sent by the display (the slave) and not the PIC (master) - that is another reason section 2.2.3 is not clear.
The display does not implement flow control on ...
just to be clear, the NACK or ACK is sent by the display (the slave) and not the PIC (master) - that is another reason section 2.2.3 is not clear.
The display does not implement flow control on ...
- Wed Apr 07, 2004 11:51 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
documentation
I've been reading a couple of posts that have dealt with the I2C communication. You (the techs from matrix orbital) insist on directing everyone to section 2.2.3 in the manual. My English is not the clearest, however, I don't think this section is the clearest of descriptions of the shortcoming of ...
- Mon Apr 05, 2004 12:58 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
- Mon Apr 05, 2004 12:16 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: glc-24064 I2C lockout!!
- Replies: 10
- Views: 9275
glc-24064 I2C lockout!!
I seem to have the nack (no pun intended) of receiving nacks on the I2C bus! I can't seem to send any commands without receiving a nack on at least one byte. however, i can't seem to communicate with the device unless i cycle the power supply.
Can anyone tell me how to regain communication with the ...
Can anyone tell me how to regain communication with the ...