Pages: [1]   Go Down
Author Topic: Is this an existing library protocol?  (Read 698 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Hi,

I want to connect my Arduino to a CS1694 display driver chip. The 3 wire interface this uses has the signals STROBE, CLOCK and DATA IN/OUT.

From the data sheet is seems we lower STROBE and clock the data bits in or out. CLOCK is lowered before each bit is read/written and raised half way through each bit and then lowered before the reading/writing the next bit. The minimum data pulse width is 800ns.

Is this a commonly used communication format with a library to use?

TIA

b1ackmai1er


Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 614
Posts: 49343
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like a perfect match for SPI, to me.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Thank you. I checked out the SPI wiki and it does indeed look like a version of SPI with a bidirectional data line.
I will give that library a try.

Thanks for you help.

Regards b1ackmai1er
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

SPI ( as implemented in the Arduino SPI library code) to my understanding and past use does not use or have avalible a bidirectional data signal. Rather it uses seperate send and receive data signals, MOSI and MISO are the two data lines, along with a master clock output signal and a master out Slave select signal make up the SPI electrical interface signals.

Or did I misunderstand something?

http://arduino.cc/en/Reference/SPI

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Lefty I think you are right but I think I can get away with this by having a diode on the arduino input and output line and then tying them together to connect to the CS1694 chip.

Sounds good in theory anyway!

regards b1ackmai1er
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I am also trying to interface with CS1694
I can only find a Chinese data sheet.
Do you have an English copy and did you have success in interfacing with it?
Thanks
Logged

Pages: [1]   Go Up
Jump to: