March 15, 2010
about 5 years ago
Obviously, using a soft SPI was the key, giving full control over the MOSI line.
Approximately 6 months ago I wrote code to autodetect whether the module was Epson or Phillips in firmware. All you have to do is send the ID request byte (0xDA), then flip the MOSI (treat it as MISO) and clock a couple byte reads. If it replies, it’s a Phillips, if it doesn’t, it’s Epson. It really is that simple. I can’t remember the actual byte that it replies with, but the Phillips always replies with something, while the Epson never replies.
I would post the C code, but unfortunately it was done for a company, and I am not allowed. I’m sure you can fill in the blanks though :) Hope this helps.
No public wish lists :(
Forgot your password?
No account? Register one!