Front panel IC-706: Difference between revisions

From Tučňák Wiki
Jump to navigation Jump to search
Ok1zia (talk | contribs)
Ok1zia (talk | contribs)
Line 23: Line 23:
=Commands Panel to Radio=
=Commands Panel to Radio=
==0x01 Buttons 1==
==0x01 Buttons 1==
Sent state of button group 1.
Sent state of button group 1. Button state is sent as bitmask in one data byte.
Bit  Mask  Button
0    0x01  F-1
1    0x02  MENU
2    0x04  TUNER/CALL
3    0x08  P.AMP/ATT
4    0x10  RIT/SUB
5    0x20 
6    0x40
7    0x80


Example:
FE 01 04 FD    ; button TUNER/CALL pressed
FE 01 00 FD    ; button TUNER/CALL released
==0x02 Buttons 2==
Sent state of button group 2.
Bit  Mask  Button
0    0x01  Band down
1    0x02  Band up
2    0x04  TS
3    0x08  MODE
4    0x10  LOCK
5    0x20  DISPLAY
6    0x40  F-3
7    0x80  F-2


==0x0b Keepalive==
==0x0b Keepalive==

Revision as of 09:18, 21 February 2009

Cable pinout

Pin  	Signal 	Color         Description
1 	LRXD 	Yellow        Data transfer from front panel to the radio.
2 	LTXD 	Black         Data transfer from radio to the front panel.
3 	8V 	Blue          DC power (8V) to the front panel.
4 	AF 	Red           Output audio to headphone jacket.
5 	GND 	Shield        Data, power, output audio and power control ground.
6 	MIC 	White         Microphone input.
7 	MICE 	Green shield  Microphone ground.
8 	PWK 	White         Power control (switch ON button). Active in low.

Switch on

Power switch on panel turns PWK signal to low (ground). Radio turns on supply voltage on pin 8V.

Communication

Both sides communicate at 19200 Baud, 8 bits, no parity, 1 stop bit. Protocol is similar to CI-V control. AFAIK it is not published so next informations are taked by reverse-engineering.

  • Packet starts with Preamble code (0xfe).
  • Second byte is probably Command number.
  • Folows Data area with variable length.
  • Last byte is End of message code (0xfd).

Commands Panel to Radio

0x01 Buttons 1

Sent state of button group 1. Button state is sent as bitmask in one data byte.

Bit  Mask   Button
0    0x01   F-1
1    0x02   MENU
2    0x04   TUNER/CALL
3    0x08   P.AMP/ATT
4    0x10   RIT/SUB
5    0x20   
6    0x40
7    0x80


Example:

FE 01 04 FD    ; button TUNER/CALL pressed
FE 01 00 FD    ; button TUNER/CALL released

0x02 Buttons 2

Sent state of button group 2.

Bit  Mask   Button
0    0x01   Band down
1    0x02   Band up
2    0x04   TS
3    0x08   MODE
4    0x10   LOCK
5    0x20   DISPLAY
6    0x40   F-3
7    0x80   F-2

0x0b Keepalive

Keepalive packet sent from panel to radio about every 100 ms. When no packet is received by radio in about 200 ms, it switches itself off. To provide reliable work over IP networks, this packet should be emulated.

Example:

FE 0B 00 FD

Commands Radio to Panel

0x60 Display

Data to display on panel. Looks like bitmask controlling particular LCD segments/LEDs. No detailed description available at this time.

References

IC-706