Home › Forums › Everything about the Mini Tricopter › No motor 3 when led is enabled
- This topic has 1 reply, 2 voices, and was last updated 1 year, 11 months ago by
jihlein.
-
AuthorPosts
-
2 January, 2019 at 01:46 #60724
don1376
ParticipantI’ve used this forum for awhile now for its great source of information, 1st time to post.
Have an issue with Kakute F4 V2. Running Betaflights newest firmware with the resource mapping from the setup tab of the boards page.
resource motor 1 B00
resource motor 2 B01
resource motor 3 A03
resource motor 4 none
resource led_strip A02
resource servo 1 C08When I enable leds in Betaflight, they work but M3 doesn’t. Disable the leds and motor works as should.
Here are the resources from CLI dump.
# resources
resource BEEPER 1 C09
resource MOTOR 1 B00
resource MOTOR 2 B01
resource MOTOR 3 A03
resource MOTOR 4 NONE
resource MOTOR 5 NONE
resource MOTOR 6 NONE
resource MOTOR 7 NONE
resource MOTOR 8 NONE
resource SERVO 1 C08
resource SERVO 2 NONE
resource SERVO 3 NONE
resource SERVO 4 NONE
resource SERVO 5 NONE
resource SERVO 6 NONE
resource SERVO 7 NONE
resource SERVO 8 NONE
resource PPM 1 C07
resource PWM 1 NONE
resource PWM 2 NONE
resource PWM 3 NONE
resource PWM 4 NONE
resource PWM 5 NONE
resource PWM 6 NONE
resource PWM 7 NONE
resource PWM 8 NONE
resource LED_STRIP 1 A02
resource SERIAL_TX 1 A09
resource SERIAL_TX 2 NONE
resource SERIAL_TX 3 B10
resource SERIAL_TX 4 A00
resource SERIAL_TX 5 NONE
resource SERIAL_TX 6 C06
resource SERIAL_TX 7 NONE
resource SERIAL_TX 8 NONE
resource SERIAL_TX 9 NONE
resource SERIAL_TX 10 NONE
resource SERIAL_TX 11 NONE
resource SERIAL_RX 1 A10
resource SERIAL_RX 2 NONE
resource SERIAL_RX 3 B11
resource SERIAL_RX 4 A01
resource SERIAL_RX 5 D02
resource SERIAL_RX 6 C07
resource SERIAL_RX 7 NONE
resource SERIAL_RX 8 NONE
resource SERIAL_RX 9 NONE
resource SERIAL_RX 10 NONE
resource SERIAL_RX 11 NONE
resource INVERTER 1 NONE
resource INVERTER 2 NONE
resource INVERTER 3 B15
resource INVERTER 4 NONE
resource INVERTER 5 NONE
resource INVERTER 6 NONE
resource INVERTER 7 NONE
resource INVERTER 8 NONE
resource INVERTER 9 NONE
resource INVERTER 10 NONE
resource INVERTER 11 NONE
resource I2C_SCL 1 B08
resource I2C_SCL 2 NONE
resource I2C_SCL 3 NONE
resource I2C_SDA 1 B09
resource I2C_SDA 2 NONE
resource I2C_SDA 3 NONE
resource LED 1 B05
resource LED 2 B04
resource LED 3 B06
resource RX_BIND 1 NONE
resource RX_BIND_PLUG 1 NONE
resource SPI_SCK 1 A05
resource SPI_SCK 2 NONE
resource SPI_SCK 3 C10
resource SPI_MISO 1 A06
resource SPI_MISO 2 NONE
resource SPI_MISO 3 C11
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 NONE
resource SPI_MOSI 3 C12
resource ESCSERIAL 1 C07
resource CAMERA_CONTROL 1 NONE
resource ADC_BATT 1 C03
resource ADC_RSSI 1 C01
resource ADC_CURR 1 C02
resource ADC_EXT 1 NONE
resource BARO_CS 1 NONE
resource COMPASS_CS 1 NONE
resource PINIO 1 NONE
resource PINIO 2 NONE
resource PINIO 3 NONE
resource PINIO 4 NONE
resource USB_MSC_PIN 1 NONE
resource FLASH_CS 1 B03
resource OSD_CS 1 B14
resource SPI_PREINIT_IPU 1 C04
resource SPI_PREINIT_IPU 2 B03
resource SPI_PREINIT_IPU 3 NONE
resource SPI_PREINIT_IPU 4 NONE
resource SPI_PREINIT_IPU 5 NONE
resource SPI_PREINIT_IPU 6 NONE
resource SPI_PREINIT_IPU 7 NONE
resource SPI_PREINIT_IPU 8 NONE
resource SPI_PREINIT_IPU 9 NONE
resource SPI_PREINIT_IPU 10 NONE
resource SPI_PREINIT_IPU 11 NONE
resource SPI_PREINIT_OPU 1 B14
resource SPI_PREINIT_OPU 2 NONE# mixer
mixer TRImmix reset
I’m still pretty new at this, but I don’t see any conflicts in there. Hoping someone can tell me i’m wrong or what to try next to have led and motor 3. Thanks
17 February, 2019 at 06:52 #61103jihlein
ParticipantThat combination isn’t possible on Betaflight due to the way the board is laid out and how the functions are coded.
The 2 pins in question (PA2, PA3) share a common timer resource (TIM2), and this resource can be programmed for either motor output protocols or the LED protocol, but not both at the same time.
That’s why when LED are disabled M3 works, but then after enabling the LEDs M3 no longer works.
-
AuthorPosts
- The forum ‘Everything about the Mini Tricopter’ is closed to new topics and replies.