×

SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

g4ry

Member Since: March 15, 2010

Country: United States

  • 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 :(