I bought myself this LCD: click me
It's supposed to show error codes and I'd like to play with a LCD and my new scope :) I use a tiny2313 to controll it, which will receive commands from the "to be debugged" controller (application). Now I wonder what to use for communication. UART is comfortable but seldom unused. Since I'm always short on I/O pins I'd like to use only one or two pins of the application ÂµC. My best plan so far is to use a INT input of the tiny2313 and bit bang it with a self made protocol. Something like:
Start signal - "instruction or data?" Bit - payload - checksum
Since that uses a timer on both sides and a lot of programming (sending and receiving routines) I wonder if there are better solutions? (I'll read the USI part in the datasheet tomorrow ... only worked with UART and a self made wired-OR communication so far)
Page 9 of the datasheet shows the pin connections. What do I need to connect to Pin3 V0? Do I need a resistor at pin15 or 16?
PS: maybe I can realize the timing on the application side with a couple of nops