The SigGen SX1509 test program can be used when you want to test if you have connected the keypad, rotary encoders and push buttons in the right way, e.g. when you turn the rotary encoder you intend to use for the frequency then the test program will not only tell you that you are turning the right rotary encoder but also in the right direction etc.
You may connect a couple of wires between each test, so you don’t have to troubleshoot 20 wires all at ones. But don’t solder or connect wires, if you have power applied. Always switch off the electronics first.
Example of output when pressing keys on the keypad, push buttons and rotary encoders.
Connection overview.
Entity | Pin | Connected to entity | Connected to pin |
---|---|---|---|
SX1509 | GND | RFzero | GND |
3V3 | RFzero | 3V3 | |
SDA | RFzero | D8 (SDA) | |
SCL | RFzero | D9 (SCL) | |
INT | RFzero | D17 | |
IO0 | Keypad Amplitude rotary encoder | 5 Push button Y |
|
IO1 | Keypad Frequency rotary encoder | 6 Push button Y |
|
IO2 | Keypad RF on/off | 7 Push button Y |
|
IO3 | Keypad Menu on/off | 8 Push button Y |
|
IO4 | Attenuator | Bit 0, LSB | |
IO5 | Attenuator | Bit 1 | |
IO6 | Attenuator | Bit 2 | |
IO7 | Attenuator | Bit 3 | |
IO8 | Keypad | 1 | |
IO9 | Keypad | 2 | |
IO10 | Keypad | 3 | |
IO11 | Keypad | 4 | |
IO12 | Amplitude rotary encoder Frequency rotary encoder RF on/off Menu on/off | Push button X Push button X Push button X Push button X |
|
IO13 | Attenuator | Bit 4 | |
IO14 | Attenuator | Bit 5 | |
IO15 | Attenuator | Bit 6, MSB | |
Keypad (see also note below) | 1 | SX1509 | IO8 |
2 | SX1509 | IO9 | |
3 | SX1509 | IO10 | |
4 | SX1509 | IO11 | |
5 | SX1509 | IO0 | |
6 | SX1509 | IO1 | |
7 | SX1509 | IO2 | |
8 | SX1509 | IO3 | |
Amplitude rotary encoder | GND | RFzero | GND |
A | RFzero | A5 | |
B | RFzero | A4 | |
Push button X | SX1509 | IO12 | |
Push button Y | SX1509 | IO0 | |
Frequency rotary encoder | GND | RFzero | GND |
A | RFzero | A2 | |
B | RFzero | A3 | |
Push button X | SX1509 | IO12 | |
Push button Y | SX1509 | IO1 | |
RF on/off | Push button X | SX1509 | IO12 |
Push button Y | SX1509 | IO2 | |
Menu on/off | Push button X | SX1509 | IO12 |
Push button Y | SX1509 | IO3 | |
MCP23017 | GND | RFzero | GND |
3V3 | RFzero | 3V3 | |
SDA | RFzero | D8 (SDA) | |
SCL | RFzero | D9 (SCL) | |
GPA-GPB | Attenuator | Depends on att. |