Control LED on a Tandberg TDV2200 keyboard

HolgerLembke

22 Mar 2016, 23:51

Hi!

I have this nice Tandberg TDV2200 keyboard and written my own keyboard driver for USB to attach to a PC. So far so usual.

My current task is to control the LEDs L1/L2/L3/L4/LINE/CAR/WAIT/ERROR and perhaps the beeper. As far as I see I can send data with 2400 baud to the keyboard, data makes its way through the EIA–422/3 receiver and ends at the T0 of the 8035 cpu.

Sadly nothing happens. No light, no sound, nothing. Can anyone help with some hints what to send?

Thanks!
Attachments
TDV2200.jpg
TDV2200.jpg (652 KiB) Viewed 6862 times

wiesener

12 Mar 2021, 12:46

Sorry to hijack your old thread, but any chance you could share some details of your keyboard driver and setup?

FrodeM

29 Dec 2021, 22:29

To continue the thread necromancy (I don't visit here very often), but I did reverse-engineer the command-set for this keyboard a while back.

One thing which is very counter-intuitive is that while this keyboard sends at 2400 baud, it receives at only 600 baud. This is crucial, so you will need to use a dual-speed or double UART solution if you want to both send commands and receive data.

Here's my findings in terms of commands you can send to the keyboard. Please note that this may vary slightly from subversion to subversion. I suspect, for example, that there may be revisions where the RAM shadow-copy for the LED states might have more functionality.

Code: Select all

///////////////////////////////////////////////////////////////

	Commands sent to Keyboard

///////////////////////////////////////////////////////////////

	00	Do nothing
	01-08	Turn LED 1-8 on
	09-10	Turn LED 1-8 off
	11-18	Turn LED 1-8 on in RAM bitmap only
	19-1F	Do nothing
	20-2F	Excecute operation 1-16
	30	Set bit 2 of P2 (2200S models only)
	31-FF	Do nothing

Operations:

	1	Do Nothing
	2	Enable Click
	3	Disable Click
	4	Turn on CAPS
	5	Trigger Beeper
	6	Turn off LED 1 to 8
	7	Turn off LED 1 to 4
	8	Check Keyboard Expansion busy state (DATA line. returns EF if 0, F5 if 1)
	9	Enable Key-Repeat
	10	Disable Key-Repeat
	11	Read Locks
	12	Disable READY to expansion
	13	Enable READY to expansion
	14	ROM Check (AA = ok, else fail)
	15	RAM Check (AA = ok, EE = fail)
	16	Read Selected Layout ID number (6 chars)

Post Reply

Return to “Workshop”