* How to satisfy specific timing diagram
@ 2008-12-23 16:42 Guennadi Liakhovetski
0 siblings, 0 replies; only message in thread
From: Guennadi Liakhovetski @ 2008-12-23 16:42 UTC (permalink / raw)
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi all,
I have to send a command equence to the S6E63D6 SPI display controller
(just google for it, the first non-sponsored link has a datasheet). But
its write timing diagram made me wonder how to achieve it... It has 16-bit
registers, and the timing diagram looks like
1. CS down
2. send 1 start byte
3. pause the clock, hold CS
4. send 2 bytes register address back-to-back
5. stop clock, CS up
similarly you send data. So, what makes me uncertain is this pattern - 1
byte, pause, 2 bytes back-to-back. All three bytes while holding CS. I
tried just sending a 3-byte buffer, doesn't seen to work at first. Is
there a way to reproduce this with the current SPI API?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-23 16:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-23 16:42 How to satisfy specific timing diagram Guennadi Liakhovetski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).