- update GPIO for layout version b

This commit is contained in:
2025-04-05 23:27:30 +02:00
parent 473270a952
commit b8dc5e16bd

View File

@@ -2,8 +2,8 @@
// UART0 for Degugging
#define UART0_ID uart0
#define UART0_BAUD_RATE 115200
#define UART0_TX_PIN 28
#define UART0_RX_PIN 29
#define UART0_TX_PIN 16
#define UART0_RX_PIN 17
// UART1 for Bluetooth Module
@@ -24,44 +24,27 @@
#define I2C1_SDA_PIN 2
#define I2C1_SCL_PIN 3
// ADC
//// ADC ////
#define ADC0_PIN 26
//// GPIO ////
// Buttons
#define Button_MCU1 4
// Button_MCU2 & 4 disconnected, Connector is used for UART
// Button_MCU3 used for FRQ_GEN_EN
//#define Button_MCU2 5
//#define Button_MCU3 6
//#define Button_MCU4 7
#define Button_Internal 11
// Button_MCU3 used for FRQ_GEN_EN
#define FRQ_GEN_EN 6
// Outputs
//// Outputs ////
#define FRQ_GEN_EN 22
#define Mute_Out 10
#define Standby_AMP 12
#define Mute_AMP 13
#define Radio_ON 14
#define RF_SW 16
#define RST_PEAK 17
#define RF_SW 15
#define MOD0_ON 18
#define MOD1_ON 19
#define MOD2_ON 20
#define MOD3_ON 21
//not needed, shorted to GROUND!
/* #define I2C_MUX_A0 22
#define I2C_MUX_A1 23
#define I2C_MUX_A2 24 */
#define LED 25
#define BT_WAKE_UP 27
#define BT_WAKE_UP 5
// Inputs
#define CTRL_CLK 15
//#define CTRL_PEAK 26
//// Inputs ////
#define MCU_WAKE_UP 4
void initGPIO();