Move feedback pin farther to prevent crosstalk

Now this was just silly of me.
This commit is contained in:
Jan Hamal Dvořák 2024-07-22 17:32:08 +02:00
parent 9997b63c7e
commit 821cd9189d
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ This branch contains code to use RP2040 and some passives as a superheterodyne r
## Circuit ## Circuit
Please refer to [the simulation](https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCBMB0CsCmBaMAGEAOW0AsLboHYA2SWSIsWMIkAtFaFFCWNBZMAKEoE5wV06ENiE8ekYULZpUTOfM4BzfoMnhU2NfU4AlED2ybERTeh41jmmfpHyZ0IrHAOn9OJ0goC4AMyQhiOa+RGiBNE4AkgBi3ESihiBh-LiJQehgBlAgPtA+2bn5Pro2Rn4l4DSaTj52coUg9A3uAE60ZIkZEgTtSTK1nADuyaGdw6k0KJwAxiCwIeMgjhZBMkjeyC5yYD7YPGDUBD5BG46cADaLcwvdEr1NdmKPT89i+eKYPgRfRyik2OzeSYzG7XdqNMBIIRgBy7Z6fHiwcyqaGnZQgtAg6gNBqDNq3NIiBaTIboQlJAxGFacVo+OILbAmImzSaeCCQAj4miQSCUiY2ELySR1BjyF5ix7gcRyTgRMbIcTleUSaw5IpDOahIIarScABuUA5C1pARW4Aw6E8gsablg1LlQX2tKZrCUvn82O27qx2hmnpNND92NWiCkuRQOwoJAokB86B2lBxFzAMc5bv9QcYovFYvu4dpNR5kARxHQIR4gNxFI6CtJAVGxIwZNGIKVOIARhgiOseTJsPt9BWAB6dpyIUh8Ax8MdXTQ8kA6AAKnlwnGHX1unjycbyY6YwgqIAA4guIgB5AA6AGd9qvaEQp6gaHGRuH91jj2er6hcRpQozf9kyqVgqhLaoSkxrgQEBHBgMbCBImjvieF6XjwuLakkDK8u2koQMgVDCEQO6xjiw7Gh0RCVERFF5LOmgAIIAHYAC7wIxjEAIbTOoTpJMmZR3CK8gQCifbRkiYCCEWTgoraAD22SzMmHo+LA2A7E0sCfJRPClmJ6n3q4mbMNiEh5EUQA). Please refer to [the simulation](https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCBMB0CsCmBaMAGEAOW0AsLboHYA2SWSIsWMIkAtFaFFCWNBZMAKEoE5wV06ENiE8ekYULZpUTOfM4BzfoMnhU2NfU4AlED2ybERTeh41jmmfpHyZ0IrHAOn9OJ0goC4AMyQhiOa+RGiBNE4AkgBi3ESihiBh-LiJQehgBlAgPtA+IGg5Pro2Rn4l4DSaTj52ctm5+Y0MsJwATrRkiRkSBJ1JMrWcAO7Jod2jqTQonADGILAhkyCOFkEySN7IDthi4tjE6agE4l0unAA2ywtLvRL9+Yzyu88vz4k5uAQ+dARmPASQTzfDb5WYdO5BW5NcBIIRgFzySDYI7ofYmZyOJTgxpQ6hNYbYpKogJrAnEpYGIyk9o+OJLbDo+6sDzMKAApaAqlTGwheSSOoMJ6vYVicDiOScCITZAnSldE7WQoEhahIIqrScABubIhNFpJO5EEEnj59Ca7naGlVNDAYFpS2kWLt-kazrh3OmczdS29ZrAsMSDEoDKIPFpngBcTt3mmlzAkDKSW990FQpFr0Dj2+ZkBsDE6V22HIoJGcplEnJ5ZLGBE8p6fXG0wARhgiJskTJkRB-qCAB6tpyIUh8Ax8IfXTRIkA6AAKnlwnH7BHZQ5QeXQU9XaE0eIA4jOIgB5AA6AGcWkvQ10UDQNxBkGvhBUQPuj2f0ASrYl0V+ytNSyctbqrW0xLgQEA+HwG55EWT57geJ6njwyqLEkDJcqCLYZPelAQAyeSID4UiLtkdLIEQlREAR1AwVAmgAIIAHYAC7wIxjEAIZgra9pJgmurmnYEDwlRdA+NQ+BgDsrAnCJLQAPbZPM8auj4sDYD4VhwN8FE8OgJjUBpoauI8rJoBIeRFEAA).
## Software ## Software

View file

@ -25,8 +25,8 @@
#define CLK_SYS_HZ (300 * MHZ) #define CLK_SYS_HZ (300 * MHZ)
#define LO_PIN 9 #define LO_PIN 9
#define RX_PIN 10 #define RX_PIN 8
#define FB_PIN 11 #define FB_PIN 5
#define PSU_PIN 23 #define PSU_PIN 23
#define PIO pio1 #define PIO pio1
@ -129,11 +129,11 @@ static void init_fb()
gpio_set_input_hysteresis_enabled(RX_PIN, false); gpio_set_input_hysteresis_enabled(RX_PIN, false);
gpio_set_drive_strength(FB_PIN, GPIO_DRIVE_STRENGTH_2MA); gpio_set_drive_strength(FB_PIN, GPIO_DRIVE_STRENGTH_2MA);
gpio_set_slew_rate(FB_PIN, GPIO_SLEW_RATE_FAST); gpio_set_slew_rate(FB_PIN, GPIO_SLEW_RATE_SLOW);
const uint16_t insn[] = { const uint16_t insn[] = {
pio_encode_mov_not(pio_pins, pio_pins) | pio_encode_sideset(1, 1) | pio_encode_mov_not(pio_pins, pio_pins) | pio_encode_sideset(1, 1) |
pio_encode_delay(1), pio_encode_delay(0),
//pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(0), //pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(0),
}; };