Compare commits

...

2 commits

Author SHA1 Message Date
2ddd7ddd71 Lower the FB resistor value 2024-07-22 17:33:03 +02:00
d894929628 Move feedback pin farther to prevent crosstalk
Now this was just silly of me.
2024-07-22 17:32:08 +02:00
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
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+INp6BkZ+NprUwiBOPnZy2bn5DQywnABOtGSJGRIEHUkydpwA7smhXSOpNCicAMaVIRMgjhZBMkjeyA7YYjzoXiGwPuJGYC6cADaLsMs0PRJ9+Yzy288vz4k5B8REPGAi2HSQHzoNb5GbtO5BW6NcBIIQnEzbIgmMCQOiwWDEZyOJTghpQ8raYZQpLoEQLKbDUkBIJFcmtbJxBbYEzkypTTwQVEQmiQSBGFY2ELySS1BhPV4SsTgcRyTgRcbIcSlTpK6w5HxDOahIJXNBkqYANygBG5DOpk3AGHQnmF9Ea7jaGm1NDAYB81warBxbv8DR9cItU1m-oWIbtYFhiTFzDi4lYkDA1oIQJQVnO4EBppD92jcklkqjj2YifQPhN5BIBgIgm8FOViokVJVEjrTYbuPbUwARhgiOs+TJsK79LXOAAPXtORCkPgGPjTq4VPkgHQABU8uHHtBNiU8eWtRhtFXKAHFVxEAPIAHQAzs0J8R56gaNaIMgUHkyjQz5fb+hNU6iQsoBJR1mIEhkrqWhbgQBAQIcGCAsIEHgN+57XjePCalBSTMvykycD2GRvpQEDMnkiBAqCE7ugE1A0ORnREJ+UCaAAggAdgALvAHEcQAhmCrruqGmasrmTAQPCQJXL8sDiD4PhuhiWLNAA9tklQon6PiwNgPhWHAZZIjsyImO6PCuEWEBoBIeQakAA).
## Software

View file

@ -25,8 +25,8 @@
#define CLK_SYS_HZ (300 * MHZ)
#define LO_PIN 9
#define RX_PIN 10
#define FB_PIN 11
#define RX_PIN 8
#define FB_PIN 5
#define PSU_PIN 23
#define PIO pio1
@ -129,11 +129,11 @@ static void init_fb()
gpio_set_input_hysteresis_enabled(RX_PIN, false);
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[] = {
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),
};