Re: CW Interface

Robie
 

Dave,

Thanks for the feedback. 

I'll move on with my evaluation.

Robie - AJ4F

On Sun, Apr 14, 2019 at 2:09 PM Dave <w1hkj@...> wrote:
The sketch is not completely emulating the WinKeyer.  It should echo the
sent data string.

This is the auto startup exchange between fldigi 4.1.02 and a real
WinKeyer (version 3.1):

I: WKCW_connect: WKCW_connect(ON)
I: close_wkeyer: WKEY RESET :  0x00 0x01
I: close_wkeyer: HOST CLOSE :  0x00 0x03
I: WK_start_wkey_serial:
Serial port:
   Port     : /dev/cu.usbserial-A600e2pL
   Baud     : 1200
   Stopbits : 2
   Timeout  : 1
   DTR      : true
   RTS/CTS  : false
I: open_wkeyer: NULL_CMD :  0x13 0x13 0x13
I: WK_sendString: Sent 2: 00 01
I: WK_sendString: Sent 3: 13 13 13
I: open_wkeyer: ECHO_TEST :  0x00 0x04 0x55
I: WK_sendString: Sent 3: 00 04 55
I: WK_echo_test: passed echo test
I: open_wkeyer: Echo response in 38 msec
I: open_wkeyer: HOST_OPEN :  0x00 0x02
I: WK_sendString: Sent 2: 00 02
I: load_defaults:
       mode register .... c4
       CW speed ......... 24
       side tone ........ 6
       weight ........... 50
       lead in time ..... 0
       tail time ........ 0
       min wpm .......... 10
       rng wpm .......... 25
       first ext ........ 0
       key comp ......... 0
       farnsworth wpm ... 0
       paddle setpoint .. 50
       dit dah ratio .... 50
       pin config ....... 4
       don't care ....... 255
       hex string .......  0x0f 0xc4 0x18 0x06 0x32 0x00 0x00 0x0a 0x19
0x00 0x00 0x00 0x32 0x32 0x04 0xff
I: WK_sendString: Sent 16: 0F C4 18 06 32 00 00 0A 19 00 00 00 32 32 04 FF
I: load_defaults: SET_SPEED_POT :  0x05 0x0a 0x19 0xff
I: WK_sendString: Sent 4: 05 0A 19 FF
I: load_defaults: SETWPM 24 :  0x02 0x18
I: WK_sendString: Sent 2: 02 18
I: load_defaults:
       mode register .... c4
       CW speed ......... 24
       side tone ........ 6
       weight ........... 50
       lead in time ..... 0
       tail time ........ 0
       min wpm .......... 10
       rng wpm .......... 25
       first ext ........ 0
       key comp ......... 0
       farnsworth wpm ... 0
       paddle setpoint .. 50
       dit dah ratio .... 50
       pin config ....... 4
       don't care ....... 255
       hex string .......  0x0f 0xc4 0x18 0x06 0x32 0x00 0x00 0x0a 0x19
0x00 0x00 0x00 0x32 0x32 0x04 0xff
I: WK_sendString: Sent 16: 0F C4 18 06 32 00 00 0A 19 00 00 00 32 32 04 FF
I: load_defaults: SET_SPEED_POT :  0x05 0x0a 0x19 0xff
I: WK_sendString: Sent 4: 05 0A 19 FF
I: load_defaults: SETWPM 24 :  0x02 0x18
I: WK_sendString: Sent 2: 02 18
I: WKCW_init: GET_SPEED_POT :  0x07
I: WK_sendString: Sent 1: 07
I: WKCW_init: SET_WPM 24 :  0x02 0x18
I: WK_sendString: Sent 2: 02 18
I: WKCW_init: SET_SPEED_POT :  0x05 0x0a 0x19 0xff
I: WK_sendString: Sent 4: 05 0A 19 FF
I: WKCW_init: GET_SPEED_POT :  0x07
I: WK_sendString: Sent 1: 07

73, David, W1HKJ




Join nbems@groups.io to automatically receive all group messages.