Programming ScreenKeys with BS2?
tuomo
Posts: 6
Hi,
We got our hands on nice button with LCD screen and got stuck in programming it. The screen data is bitshifted to the driver chip inside the button, but it is programmed with two pins, data and clock, no enable or pulsout pin as we have used to do. The screen needs constant clock signal for data and LCD refresh. Does this mean additional clock chip or crystal or can the constant clock stream and the occational screen data dump be done with BS2 somehow? If anyone has any ideas and can take a quick look at their documentation pdf and drop us some ideas, we would be most grateful:
www.screenkeys.com/downloads/RGB24_ScreenKey_Datasheet_v2.0.pdf
www.screenkeys.com
Their devkit seems to be atmel based.
cheers,
-tuomo-
www.tiletoy.com
We got our hands on nice button with LCD screen and got stuck in programming it. The screen data is bitshifted to the driver chip inside the button, but it is programmed with two pins, data and clock, no enable or pulsout pin as we have used to do. The screen needs constant clock signal for data and LCD refresh. Does this mean additional clock chip or crystal or can the constant clock stream and the occational screen data dump be done with BS2 somehow? If anyone has any ideas and can take a quick look at their documentation pdf and drop us some ideas, we would be most grateful:
www.screenkeys.com/downloads/RGB24_ScreenKey_Datasheet_v2.0.pdf
www.screenkeys.com
Their devkit seems to be atmel based.
cheers,
-tuomo-
www.tiletoy.com
Comments
I looked around the other day and didn't see a price. What are these things selling for and what model was it?
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You've got to play the game.
You can't win.
You can't break even, except on a very cold day.
It doesn't get that cold.
~Laws of Thermodynamics~
You probably need to use the SHIFTOUT command to drive the device. SHIFTOUT will provide both a clock and a data line.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Normally screen refresh is the responsibility of the LCD driver chip. You are only responsible for supplying a clock during the transfer of data.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
"The clock is used for the internal control of the ASIC (data transfer, LCD refresh, etc.) and must be applied constantly. Note: Applying power to the LCD for extended periods when no clock is present may reduce the life of the LCD. The clock frequency can be between 50 kHz and 4 MHz. The minimum LCD repeat frequency is about 64Hz. "
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
For serial transmission of data to the display, the following conditions must be adhered to.
Clock frequency max Fmax 4 MHz
Clock frequency min Fmin 50 kHz
Clock phase low max Tcpl 20 μs
Clock phase low min Tcpl 125 ns
Clock phase high max Tcph 20 μs
Clock phase high min Tcph 125 ns
Hold data min Thold 10 ns
Setup data min Tsu 40 ns
If we use external clock, how we bitshift the data to chip? With SHIFTOUT? If so, how the external clock and SHIFTOUT clock go together?
And thanks a lot for your help Bruce! Most appreciated.
-tuomo-
The other thing to keep in mind is - are we speaking only of one clock here, or is there more than one? IF there is only one I can almost assure you it is the clock which SHIFTOUT will supply.
Regards,
Bruce Bates
Post Edited (Bruce Bates) : 11/29/2006 4:04:39 PM GMT