Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | Intercept LCD Writes

Discussion forum for the BasicX family of microcontroller chips.

Intercept LCD Writes - john_hightower - Sep 7 9:12:46 2007

I am trying to capture data from a handheld device that has a
proprietary processor that is writing to a Hitachi HD61603 LCD driver.
I need to read the bit streams from 4 data lines to determine what is
written to the display. Each bit stream contains 16 bits of data plus
start and stop bits and takes just under 3 milliseconds. I found the
protocol at http://www.pacificdisplay.com/ics_app%
20notes/hitachi/HD61602-61603.pdf.

Is there a way to read this into a bx-24? The InputCapture function
will only allow me to monitor one line.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: Intercept LCD Writes - Tom Becker - Sep 7 14:21:44 2007

> ... InputCapture function will only allow me to monitor one line.

If you need to essentially tap real time display data, you're right,
InputCapture can't do more than one line concurrently so it wouldn't be
useful. If this is a bench experiment to reverse-engineer something,
though, you could use InputCapture to do the same test four times, once
for each line. But...

> ... Each bit stream contains 16 bits of data plus start and stop bits
and takes just under 3 milliseconds.

That's an average of ~ 5.3kHz. I think that's too fast to sample five
input pins (4x data, + WE clock) simultaneously (by reading
register.PINC for pins 5-12, for example) on the BX-24p, but not by
much. Certainly a small AVR or PIC could do that quickly enough, and
you can find a another BX-24-like product that might do it, too. You
could also build a hardware interface, one that shifts 4x4 bits in,
clocked by the display's WE, and which shifts 1x16 out to the processor,
using ShiftIn or SPI.
Tom

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )