Files
edgetx-gx12/radio/src/boards/hw_defs/t15.json
T

409 lines
8.8 KiB
JSON

{
"identity": {
"manufacturer": "Jumper",
"model": "T15",
"usb_manufacturer": "Jumper",
"usb_product": "T15"
},
"adc_inputs": {
"adcs": [
{
"name": "MAIN",
"adc": "ADC3",
"dma": "DMA2",
"dma_channel": "LL_DMA_CHANNEL_2",
"dma_stream": "LL_DMA_STREAM_0",
"dma_stream_irq": "DMA2_Stream0_IRQn",
"dma_stream_irq_handler": "DMA2_Stream0_IRQHandler",
"sample_time": "LL_ADC_SAMPLINGTIME_56CYCLES"
},
{
"name": "EXT",
"adc": "ADC1",
"dma": null,
"sample_time": "LL_ADC_SAMPLINGTIME_56CYCLES"
}
],
"inputs": [
{
"name": "LH",
"type": "STICK",
"adc": "MAIN",
"gpio": "GPIOA",
"pin": "LL_GPIO_PIN_1",
"channel": "LL_ADC_CHANNEL_1"
},
{
"name": "LV",
"type": "STICK",
"adc": "MAIN",
"gpio": "GPIOA",
"pin": "LL_GPIO_PIN_0",
"channel": "LL_ADC_CHANNEL_0",
"inverted": true
},
{
"name": "RV",
"type": "STICK",
"adc": "MAIN",
"gpio": "GPIOA",
"pin": "LL_GPIO_PIN_2",
"channel": "LL_ADC_CHANNEL_2"
},
{
"name": "RH",
"type": "STICK",
"adc": "MAIN",
"gpio": "GPIOA",
"pin": "LL_GPIO_PIN_3",
"channel": "LL_ADC_CHANNEL_3",
"inverted": true
},
{
"name": "P1",
"type": "FLEX",
"adc": "MAIN",
"gpio": "GPIOC",
"pin": "LL_GPIO_PIN_2",
"channel": "LL_ADC_CHANNEL_12",
"label": "S1",
"short_label": "1",
"default": "POT_CENTER"
},
{
"name": "P2",
"type": "FLEX",
"adc": "MAIN",
"gpio": "GPIOC",
"pin": "LL_GPIO_PIN_0",
"channel": "LL_ADC_CHANNEL_10",
"label": "S2",
"short_label": "2",
"default": "POT_CENTER"
},
{
"name": "VBAT",
"type": "VBAT",
"adc": "MAIN",
"gpio": "GPIOF",
"pin": "LL_GPIO_PIN_7",
"channel": "LL_ADC_CHANNEL_5"
},
{
"name": "RTC_BAT",
"type": "RTC_BAT",
"adc": "EXT",
"gpio": null,
"pin": null,
"channel": "LL_ADC_CHANNEL_VBAT"
}
]
},
"switches": [
{
"name": "SA",
"type": "3POS",
"flags": 0,
"inverted": true,
"default": "3POS",
"display": null,
"gpio_high": "GPIOG",
"pin_high": "LL_GPIO_PIN_3",
"gpio_low": "GPIOD",
"pin_low": "LL_GPIO_PIN_11",
"is_cfs": false
},
{
"name": "SB",
"type": "3POS",
"flags": 0,
"inverted": false,
"default": "3POS",
"display": null,
"gpio_high": "GPIOB",
"pin_high": "LL_GPIO_PIN_12",
"gpio_low": "GPIOH",
"pin_low": "LL_GPIO_PIN_9",
"is_cfs": false
},
{
"name": "SC",
"type": "3POS",
"flags": 0,
"inverted": true,
"default": "3POS",
"display": null,
"gpio_high": "GPIOG",
"pin_high": "LL_GPIO_PIN_2",
"gpio_low": "GPIOH",
"pin_low": "LL_GPIO_PIN_14",
"is_cfs": false
},
{
"name": "SD",
"type": "3POS",
"flags": 0,
"inverted": false,
"default": "3POS",
"display": null,
"gpio_high": "GPIOI",
"pin_high": "LL_GPIO_PIN_15",
"gpio_low": "GPIOH",
"pin_low": "LL_GPIO_PIN_15",
"is_cfs": false
},
{
"name": "SE",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOB",
"pin": "LL_GPIO_PIN_15",
"is_cfs": false
},
{
"name": "SF",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOH",
"pin": "LL_GPIO_PIN_12",
"is_cfs": false
},
{
"name": "SW1",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOB",
"pin": "LL_GPIO_PIN_14",
"is_cfs": true,
"cfs_idx": 0
},
{
"name": "SW2",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOD",
"pin": "LL_GPIO_PIN_13",
"is_cfs": true,
"cfs_idx": 1
},
{
"name": "SW3",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOJ",
"pin": "LL_GPIO_PIN_7",
"is_cfs": true,
"cfs_idx": 2
},
{
"name": "SW4",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOG",
"pin": "LL_GPIO_PIN_13",
"is_cfs": true,
"cfs_idx": 3
},
{
"name": "SW5",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOJ",
"pin": "LL_GPIO_PIN_8",
"is_cfs": true,
"cfs_idx": 4
},
{
"name": "SW6",
"type": "2POS",
"flags": 0,
"inverted": false,
"default": "2POS",
"display": null,
"gpio": "GPIOB",
"pin": "LL_GPIO_PIN_13",
"is_cfs": true,
"cfs_idx": 5
}
],
"keys": [
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_5",
"active_low": true,
"key": "KEY_EXIT",
"name": "EXIT",
"label": "EXIT"
},
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_8",
"active_low": true,
"key": "KEY_ENTER",
"name": "ENTER",
"label": "Enter"
},
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_11",
"active_low": true,
"key": "KEY_PAGEDN",
"name": "PAGEDN",
"label": "</>"
},
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_6",
"active_low": true,
"key": "KEY_MODEL",
"name": "MDL",
"label": "MDL"
},
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_4",
"active_low": true,
"key": "KEY_TELE",
"name": "TELE",
"label": "TELE"
},
{
"gpio": "GPIOI",
"pin": "LL_GPIO_PIN_7",
"active_low": true,
"key": "KEY_SYS",
"name": "SYS",
"label": "SYS"
}
],
"trims": [
{
"name": "T1",
"dec": {
"gpio": "GPIOD",
"pin": "LL_GPIO_PIN_3",
"active_low": true
},
"inc": {
"gpio": "GPIOD",
"pin": "LL_GPIO_PIN_7",
"active_low": true
},
"active_low": true
},
{
"name": "T2",
"dec": {
"gpio": "GPIOJ",
"pin": "LL_GPIO_PIN_13",
"active_low": true
},
"inc": {
"gpio": "GPIOJ",
"pin": "LL_GPIO_PIN_12",
"active_low": true
},
"active_low": true
},
{
"name": "T3",
"dec": {
"gpio": "GPIOG",
"pin": "LL_GPIO_PIN_12",
"active_low": true
},
"inc": {
"gpio": "GPIOJ",
"pin": "LL_GPIO_PIN_14",
"active_low": true
},
"active_low": true
},
{
"name": "T4",
"dec": {
"gpio": "GPIOA",
"pin": "LL_GPIO_PIN_6",
"active_low": true
},
"inc": {
"gpio": "GPIOC",
"pin": "LL_GPIO_PIN_4",
"active_low": true
},
"active_low": true
}
],
"display": {
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 480,
"lcd_phys_h": 320,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOI, 14)",
"led_green_gpio": "GPIO_PIN(GPIOC, 13)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 3)"
},
"hardware": {
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 5)",
"haptic_gpio_timer": "TIM2",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
},
"key_lock_combo": [
"KEY_SYS",
"KEY_TELE"
]
}