I am trying to flash my split keyboard, rp2040-zero in both halves. Each with one encoder. Physically Rx-Tx of each half are connected (confirmed as it works using KMK and RMK).
However, split connection does not happen with the following:
I get
SPLIT: receiving handshake failed
Failed to execute slave_matrix
Target disconnected, throttling connection attempts
MCU = RP2040
BOOTLOADER = rp2040
SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor
ENCODER_ENABLE = yes
CONSOLE_ENABLE = yes
config.h (Changing master_left and right accordingly)
#define MASTER_LEFT
/* #define MASTER_RIGHT */
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0 / Tx from rp2040
#define SERIAL_USART_RX_PIN GP1 / Rx from rp2040
#define SPLIT_USB_DETECT
#define SERIAL_DEBUG
#define SPLIT_WATCHDOG_ENABLE
Funny thing is I get target connected with following config:
However, when connected, the slave does not send keys from matrix but only the encoder actions (VolUp, VolDown):
MCU = RP2040
BOOTLOADER = rp2040
SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor
ENCODER_ENABLE = yes
CONSOLE_ENABLE = yes
config.h (Changing master_left and right accordingly)
#define MASTER_LEFT
/* #define MASTER_RIGHT */
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP1 / Rx from rp2040 (used as Tx ?)
#define SERIAL_USART_RX_PIN GP0 / Tx from rp2040 (used as Rx ?)
#define SPLIT_USB_DETECT
#define SERIAL_DEBUG
#define SPLIT_WATCHDOG_ENABLE