This commit is between r8 and r9 and will be used as the basis for r10.
It includes some of the changes in r9 but predates the major changes to
the clock generator and IF transceiver ICs.
- move CLKIN_DETECT to U23 pin 15, P4_8, CTIN_5
- move SGPIO13 to U23 pin 91, P2_5, GPIO5[5]
- rename SGPIO13 to TRIGGER_EN
This allows TIMER1/TIMER2 instead of TIMER3/TIMER0 to be used for CLKIN
detection, avoiding conflicts with PortaPack firmware.
SGPIO13 was never used for SGPIO, so it is renamed to reflect current
usage.
- move EN_1V8 to P5_0, U23 pin 37
- move !VAA_ENABLE to P6_10, U23 pin 100
- move !RX_AMP_PWR back to P2_12, U23 pin 106
Platform detection is now performed using P5_0 and P6_10 which avoids
the complication of having to detect a pull-up to VAA which may not yet
be switched on.
Additionally swap:
- EN_1V8, P6_10, U23 pin 100 (pull-down)
- !RX_AMP_PWR, P2_12, U23 pin 106 (pull-up)
Detecting which has the pull-up and which has the pull-down enables
version detection that may be more reliable than the ADC method.