Communication with the tuner is working, I had to invert the output. So likely the author of the code had the signal inverted with additional components.
I verified the pulses on a scope and the pico seems to read the KEY signal correct.
diff --git a/n2adr_basic/main.c b/n2adr_basic/main.c
index 5caebcf..a502cb1 100644
--- a/n2adr_basic/main.c
+++ b/n2adr_basic/main.c
@@ -25,6 +25,8 @@ int main()
stdio_init_all();
configure_pins(false, true);
configure_led_flasher();
+ // invert output
+ gpio_set_outover(GPIO22_Out6, IO_BANK0_GPIO22_CTRL_OUTOVER_VALUE_INVERT);
while (1) { // Wait for something to happen
sleep_ms(1); // This sets the polling frequency.
The tuning process itself is not working. The tuner doesn't seem to detect RF. It all is supposed to happen in a pretty short time frame.
I also tried with Thetis. v2.10.3.12 Beta 1. The tuner seems to be addressed correctly, but the HL2 is not going into transmit mode (deskhpsdr does). Any setting I might have missed in Thetis?
73,
PE1RLZ